A bit of a crash!

2002-10-09 Thread Michael Erskine

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.(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.(BackgroundWindow.java:84)
at 
uk.plc.jasmin.JasminExplorer.JasminExplorer.createsBackgroundWindow(JasminExplorer.java:195)
at uk.plc.jasmin.JasminExplorer.JasminExplorer.main(JasminExplorer.java:118)

Dynamic libraries:
08048000-0804c000 r-xp  00:07 220/tmp/jre/bin/i386/native_threads/java
0804c000-0804d000 rw-p 3000 00:07 220/tmp/jre/bin/i386/native_threads/java
4000-40014000 r-xp  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  00:07 263/tmp/jre/lib/i386/libpthread-0.9.so
40024000-4002b000 rw-p e000 00:07 263/tmp/jre/lib/i386/libpthread-0.9.so
4002b000-40034000 r-xp  00:07 231
/tmp/jre/lib/i386/native_threads/libhpi.so
40034000-40035000 rw-p 8000 00:07 231
/tmp/jre/lib/i386/native_threads/libhpi.so
40035000-4023b000 r-xp  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  01:00 3376192/lib/libdl-2.2.5.so
40355000-40356000 rw-p 1000 01:00 3376192/lib/libdl-2.2.5.so
40356000-4046f000 r-xp  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  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  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  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  00:07 237/tmp/jre/lib/i386/libverify.so
404ff000-40501000 rw-p 0001 00:07 237/tmp/jre/lib/i386/libverify.so
40501000-40522000 r-xp  00:07 238/tmp/jre/lib/i386/libjava.so
40522000-40524000 rw-p 0002 00:07 238/tmp/jre/lib/i386/libjava.so
40525000-40539000 r-xp  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  00:07 311/tmp/jre/lib/rt.jar
412a-412b6000 r--s  00:07 265/tmp/jre/lib/sunrsasign.jar
4335e000-4335f000 r--s  00:07 198/tmp/je/AbsoluteLayout.jar
493bf000-493c7000 r-xp  01:00 3436888/lib/libnss_files-2.2.5.so
493c7000-493c8000 rw-p 8000 01:00 3436888/lib/libnss_files-2.2.5.so
49434000-49442000 r--s  00:07 199/tmp/je/JasminExplorer.jar
49442000-49506000 r--s  00:07 211/tmp/je/xalan.jar
49506000-4952 r--s  00:07 207/tmp/je/jdom.jar
4952-4968e000 r--s  00:07 212/tmp/je/xerces.jar
4968e000-49a5c000 r-xp  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  00:07 245/tmp/jre/lib/i386/libmlib_image.so
49ab2000-49ab4000 rw-p 0003 00:07 245/tmp/jre/lib/i386/libmlib_image.so
49ab4000-49aba000 r-xp  00:07 260/tmp/jre/lib/i386/libXp.so.6.2
49aba000-49abc000 rw-p 5000 00:07 260/tmp/jre/lib/i386/libXp.so.6.2
49abc000-49b0 r-xp  01:00 2632988/lib/libXt.so.6.0
49b0-49b04000 rw-p 00043000 01:00 2632988/lib/libXt.so.6.0
49b04000-49b0e000 r-xp  01:00 2577940/lib/libXext.so.6.3
49b0e000-49b1 rw-p 9000 01:00 2577940/lib/libXext.s

RE: A bit of a crash!

2002-10-09 Thread Veda Narayanan

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.(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.(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  00:07 220
/tmp/jre/bin/i386/native_threads/java
0804c000-0804d000 rw-p 3000 00:07 220
/tmp/jre/bin/i386/native_threads/java
4000-40014000 r-xp  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  00:07 263
/tmp/jre/lib/i386/libpthread-0.9.so
40024000-4002b000 rw-p e000 00:07 263
/tmp/jre/lib/i386/libpthread-0.9.so
4002b000-40034000 r-xp  00:07 231
/tmp/jre/lib/i386/native_threads/libhpi.so
40034000-40035000 rw-p 8000 00:07 231
/tmp/jre/lib/i386/native_threads/libhpi.so
40035000-4023b000 r-xp  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  01:00 3376192/lib/libdl-2.2.5.so
40355000-40356000 rw-p 1000 01:00 3376192/lib/libdl-2.2.5.so
40356000-4046f000 r-xp  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  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  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  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  00:07 237
/tmp/jre/lib/i386/libverify.so
404ff000-40501000 rw-p 0001 00:07 237
/tmp/jre/lib/i386/libverify.so
40501000-40522000 r-xp  00:07 238
/tmp/jre/lib/i386/libjava.so
40522000-40524000 rw-p 0002 00:07 238
/tmp/jre/lib/i386/libjava.so
40525000-40539000 r-xp  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  00:07 311/tmp/jre/lib/rt.jar
412a-412b6000 r--s  00:07 265/tmp/jre/lib/sunrsasign.jar
4335e000-4335f000 r--s  00:07 198/tmp/je/AbsoluteLayout.jar
493bf000-493c7000 r-xp  01:00 3436888/lib/libnss_files-2.2.5.so
493c7000-493c8000 rw-p 8000 01:00 3436888/lib/libnss_files-2.2.5.so
49434000-49442000 r--s  00:07 199/tmp/je/JasminExplorer.jar
49442000-49506000 r--s  00:07 211/tmp/je/xalan.jar
49506000-4952 r--s  00:07 207/tmp/je/jdom.jar
4952-4968e000 r--s  00:07 212/tmp/je/xerces.jar
4968e000-49a5c000 r-xp  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  00:07 245
/tmp/jre/lib/i386/libmlib_image.so
49ab2000-49ab4000 rw-p 0003 00:07 245
/tmp/jre/lib/i386/libmlib_image.so
49ab4000-49aba000 r-xp  00:07 260
/tmp/jre/lib/i386/libXp.so.6.2
49aba000-49abc000 rw-p 5000 00:07 260
/tmp/jre/lib/i386/libXp.so.6.2

how to install additional-ipaq-stuff

2002-10-09 Thread Alexander Busch
Title: Message



Hello,
 
I am kind of a 
newbee here as well. :-( Sorry.
 
Anyways, I have my 
iPAQ 3630 which runs familiar v0.5.3. I have been able to mount a windows 
directory, which holds all j2re 1.3.1 blackdown files. Everything is unpacked as 
requested.
 
All I want to do is 
to get java running, so that I can try out the famous "hello world". I have 
added the j2re/bin directory to the PATH, but I am not really sure what to do 
with the additional ipaq stuff.
 
What do I need to do 
with it?
 
In addition, I got 
to work the following:
 
# 
java/mnt/win/rc1/j2re-1.3.1-RC1-linux-arm.tar/j2re-1.3.1-RC1-linux-arm/j2re1.3.1/bin/armv4l/native_threads/java: 
error while loading shared libraries: libBrokenLocale.so.1: cannot open 
shared object file: No such file or directory
 
"java" here is the 
former .java_wrapper.
 
What shall I do with 
this error message? I have been trying to locate such a file for my kernel 
version (2.4.18-rmk3), but did not locate such a file.
 
Can anybody be of 
help?
 
Thank 
you,
 
alex


Re: how to install additional-ipaq-stuff

2002-10-09 Thread Larry Arnold
unzip additionsl-ipaq-stuff.tar.gz in the root directory. This will put the library and X-stuff where it needs to be.

then run ldconfig to configure the run-time bindings, and the jre should be able to find the libBrokenLocal library



At 06:51 PM 10/9/02 +0200, you wrote: 

Message size=2>Hello, size=2>  I am kind of a  newbee here as well. :-( Sorry. size=2>  Anyways, I have my  iPAQ 3630 which runs familiar v0.5.3. I have been able to mount a windows  directory, which holds all j2re 1.3.1 blackdown files. Everything is unpacked as  requested. size=2>  All I want to do is  to get java running, so that I can try out the famous "hello world". I have  added the j2re/bin directory to the PATH, but I am not really sure what to do  with the additional ipaq stuff. size=2>  What do I need to do  with it? size=2>  In addition, I got  to work the following: size=2>  #  java
/mnt/win/rc1/j2re-1.3.1-RC1-linux-arm.tar/j2re-1.3.1-RC1-linux-arm/j2re1.3.1/bin
/armv4l/native_threads/java:  error while loading shared libraries: libBrokenLoca
le.so.1: cannot open  shared object file: No such file or directory size=2>  "java" here is the  former .java_wrapper. size=2>  What shall I do with  this error message? I have been trying to locate such a file for my kernel  version (2.4.18-rmk3), but did not locate such a file. size=2>  Can anybody be of  help? size=2>  Thank  you, size=2>  size=2>alex 




Larry Arnold
Computer Design Engineer
International Communications Group Inc.
200 Enterprise Drive
Newport News, Va. 23603

[EMAIL PROTECTED]
757.947.1030 ext 117

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


other widgets

2002-10-09 Thread Mario Medina Nussbaum

HI! i have a question for you: does jdk can be built with another widget 
set than lesstif/motif? like gtk or QT?

This because a lot of pages show incorrect sizes of fields on forms with 
linux jdk.

Thank you.



smime.p7s
Description: S/MIME Cryptographic Signature