JDK-4079697 : Java AWT appl displayed remotely causes JVM to core dump
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.1.3
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_2.5.1
  • CPU: sparc
  • Submitted: 1997-09-17
  • Updated: 2001-07-11
  • Resolved: 2001-07-11
Related Reports
Duplicate :  
Description
Displaying an AWT application to non-Solaris machine causes the 
JVM to core dump with a SIGSEGV.  This has been reproduced with 
the JDK 1.1.3 demo
/jdk1.1.3/demo/awt-1.1/symboltest/SymbolTest.java .

javaVM locally on Solaris system works ok.
javaVM remotely to PC running ReflectionX results in javaVM core dump.
javaVM remotely to an HP system results in Xserver crashing. (javaVM quits of course)
Customer does not have LD_LIBRARY_PATH set and they are able to 
display generic window apps like xclock.

Attached is the output of the crash when they ran 'java SymbolTest'.
They get the same result when they run 'jre -cp . SymbolTest'

========================================================================

SIGSEGV   11*  segmentation violation
    si_signo [11]: SIGSEGV   11*  segmentation violation
    si_errno [0]: Error 0
    si_code [1]: SEGV_ACCERR [addr: 0x0]

	stackbase=EFFFE170, stackpointer=EFFFCD50

Full thread dump:
    "AWT-Motif" (TID:0xee704d48, sys_thread_t:0xedfb1de0, state:MW) prio=5
	java.lang.Thread.run(Thread.java)
    "AWT-Input" (TID:0xee704d28, sys_thread_t:0xedfe1de0, state:CW) prio=5
    "AWT-EventQueue-0" (TID:0xee704d10, sys_thread_t:0xee011de0, state:CW) prio=5
	java.lang.Object.wait(Object.java)
	java.awt.EventQueue.getNextEvent(EventQueue.java:118)
	java.awt.EventDispatchThread.run(EventDispatchThread.java:55)
    "Finalizer thread" (TID:0xee700220, sys_thread_t:0xee2c1de0, state:CW) prio=1
    "Async Garbage Collector" (TID:0xee7001d8, sys_thread_t:0xee2f1de0, state:CW) prio=1
    "Idle thread" (TID:0xee700190, sys_thread_t:0xee3c1de0, state:R) prio=0
    "Clock" (TID:0xee7000d0, sys_thread_t:0xee3f1de0, state:CW) prio=12
    "main" (TID:0xee7000a8, sys_thread_t:0x40e68, state:R) prio=5 *current thread*
	sun.awt.motif.MFramePeer.<init>(MFramePeer.java:59)
	sun.awt.motif.MToolkit.createFrame(MToolkit.java:120)
	java.awt.Frame.addNotify(Frame.java:139)
	java.awt.Window.show(Window.java:130)
	ArcTest.main(ArcTest.java:73)
Monitor Cache Dump:
    <unknown key> (0xee2f1de0): <unowned>
	Waiting to be notified:
	    "Async Garbage Collector"
    sun.awt.motif.MToolkit@EE704C90/EE752CE8: owner "main" (0x40e68, 1 entry)
	Waiting to enter:
	    "AWT-Motif"
	Waiting to be notified:
	    "AWT-Input"
    java.awt.EventQueue@EE704CC0/EE752DD8: <unowned>
	Waiting to be notified:
	    "AWT-EventQueue-0"
Registered Monitor Dump:
    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"
    Monitor IO lock: <unowned>
    Child death monitor: <unowned>
    Event monitor: <unowned>
    I/O monitor: <unowned>
    Alarm monitor: <unowned>
	Waiting to be notified:
	    "Clock"
    Sbrk lock: <unowned>
    Monitor cache expansion lock: <unowned>
    Monitor registry: owner "main" (0x40e68, 1 entry)
Thread Alarm Q:
    sys_thread_t 0xee2f1de0   [Timeout in 787 ms]

Comments
PUBLIC COMMENTS
10-06-2004