Ok, I am giving up on it...

Using JDK1.2 prev1 and v2, we ran in a strange problem.

Everytime an applet or application is started, whenever some awt stuff is used,
the whole JRE segfaults like this:

SIGSEGV   11*  segmentation violation
        stackpointer=0x417b3c98

Full thread dump Classic VM (Linux_JDK_1.2_pre-release-v2, green threads):
    "Screen Updater" (TID:0x404d9550, sys_thread_t:0x84cba88, state:CW) prio=4
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:424)
        at sun.awt.ScreenUpdater.nextEntry(ScreenUpdater.java:79)
        at sun.awt.ScreenUpdater.run(ScreenUpdater.java:99)  

Before this happens, Motif gives out a warning about 

Warning:
    Name: HorScrollBar
    Class: XmScrollBar
    The specified scrollbar value is greater than the maximum
    scrollbar value minus the scrollbar slider size. 

and text drawn by DrawString is broken into strange pixels, going through
several bitplanes. 
Because of this, I believe it must be Motif related.
Installing Motif 1.2.4, 2.0 and Lesstif did not change anything.

The systems are SuSE 6.0 and 6.1 (kernel 2.2.5) with glibc2.0 which does not
seem to be important to reproduce the problem.
The strangest thing: We have one machine (SuSE 6.1) on which it all works.
It is definitely related to the machine and its installation, as we did several
cross login tests to and from other machines.

Attached is the full thread dump, just in case someone likes it or has an idea.

Thanks for any hint.

Oliver

--
___________________________________________________
Oliver Fels                    | e-mail:         
Neurotec Hochtechnologie GmbH  | [EMAIL PROTECTED]
Team Manager JAVA-/IT-Security |
Friedrichshafen, Germany       | 
---------------------------------------------------
SIGSEGV   11*  segmentation violation
        stackpointer=0x417b3c98

Full thread dump Classic VM (Linux_JDK_1.2_pre-release-v2, green threads):
    "AWT-Finalizer" (TID:0x404de080, sys_thread_t:0x81cbcb0, state:CW) prio=9
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:424)
        at sun.awt.AWTFinalizer.run(AWTFinalizer.java:46)
    "Screen Updater" (TID:0x404d93e8, sys_thread_t:0x84c3310, state:CW) prio=4
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:424)
        at sun.awt.ScreenUpdater.nextEntry(ScreenUpdater.java:79)
        at sun.awt.ScreenUpdater.run(ScreenUpdater.java:99)
    "AWT-Motif" (TID:0x404d0e58, sys_thread_t:0x8373d78, state:MW) prio=5
        at sun.awt.motif.MToolkit.run(Native Method)
        at java.lang.Thread.run(Thread.java:479)
    "SunToolkit.PostEventQueue-0" (TID:0x404d0db8, sys_thread_t:0x8345c00, state
:CW) prio=5
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:424)
        at sun.awt.PostEventQueue.run(SunToolkit.java:363)
    "AWT-EventQueue-0" (TID:0x404d0de8, sys_thread_t:0x8348eb0, state:R) prio=6
        at sun.awt.font.NativeFontWrapper.drawStringIntDiscrete(Native Method)
        at sun.java2d.loops.drawStringRGB.DrawString(TextRendering.java:428)
        at sun.java2d.loops.RasterOutputManager.drawString(RasterOutputManager.j
ava:2730)
        at sun.java2d.SunGraphics2D.drawString(SunGraphics2D.java:2202)
        at com.installshield.isjava.runtime.TextDisplay.paint(TextDisplay.java:1
35)
        at sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:246)
        at java.awt.Component.dispatchEventImpl(Component.java:2429)
        at java.awt.Component.dispatchEvent(Component.java:2289)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:258)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:68)
    "Finalizer" (TID:0x404ab320, sys_thread_t:0x8104238, state:CW) prio=8
        at java.lang.Object.wait(Native Method)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:112)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:174)
    "Reference Handler" (TID:0x404ab3b0, sys_thread_t:0x80ff8a8, state:CW) prio=
10
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:424)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:114)
    "Signal dispatcher" (TID:0x404ab3e0, sys_thread_t:0x80fc018, state:CW) prio=
5
    "Thread-0" (TID:0x404dc950, sys_thread_t:0x804bb78, state:CW) prio=5
Monitor Cache Dump:
    java.lang.ref.ReferenceQueue$Lock@404AB338/404E0D60: <unowned>
        Waiting to be notified:
            "Finalizer" (0x8104238)
    java.lang.ref.Reference$Lock@404AB3C0/404E0890: <unowned>
        Waiting to be notified:
            "Reference Handler" (0x80ff8a8)
    sun.awt.AWTFinalizer@404DE080/4059B248: <unowned>
        Waiting to be notified:
            "AWT-Finalizer" (0x81cbcb0)
    sun.awt.PostEventQueue@404D0DB8/4055EEC8: <unowned>
        Waiting to be notified:
            "SunToolkit.PostEventQueue-0" (0x8345c00)
    java.lang.Class@404BAB38/40542DB8: owner "AWT-EventQueue-0" (0x8348eb0) 3 en
tries
        Waiting to enter:
            "AWT-Motif" (0x8373d78)
    sun.awt.ScreenUpdater@404D93E8/40595500: <unowned>
        Waiting to be notified:
            "Screen Updater" (0x84c3310)
Registered Monitor Dump:
    utf8 hash table: <unowned>
    JNI pinning lock: <unowned>
    JNI global reference lock: <unowned>
    BinClass lock: <unowned>
    Class linking lock: <unowned>
    System class loader lock: <unowned>
    Code rewrite lock: <unowned>
    Heap lock: <unowned>
    Monitor cache lock: owner "AWT-EventQueue-0" (0x8348eb0) 1 entry
    Dynamic loading lock: <unowned>
    Monitor IO lock: <unowned>
    User signal monitor: <unowned>
        Waiting to be notified:
            "Signal dispatcher" (0x80fc018)
    Child death monitor: <unowned>
    I/O monitor: <unowned>
    Alarm monitor: <unowned>
        Waiting to be notified:
            <unknown thread> (0x8055ff8)
    Thread queue lock: owner "AWT-EventQueue-0" (0x8348eb0) 1 entry
        Waiting to be notified:
            "Thread-0" (0x804bb78)
    Monitor registry: owner "AWT-EventQueue-0" (0x8348eb0) 1 entry   

Reply via email to