-
Bug
-
Resolution: Fixed
-
P1
-
1.2.0
-
1.2beta3
-
sparc
-
solaris_2.6
-
Not verified
This segmentation violation is an intermittant problem, but most likely appears after a incremental compiled TestProduct. I see the violation about 3 times out of 20 launches. I haven't been able to pin down the particular offending sources. The applet doesn't even get up and running within a quarter of a second the segmentation violation appears. The Java 2D TestProduct can be found at :
/home/lichtenw/JavaMedia/2d/TestProduct
Try removing some of the class files in classes dir, such as TestLayout.class and TestPanel.class. Recompile with gnumake, run with runnit.promoted.
java full version "JDK-1.2beta2-W"
/usr/local/java/jdk1.2/solaris/bin/java -ms16m -mx32m -classpath .:/export/home3/2d/TestProduct/classes:/usr/local/java/jdk1.2/solaris/lib/classes.zip sun.applet.AppletViewer TestProduct.html
Enabling new 2d architecture
SIGSEGV 11* segmentation violation
si_signo [11]: SIGSEGV 11* segmentation violation
si_errno [0]: Error 0
si_code [1]: SEGV_MAPERR [addr: 0x686100e4]
stackbase=ECC82000, stackpointer=ECC815F8
Full thread dump:
"Screen Updater" (TID:0xed341cb8, sys_thread_t:0x49f6ac, state:R) prio=4
at java.lang.Thread.setPriority0(Native Method)
at java.lang.Thread.setPriority(Thread.java:750)
at sun.awt.ScreenUpdater.run(ScreenUpdater.java:100)
"Thread-5" (TID:0xed342130, sys_thread_t:0x4955fc, state:R) prio=4
at sun.awt.motif.MLabelPeer.setText(Native Method)
at java.awt.Label.setText(Label.java:189)
at sun.applet.AppletViewer.showStatus(AppletViewer.java:324)
at sun.applet.AppletPanel.showAppletStatus(AppletPanel.java:566)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:437)
at sun.applet.AppletPanel.run(AppletPanel.java:233)
at java.lang.Thread.run(Thread.java:484)
"thread applet-TestProduct.class" (TID:0xed33ef38, sys_thread_t:0x4516c4, st
ate:CW) prio=4
at java.lang.Object.wait(Native Method)
at java.lang.Thread.join(Thread.java:860)
at java.lang.Thread.join(Thread.java:913)
at sun.applet.AppletPanel.run(AppletPanel.java:267)
at java.lang.Thread.run(Thread.java:484)
"AWT-Motif" (TID:0xed33dae0, sys_thread_t:0x42e7ac, state:R) prio=5 *current
thread*
at sun.awt.motif.MToolkit.run(Native Method)
at java.lang.Thread.run(Thread.java:484)
"AWT-Input" (TID:0xed33db08, sys_thread_t:0x42e6a4, state:MW) prio=5
at sun.awt.motif.InputThread.run(Native Method)
"AWT-EventQueue-0" (TID:0xed33d900, sys_thread_t:0x40d464, state:MW) prio=5
at sun.awt.motif.X11Graphics.createFromComponent(Native Method)
at sun.awt.motif.X11Graphics.<init>(X11Graphics.java:113)
at sun.awt.motif.MComponentPeer.getGraphics(MComponentPeer.java:187)
at java.awt.Component.getGraphics(Component.java:1268)
at java.awt.Component.dispatchEventImpl(Component.java:1858)
at java.awt.Container.dispatchEventImpl(Container.java:934)
at java.awt.Window.dispatchEventImpl(Window.java:517)
at java.awt.Component.dispatchEvent(Component.java:1824)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:45)
"CachedReference sweeper" (TID:0xed332d10, sys_thread_t:0x61eec, state:CW) p
rio=9
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:309)
at java.lang.Runtime.waitForMemoryAdvice(Runtime.java:569)
at java.lang.ref.CachedReference$Sweeper.run(CachedReference.java:342)
at java.lang.Thread.run(Thread.java:484)
"Finalizer" (TID:0xed332368, sys_thread_t:0x4c2c4, state:CW) prio=8
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:86)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:99)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:131)
"Reference handler" (TID:0xed332438, sys_thread_t:0x510ec, state:CW) prio=10
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:309)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:198)
"Async Garbage Collector" (TID:0xed3321f8, sys_thread_t:0x473a4, state:CW) p
rio=1
"Idle thread" (TID:0xed332240, sys_thread_t:0x4729c, state:R) prio=0
"Clock" (TID:0xed332088, sys_thread_t:0x47c04, state:CW) prio=12
"main" (TID:0xed3320b0, sys_thread_t:0x209fc, state:CW) prio=5
Monitor Cache Dump:
java.awt.Label@ED33EC58/ED6F7AC8: owner "Thread-5" (0x4955fc, 1 entry)
sun.awt.motif.MToolkit@ED33D980/ED6F17A8: owner "AWT-Motif" (0x42e7ac, 1 ent
ry)
Waiting to enter:
"AWT-Input" (0x42e6a4)
"AWT-EventQueue-0" (0x40d464)
Registered Monitor Dump:
utf8 hash table: <unowned>
JNI pinning lock: <unowned>
JNI global reference lock: <unowned>
BinClass lock: <unowned>
Class linking lock: <unowned>
Code rewrite lock: <unowned>
Heap lock: <unowned>
Monitor IO lock: <unowned>
Child death monitor: <unowned>
Event monitor: <unowned>
I/O monitor: <unowned>
Alarm monitor: <unowned>
Waiting to be notified:
"Clock" (0x47c04)
Sbrk lock: <unowned>
Monitor cache expansion lock: <unowned>
Thread queue lock: <unowned>
Waiting to be notified:
"main" (0x209fc)
Monitor registry: owner "AWT-Motif" (0x42e7ac, 1 entry)
Thread Alarm Q:
sys_thread_t 0x473a4 [Timeout in 636 ms]
Abort
eve.medina@eng 1997-12-05
I've also seen this segmentation violation while running the DitherTest and SimpleGraph (in JDK1.2X) demos and the hanoi applet from-
/home/lichtenw/JavaMedia/2d/tests/applets
nancy.schorr@eng 1997-12-05: I've seen this to with the JDK-1.2beta2-X and JDK-1.2beta2-Y. Very intermittant, I estimate it happens one out of 15 times using the SwingApplet demo.
nancy.schorr@eng 1997-12-06: The violation occurred 3 times out of the 25 tests using Brian's 2D applet compatibility suite.
brian.lichtenwalter@Eng 1997-12-11
Another way to reproduce the AWT-Motif segmentation violation, run the javabeans
beanbox, in the properties window click on fonts, change to bold, press done.
"AWT-Motif" (TID:0xee3036e8, sys_thread_t:0x4016fc, state:R) prio=5:
pending=java.lang.InternalError *current thread*
at sun.awt.motif.MToolkit.run(Native Method)
at java.lang.Thread.run(Thread.java:484)
jdk1.2 beta2-Z build
/home/lichtenw/JavaMedia/2d/TestProduct
Try removing some of the class files in classes dir, such as TestLayout.class and TestPanel.class. Recompile with gnumake, run with runnit.promoted.
java full version "JDK-1.2beta2-W"
/usr/local/java/jdk1.2/solaris/bin/java -ms16m -mx32m -classpath .:/export/home3/2d/TestProduct/classes:/usr/local/java/jdk1.2/solaris/lib/classes.zip sun.applet.AppletViewer TestProduct.html
Enabling new 2d architecture
SIGSEGV 11* segmentation violation
si_signo [11]: SIGSEGV 11* segmentation violation
si_errno [0]: Error 0
si_code [1]: SEGV_MAPERR [addr: 0x686100e4]
stackbase=ECC82000, stackpointer=ECC815F8
Full thread dump:
"Screen Updater" (TID:0xed341cb8, sys_thread_t:0x49f6ac, state:R) prio=4
at java.lang.Thread.setPriority0(Native Method)
at java.lang.Thread.setPriority(Thread.java:750)
at sun.awt.ScreenUpdater.run(ScreenUpdater.java:100)
"Thread-5" (TID:0xed342130, sys_thread_t:0x4955fc, state:R) prio=4
at sun.awt.motif.MLabelPeer.setText(Native Method)
at java.awt.Label.setText(Label.java:189)
at sun.applet.AppletViewer.showStatus(AppletViewer.java:324)
at sun.applet.AppletPanel.showAppletStatus(AppletPanel.java:566)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:437)
at sun.applet.AppletPanel.run(AppletPanel.java:233)
at java.lang.Thread.run(Thread.java:484)
"thread applet-TestProduct.class" (TID:0xed33ef38, sys_thread_t:0x4516c4, st
ate:CW) prio=4
at java.lang.Object.wait(Native Method)
at java.lang.Thread.join(Thread.java:860)
at java.lang.Thread.join(Thread.java:913)
at sun.applet.AppletPanel.run(AppletPanel.java:267)
at java.lang.Thread.run(Thread.java:484)
"AWT-Motif" (TID:0xed33dae0, sys_thread_t:0x42e7ac, state:R) prio=5 *current
thread*
at sun.awt.motif.MToolkit.run(Native Method)
at java.lang.Thread.run(Thread.java:484)
"AWT-Input" (TID:0xed33db08, sys_thread_t:0x42e6a4, state:MW) prio=5
at sun.awt.motif.InputThread.run(Native Method)
"AWT-EventQueue-0" (TID:0xed33d900, sys_thread_t:0x40d464, state:MW) prio=5
at sun.awt.motif.X11Graphics.createFromComponent(Native Method)
at sun.awt.motif.X11Graphics.<init>(X11Graphics.java:113)
at sun.awt.motif.MComponentPeer.getGraphics(MComponentPeer.java:187)
at java.awt.Component.getGraphics(Component.java:1268)
at java.awt.Component.dispatchEventImpl(Component.java:1858)
at java.awt.Container.dispatchEventImpl(Container.java:934)
at java.awt.Window.dispatchEventImpl(Window.java:517)
at java.awt.Component.dispatchEvent(Component.java:1824)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:45)
"CachedReference sweeper" (TID:0xed332d10, sys_thread_t:0x61eec, state:CW) p
rio=9
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:309)
at java.lang.Runtime.waitForMemoryAdvice(Runtime.java:569)
at java.lang.ref.CachedReference$Sweeper.run(CachedReference.java:342)
at java.lang.Thread.run(Thread.java:484)
"Finalizer" (TID:0xed332368, sys_thread_t:0x4c2c4, state:CW) prio=8
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:86)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:99)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:131)
"Reference handler" (TID:0xed332438, sys_thread_t:0x510ec, state:CW) prio=10
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:309)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:198)
"Async Garbage Collector" (TID:0xed3321f8, sys_thread_t:0x473a4, state:CW) p
rio=1
"Idle thread" (TID:0xed332240, sys_thread_t:0x4729c, state:R) prio=0
"Clock" (TID:0xed332088, sys_thread_t:0x47c04, state:CW) prio=12
"main" (TID:0xed3320b0, sys_thread_t:0x209fc, state:CW) prio=5
Monitor Cache Dump:
java.awt.Label@ED33EC58/ED6F7AC8: owner "Thread-5" (0x4955fc, 1 entry)
sun.awt.motif.MToolkit@ED33D980/ED6F17A8: owner "AWT-Motif" (0x42e7ac, 1 ent
ry)
Waiting to enter:
"AWT-Input" (0x42e6a4)
"AWT-EventQueue-0" (0x40d464)
Registered Monitor Dump:
utf8 hash table: <unowned>
JNI pinning lock: <unowned>
JNI global reference lock: <unowned>
BinClass lock: <unowned>
Class linking lock: <unowned>
Code rewrite lock: <unowned>
Heap lock: <unowned>
Monitor IO lock: <unowned>
Child death monitor: <unowned>
Event monitor: <unowned>
I/O monitor: <unowned>
Alarm monitor: <unowned>
Waiting to be notified:
"Clock" (0x47c04)
Sbrk lock: <unowned>
Monitor cache expansion lock: <unowned>
Thread queue lock: <unowned>
Waiting to be notified:
"main" (0x209fc)
Monitor registry: owner "AWT-Motif" (0x42e7ac, 1 entry)
Thread Alarm Q:
sys_thread_t 0x473a4 [Timeout in 636 ms]
Abort
eve.medina@eng 1997-12-05
I've also seen this segmentation violation while running the DitherTest and SimpleGraph (in JDK1.2X) demos and the hanoi applet from-
/home/lichtenw/JavaMedia/2d/tests/applets
nancy.schorr@eng 1997-12-05: I've seen this to with the JDK-1.2beta2-X and JDK-1.2beta2-Y. Very intermittant, I estimate it happens one out of 15 times using the SwingApplet demo.
nancy.schorr@eng 1997-12-06: The violation occurred 3 times out of the 25 tests using Brian's 2D applet compatibility suite.
brian.lichtenwalter@Eng 1997-12-11
Another way to reproduce the AWT-Motif segmentation violation, run the javabeans
beanbox, in the properties window click on fonts, change to bold, press done.
"AWT-Motif" (TID:0xee3036e8, sys_thread_t:0x4016fc, state:R) prio=5:
pending=java.lang.InternalError *current thread*
at sun.awt.motif.MToolkit.run(Native Method)
at java.lang.Thread.run(Thread.java:484)
jdk1.2 beta2-Z build
- duplicates
-
JDK-4097163 Core dump with JDK-1.2beta2-Y running SwingApplet
-
- Closed
-
-
JDK-4097911 Intermittent core dumps with demo applets
-
- Closed
-