-
Bug
-
Resolution: Fixed
-
P4
-
1.1.6
-
b02
-
generic
-
solaris_2.5.1
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2019307 | 1.1.7 | Patrick Ong | P4 | Resolved | Fixed | b01 |
_base:0xee7f3d9c, stack_size:0x22000) prio=5
java.awt.Component.setForeground(Component.java:564)
myThread.run(JavaTest3.java:100)
"Screen Updater" (TID:0xed706860, sys_thread_t:0x12a600, state:CW, thread_t: t@10, sp:0xef063018 threadID:0xef063e00, stack_base:0xef063d9c, stack_size:0x22000) 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:0xed7050c0, sys_thread_t:0xcf288, state:R, thread_t: t@8, sp:0xef092e60 threadID:0xef093e00, stack_base:0xef093d9c, stack_size:0x22000) prio=5 *current thread*
java.lang.Thread.run(Thread.java)
"AWT-Input" (TID:0xed7050e8, sys_thread_t:0xcd5a8, state:CW, thread_t: t@7, sp:0xef0c3240 threadID:0xef0c3e00, stack_base:0xef0c3d9c, stack_size:0x22000) prio=5
"AWT-EventQueue-0" (TID:0xed705100, sys_thread_t:0xafad8, state:R, thread_t: t@6, sp:0xef0f2fb8 threadID:0xef0f3e00, stack_base:0xef0f3d9c, stack_size:0x22000) prio=5
sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:185)
java.awt.Component.dispatchEventImpl(Component.java:1826)
java.awt.Component.dispatchEvent(Component.java:1705)
java.awt.EventDispatchThread.run(EventDispatchThread.java:63)
"SIGQUIT handler" (TID:0xed7002a0, sys_thread_t:0x3ce68, state:R, thread_t: t@5, sp:0xef343af8 threadID:0xef343e00, stack_base:0xef343d9c, stack_size:0x22000) prio=0
"Finalizer thread" (TID:0xed700088, sys_thread_t:0x3cdd8, state:CW, thread_t: t@4, sp:0xef373a28 threadID:0xef373e00, stack_base:0xef373d9c, stack_size:0x22000) prio=1
"main" (TID:0xed7000b0, sys_thread_t:0x3da98, state:CW, thread_t: t@1, sp:0xefffe520 threadID:0x20b20, stack_base:0xeffff3bc, stack_size:0x800000) prio=5
JavaTest3.main(JavaTest3.java:66)
Monitor Cache Dump:
java.lang.Object@ED703F90/ED74D9B8: owner "Thread-4" (0x13f188, 3 entries)
<unknown key> (0x3da98): <unowned>
Waiting to be notified:
"main" (0x3da98)
sun.awt.motif.MToolkit@ED704EC8/ED750E48: owner "AWT-Motif" (0xcf288, 1 entry)
Waiting to be notified:
"AWT-Input" (0xcd5a8)
sun.awt.AWTFinalizer@ED706C18/ED758A78: <unowned>
Waiting to be notified:
"AWT-Finalizer" (0x1485a0)
sun.awt.ScreenUpdater@ED706860/ED757E70: <unowned>
Waiting to be notified:
"Screen Updater" (0x12a600)
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" (0x3cdd8)
Monitor registry: owner "AWT-Motif" (0xcf288, 1 entry)
Abort (core dumped)
patrick.ong@Eng 1998-06-09
This crash can happen with setForeground, setBackground, setColor and setFont.
The common denominator is a recursive call to mapChildren on a container tree
when it crashes.
Customer has a AWT application running on a 2.5.1 Solaris box with
JDK1.1.6H. This java crash happened when the application was doing
a setForeground.
(dbx) where
current thread: t@6
=>[1] _lwp_kill(0x0, 0x6, 0xebe008a8, 0xa, 0xebe01e84, 0xebe01e3c), at
0xef4b996c
---- called from signal handler with signal ??? ------
[2] sigacthandler(0xa, 0xebe00a68, 0xebe008a8, 0x28, 0xebe01e84,
0xebe00808), at 0xef6a006c
[3] MakeCursors(0x5a1e48, 0x5a1e60, 0x5a1e50, 0x1, 0x6, 0x5999e8), at
0xebe93540
[4] t_delete(0x5a1e48, 0xef515ed0, 0x5c47c0, 0x5a1e58, 0x70, 0x20), at
0xef4cbf54
[5] realfree(0x5a1e48, 0x0, 0xee7ac, 0x5a1dd0, 0x5a1dd8, 0x71), at
0xef4cbbe4
[6] cleanfree(0x0, 0xef515e48, 0xef515e48, 0xef515ec8, 0x0,
0xef515e48), at 0xef4cc464
[7] _malloc_unlocked(0x70, 0xef515ec8, 0x557bb8, 0xef515e44, 0x7,
0x20), at 0xef4cb5a8
[8] malloc(0x70, 0x0, 0x3fffff, 0xaff, 0x4400000, 0xafe), at
0xef4cb4a0
[9] XCreateGC(0xed518, 0x4400afe, 0x0, 0x0, 0x8, 0xee804), at
0xef614438
[10] MakeIBeamOffArea(0x3abe60, 0x10, 0x10, 0x0, 0xed518, 0xcec30), at
0xebe93604
[11] MakeCursors(0x3abe60, 0xcec30, 0x2, 0x1, 0xed518, 0x10), at
0xebe93540
[12] SetValues(0xebe01458, 0x0, 0x3abe60, 0x0, 0x0, 0x3abed4), at
0xebea687c
[13] CallSetValues(0xebfc061c, 0xebe01458, 0xebe01130, 0x3abe60,
0x5aeae0, 0x0), at 0xee8a5414
[14] XtSetValues(0x3abe60, 0x5aeae0, 0x1, 0xebe01130, 0xebe01458,
0xebfb5a9c), at 0xee8a5750
[15] XtVaSetValues(0x3abe60, 0xee8b95da, 0x1e, 0x0, 0xebfb5a9c,
0xffffffff), at 0xee8b4b10
[16] awt_util_mapChildren(0x3abe60, 0xee925b7c, 0x1, 0x1e, 0x0,
0xebe018b4), at 0xee9386d8
[17] awt_util_mapChildren(0x0, 0xee925b7c, 0x0, 0x1e, 0x0, 0x1e), at
0xee938740
[18] sun_awt_motif_MComponentPeer_setForeground(0x47cd78, 0xec5a0508,
0xee96cc00, 0x0, 0xef69df78, 0x1), at 0xee925c04
[19] Java_sun_awt_motif_MComponentPeer_setForeground_stub(0xe8ff8,
0xebe01cb4, 0x1, 0xef772e18, 0xef76e800, 0x3b23a020), at 0xee94abe4
[20] invokeNativeMethod(0xe8fd0, 0x2071c0, 0xe8ff8, 0xebe01cb4,
0xef712264, 0xec5a01e0), at 0xef7126fc
[21] finish_invokevirtual(0xe63c9, 0xebe01cb4, 0xe8ff8, 0xe8fc4,
0xdf1a8, 0xe8fd0), at 0xef74e2e0
[22] do_execute_java_method_vararg(0xebe01cb4, 0xef76bd2d, 0x0, 0x0,
0x0, 0xe8db8), at 0xef723e60
[23] execute_java_dynamic_method(0xebe01cb4, 0xec5a00a8, 0xef76bd28,
0xef76bd2c, 0xef76f000, 0x0), at 0xef723504
[24] ThreadRT0(0xec5a00a8, 0xef76bd2c, 0x41000, 0xafee8, 0x1, 0x2000),
at 0xef73ecdc
[25] _start(0x0, 0x0, 0xebe01e4a, 0xebe01e4b, 0x0, 0xebe01e49), at
0xef74a8ac
(dbx)
peter.koning@eng 1998-03-25
Added additional stack traces from the test case... see comments for more info
SIGBUS 10* bus error
si_signo [10]: SIGBUS 10* bus error
si_errno [0]: Error 0
si_code [1]: BUS_ADRALN [addr: 0x1]
stackbase=EF0F3D9C, stackpointer=EF0F2C60
Full thread dump:
"AWT-Finalizer" (TID:0xed706a50, sys_thread_t:0x13fe90, state:CW, thread_t:
t@14, sp:0xee5c3018 threadID:0xee5c3e00, stack_base:0xee5c3d9c, stack_size:0x220
00) prio=9
java.lang.Object.wait(Object.java)
sun.awt.AWTFinalizer.run(AWTFinalizer.java:48)
"Thread-4" (TID:0xed706e00, sys_thread_t:0x1331c8, state:CW, thread_t: t@13,
sp:0xee5f0298 threadID:0xee5f3e00, stack_base:0xee5f3d9c, stack_size:0x22000) p
rio=5
dialogThread.run(JavaTest3.java:141)
"Thread-3" (TID:0xed7045f8, sys_thread_t:0x133080, state:CW, thread_t: t@12,
sp:0xee7c3030 threadID:0xee7c3e00, stack_base:0xee7c3d9c, stack_size:0x22000) p
rio=5
myThread.run(JavaTest3.java:98)
"Thread-2" (TID:0xed704640, sys_thread_t:0x132ff0, state:R, thread_t: t@11,
sp:0xee7f3030 threadID:0xee7f3e00, stack_base:0xee7f3d9c, stack_size:0x22000) pr
io=5
java.awt.Component.setForeground(Component.java:564)
myThread.run(JavaTest3.java:100)
"Screen Updater" (TID:0xed706860, sys_thread_t:0x12a600, state:CW, thread_t:
t@10, sp:0xef063018 threadID:0xef063e00, stack_base:0xef063d9c, stack_size:0x22
000) 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:0xed7050c0, sys_thread_t:0xcf288, state:R, thread_t: t@8, s
p:0xef092ab0 threadID:0xef093e00, stack_base:0xef093d9c, stack_size:0x22000) pri
o=5
java.awt.EventQueue.postEvent(EventQueue.java:62)
sun.awt.motif.MToolkit.postEvent(MToolkit.java:298)
sun.awt.motif.MComponentPeer.postEvent(MComponentPeer.java:250)
sun.awt.motif.MComponentPeer.handleExpose(MComponentPeer.java:255)
java.lang.Thread.run(Thread.java)
"AWT-Input" (TID:0xed7050e8, sys_thread_t:0xcd5a8, state:CW, thread_t: t@7,
sp:0xef0c2f48 threadID:0xef0c3e00, stack_base:0xef0c3d9c, stack_size:0x22000) pr
io=5
"AWT-EventQueue-0" (TID:0xed705100, sys_thread_t:0xafad8, state:R, thread_t:
t@6, sp:0xef0f2fb8 threadID:0xef0f3e00, stack_base:0xef0f3d9c, stack_size:0x220
00) prio=5 *current thread*
sun.awt.motif.X11Graphics.setColor(X11Graphics.java:144)
sun.awt.motif.MComponentPeer.getGraphics(MComponentPeer.java:220)
java.awt.Component.getGraphics(Component.java:1161)
sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:186)
java.awt.Component.dispatchEventImpl(Component.java:1826)
java.awt.Component.dispatchEvent(Component.java:1705)
java.awt.EventDispatchThread.run(EventDispatchThread.java:63)
"SIGQUIT handler" (TID:0xed7002a0, sys_thread_t:0x3ce68, state:R, thread_t:
t@5, sp:0xef343af8 threadID:0xef343e00, stack_base:0xef343d9c, stack_size:0x2200
0) prio=0
"Finalizer thread" (TID:0xed700088, sys_thread_t:0x3cdd8, state:CW, thread_t
: t@4, sp:0xef373a28 threadID:0xef373e00, stack_base:0xef373d9c, stack_size:0x22
000) prio=1
"main" (TID:0xed7000b0, sys_thread_t:0x3da98, state:CW, thread_t: t@1, sp:0x
efffe520 threadID:0x20b20, stack_base:0xeffff3bc, stack_size:0x800000) prio=5
JavaTest3.main(JavaTest3.java:66)
Monitor Cache Dump:
<unknown key> (0x133080): <unowned>
Waiting to be notified:
"Thread-3" (0x133080)
java.lang.Object@ED703F90/ED74D938: owner "AWT-EventQueue-0" (0xafad8, 1 ent
ry)
<unknown key> (0x3da98): <unowned>
Waiting to be notified:
"main" (0x3da98)
<unknown key> (0x1331c8): <unowned>
Waiting to be notified:
"Thread-4" (0x1331c8)
sun.awt.motif.MToolkit@ED704EC8/ED750DC8: owner "AWT-EventQueue-0" (0xafad8,
1 entry)
Waiting to be notified:
"AWT-Input" (0xcd5a8)
sun.awt.AWTFinalizer@ED706A50/ED758800: <unowned>
Waiting to be notified:
"AWT-Finalizer" (0x13fe90)
sun.awt.ScreenUpdater@ED706860/ED757DE8: <unowned>
Waiting to be notified:
"Screen Updater" (0x12a600)
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" (0x3cdd8)
Monitor registry: owner "AWT-EventQueue-0" (0xafad8, 1 entry)
Abort (core dumped)
fantasma#
And the second time....
SIGBUS 10* bus error
si_signo [10]: SIGBUS 10* bus error
si_errno [0]: Error 0
si_code [1]: BUS_ADRALN [addr: 0x1]
stackbase=EE7C3D9C, stackpointer=EE7C14A8
Full thread dump:
"AWT-Finalizer" (TID:0xed706d10, sys_thread_t:0x14b570, state:CW, thread_t: t@14, sp:0xee5c3018 threadID:0xee5c3e00, stack_base:0xee5c3d9c, stack_size:0x22000) prio=9
java.lang.Object.wait(Object.java)
sun.awt.AWTFinalizer.run(AWTFinalizer.java:48)
"Thread-4" (TID:0xed706e00, sys_thread_t:0x14ac20, state:R, thread_t: t@13, sp:0xee5f2f20 threadID:0xee5f3e00, stack_base:0xee5f3d9c, stack_size:0x22000) prio=5
sun.awt.motif.MComponentPeer.initialize(MComponentPeer.java:83)
sun.awt.motif.MTextFieldPeer.initialize(MTextFieldPeer.java:67)
sun.awt.motif.MComponentPeer.<init>(MComponentPeer.java:126)
sun.awt.motif.MTextFieldPeer.<init>(MTextFieldPeer.java:71)
sun.awt.motif.MToolkit.createTextField(MToolkit.java:72)
java.awt.TextField.addNotify(TextField.java:148)
java.awt.Container.addNotify(Container.java:1120)
java.awt.Window.addNotify(Window.java:113)
java.awt.Dialog.addNotify(Dialog.java:129)
java.awt.Dialog.show(Dialog.java:196)
dialogThread.run(JavaTest3.java:140)
"Thread-3" (TID:0xed7045f8, sys_thread_t:0x1403c8, state:R, thread_t: t@12, sp:0xee7c3030 threadID:0xee7c3e00, stack_base:0xee7c3d9c, stack_size:0x22000) prio=5 *current thread*
java.awt.Component.setForeground(Component.java:564)
myThread.run(JavaTest3.java:100)
"Thread-2" (TID:0xed704640, sys_thread_t:0x131020, state:R, thread_t: t@11, sp:0xee7f2f20 threadID:0xee7f3e00, stack_base:0xee7f3d9c, stack_size:0x22000) prio=5
java.awt.Component.setForeground(Component.java:564)
myThread.run(JavaTest3.java:100)
"Screen Updater" (TID:0xed706860, sys_thread_t:0x12a9f0, state:CW, thread_t: t@10, sp:0xef063018 threadID:0xef063e00, stack_base:0xef063d9c, stack_size:0x22000) 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:0xed7050c0, sys_thread_t:0xcf288, state:CW, thread_t: t@8, sp:0xef092d60 threadID:0xef093e00, stack_base:0xef093d9c, stack_size:0x22000) prio=5
java.lang.Thread.run(Thread.java)
"AWT-Input" (TID:0xed7050e8, sys_thread_t:0xcd5a8, state:R, thread_t: t@7, sp:0xef0c2f48 threadID:0xef0c3e00, stack_base:0xef0c3d9c, stack_size:0x22000) prio=5
"AWT-EventQueue-0" (TID:0xed705100, sys_thread_t:0xafad8, state:R, thread_t: t@6, sp:0xef0f0678 threadID:0xef0f3e00, stack_base:0xef0f3d9c, stack_size:0x22000) prio=5
sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:185)
java.awt.Component.dispatchEventImpl(Component.java:1826)
java.awt.Component.dispatchEvent(Component.java:1705)
java.awt.EventDispatchThread.run(EventDispatchThread.java:63)
"SIGQUIT handler" (TID:0xed7002a0, sys_thread_t:0x3ce68, state:R, thread_t: t@5, sp:0xef343af8 threadID:0xef343e00, stack_base:0xef343d9c, stack_size:0x22000) prio=0
"Finalizer thread" (TID:0xed700088, sys_thread_t:0x3cdd8, state:CW, thread_t: t@4, sp:0xef373a28 threadID:0xef373e00, stack_base:0xef373d9c, stack_size:0x22000) prio=1
"main" (TID:0xed7000b0, sys_thread_t:0x3da98, state:CW, thread_t: t@1, sp:0xefffe520 threadID:0x20b20, stack_base:0xeffff3bc, stack_size:0x800000) prio=5
JavaTest3.main(JavaTest3.java:66)
Monitor Cache Dump:
java.lang.Object@ED703F90/ED74D9B8: owner "Thread-4" (0x14ac20, 4 entries)
sun.awt.AWTFinalizer@ED706D10/ED7589E8: <unowned>
Waiting to be notified:
"AWT-Finalizer" (0x14b570)
<unknown key> (0x3da98): <unowned>
Waiting to be notified:
"main" (0x3da98)
sun.awt.motif.MToolkit@ED704EC8/ED750E48: owner "Thread-3" (0x1403c8, 1 entry)
Waiting to be notified:
"AWT-Motif" (0xcf288)
sun.awt.ScreenUpdater@ED706860/ED757E68: <unowned>
Waiting to be notified:
"Screen Updater" (0x12a9f0)
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" (0x3cdd8)
Monitor registry: owner "Thread-3" (0x1403c8, 1 entry)
Abort (core dumped)
fantasma#
And the third time....
.
.
.
java.awt.event.ActionEvent[ACTION_PERFORMED,cmd=My Button] on button43
java.awt.event.ActionEvent[ACTION_PERFORMED,cmd=My Button] on button43
java.awt.event.ActionEvent[ACTION_PERFORMED,cmd=My Button] on button43
AWT lock error (../../../../src/solaris/sun/awt_Dialog.c,614) (last held by ../../../../src/solaris/sun/awt_Dialog.c,584) 1
AWT notify all error (../../../../src/solaris/sun/awt_MToolkit.c,435,2)
AWT unlock error (../../../../src/solaris/sun/awt_Dialog.c,672,1)
AWT lock error (../../../../src/solaris/sun/awt_Dialog.c,614) (last held by ../../../../src/solaris/sun/awt_Dialog.c,584) 1
AWT unlock error (../../../../src/solaris/sun/awt_Dialog.c,672,1)
java.awt.event.ActionEvent[ACTION_PERFORMED,cmd=My Button] on button45
AWT lock error (../../../../src/solaris/sun/awt_Dialog.c,614) (last held by ../../../../src/solaris/sun/awt_Dialog.c,584) 1
AWT unlock error (../../../../src/solaris/sun/awt_Dialog.c,672,1)
AWT lock error (../../../../src/solaris/sun/awt_Dialog.c,614) (last held by ../../../../src/solaris/sun/awt_Dialog.c,584) 1
AWT unlock error (../../../../src/solaris/sun/awt_Dialog.c,672,1)
SIGSEGV 11* segmentation violation
si_signo [11]: SIGSEGV 11* segmentation violation
si_errno [0]: Error 0
si_code [1]: SEGV_MAPERR [addr: 0x4]
stackbase=EF093D9C, stackpointer=EF0928B8
Full thread dump:
"AWT-Finalizer" (TID:0xed706c18, sys_thread_t:0x1485a0, state:CW, thread_t: t@14, sp:0xee5c3018 threadID:0xee5c3e00, stack_base:0xee5c3d9c, stack_size:0x22000) prio=9
java.lang.Object.wait(Object.java)
sun.awt.AWTFinalizer.run(AWTFinalizer.java:48)
"Thread-4" (TID:0xed706e00, sys_thread_t:0x13f188, state:R, thread_t: t@13, sp:0xee5f2f20 threadID:0xee5f3e00, stack_base:0xee5f3d9c, stack_size:0x22000) prio=5
sun.awt.motif.MComponentPeer.setBounds(MComponentPeer.java:494)
java.awt.Component.reshape(Component.java:934)
java.awt.Component.setBounds(Component.java:890)
java.awt.GridLayout.layoutContainer(GridLayout.java:366)
java.awt.Container.layout(Container.java:468)
java.awt.Container.doLayout(Container.java:458)
java.awt.Container.validateTree(Container.java:529)
java.awt.Container.validate(Container.java:511)
java.awt.Dialog.show(Dialog.java:199)
dialogThread.run(JavaTest3.java:140)
"Thread-3" (TID:0xed7045f8, sys_thread_t:0x13f008, state:R, thread_t: t@12, sp:0xee7c2f20 threadID:0xee7c3e00, stack_base:0xee7c3d9c, stack_size:0x22000) prio=5
java.awt.Component.setForeground(Component.java:564)
myThread.run(JavaTest3.java:100)
"Thread-2" (TID:0xed704640, sys_thread_t:0x131d28, state:R, thread_t: t@11, sp:0xee7f2f20 threadID:0xee7f3e00, stack
java.awt.Component.setForeground(Component.java:564)
myThread.run(JavaTest3.java:100)
"Screen Updater" (TID:0xed706860, sys_thread_t:0x12a600, state:CW, thread_t: t@10, sp:0xef063018 threadID:0xef063e00, stack_base:0xef063d9c, stack_size:0x22000) 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:0xed7050c0, sys_thread_t:0xcf288, state:R, thread_t: t@8, sp:0xef092e60 threadID:0xef093e00, stack_base:0xef093d9c, stack_size:0x22000) prio=5 *current thread*
java.lang.Thread.run(Thread.java)
"AWT-Input" (TID:0xed7050e8, sys_thread_t:0xcd5a8, state:CW, thread_t: t@7, sp:0xef0c3240 threadID:0xef0c3e00, stack_base:0xef0c3d9c, stack_size:0x22000) prio=5
"AWT-EventQueue-0" (TID:0xed705100, sys_thread_t:0xafad8, state:R, thread_t: t@6, sp:0xef0f2fb8 threadID:0xef0f3e00, stack_base:0xef0f3d9c, stack_size:0x22000) prio=5
sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:185)
java.awt.Component.dispatchEventImpl(Component.java:1826)
java.awt.Component.dispatchEvent(Component.java:1705)
java.awt.EventDispatchThread.run(EventDispatchThread.java:63)
"SIGQUIT handler" (TID:0xed7002a0, sys_thread_t:0x3ce68, state:R, thread_t: t@5, sp:0xef343af8 threadID:0xef343e00, stack_base:0xef343d9c, stack_size:0x22000) prio=0
"Finalizer thread" (TID:0xed700088, sys_thread_t:0x3cdd8, state:CW, thread_t: t@4, sp:0xef373a28 threadID:0xef373e00, stack_base:0xef373d9c, stack_size:0x22000) prio=1
"main" (TID:0xed7000b0, sys_thread_t:0x3da98, state:CW, thread_t: t@1, sp:0xefffe520 threadID:0x20b20, stack_base:0xeffff3bc, stack_size:0x800000) prio=5
JavaTest3.main(JavaTest3.java:66)
Monitor Cache Dump:
java.lang.Object@ED703F90/ED74D9B8: owner "Thread-4" (0x13f188, 3 entries)
<unknown key> (0x3da98): <unowned>
Waiting to be notified:
"main" (0x3da98)
sun.awt.motif.MToolkit@ED704EC8/ED750E48: owner "AWT-Motif" (0xcf288, 1 entry)
Waiting to be notified:
"AWT-Input" (0xcd5a8)
sun.awt.AWTFinalizer@ED706C18/ED758A78: <unowned>
Waiting to be notified:
"AWT-Finalizer" (0x1485a0)
sun.awt.ScreenUpdater@ED706860/ED757E70: <unowned>
Waiting to be notified:
"Screen Updater" (0x12a600)
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" (0x3cdd8)
Monitor registry: owner "AWT-Motif" (0xcf288, 1 entry)
Abort (core dumped)
patrick.ong@Eng 1998-06-09
This crash can happen with setForeground, setBackground, setColor and setFont.
The common denominator is a recursive call to mapChildren on a container tree
when it crashes.
Customer has a AWT application running on a 2.5.1 Solaris box with
JDK1.1.6H. This java crash happened when the application was doing
a setForeground.
(dbx) where
current thread: t@6
=>[1] _lwp_kill(0x0, 0x6, 0xebe008a8, 0xa, 0xebe01e84, 0xebe01e3c), at
0xef4b996c
---- called from signal handler with signal ??? ------
[2] sigacthandler(0xa, 0xebe00a68, 0xebe008a8, 0x28, 0xebe01e84,
0xebe00808), at 0xef6a006c
[3] MakeCursors(0x5a1e48, 0x5a1e60, 0x5a1e50, 0x1, 0x6, 0x5999e8), at
0xebe93540
[4] t_delete(0x5a1e48, 0xef515ed0, 0x5c47c0, 0x5a1e58, 0x70, 0x20), at
0xef4cbf54
[5] realfree(0x5a1e48, 0x0, 0xee7ac, 0x5a1dd0, 0x5a1dd8, 0x71), at
0xef4cbbe4
[6] cleanfree(0x0, 0xef515e48, 0xef515e48, 0xef515ec8, 0x0,
0xef515e48), at 0xef4cc464
[7] _malloc_unlocked(0x70, 0xef515ec8, 0x557bb8, 0xef515e44, 0x7,
0x20), at 0xef4cb5a8
[8] malloc(0x70, 0x0, 0x3fffff, 0xaff, 0x4400000, 0xafe), at
0xef4cb4a0
[9] XCreateGC(0xed518, 0x4400afe, 0x0, 0x0, 0x8, 0xee804), at
0xef614438
[10] MakeIBeamOffArea(0x3abe60, 0x10, 0x10, 0x0, 0xed518, 0xcec30), at
0xebe93604
[11] MakeCursors(0x3abe60, 0xcec30, 0x2, 0x1, 0xed518, 0x10), at
0xebe93540
[12] SetValues(0xebe01458, 0x0, 0x3abe60, 0x0, 0x0, 0x3abed4), at
0xebea687c
[13] CallSetValues(0xebfc061c, 0xebe01458, 0xebe01130, 0x3abe60,
0x5aeae0, 0x0), at 0xee8a5414
[14] XtSetValues(0x3abe60, 0x5aeae0, 0x1, 0xebe01130, 0xebe01458,
0xebfb5a9c), at 0xee8a5750
[15] XtVaSetValues(0x3abe60, 0xee8b95da, 0x1e, 0x0, 0xebfb5a9c,
0xffffffff), at 0xee8b4b10
[16] awt_util_mapChildren(0x3abe60, 0xee925b7c, 0x1, 0x1e, 0x0,
0xebe018b4), at 0xee9386d8
[17] awt_util_mapChildren(0x0, 0xee925b7c, 0x0, 0x1e, 0x0, 0x1e), at
0xee938740
[18] sun_awt_motif_MComponentPeer_setForeground(0x47cd78, 0xec5a0508,
0xee96cc00, 0x0, 0xef69df78, 0x1), at 0xee925c04
[19] Java_sun_awt_motif_MComponentPeer_setForeground_stub(0xe8ff8,
0xebe01cb4, 0x1, 0xef772e18, 0xef76e800, 0x3b23a020), at 0xee94abe4
[20] invokeNativeMethod(0xe8fd0, 0x2071c0, 0xe8ff8, 0xebe01cb4,
0xef712264, 0xec5a01e0), at 0xef7126fc
[21] finish_invokevirtual(0xe63c9, 0xebe01cb4, 0xe8ff8, 0xe8fc4,
0xdf1a8, 0xe8fd0), at 0xef74e2e0
[22] do_execute_java_method_vararg(0xebe01cb4, 0xef76bd2d, 0x0, 0x0,
0x0, 0xe8db8), at 0xef723e60
[23] execute_java_dynamic_method(0xebe01cb4, 0xec5a00a8, 0xef76bd28,
0xef76bd2c, 0xef76f000, 0x0), at 0xef723504
[24] ThreadRT0(0xec5a00a8, 0xef76bd2c, 0x41000, 0xafee8, 0x1, 0x2000),
at 0xef73ecdc
[25] _start(0x0, 0x0, 0xebe01e4a, 0xebe01e4b, 0x0, 0xebe01e49), at
0xef74a8ac
(dbx)
peter.koning@eng 1998-03-25
Added additional stack traces from the test case... see comments for more info
SIGBUS 10* bus error
si_signo [10]: SIGBUS 10* bus error
si_errno [0]: Error 0
si_code [1]: BUS_ADRALN [addr: 0x1]
stackbase=EF0F3D9C, stackpointer=EF0F2C60
Full thread dump:
"AWT-Finalizer" (TID:0xed706a50, sys_thread_t:0x13fe90, state:CW, thread_t:
t@14, sp:0xee5c3018 threadID:0xee5c3e00, stack_base:0xee5c3d9c, stack_size:0x220
00) prio=9
java.lang.Object.wait(Object.java)
sun.awt.AWTFinalizer.run(AWTFinalizer.java:48)
"Thread-4" (TID:0xed706e00, sys_thread_t:0x1331c8, state:CW, thread_t: t@13,
sp:0xee5f0298 threadID:0xee5f3e00, stack_base:0xee5f3d9c, stack_size:0x22000) p
rio=5
dialogThread.run(JavaTest3.java:141)
"Thread-3" (TID:0xed7045f8, sys_thread_t:0x133080, state:CW, thread_t: t@12,
sp:0xee7c3030 threadID:0xee7c3e00, stack_base:0xee7c3d9c, stack_size:0x22000) p
rio=5
myThread.run(JavaTest3.java:98)
"Thread-2" (TID:0xed704640, sys_thread_t:0x132ff0, state:R, thread_t: t@11,
sp:0xee7f3030 threadID:0xee7f3e00, stack_base:0xee7f3d9c, stack_size:0x22000) pr
io=5
java.awt.Component.setForeground(Component.java:564)
myThread.run(JavaTest3.java:100)
"Screen Updater" (TID:0xed706860, sys_thread_t:0x12a600, state:CW, thread_t:
t@10, sp:0xef063018 threadID:0xef063e00, stack_base:0xef063d9c, stack_size:0x22
000) 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:0xed7050c0, sys_thread_t:0xcf288, state:R, thread_t: t@8, s
p:0xef092ab0 threadID:0xef093e00, stack_base:0xef093d9c, stack_size:0x22000) pri
o=5
java.awt.EventQueue.postEvent(EventQueue.java:62)
sun.awt.motif.MToolkit.postEvent(MToolkit.java:298)
sun.awt.motif.MComponentPeer.postEvent(MComponentPeer.java:250)
sun.awt.motif.MComponentPeer.handleExpose(MComponentPeer.java:255)
java.lang.Thread.run(Thread.java)
"AWT-Input" (TID:0xed7050e8, sys_thread_t:0xcd5a8, state:CW, thread_t: t@7,
sp:0xef0c2f48 threadID:0xef0c3e00, stack_base:0xef0c3d9c, stack_size:0x22000) pr
io=5
"AWT-EventQueue-0" (TID:0xed705100, sys_thread_t:0xafad8, state:R, thread_t:
t@6, sp:0xef0f2fb8 threadID:0xef0f3e00, stack_base:0xef0f3d9c, stack_size:0x220
00) prio=5 *current thread*
sun.awt.motif.X11Graphics.setColor(X11Graphics.java:144)
sun.awt.motif.MComponentPeer.getGraphics(MComponentPeer.java:220)
java.awt.Component.getGraphics(Component.java:1161)
sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:186)
java.awt.Component.dispatchEventImpl(Component.java:1826)
java.awt.Component.dispatchEvent(Component.java:1705)
java.awt.EventDispatchThread.run(EventDispatchThread.java:63)
"SIGQUIT handler" (TID:0xed7002a0, sys_thread_t:0x3ce68, state:R, thread_t:
t@5, sp:0xef343af8 threadID:0xef343e00, stack_base:0xef343d9c, stack_size:0x2200
0) prio=0
"Finalizer thread" (TID:0xed700088, sys_thread_t:0x3cdd8, state:CW, thread_t
: t@4, sp:0xef373a28 threadID:0xef373e00, stack_base:0xef373d9c, stack_size:0x22
000) prio=1
"main" (TID:0xed7000b0, sys_thread_t:0x3da98, state:CW, thread_t: t@1, sp:0x
efffe520 threadID:0x20b20, stack_base:0xeffff3bc, stack_size:0x800000) prio=5
JavaTest3.main(JavaTest3.java:66)
Monitor Cache Dump:
<unknown key> (0x133080): <unowned>
Waiting to be notified:
"Thread-3" (0x133080)
java.lang.Object@ED703F90/ED74D938: owner "AWT-EventQueue-0" (0xafad8, 1 ent
ry)
<unknown key> (0x3da98): <unowned>
Waiting to be notified:
"main" (0x3da98)
<unknown key> (0x1331c8): <unowned>
Waiting to be notified:
"Thread-4" (0x1331c8)
sun.awt.motif.MToolkit@ED704EC8/ED750DC8: owner "AWT-EventQueue-0" (0xafad8,
1 entry)
Waiting to be notified:
"AWT-Input" (0xcd5a8)
sun.awt.AWTFinalizer@ED706A50/ED758800: <unowned>
Waiting to be notified:
"AWT-Finalizer" (0x13fe90)
sun.awt.ScreenUpdater@ED706860/ED757DE8: <unowned>
Waiting to be notified:
"Screen Updater" (0x12a600)
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" (0x3cdd8)
Monitor registry: owner "AWT-EventQueue-0" (0xafad8, 1 entry)
Abort (core dumped)
fantasma#
And the second time....
SIGBUS 10* bus error
si_signo [10]: SIGBUS 10* bus error
si_errno [0]: Error 0
si_code [1]: BUS_ADRALN [addr: 0x1]
stackbase=EE7C3D9C, stackpointer=EE7C14A8
Full thread dump:
"AWT-Finalizer" (TID:0xed706d10, sys_thread_t:0x14b570, state:CW, thread_t: t@14, sp:0xee5c3018 threadID:0xee5c3e00, stack_base:0xee5c3d9c, stack_size:0x22000) prio=9
java.lang.Object.wait(Object.java)
sun.awt.AWTFinalizer.run(AWTFinalizer.java:48)
"Thread-4" (TID:0xed706e00, sys_thread_t:0x14ac20, state:R, thread_t: t@13, sp:0xee5f2f20 threadID:0xee5f3e00, stack_base:0xee5f3d9c, stack_size:0x22000) prio=5
sun.awt.motif.MComponentPeer.initialize(MComponentPeer.java:83)
sun.awt.motif.MTextFieldPeer.initialize(MTextFieldPeer.java:67)
sun.awt.motif.MComponentPeer.<init>(MComponentPeer.java:126)
sun.awt.motif.MTextFieldPeer.<init>(MTextFieldPeer.java:71)
sun.awt.motif.MToolkit.createTextField(MToolkit.java:72)
java.awt.TextField.addNotify(TextField.java:148)
java.awt.Container.addNotify(Container.java:1120)
java.awt.Window.addNotify(Window.java:113)
java.awt.Dialog.addNotify(Dialog.java:129)
java.awt.Dialog.show(Dialog.java:196)
dialogThread.run(JavaTest3.java:140)
"Thread-3" (TID:0xed7045f8, sys_thread_t:0x1403c8, state:R, thread_t: t@12, sp:0xee7c3030 threadID:0xee7c3e00, stack_base:0xee7c3d9c, stack_size:0x22000) prio=5 *current thread*
java.awt.Component.setForeground(Component.java:564)
myThread.run(JavaTest3.java:100)
"Thread-2" (TID:0xed704640, sys_thread_t:0x131020, state:R, thread_t: t@11, sp:0xee7f2f20 threadID:0xee7f3e00, stack_base:0xee7f3d9c, stack_size:0x22000) prio=5
java.awt.Component.setForeground(Component.java:564)
myThread.run(JavaTest3.java:100)
"Screen Updater" (TID:0xed706860, sys_thread_t:0x12a9f0, state:CW, thread_t: t@10, sp:0xef063018 threadID:0xef063e00, stack_base:0xef063d9c, stack_size:0x22000) 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:0xed7050c0, sys_thread_t:0xcf288, state:CW, thread_t: t@8, sp:0xef092d60 threadID:0xef093e00, stack_base:0xef093d9c, stack_size:0x22000) prio=5
java.lang.Thread.run(Thread.java)
"AWT-Input" (TID:0xed7050e8, sys_thread_t:0xcd5a8, state:R, thread_t: t@7, sp:0xef0c2f48 threadID:0xef0c3e00, stack_base:0xef0c3d9c, stack_size:0x22000) prio=5
"AWT-EventQueue-0" (TID:0xed705100, sys_thread_t:0xafad8, state:R, thread_t: t@6, sp:0xef0f0678 threadID:0xef0f3e00, stack_base:0xef0f3d9c, stack_size:0x22000) prio=5
sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:185)
java.awt.Component.dispatchEventImpl(Component.java:1826)
java.awt.Component.dispatchEvent(Component.java:1705)
java.awt.EventDispatchThread.run(EventDispatchThread.java:63)
"SIGQUIT handler" (TID:0xed7002a0, sys_thread_t:0x3ce68, state:R, thread_t: t@5, sp:0xef343af8 threadID:0xef343e00, stack_base:0xef343d9c, stack_size:0x22000) prio=0
"Finalizer thread" (TID:0xed700088, sys_thread_t:0x3cdd8, state:CW, thread_t: t@4, sp:0xef373a28 threadID:0xef373e00, stack_base:0xef373d9c, stack_size:0x22000) prio=1
"main" (TID:0xed7000b0, sys_thread_t:0x3da98, state:CW, thread_t: t@1, sp:0xefffe520 threadID:0x20b20, stack_base:0xeffff3bc, stack_size:0x800000) prio=5
JavaTest3.main(JavaTest3.java:66)
Monitor Cache Dump:
java.lang.Object@ED703F90/ED74D9B8: owner "Thread-4" (0x14ac20, 4 entries)
sun.awt.AWTFinalizer@ED706D10/ED7589E8: <unowned>
Waiting to be notified:
"AWT-Finalizer" (0x14b570)
<unknown key> (0x3da98): <unowned>
Waiting to be notified:
"main" (0x3da98)
sun.awt.motif.MToolkit@ED704EC8/ED750E48: owner "Thread-3" (0x1403c8, 1 entry)
Waiting to be notified:
"AWT-Motif" (0xcf288)
sun.awt.ScreenUpdater@ED706860/ED757E68: <unowned>
Waiting to be notified:
"Screen Updater" (0x12a9f0)
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" (0x3cdd8)
Monitor registry: owner "Thread-3" (0x1403c8, 1 entry)
Abort (core dumped)
fantasma#
And the third time....
.
.
.
java.awt.event.ActionEvent[ACTION_PERFORMED,cmd=My Button] on button43
java.awt.event.ActionEvent[ACTION_PERFORMED,cmd=My Button] on button43
java.awt.event.ActionEvent[ACTION_PERFORMED,cmd=My Button] on button43
AWT lock error (../../../../src/solaris/sun/awt_Dialog.c,614) (last held by ../../../../src/solaris/sun/awt_Dialog.c,584) 1
AWT notify all error (../../../../src/solaris/sun/awt_MToolkit.c,435,2)
AWT unlock error (../../../../src/solaris/sun/awt_Dialog.c,672,1)
AWT lock error (../../../../src/solaris/sun/awt_Dialog.c,614) (last held by ../../../../src/solaris/sun/awt_Dialog.c,584) 1
AWT unlock error (../../../../src/solaris/sun/awt_Dialog.c,672,1)
java.awt.event.ActionEvent[ACTION_PERFORMED,cmd=My Button] on button45
AWT lock error (../../../../src/solaris/sun/awt_Dialog.c,614) (last held by ../../../../src/solaris/sun/awt_Dialog.c,584) 1
AWT unlock error (../../../../src/solaris/sun/awt_Dialog.c,672,1)
AWT lock error (../../../../src/solaris/sun/awt_Dialog.c,614) (last held by ../../../../src/solaris/sun/awt_Dialog.c,584) 1
AWT unlock error (../../../../src/solaris/sun/awt_Dialog.c,672,1)
SIGSEGV 11* segmentation violation
si_signo [11]: SIGSEGV 11* segmentation violation
si_errno [0]: Error 0
si_code [1]: SEGV_MAPERR [addr: 0x4]
stackbase=EF093D9C, stackpointer=EF0928B8
Full thread dump:
"AWT-Finalizer" (TID:0xed706c18, sys_thread_t:0x1485a0, state:CW, thread_t: t@14, sp:0xee5c3018 threadID:0xee5c3e00, stack_base:0xee5c3d9c, stack_size:0x22000) prio=9
java.lang.Object.wait(Object.java)
sun.awt.AWTFinalizer.run(AWTFinalizer.java:48)
"Thread-4" (TID:0xed706e00, sys_thread_t:0x13f188, state:R, thread_t: t@13, sp:0xee5f2f20 threadID:0xee5f3e00, stack_base:0xee5f3d9c, stack_size:0x22000) prio=5
sun.awt.motif.MComponentPeer.setBounds(MComponentPeer.java:494)
java.awt.Component.reshape(Component.java:934)
java.awt.Component.setBounds(Component.java:890)
java.awt.GridLayout.layoutContainer(GridLayout.java:366)
java.awt.Container.layout(Container.java:468)
java.awt.Container.doLayout(Container.java:458)
java.awt.Container.validateTree(Container.java:529)
java.awt.Container.validate(Container.java:511)
java.awt.Dialog.show(Dialog.java:199)
dialogThread.run(JavaTest3.java:140)
"Thread-3" (TID:0xed7045f8, sys_thread_t:0x13f008, state:R, thread_t: t@12, sp:0xee7c2f20 threadID:0xee7c3e00, stack_base:0xee7c3d9c, stack_size:0x22000) prio=5
java.awt.Component.setForeground(Component.java:564)
myThread.run(JavaTest3.java:100)
"Thread-2" (TID:0xed704640, sys_thread_t:0x131d28, state:R, thread_t: t@11, sp:0xee7f2f20 threadID:0xee7f3e00, stack
- backported by
-
JDK-2019307 AWT crashes Solaris 1.1.6H JVM when calling mapChildren from setForeground
-
- Resolved
-
- relates to
-
JDK-4116221 JVM crashes when calling awt_canvas_handleEvent() in AWT
-
- Resolved
-
-
JDK-4116530 1.1.6H JVM crashes when disposing Motif X11 graphics
-
- Resolved
-