I was running Java Workshop on JDK 1.1 when the underlying java
dumped core on me. I have moved the core file to ~evan/cores/core-java.1
Here is the dbx stack trace:
(dbx) w
=>[1] _lwp_kill(0x0, 0x6, 0x0, 0xef771e94, 0x18, 0x0), at 0xef4b98ec
[2] sysAbort(0x0, 0xef031000, 0xef030430, 0xb, 0x0, 0x10000), at 0xef74eb70
---- called from signal handler with signal 11 (SIGSEGV) ------
[3] t_delete(), at 0xef4cbd18
[4] realfree(0xedc90960, 0x0, 0xef7797f0, 0xedc90904, 0xedc9090c, 0x57), at 0xef4cb950
[5] cleanfree(0x0, 0xef5159e0, 0xef5159e0, 0xef515a60, 0x0, 0xef5159e8), at 0xef4cc1cc
[6] _malloc_unlocked(0x20, 0xef77a000, 0x535938, 0xfc084c64, 0xfc084c08, 0x60), at 0xef4cb31c
[7] malloc(0x20, 0x1, 0xef7797f0, 0xef771e6c, 0x3bb79341, 0x1), at 0xef4cb214
[8] calloc(0x1, 0x20, 0xffffffff, 0x0, 0x0, 0x20), at 0xef4ba93c
[9] sun_awt_motif_X11Graphics_createFromComponent(0xee2f2da8, 0xee32bdf0, 0xef2e5400, 0xef779730, 0x1, 0x0), at 0xef2afadc
[10] Java_sun_awt_motif_X11Graphics_createFromComponent_stub(0x1061f8, 0xef030ca4, 0xef771800, 0xef771e6c, 0x3bb7937d, 0x1d), at 0xef2c3c3c
[11] invokeNativeMethod(0x1061d0, 0x19cd98, 0x1061f8, 0xef030ca4, 0xef714adc, 0x19baf8), at 0xef714e70
[12] finish_invokevirtual(0x19e026, 0xef030ca4, 0x1061f8, 0x1061c8, 0x19baf8, 0x1061d0), at 0xef759260
[13] do_execute_java_method_vararg(0xef030ca4, 0xef776fc9, 0x0, 0x0, 0x0, 0x106080), at 0xef724758
[14] execute_java_dynamic_method(0xef030ca4, 0xee307dd8, 0xef776fc4, 0xef776fc8, 0xef779400, 0xf5fd7480), at 0xef723dfc
[15] ThreadRT0(0xee307dd8, 0xef776fc8, 0x0, 0xfc084c64, 0xfc084c08, 0x4), at 0xef74417c
[16] start_func(0xef760400, 0xee307dd8, 0xef744124, 0x0, 0x0, 0x0), at 0xef757a18
(dbx)
Here is the trace output from java:
SIGSEGV 11* segmentation violation
si_signo [11]: SIGSEGV 11* segmentation violation
si_errno [0]: Error 0
si_code [1]: SEGV_ACCERR [addr: 0x10]
stackbase=EF031000, stackpointer=EF0307C0
Full thread dump:
"New Agent input" (TID:0xee2f01a0, sys_thread_t:0xedcc0de0, state:R) prio=5
java.net.SocketInputStream.read(SocketInputStream.java:92)
java.io.BufferedInputStream.fill(BufferedInputStream.java)
java.io.BufferedInputStream.read(BufferedInputStream.java)
java.io.FilterInputStream.read(FilterInputStream.java)
sun.jws.Debugger.DebuggerMessage.run(DebuggerMessage.java:126)
java.lang.Thread.run(Thread.java)
"stderr Watcher" (TID:0xee313ae0, sys_thread_t:0xedcf0de0, state:CW) prio=5
java.io.PipedInputStream.read(PipedInputStream.java)
java.lang.ProcessInputStream.read(UNIXProcess.java)
java.io.DataInputStream.readLine(DataInputStream.java)
sun.jws.base.StderrIOThread.run(Launcher.java:220)
"stdout Watcher" (TID:0xee313b28, sys_thread_t:0xedd20de0, state:CW) prio=5
java.io.PipedInputStream.read(PipedInputStream.java)
java.lang.ProcessInputStream.read(UNIXProcess.java)
java.io.DataInputStream.readLine(DataInputStream.java)
sun.jws.base.StdoutIOThread.run(Launcher.java:184)
"Waiter" (TID:0xee313b90, sys_thread_t:0xedf90de0, state:CW) prio=5
java.lang.UNIXProcess.getNumReaders(UNIXProcess.java)
java.lang.UNIXProcess.waitFor(UNIXProcess.java)
sun.jws.base.WaitThread.run(Launcher.java:242)
"stderr reader pid=426" (TID:0xee313e80, sys_thread_t:0xedd50de0, state:R) prio=5
java.io.FileInputStream.read(FileInputStream.java)
java.lang.ProcessInputStream.run(UNIXProcess.java)
java.lang.Thread.run(Thread.java)
"stdout reader pid=426" (TID:0xee313ef0, sys_thread_t:0xeded0de0, state:R) prio=5
java.io.FileInputStream.read(FileInputStream.java)
java.lang.ProcessInputStream.run(UNIXProcess.java)
java.lang.Thread.run(Thread.java)
"process reaper" (TID:0xee2ee7a0, sys_thread_t:0xedf00de0, state:CW) prio=5
java.lang.Thread.run(Thread.java)
"Page Draw 0" (TID:0xee2ee8d0, sys_thread_t:0xedf30de0, state:S) prio=5
java.lang.Thread.suspend(Thread.java)
sun.jws.html.PageDrawThread.run(Page.java:2638)
"ThreadedQueue-5" (TID:0xee321c98, sys_thread_t:0xedd80de0, state:S) prio=5
java.lang.Thread.suspend(Thread.java)
sun.jws.util.ThreadedQueue.run(ThreadedQueue.java:90)
"ThreadedQueue-4" (TID:0xee3220a8, sys_thread_t:0xeddb0de0, state:S) prio=5
java.lang.Thread.suspend(Thread.java)
sun.jws.util.ThreadedQueue.run(ThreadedQueue.java:90)
"ThreadedQueue-3" (TID:0xee322330, sys_thread_t:0xedde0de0, state:S) prio=5
java.lang.Thread.suspend(Thread.java)
sun.jws.util.ThreadedQueue.run(ThreadedQueue.java:90)
"ThreadedQueue-2" (TID:0xee322758, sys_thread_t:0xede10de0, state:S) prio=5
java.lang.Thread.suspend(Thread.java)
sun.jws.util.ThreadedQueue.run(ThreadedQueue.java:90)
"ThreadedQueue-1" (TID:0xee313e90, sys_thread_t:0xede40de0, state:S) prio=5
java.lang.Thread.suspend(Thread.java)
sun.jws.util.ThreadedQueue.run(ThreadedQueue.java:90)
"ThreadedQueue-0" (TID:0xee314ff8, sys_thread_t:0xede70de0, state:S) prio=5
java.lang.Thread.suspend(Thread.java)
sun.jws.util.ThreadedQueue.run(ThreadedQueue.java:90)
"AWT-Finalizer" (TID:0xee320730, sys_thread_t:0xedea0de0, state:CW) prio=9
java.lang.Object.wait(Object.java)
sun.awt.AWTFinalizer.run(AWTFinalizer.java:48)
"Screen Updater" (TID:0xee30b590, sys_thread_t:0xedf60de0, state:CW) prio=4
java.lang.Object.wait(Object.java)
sun.awt.ScreenUpdater.nextEntry(ScreenUpdater.java:78)
sun.awt.ScreenUpdater.run(ScreenUpdater.java:98)
"AWT-Motif" (TID:0xee307e10, sys_thread_t:0xedfc0de0, state:MW) prio=5
java.lang.Thread.run(Thread.java)
"AWT-Input" (TID:0xee307df0, sys_thread_t:0xedff0de0, state:CW) prio=5
"AWT-EventQueue-0" (TID:0xee307dd8, sys_thread_t:0xef030de0, state:R) prio=5 *current thread*
sun.awt.motif.X11Graphics.<init>(X11Graphics.java:60)
sun.awt.motif.MComponentPeer.getGraphics(MComponentPeer.java:177)
java.awt.Component.getGraphics(Component.java)
java.awt.Component.dispatchEventImpl(Component.java)
java.awt.Container.dispatchEventImpl(Container.java)
java.awt.EventDispatchThread.run(EventDispatchThread.java)
"Finalizer thread" (TID:0xee300220, sys_thread_t:0xef310de0, state:CW) prio=1
"Async Garbage Collector" (TID:0xee3001d8, sys_thread_t:0xef340de0, state:CW) prio=1
"Idle thread" (TID:0xee300190, sys_thread_t:0xef370de0, state:R) prio=0
"Clock" (TID:0xee3000d0, sys_thread_t:0xef430de0, state:CW) prio=12
"main" (TID:0xee3000a8, sys_thread_t:0x64ed8, state:S) prio=5
java.lang.Thread.suspend(Thread.java)
sun.jws.Main.main(Main.java:281)
Monitor Cache Dump:
unknown key (key=0xef513dc0): monitor owner ef030de0: "AWT-EventQueue-0"
unknown key (key=0xef340de0): unowned
Waiting to be notified:
"Async Garbage Collector"
java.lang.UNIXProcess@EE315B30/EE4795C8 (key=0xee315b30): unowned
Waiting to be notified:
"Waiter"
java.lang.ProcessInputStream@EE315680/EE479D18 (key=0xee315680): unowned
Waiting to be notified:
"stderr Watcher"
java.lang.ProcessInputStream@EE315810/EE479890 (key=0xee315810): unowned
Waiting to be notified:
"stdout Watcher"
sun.awt.AWTFinalizer@EE320730/EE393900 (key=0xee320730): unowned
Waiting to be notified:
"AWT-Finalizer"
java.io.BufferedInputStream@EE2F0228/EE46B538 (key=0xee2f0228): monitor owner edcc0de0: "New Agent input"
sun.awt.ScreenUpdater@EE30B590/EE369AA8 (key=0xee30b590): unowned
Waiting to be notified:
"Screen Updater"
sun.awt.motif.MToolkit@EE307D78/EE357268 (key=0xee307d78): monitor owner ef030de0: "AWT-EventQueue-0"
Waiting to enter:
"AWT-Motif"
Waiting to be notified:
"AWT-Input"
Registered Monitor Dump:
Thread queue lock: unowned
Name and type hash table lock: unowned
String intern 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
Waiting to be notified:
"process reaper"
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: monitor owner ef030de0: "AWT-EventQueue-0"
Thread Alarm Q:
sys_thread_t 0xedcf0de0 [Timeout in 88 ms]
sys_thread_t 0xedd20de0 [Timeout in 88 ms]
sys_thread_t 0xef340de0 [Timeout in 203 ms]
Abort (core dumped)
dumped core on me. I have moved the core file to ~evan/cores/core-java.1
Here is the dbx stack trace:
(dbx) w
=>[1] _lwp_kill(0x0, 0x6, 0x0, 0xef771e94, 0x18, 0x0), at 0xef4b98ec
[2] sysAbort(0x0, 0xef031000, 0xef030430, 0xb, 0x0, 0x10000), at 0xef74eb70
---- called from signal handler with signal 11 (SIGSEGV) ------
[3] t_delete(), at 0xef4cbd18
[4] realfree(0xedc90960, 0x0, 0xef7797f0, 0xedc90904, 0xedc9090c, 0x57), at 0xef4cb950
[5] cleanfree(0x0, 0xef5159e0, 0xef5159e0, 0xef515a60, 0x0, 0xef5159e8), at 0xef4cc1cc
[6] _malloc_unlocked(0x20, 0xef77a000, 0x535938, 0xfc084c64, 0xfc084c08, 0x60), at 0xef4cb31c
[7] malloc(0x20, 0x1, 0xef7797f0, 0xef771e6c, 0x3bb79341, 0x1), at 0xef4cb214
[8] calloc(0x1, 0x20, 0xffffffff, 0x0, 0x0, 0x20), at 0xef4ba93c
[9] sun_awt_motif_X11Graphics_createFromComponent(0xee2f2da8, 0xee32bdf0, 0xef2e5400, 0xef779730, 0x1, 0x0), at 0xef2afadc
[10] Java_sun_awt_motif_X11Graphics_createFromComponent_stub(0x1061f8, 0xef030ca4, 0xef771800, 0xef771e6c, 0x3bb7937d, 0x1d), at 0xef2c3c3c
[11] invokeNativeMethod(0x1061d0, 0x19cd98, 0x1061f8, 0xef030ca4, 0xef714adc, 0x19baf8), at 0xef714e70
[12] finish_invokevirtual(0x19e026, 0xef030ca4, 0x1061f8, 0x1061c8, 0x19baf8, 0x1061d0), at 0xef759260
[13] do_execute_java_method_vararg(0xef030ca4, 0xef776fc9, 0x0, 0x0, 0x0, 0x106080), at 0xef724758
[14] execute_java_dynamic_method(0xef030ca4, 0xee307dd8, 0xef776fc4, 0xef776fc8, 0xef779400, 0xf5fd7480), at 0xef723dfc
[15] ThreadRT0(0xee307dd8, 0xef776fc8, 0x0, 0xfc084c64, 0xfc084c08, 0x4), at 0xef74417c
[16] start_func(0xef760400, 0xee307dd8, 0xef744124, 0x0, 0x0, 0x0), at 0xef757a18
(dbx)
Here is the trace output from java:
SIGSEGV 11* segmentation violation
si_signo [11]: SIGSEGV 11* segmentation violation
si_errno [0]: Error 0
si_code [1]: SEGV_ACCERR [addr: 0x10]
stackbase=EF031000, stackpointer=EF0307C0
Full thread dump:
"New Agent input" (TID:0xee2f01a0, sys_thread_t:0xedcc0de0, state:R) prio=5
java.net.SocketInputStream.read(SocketInputStream.java:92)
java.io.BufferedInputStream.fill(BufferedInputStream.java)
java.io.BufferedInputStream.read(BufferedInputStream.java)
java.io.FilterInputStream.read(FilterInputStream.java)
sun.jws.Debugger.DebuggerMessage.run(DebuggerMessage.java:126)
java.lang.Thread.run(Thread.java)
"stderr Watcher" (TID:0xee313ae0, sys_thread_t:0xedcf0de0, state:CW) prio=5
java.io.PipedInputStream.read(PipedInputStream.java)
java.lang.ProcessInputStream.read(UNIXProcess.java)
java.io.DataInputStream.readLine(DataInputStream.java)
sun.jws.base.StderrIOThread.run(Launcher.java:220)
"stdout Watcher" (TID:0xee313b28, sys_thread_t:0xedd20de0, state:CW) prio=5
java.io.PipedInputStream.read(PipedInputStream.java)
java.lang.ProcessInputStream.read(UNIXProcess.java)
java.io.DataInputStream.readLine(DataInputStream.java)
sun.jws.base.StdoutIOThread.run(Launcher.java:184)
"Waiter" (TID:0xee313b90, sys_thread_t:0xedf90de0, state:CW) prio=5
java.lang.UNIXProcess.getNumReaders(UNIXProcess.java)
java.lang.UNIXProcess.waitFor(UNIXProcess.java)
sun.jws.base.WaitThread.run(Launcher.java:242)
"stderr reader pid=426" (TID:0xee313e80, sys_thread_t:0xedd50de0, state:R) prio=5
java.io.FileInputStream.read(FileInputStream.java)
java.lang.ProcessInputStream.run(UNIXProcess.java)
java.lang.Thread.run(Thread.java)
"stdout reader pid=426" (TID:0xee313ef0, sys_thread_t:0xeded0de0, state:R) prio=5
java.io.FileInputStream.read(FileInputStream.java)
java.lang.ProcessInputStream.run(UNIXProcess.java)
java.lang.Thread.run(Thread.java)
"process reaper" (TID:0xee2ee7a0, sys_thread_t:0xedf00de0, state:CW) prio=5
java.lang.Thread.run(Thread.java)
"Page Draw 0" (TID:0xee2ee8d0, sys_thread_t:0xedf30de0, state:S) prio=5
java.lang.Thread.suspend(Thread.java)
sun.jws.html.PageDrawThread.run(Page.java:2638)
"ThreadedQueue-5" (TID:0xee321c98, sys_thread_t:0xedd80de0, state:S) prio=5
java.lang.Thread.suspend(Thread.java)
sun.jws.util.ThreadedQueue.run(ThreadedQueue.java:90)
"ThreadedQueue-4" (TID:0xee3220a8, sys_thread_t:0xeddb0de0, state:S) prio=5
java.lang.Thread.suspend(Thread.java)
sun.jws.util.ThreadedQueue.run(ThreadedQueue.java:90)
"ThreadedQueue-3" (TID:0xee322330, sys_thread_t:0xedde0de0, state:S) prio=5
java.lang.Thread.suspend(Thread.java)
sun.jws.util.ThreadedQueue.run(ThreadedQueue.java:90)
"ThreadedQueue-2" (TID:0xee322758, sys_thread_t:0xede10de0, state:S) prio=5
java.lang.Thread.suspend(Thread.java)
sun.jws.util.ThreadedQueue.run(ThreadedQueue.java:90)
"ThreadedQueue-1" (TID:0xee313e90, sys_thread_t:0xede40de0, state:S) prio=5
java.lang.Thread.suspend(Thread.java)
sun.jws.util.ThreadedQueue.run(ThreadedQueue.java:90)
"ThreadedQueue-0" (TID:0xee314ff8, sys_thread_t:0xede70de0, state:S) prio=5
java.lang.Thread.suspend(Thread.java)
sun.jws.util.ThreadedQueue.run(ThreadedQueue.java:90)
"AWT-Finalizer" (TID:0xee320730, sys_thread_t:0xedea0de0, state:CW) prio=9
java.lang.Object.wait(Object.java)
sun.awt.AWTFinalizer.run(AWTFinalizer.java:48)
"Screen Updater" (TID:0xee30b590, sys_thread_t:0xedf60de0, state:CW) prio=4
java.lang.Object.wait(Object.java)
sun.awt.ScreenUpdater.nextEntry(ScreenUpdater.java:78)
sun.awt.ScreenUpdater.run(ScreenUpdater.java:98)
"AWT-Motif" (TID:0xee307e10, sys_thread_t:0xedfc0de0, state:MW) prio=5
java.lang.Thread.run(Thread.java)
"AWT-Input" (TID:0xee307df0, sys_thread_t:0xedff0de0, state:CW) prio=5
"AWT-EventQueue-0" (TID:0xee307dd8, sys_thread_t:0xef030de0, state:R) prio=5 *current thread*
sun.awt.motif.X11Graphics.<init>(X11Graphics.java:60)
sun.awt.motif.MComponentPeer.getGraphics(MComponentPeer.java:177)
java.awt.Component.getGraphics(Component.java)
java.awt.Component.dispatchEventImpl(Component.java)
java.awt.Container.dispatchEventImpl(Container.java)
java.awt.EventDispatchThread.run(EventDispatchThread.java)
"Finalizer thread" (TID:0xee300220, sys_thread_t:0xef310de0, state:CW) prio=1
"Async Garbage Collector" (TID:0xee3001d8, sys_thread_t:0xef340de0, state:CW) prio=1
"Idle thread" (TID:0xee300190, sys_thread_t:0xef370de0, state:R) prio=0
"Clock" (TID:0xee3000d0, sys_thread_t:0xef430de0, state:CW) prio=12
"main" (TID:0xee3000a8, sys_thread_t:0x64ed8, state:S) prio=5
java.lang.Thread.suspend(Thread.java)
sun.jws.Main.main(Main.java:281)
Monitor Cache Dump:
unknown key (key=0xef513dc0): monitor owner ef030de0: "AWT-EventQueue-0"
unknown key (key=0xef340de0): unowned
Waiting to be notified:
"Async Garbage Collector"
java.lang.UNIXProcess@EE315B30/EE4795C8 (key=0xee315b30): unowned
Waiting to be notified:
"Waiter"
java.lang.ProcessInputStream@EE315680/EE479D18 (key=0xee315680): unowned
Waiting to be notified:
"stderr Watcher"
java.lang.ProcessInputStream@EE315810/EE479890 (key=0xee315810): unowned
Waiting to be notified:
"stdout Watcher"
sun.awt.AWTFinalizer@EE320730/EE393900 (key=0xee320730): unowned
Waiting to be notified:
"AWT-Finalizer"
java.io.BufferedInputStream@EE2F0228/EE46B538 (key=0xee2f0228): monitor owner edcc0de0: "New Agent input"
sun.awt.ScreenUpdater@EE30B590/EE369AA8 (key=0xee30b590): unowned
Waiting to be notified:
"Screen Updater"
sun.awt.motif.MToolkit@EE307D78/EE357268 (key=0xee307d78): monitor owner ef030de0: "AWT-EventQueue-0"
Waiting to enter:
"AWT-Motif"
Waiting to be notified:
"AWT-Input"
Registered Monitor Dump:
Thread queue lock: unowned
Name and type hash table lock: unowned
String intern 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
Waiting to be notified:
"process reaper"
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: monitor owner ef030de0: "AWT-EventQueue-0"
Thread Alarm Q:
sys_thread_t 0xedcf0de0 [Timeout in 88 ms]
sys_thread_t 0xedd20de0 [Timeout in 88 ms]
sys_thread_t 0xef340de0 [Timeout in 203 ms]
Abort (core dumped)
- duplicates
-
JDK-4038917 Segv in malloc
-
- Closed
-
-
JDK-4045331 Segv in malloc
-
- Closed
-
- relates to
-
JDK-4041821 Segv in malloc
-
- Closed
-
-
JDK-4043514 Segv in malloc
-
- Closed
-