Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Feb 2002 10:50:27 +0200 (EET)
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        shudo@computer.org
Cc:        java@FreeBSD.org
Subject:   shuJIT doesn't work with patchlevel 6 of the FreeBSD JDK1.3.1
Message-ID:  <200202190851.g1J8p8C51293@vega.vega.com>

next in thread | raw e-mail | index | archive | help
Dear Kazuyuki-san,

It seems that shuJIT 0.7.10 doesn't work with patchlevel 6 of the FreeBSD
JDK1.3.1 (green threads). Following is the relevant output from running
Jedit and Mozilla (www.javasoft.com page). Do you have any ideas?

BTW, patchlevel 6 works like a charm with the tya JIT.

-Maxim

$ jedit 
  shuJIT  for Sun Classic VM/x86  by Kazuyuki Shudo
Signal 11 handling failed
shuJIT 0.7.10 compiled with gcc version 2.95.3 20010315 (release)

FPU control word: 0x027f
FPU status  word: 0x0022
FPU tag     word: 0xffffffff
FPU FIP         : 0x0871dd1d

SS: 002f, CS: 001f, DS: 002f, ES: 002f, FS: 002f, GS: 002f
EAX: bfbfd730, ECX: 28e8f309, EDX: 28e8f1b0, EBX: 2d386d6c
ESI: bfbfd730, EDI: 28ec4370
ESP: bfbfd728, EBP: bfbfd750 EIP: 1cec2ff2
(ESP+4): bfbfd738, (ESP): 087630ca
(EBP+4): 2d36ed34 (retrun addr.)
[java runs away with the all CPU time it can get, so that I have so SIGKILL it]
Killed
$ mozilla www.javasoft.com
  shuJIT  for Sun Classic VM/x86  by Kazuyuki Shudo
SIGBUS    10*  bus error

Full thread dump Classic VM (1.3.1-p6-root-020218-16:37, green threads):
    "Thread-1" (TID:0x28e9eff8, sys_thread_t:0x84d4a80, state:CW) prio=5
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at com.sun.media.sound.EventDispatcher.dispatchEvents(EventDispatcher.ja
va:144)
        at com.sun.media.sound.EventDispatcher.run(EventDispatcher.java:195)
    "Thread-0" (TID:0x28e9f080, sys_thread_t:0x84d4480, state:CW) prio=5
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at com.sun.media.sound.EventDispatcher.dispatchEvents(EventDispatcher.ja
va:144)
        at com.sun.media.sound.EventDispatcher.run(EventDispatcher.java:195)
    "Finalizer" (TID:0x28e8f528, sys_thread_t:0x80d7280, state:CW) prio=8
        at java.lang.Object.wait(Native Method)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java, Compiled Cod
e)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java, Compiled Cod
e)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162)
    "Reference Handler" (TID:0x28e8f300, sys_thread_t:0x809a680, state:CW) prio=
10
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110)
    "Signal dispatcher" (TID:0x28e8f330, sys_thread_t:0x809a480, state:CW) prio=
5
    "main" (TID:0x28e8f1b0, sys_thread_t:0x8054080, state:R) prio=5
        at sun.io.CharToByteSingleByte.convert(CharToByteSingleByte.java, Compil
ed Code)
        at sun.awt.font.NativeFontWrapper.registerFonts(Native Method)
        at sun.awt.X11GraphicsEnvironment.registerNativeFonts(X11GraphicsEnviron
ment.java:326)
        at sun.java2d.SunGraphicsEnvironment$2.run(SunGraphicsEnvironment.java:1
40)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.java2d.SunGraphicsEnvironment.loadFonts(SunGraphicsEnvironment.ja
va:116)
        at sun.java2d.SunGraphicsEnvironment.initTerminalNames(SunGraphicsEnviro
nment.java:755)
        at sun.java2d.SunGraphicsEnvironment.initCompositeFonts(SunGraphicsEnvir
onment.java:623)
        at sun.awt.X11GraphicsEnvironment.initCompositeFonts(X11GraphicsEnvironm
ent.java:476)
        at sun.java2d.SunGraphicsEnvironment$1.run(SunGraphicsEnvironment.java:9
5)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.java2d.SunGraphicsEnvironment.<init>(SunGraphicsEnvironment.java:
75)
        at sun.awt.X11GraphicsEnvironment.<init>(X11GraphicsEnvironment.java:64)
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java, Compiled Code)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvi
ronment.java:58)
        at java.awt.Window.<init>(Window.java:186)
        at java.awt.Frame.<init>(Frame.java:315)
        at java.awt.Frame.<init>(Frame.java:294)
        at javax.swing.JFrame.<init>(JFrame.java:172)
        at sun.plugin.ConsoleWindow.<init>(ConsoleWindow.java:53)
        at sun.plugin.JavaRunTime.getJavaConsole(JavaRunTime.java:104)
        at sun.plugin.JavaRunTime.showJavaConsoleHelp(JavaRunTime.java:309)
        at sun.plugin.AppletViewer.initEnvironment(AppletViewer.java:402)
        at sun.plugin.navig.motif.Plugin.doit(Plugin.java:159)
        at sun.plugin.navig.motif.Plugin.start(Plugin.java:101)
Monitor Cache Dump:
    java.lang.ref.Reference$Lock@28E8F310/28EC4F98: <unowned>
        Waiting to be notified:
            "Reference Handler" (0x809a680)
    java.lang.ref.ReferenceQueue$Lock@28E8F540/28EC5478: <unowned>
        Waiting to be notified:
            "Finalizer" (0x80d7280)
    sun.awt.X11GraphicsEnvironment@28EA8F28/28F18778: owner "main" (0x8054080) 1
 entry
    com.sun.media.sound.EventDispatcher@28E9F080/28F03070: <unowned>
        Waiting to be notified:
            "Thread-0" (0x84d4480)
    java.lang.Class@28E90848/28ECF260: owner "main" (0x8054080) 1 entry
    java.lang.Class@28EA8C00/28F17D78: owner "main" (0x8054080) 1 entry
    java.lang.Class@28EA8EA8/28F18348: owner "main" (0x8054080) 1 entry
    com.sun.media.sound.EventDispatcher@28E9EFF8/28F03318: <unowned>
        Waiting to be notified:
            "Thread-1" (0x84d4a80)
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 "main" (0x8054080) 1 entry
    Dynamic loading lock: <unowned>
    Monitor IO lock: <unowned>
    User signal monitor: <unowned>
        Waiting to be notified:
            "Signal dispatcher" (0x809a480)
    Child death monitor: <unowned>
    I/O monitor: <unowned>
    Alarm monitor: <unowned>
        Waiting to be notified:
            <unknown thread> (0x8054280)
    Thread queue lock: owner "main" (0x8054080) 1 entry
    Monitor registry: owner "main" (0x8054080) 1 entry

SIGABRT   6*   abort (generated by abort(3) routine)

Full thread dump Classic VM (1.3.1-p6-root-020218-16:37, green threads):
    "Thread-1" (TID:0x28e9eff8, sys_thread_t:0x84d4a80, state:CW) prio=5
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at com.sun.media.sound.EventDispatcher.dispatchEvents(EventDispatcher.ja
va:144)
        at com.sun.media.sound.EventDispatcher.run(EventDispatcher.java:195)
    "Thread-0" (TID:0x28e9f080, sys_thread_t:0x84d4480, state:CW) prio=5
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at com.sun.media.sound.EventDispatcher.dispatchEvents(EventDispatcher.ja
va:144)
        at com.sun.media.sound.EventDispatcher.run(EventDispatcher.java:195)
    "Finalizer" (TID:0x28e8f528, sys_thread_t:0x80d7280, state:CW) prio=8
        at java.lang.Object.wait(Native Method)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java, Compiled Cod
e)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java, Compiled Cod
e)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162)
    "Reference Handler" (TID:0x28e8f300, sys_thread_t:0x809a680, state:CW) prio=
10
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:420)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110)
    "Signal dispatcher" (TID:0x28e8f330, sys_thread_t:0x809a480, state:CW) prio=
5
    "main" (TID:0x28e8f1b0, sys_thread_t:0x8054080, state:R) prio=5
        at sun.io.CharToByteSingleByte.convert(CharToByteSingleByte.java, Compil
ed Code)
        at sun.awt.font.NativeFontWrapper.registerFonts(Native Method)
        at sun.awt.X11GraphicsEnvironment.registerNativeFonts(X11GraphicsEnviron
ment.java:326)
        at sun.java2d.SunGraphicsEnvironment$2.run(SunGraphicsEnvironment.java:1
40)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.java2d.SunGraphicsEnvironment.loadFonts(SunGraphicsEnvironment.ja
va:116)
        at sun.java2d.SunGraphicsEnvironment.initTerminalNames(SunGraphicsEnviro
nment.java:755)
        at sun.java2d.SunGraphicsEnvironment.initCompositeFonts(SunGraphicsEnvir
onment.java:623)
        at sun.awt.X11GraphicsEnvironment.initCompositeFonts(X11GraphicsEnvironm
ent.java:476)
        at sun.java2d.SunGraphicsEnvironment$1.run(SunGraphicsEnvironment.java:9
5)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.java2d.SunGraphicsEnvironment.<init>(SunGraphicsEnvironment.java:
75)
        at sun.awt.X11GraphicsEnvironment.<init>(X11GraphicsEnvironment.java:64)
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java, Compiled Code)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvi
ronment.java:58)
        at java.awt.Window.<init>(Window.java:186)
        at java.awt.Frame.<init>(Frame.java:315)
        at java.awt.Frame.<init>(Frame.java:294)
        at javax.swing.JFrame.<init>(JFrame.java:172)
        at sun.plugin.ConsoleWindow.<init>(ConsoleWindow.java:53)
        at sun.plugin.JavaRunTime.getJavaConsole(JavaRunTime.java:104)
        at sun.plugin.JavaRunTime.showJavaConsoleHelp(JavaRunTime.java:309)
        at sun.plugin.AppletViewer.initEnvironment(AppletViewer.java:402)
        at sun.plugin.navig.motif.Plugin.doit(Plugin.java:159)
        at sun.plugin.navig.motif.Plugin.start(Plugin.java:101)
Monitor Cache Dump:
    java.lang.ref.Reference$Lock@28E8F310/28EC4F98: <unowned>
        Waiting to be notified:
            "Reference Handler" (0x809a680)
    java.lang.ref.ReferenceQueue$Lock@28E8F540/28EC5478: <unowned>
        Waiting to be notified:
            "Finalizer" (0x80d7280)
    sun.awt.X11GraphicsEnvironment@28EA8F28/28F18778: owner "main" (0x8054080) 1
 entry
    com.sun.media.sound.EventDispatcher@28E9F080/28F03070: <unowned>
        Waiting to be notified:
            "Thread-0" (0x84d4480)
    java.lang.Class@28E90848/28ECF260: owner "main" (0x8054080) 1 entry
    java.lang.Class@28EA8C00/28F17D78: owner "main" (0x8054080) 1 entry
    java.lang.Class@28EA8EA8/28F18348: owner "main" (0x8054080) 1 entry
    com.sun.media.sound.EventDispatcher@28E9EFF8/28F03318: <unowned>
        Waiting to be notified:
            "Thread-1" (0x84d4a80)
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 "main" (0x8054080) 1 entry
    Dynamic loading lock: <unowned>
    Monitor IO lock: <unowned>
    User signal monitor: <unowned>
        Waiting to be notified:
            "Signal dispatcher" (0x809a480)
    Child death monitor: <unowned>
    I/O monitor: <unowned>
    Alarm monitor: <unowned>
        Waiting to be notified:
            <unknown thread> (0x8054280)
    Thread queue lock: owner "main" (0x8054080) 1 entry
    Monitor registry: owner "main" (0x8054080) 1 entry

INTERNAL ERROR on Browser End: Could not read ack from browser
System error?:: Resource temporarily unavailable


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202190851.g1J8p8C51293>