It is currently Wed, 20 Jan 2021 17:04:55 GMT



 
Author Message
 Need help on SIGSEGV error in a g++/JNI application
Hello,

I get the following error and accompanying thread dump. Can anyone
give me a hint what the problem might be?
The only thing I find on the internet is 'some sort of memory related
problem'.

Thanks,
Paul

:SIGSEGV   11*  segmentation violation
    si_signo [11]: SIGSEGV   11*  segmentation violation
    si_errno [0]: Error 0
    si_code [1]: SEGV_MAPERR [addr: 0x4d455408]

Full thread dump:
    "ParserThread-71" (TID:0xed69fc88, sys_thread_t:0x4e8538, state:R,
thread_t: t@292, sp:0x0 threadID:0xef101dd0, stack_base:0x0,
stack_size:0x0)
prio=5
    "Socket Connection 71" (TID:0xed69fe08, sys_thread_t:0x2ee750,
state:R,
thread_t: t@291, sp:0x0 threadID:0xef131dd0, stack_base:0xef131d64,
stack_size:0x20000) prio=5
        java.net.PlainSocketImpl.accept(Compiled Code)
        java.net.ServerSocket.implAccept(Compiled Code)
        java.net.ServerSocket.accept(Compiled Code)
        com.eibus.connection.sockets.Connection.run(Compiled Code)
    "SIGQUIT handler" (TID:0xed6662a0, sys_thread_t:0x2d0020, state:R,
thread_t: t@5, sp:0xef341ae8 threadID:0xef341dd0,
stack_base:0xef341d64,
stack_size:0x20000) prio=0
    "Finalizer thread" (TID:0xed666088, sys_thread_t:0x2bff08,
state:CW,
thread_t: t@4, sp:0xef371a28 threadID:0xef371dd0,
stack_base:0xef371d64,
stack_size:0x20000) prio=1
    "main" (TID:0xed6660b0, sys_thread_t:0x2be1e0, state:R, thread_t:
t@1,
sp:0xefff9868 threadID:0x25dc90, stack_base:0xefffaac0,
stack_size:0x800000)
prio=5
        sun.io.CharToByteConverter.getConverterClass(Compiled Code)
        sun.io.CharToByteConverter.getConverter(Compiled Code)
        java.io.OutputStreamWriter.<init>(Compiled Code)
        com.eibus.xml.util.DOMWriter.initialize(Compiled Code)
        com.eibus.xml.util.DOMWriter.getBytes(Compiled Code)
        com.eibus.co.dom.BusDocImpl.toMessage(Compiled Code)
        com.baan.b3impl.connection.Connection.sendAndWaitForAnswer(Compiled
Code)
        com.baan.b3impl.connection.Connection.sendAndWaitForAnswer(Compiled
Code)
        com.eibus.bdf.BusinessDocumentManager.sendAndWaitForAnswer(Compiled
Code)
        com.eibus.bdf.BusinessDocumentManager.retrieveData(Compiled
Code)

com.baan.b3.boi1.BusinessObjectManager$BdmAdapter.baanDllCallBusinessObject(
Compiled Code)

com.baan.b3.boi1.BusinessObjectManager.baanDllCallBusinessObject(Compiled
Code)
        SvcOrdManager.Create(Compiled Code)
Monitor Cache Dump:
    com.baan.b3impl.connection.Connection@ED6A0398/ED899CD8: owner
"main"
(0x2be1e0, 1 entry)
    java.net.PlainSocketImpl@ED69FF28/ED89BED0: owner "Socket
Connection 71"
(0x2ee750, 1 entry)
Registered Monitor Dump:
    PCMap lock: <unowned>
    Thread queue lock: <unowned>
    Name and type hash table lock: <unowned>
    String intern lock: <unowned>
    JNI pinning lock: <unowned>
    JNI global reference lock: <unowned>
    BinClass lock: <unowned>
    Class loading lock: owner "main" (0x2be1e0, 1 entry)
    Java stack lock: <unowned>
    Code rewrite lock: <unowned>
    Heap lock: <unowned>
    Has finalization queue lock: <unowned>
    Finalize me queue lock: <unowned>
        Waiting to be notified:
            "Finalizer thread" (0x2bff08)
    Monitor registry: <unowned (mutex held)>



 Mon, 25 Sep 2006 16:19:44 GMT   
 Need help on SIGSEGV error in a g++/JNI application
paul.oudevriel...@atosorigin.com (Paul Oude Vrielink) writes:

Considering that the particular pointer is the same as the
ASCII characters "MET<tab>" it looks like something wrote over
something else.

Casper
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.



 Mon, 25 Sep 2006 20:33:56 GMT   
 
   [ 2 post ] 

Similar Threads

1. SIGSEGV gotten when JNI written in C calls contructor having a println on AIX platform

2. ld Error on g++ compile - Help needed!

3. jni using gnu g++ on AIX 4.3.3

4. Problem with ibm jdk, jni and g++

5. jni-Application (gcc)

6. Help w/ httpd SIGSEGV error?

7. g++ Questions: Do I need to upgrade g++?

8. help needed in Segmentation fault SIGSEGV

9. SIGSEGV from java application display to eXceed server


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software