Juergen Kreileder wrote May 6th:
 > With a few changes to the linking step your example works for me,
 > I'll send you my changes later.

I haven't gotten any changes, or any response to the three 
inquiries I sent you since. In case there should be any doubt
about it, my example (AWT via Invocation) does not work in 
v3+native, too.

I digged around in ./include and tried -DNATIVE as well as
a leading -I$(JDK_HOME)/include/native_threads/include/
to rule out that my binary is accidentally compiled using
green threads headers (btw., the README.linux is still the
9/5/99 one w/o native thread docs - phooey).

My linker flags are still:
  LFLAGS= -L. -L$(JDK_HOME)/lib/i586/native_threads/ -ljava
plus various versions of scipted preloads:
  LD_PRELOAD="libjava.so libXt.so libXm.so libXext.so"
  LD_BIND_NOW=1

I do not have the option to link against X11 libs directly.
So, what am I supposed to to? I have been stuck here for
nearly a fortnight now, if would be kind if you'd care to
disclose the secret. Thanks.

                                          b.





------ "ein schoener core, die box steht still... " ---------

Retrieved methodID for Test.init()V
Calling method Test.init()V...
JAVA: Test.init()V called.
JAVA: AWT Frame created.
JAVA: AWT Frame configured.
SIGSEGV   11*  segmentation violation
        stackbase=BFFFF2E8, stackpointer=BFFFEF40
Full thread dump:
    "AWT-Motif" (TID:0x4077e4a0, sys_thread_t:0x80ec568, state:CW, 
    thread_t: t@5125, sp:0x0 threadID:0x14b, stack_base:0xbf1ffd68, 
    stack_size:0x200000) prio=5 java.lang.Thread.run(Thread.java)
    "AWT-Input" (TID:0x4077e4c0, sys_thread_t:0x80f0658, state:R, 
    thread_t: t@4100, sp:0x0 threadID:0x14a, stack_base:0xbf3ffd68,
    stack_size:0x200000) prio=5
    "AWT-EventQueue-0" (TID:0x4077e4d8, sys_thread_t:0x80bd940, 
    state:CW, thread_t: t@3075, sp:0xbf5ffa88 threadID:0x149, 
    stack_base:0xbf5ffd68, stack_size:0x200000) prio=5
        java.lang.Object.wait(Object.java)
        java.awt.EventQueue.getNextEvent(EventQueue.java:118)
        java.awt.EventDispatchThread.run(EventDispatchThread.java:67)
    "SIGQUIT handler" (TID:0x4077a2a0, sys_thread_t:0x807dc70,
    state:R, thread_t: t@2050, sp:0x0 threadID:0x148, 
    stack_base:0xbf7ffd68, stack_size:0x200000) prio=5
    "Finalizer thread" (TID:0x4077a088, sys_thread_t:0x807dbd8, 
    state:CW, thread_t: t@1025, sp:0x0 threadID:0x147, 
    stack_base:0xbf9ffd68, stack_size:0x200000) prio=5
    "main" (TID:0x4077a0b0, sys_thread_t:0x807d318, state:R, 
    thread_t: t@1024, s
    "main" (TID:0x4077a0b0, sys_thread_t:0x807d318, state:R, 
    thread_t: t@1024, sp:0x0 threadID:0x145, stack_base:0xbffff2e8,
    stack_size:0x200000) prio=0 *current thread*
        sun.awt.motif.MComponentPeer.setBackground(MComponentPeer.java:163)
        sun.awt.motif.MFramePeer.<init>(MFramePeer.java:78)
        sun.awt.motif.MToolkit.createFrame(MToolkit.java:117)
        java.awt.Frame.addNotify(Frame.java:203)
        java.awt.Window.show(Window.java:145)
        Test.init(Test.java:30)
Monitor Cache Dump:
    java.awt.EventQueue@1081598560/1081976040: <unowned>
        Waiting to be notified:
            "AWT-EventQueue-0" (0x80bd940)
    sun.awt.motif.MToolkit@1081598608/1081975784: 
     owner "main" (0x807d318, 1 entry)
        Waiting to be notified:
            "AWT-Motif" (0x80ec568)
    java.lang.Object@1081597928/1081971416: owner "main" (0x807d318, 1 entry)
Registered Monitor Dump:
    Dynamic loading 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: <unowned>
    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" (0x807dbd8)
    Monitor registry: owner "main" (0x807d318, 1 entry)
Abort (core dumped)

---- "komm, box, lass dich umarmen, welch ein core" ----


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

Reply via email to