All,
    If you set ulimit -s 2048 in the shell which you start java this should
not happen. There is a bug filed in jdk database and I assume you are using
sun jdk. There seems to be a problem in exception handling when using java
thread.

Ved

-----Original Message-----
From: Michael Erskine [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 09, 2002 5:59 AM
To: [EMAIL PROTECTED]
Subject: A bit of a crash!


Hi,

I'm encountering a crash whilst runnig a java application in the 1.3 JRE.
The crash is almost certainly to do with the fact that I'm running on a very
minimal system with XFree86-4.2 . Can anyone identify what might be causing
the problem? It looks like either a font issue (in pSetFont + I don't have
many fonts available to X) or a threads issue (in __pthread_mutex_trylock).
I'm using native_threads and the client VM. Here follows the dying words of
my application...

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4001cc67
Function name=__pthread_mutex_trylock
Library=/usr/jre/lib/i386/libpthread.so.0

Current Java thread:
        at sun.awt.motif.MComponentPeer.pSetFont(Native Method)
        at sun.awt.motif.MComponentPeer.setFont(MComponentPeer.java:202)
        at sun.awt.motif.MWindowPeer.init(MWindowPeer.java:100)
        at sun.awt.motif.MFramePeer.<init>(MFramePeer.java:48)
        at sun.awt.motif.MToolkit.createFrame(MToolkit.java:133)
        at java.awt.Frame.addNotify(Frame.java:348)
        at java.awt.Window.pack(Window.java:361)
        at
uk.plc.jasmin.JasminExplorer.BackgroundWindow.InitComponent(BackgroundWindow
.java:106)
        at
uk.plc.jasmin.JasminExplorer.BackgroundWindow.<init>(BackgroundWindow.java:8
4)
        at
uk.plc.jasmin.JasminExplorer.JasminExplorer.createsBackgroundWindow(JasminEx
plorer.java:195)
        at
uk.plc.jasmin.JasminExplorer.JasminExplorer.main(JasminExplorer.java:118)

Dynamic libraries:
08048000-0804c000 r-xp 00000000 00:07 220
/tmp/jre/bin/i386/native_threads/java
0804c000-0804d000 rw-p 00003000 00:07 220
/tmp/jre/bin/i386/native_threads/java
40000000-40014000 r-xp 00000000 01:00 2017500    /lib/ld-2.2.5.so
40014000-40015000 rw-p 00013000 01:00 2017500    /lib/ld-2.2.5.so
40016000-40024000 r-xp 00000000 00:07 263
/tmp/jre/lib/i386/libpthread-0.9.so
40024000-4002b000 rw-p 0000e000 00:07 263
/tmp/jre/lib/i386/libpthread-0.9.so
4002b000-40034000 r-xp 00000000 00:07 231
/tmp/jre/lib/i386/native_threads/libhpi.so
40034000-40035000 rw-p 00008000 00:07 231
/tmp/jre/lib/i386/native_threads/libhpi.so
40035000-4023b000 r-xp 00000000 00:07 234
/tmp/jre/lib/i386/client/libjvm.so
4023b000-4033c000 rw-p 00205000 00:07 234
/tmp/jre/lib/i386/client/libjvm.so
40353000-40355000 r-xp 00000000 01:00 3376192    /lib/libdl-2.2.5.so
40355000-40356000 rw-p 00001000 01:00 3376192    /lib/libdl-2.2.5.so
40356000-4046f000 r-xp 00000000 01:00 2777064    /lib/libc-2.2.5.so
4046f000-40475000 rw-p 00119000 01:00 2777064    /lib/libc-2.2.5.so
40479000-4048b000 r-xp 00000000 00:07 232
/tmp/jre/lib/i386/libnsl-2.2.5.so
4048b000-4048c000 rw-p 00011000 00:07 232
/tmp/jre/lib/i386/libnsl-2.2.5.so
4048e000-404aa000 r-xp 00000000 01:00 3380332    /lib/libm-2.1.3.so
404aa000-404ab000 rw-p 0001b000 01:00 3380332    /lib/libm-2.1.3.so
404ab000-404df000 r-xp 00000000 00:07 257
/tmp/jre/lib/i386/libstdc++-2-libc6.1-1-2.9.0.so
404df000-404eb000 rw-p 00033000 00:07 257
/tmp/jre/lib/i386/libstdc++-2-libc6.1-1-2.9.0.so
404ee000-404ff000 r-xp 00000000 00:07 237
/tmp/jre/lib/i386/libverify.so
404ff000-40501000 rw-p 00010000 00:07 237
/tmp/jre/lib/i386/libverify.so
40501000-40522000 r-xp 00000000 00:07 238
/tmp/jre/lib/i386/libjava.so
40522000-40524000 rw-p 00020000 00:07 238
/tmp/jre/lib/i386/libjava.so
40525000-40539000 r-xp 00000000 00:07 239        /tmp/jre/lib/i386/libzip.so
40539000-4053c000 rw-p 00013000 00:07 239        /tmp/jre/lib/i386/libzip.so
4053c000-41273000 r--s 00000000 00:07 311        /tmp/jre/lib/rt.jar
412a0000-412b6000 r--s 00000000 00:07 265        /tmp/jre/lib/sunrsasign.jar
4335e000-4335f000 r--s 00000000 00:07 198        /tmp/je/AbsoluteLayout.jar
493bf000-493c7000 r-xp 00000000 01:00 3436888    /lib/libnss_files-2.2.5.so
493c7000-493c8000 rw-p 00008000 01:00 3436888    /lib/libnss_files-2.2.5.so
49434000-49442000 r--s 00000000 00:07 199        /tmp/je/JasminExplorer.jar
49442000-49506000 r--s 00000000 00:07 211        /tmp/je/xalan.jar
49506000-49520000 r--s 00000000 00:07 207        /tmp/je/jdom.jar
49520000-4968e000 r--s 00000000 00:07 212        /tmp/je/xerces.jar
4968e000-49a5c000 r-xp 00000000 00:07 246        /tmp/jre/lib/i386/libawt.so
49a5c000-49a6c000 rw-p 003cd000 00:07 246        /tmp/jre/lib/i386/libawt.so
49a81000-49ab2000 r-xp 00000000 00:07 245
/tmp/jre/lib/i386/libmlib_image.so
49ab2000-49ab4000 rw-p 00030000 00:07 245
/tmp/jre/lib/i386/libmlib_image.so
49ab4000-49aba000 r-xp 00000000 00:07 260
/tmp/jre/lib/i386/libXp.so.6.2
49aba000-49abc000 rw-p 00005000 00:07 260
/tmp/jre/lib/i386/libXp.so.6.2
49abc000-49b00000 r-xp 00000000 01:00 2632988    /lib/libXt.so.6.0
49b00000-49b04000 rw-p 00043000 01:00 2632988    /lib/libXt.so.6.0
49b04000-49b0e000 r-xp 00000000 01:00 2577940    /lib/libXext.so.6.3
49b0e000-49b10000 rw-p 00009000 01:00 2577940    /lib/libXext.so.6.3
49b10000-49b14000 r-xp 00000000 00:07 262
/tmp/jre/lib/i386/libXtst.so.6.1
49b14000-49b15000 rw-p 00003000 00:07 262
/tmp/jre/lib/i386/libXtst.so.6.1
49b15000-49baf000 r-xp 00000000 01:00 2115916    /lib/libX11.so.6.1
49baf000-49bb5000 rw-p 00099000 01:00 2115916    /lib/libX11.so.6.1
49bb6000-49bbd000 r-xp 00000000 01:00 2101088    /lib/libSM.so.6.0
49bbd000-49bbf000 rw-p 00006000 01:00 2101088    /lib/libSM.so.6.0
49bbf000-49bd2000 r-xp 00000000 01:00 2063924    /lib/libICE.so.6.3
49bd2000-49bd3000 rw-p 00012000 01:00 2063924    /lib/libICE.so.6.3
49bd5000-49c60000 r-xp 00000000 00:07 247
/tmp/jre/lib/i386/libfontmanager.so
49c60000-49c70000 rw-p 0008a000 00:07 247
/tmp/jre/lib/i386/libfontmanager.so

Local Time = Wed Oct  9 12:10:35 2002
Elapsed Time = 3
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.3.1_05-b02 mixed mode)
#
# An error report file has been saved as hs_err_pid281.log.
# Please refer to the file for further information.
#
--------------------------------------- >8 -- snip -- >8
--------------------
Regards,

Michael



----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


This e-mail has been captured and archived by the ZANTAZ Digital Safe(tm)
service.  For more information, visit us at www.zantaz.com. 
IMPORTANT: This electronic mail message is intended only for the use of the
individual or entity to which it is addressed and may contain information
that is privileged, confidential or exempt from disclosure under applicable
law.  If the reader of this message is not the intended recipient, or the
employee or agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited.  If you have received
this communication in error, please notify the sender immediately by
telephone or directly reply to the original message(s) sent.  Thank you.


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to