Hi,

I get another problem when i ran the java program with jni calling c++ program.
Is it the bug of green thread?

method unknown (eip = 400dc51b)
SIGSEGV   11*  segmentation violation
    si_signo [11]: SIGSEGV   11*  segmentation violation
    si_errno [0]: Success
    si_code [0]: SI_USER [pid: 0, uid: 0]
        stackpointer=0xbfffd104

Full thread dump Classic VM (1.2.2-L, green threads):
    "Finalizer" (TID:0x40e98320, sys_thread_t:0x8107f08, state:CW) p
rio=8
        at java.lang.Object.wait(Native Method)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:1
08)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:1
23)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.jav
a:170)
    "Reference Handler" (TID:0x40e983b0, sys_thread_t:0x81031b8, sta
te:CW) prio=10
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.ja
va:110)
    "Signal dispatcher" (TID:0x40e983e0, sys_thread_t:0x8101300, sta
te:CW) prio=5
    "main" (TID:0x40e981e0, sys_thread_t:0x804c2d0, state:R) prio=5        at 
jcops.JCOPSUI.ReqMsg(Native Method)
        at jcops.JCOPSUI.run(JCOPSUI.java:22)
        at jcops.JCOPSClient.main(JCOPSClient.java:129)
Monitor Cache Dump:
    java.lang.ref.ReferenceQueue$Lock@40E98338/40ECE028: <unowned>
    utf8 hash table: <unowned>
    JNI pinning lock: <unowned>
    JNI global reference lock: <unowned>
    BinClass lock: <unowned>
    Class linking lock: <unowned>
    System class loader lock: <unowned>
    Code rewrite lock: <unowned>
    Heap lock: <unowned>
    Monitor cache lock: owner "main" (0x804c2d0) 1 entry
    Dynamic loading lock: <unowned>
    Monitor IO lock: <unowned>
    User signal monitor: <unowned>
        Waiting to be notified:
            "Signal dispatcher" (0x8101300)
    Child death monitor: <unowned>
    I/O monitor: <unowned>
    Alarm monitor: <unowned>
        Waiting to be notified:
            <unknown thread> (0x8057738)
    Thread queue lock: owner "main" (0x804c2d0) 1 entry
    Monitor registry: owner "main" (0x804c2d0) 1 entry

Cheers,
Kason


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to