[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

java core dump



Hello!

While running the JAP-proxy from
http://anon.inf.tu-dresden.de/jap/JAP.jar
with 
$ java -jar JAP.jar
java core-dumped after clicking on the exit-button.
This seems not to be repeatable.

The port was built some time ago, the system is a snapshot from around Dec. 26, 
i believe.

Alf

alf_(_at_)_werkel:13$ uname -a
OpenBSD werkel.rechners.lemarit.com 3.8 GENERIC#459 i386
alf_(_at_)_werkel:14$  ls -lc /usr/local/jdk-1.5.0/bin/java 
-rwxr-xr-x  1 root  bin  60900 Aug 12 23:52 /usr/local/jdk-1.5.0/bin/java*

crash message in xterm:
alf_(_at_)_werkel:17$ [2006/01/07-09:13:50, Error    ] AnonServiceImpl received connectionError
[2006/01/07-09:13:50, Error    ] AnonProxy received connectionError
[2006/01/07-09:13:50, Error    ] JAPController received connectionError
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x04960253, pid=7329, tid=0x8021d400
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0-p1-_02_aug_2005_08_25 mixed mode)
# Problematic frame:
# C  [libmawt.so+0x59253]  Java_sun_awt_motif_MPanelPeer_pRestack+0x58
#
# An error report file with more information is saved as hs_err_pid7329.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

[1] + Abort trap           java -jar JAP.jar  (core dumped)
alf_(_at_)_werkel:17$ 


gdb:
alf_(_at_)_werkel:1$ gdb -q /usr/local/jdk-1.5.0/bin/java java.core
(no debugging symbols found)
Core was generated by `java'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/libpthread.so.6.2...done.
Loaded symbols for /usr/lib/libpthread.so.6.2
Symbols already loaded for /usr/lib/libpthread.so.6.2
Reading symbols from /usr/lib/libc.so.38.4...done.
Loaded symbols for /usr/lib/libc.so.38.4
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
Reading symbols from /usr/local/jdk-1.5.0/jre/lib/i386/client/libjvm.so...done.
Loaded symbols for /usr/local/jdk-1.5.0/jre/lib/i386/client/libjvm.so
Reading symbols from /usr/lib/libm.so.2.1...done.
Loaded symbols for /usr/lib/libm.so.2.1
Reading symbols from /usr/local/jdk-1.5.0/jre/lib/i386/native_threads/libhpi.so...done.
Loaded symbols for /usr/local/jdk-1.5.0/jre/lib/i386/native_threads/libhpi.so
Reading symbols from /usr/local/jdk-1.5.0/jre/lib/i386/libverify.so...done.
Loaded symbols for /usr/local/jdk-1.5.0/jre/lib/i386/libverify.so
Reading symbols from /usr/local/jdk-1.5.0/jre/lib/i386/libjava.so...done.
Loaded symbols for /usr/local/jdk-1.5.0/jre/lib/i386/libjava.so
Reading symbols from /usr/local/jdk-1.5.0/jre/lib/i386/libzip.so...done.
Loaded symbols for /usr/local/jdk-1.5.0/jre/lib/i386/libzip.so
Reading symbols from /usr/local/jdk-1.5.0/jre/lib/i386/libawt.so...done.
Loaded symbols for /usr/local/jdk-1.5.0/jre/lib/i386/libawt.so
Reading symbols from /usr/local/jdk-1.5.0/jre/lib/i386/libmlib_image.so...done.
Loaded symbols for /usr/local/jdk-1.5.0/jre/lib/i386/libmlib_image.so
Reading symbols from /usr/local/jdk-1.5.0/jre/lib/i386/motif21/libmawt.so...done.
Loaded symbols for /usr/local/jdk-1.5.0/jre/lib/i386/motif21/libmawt.so
Reading symbols from /usr/local/lib/libXm.so.3.0...done.
Loaded symbols for /usr/local/lib/libXm.so.3.0
Reading symbols from /usr/X11R6/lib/libXp.so.9.0...done.
Loaded symbols for /usr/X11R6/lib/libXp.so.9.0
Reading symbols from /usr/X11R6/lib/libXtst.so.9.0...done.
Loaded symbols for /usr/X11R6/lib/libXtst.so.9.0
Reading symbols from /usr/X11R6/lib/libXext.so.9.0...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.9.0
Reading symbols from /usr/X11R6/lib/libXt.so.9.0...done.
Loaded symbols for /usr/X11R6/lib/libXt.so.9.0
Reading symbols from /usr/X11R6/lib/libX11.so.9.0...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.9.0
Reading symbols from /usr/X11R6/lib/libSM.so.8.0...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.8.0
Reading symbols from /usr/X11R6/lib/libICE.so.8.0...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.8.0
Reading symbols from /usr/local/jdk-1.5.0/jre/lib/i386/libfontmanager.so...done.
Loaded symbols for /usr/local/jdk-1.5.0/jre/lib/i386/libfontmanager.so
Reading symbols from /usr/X11R6/lib/libXcursor.so.3.0...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.3.0
Reading symbols from /usr/X11R6/lib/libXrender.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.4.0
Reading symbols from /usr/local/jdk-1.5.0/jre/lib/i386/libnet.so...done.
Loaded symbols for /usr/local/jdk-1.5.0/jre/lib/i386/libnet.so
Reading symbols from /usr/local/jdk-1.5.0/jre/lib/i386/libnio.so...done.
Loaded symbols for /usr/local/jdk-1.5.0/jre/lib/i386/libnio.so
#0  0x0356369d in kill () from /usr/lib/libc.so.38.4
(gdb) backtrace
#0  0x0356369d in kill () from /usr/lib/libc.so.38.4
#1  0x0359f64b in abort () at /usr/src/lib/libc/stdlib/abort.c:65
#2  0x0784a3ff in os::abort(int) ()
   from /usr/local/jdk-1.5.0/jre/lib/i386/client/libjvm.so
#3  0x078cbf7b in VMError::report_and_die() ()
   from /usr/local/jdk-1.5.0/jre/lib/i386/client/libjvm.so
#4  0x0784d239 in JVM_handle_bsd_signal ()
   from /usr/local/jdk-1.5.0/jre/lib/i386/client/libjvm.so
#5  0x0784bbdb in signalHandler ()
   from /usr/local/jdk-1.5.0/jre/lib/i386/client/libjvm.so
#6  0x074a3907 in _dispatch_signal (sig=11, scp=0x7fd1421c)
    at /usr/src/lib/libpthread/uthread/uthread_sig.c:394
#7  0x074a39f2 in _dispatch_signals (scp=0x7fd1421c)
    at /usr/src/lib/libpthread/uthread/uthread_sig.c:423
#8  0x074a31f0 in _thread_sig_handler (sig=11, info=0x7fd1426c, scp=0x7fd1421c)
    at /usr/src/lib/libpthread/uthread/uthread_sig.c:139
#9  0x03da202d in ?? ()
#10 0x0000000b in ?? ()
#11 0x7fd1426c in ?? ()
#12 0x7fd1421c in ?? ()
#13 0x074a30b0 in _thread_sig_init ()
    at /usr/src/lib/libpthread/uthread/uthread_sig.c:56
#14 0x8da17bf9 in ?? ()
#15 0x820680bc in ?? ()
#16 0x7fd14558 in ?? ()
#17 0x7fd1452c in ?? ()
#18 0x00000000 in ?? ()
(gdb) q



hs_err_pid7329.log:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x04960253, pid=7329, tid=0x8021d400
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0-p1-_02_aug_2005_08_25 mixed mode)
# Problematic frame:
# C  [libmawt.so+0x59253]  Java_sun_awt_motif_MPanelPeer_pRestack+0x58
#

---------------  T H R E A D  ---------------

Current thread (0x82068000):  JavaThread "JAP - MuxSocket" daemon [_thread_in_native, id=-2145266688]

siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000000

Registers:
EAX=0x00000000, EBX=0x24911148, ECX=0x00001946, EDX=0x00000000
ESP=0x7fd14504, EBP=0x7fd1451c, ESI=0x93d6f738, EDI=0x82068000
EIP=0x04960253, EFLAGS=0x00010202

Top of Stack: (sp=0x7fd14504)
0x7fd14504:   0749f8f6 049601fb 93d6f738 7fd14548
0x7fd14514:   00000000 93d6f738 7fd14548 8da17bf9
0x7fd14524:   820680bc 7fd14558 7fd1452c 00000000
0x7fd14534:   7fd14558 93d794c8 00000000 93d6f738
0x7fd14544:   7fd14558 7fd14578 8da11923 00000000
0x7fd14554:   8da15b39 900c6cd0 7fd1455c 93d6f888
0x7fd14564:   7fd14584 93d794c8 00000000 93d6f898
0x7fd14574:   7fd14584 7fd145ac 8da11c29 9008dda0 

Instructions: (pc=0x04960253)
0x04960243:   82 94 01 00 00 ff d0 83 c4 10 89 45 f8 8b 45 f8
0x04960253:   8b 00 89 45 f4 83 ec 0c ff 75 f4 e8 95 d1 fb ff 

Stack: [0x7fcd5000,0x7fd15000),  sp=0x7fd14504,  free space=253k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libmawt.so+0x59253]  Java_sun_awt_motif_MPanelPeer_pRestack+0x58
j  sun.awt.motif.MPanelPeer.pRestack()V+0
j  sun.awt.motif.MPanelPeer.restack()V+16
j  java.awt.Component.addNotify()V+393
j  java.awt.Container.addNotify()V+8
j  java.awt.Window.addNotify()V+47
j  java.awt.Dialog.addNotify()V+51
j  java.awt.Window.pack()V+28
j  javax.swing.JOptionPane.createDialog(Ljava/awt/Component;Ljava/lang/String;I)Ljavax/swing/JDialog;+146
j  javax.swing.JOptionPane.createDialog(Ljava/awt/Component;Ljava/lang/String;)Ljavax/swing/JDialog;+12
j  jap.JAPUtil.showMessageBox(Ljavax/swing/JFrame;Ljava/lang/String;Ljava/lang/String;I)V+21
j  jap.JAPController.connectionError()V+36
j  proxy.AnonProxy.fireConnectionError()V+20
j  proxy.AnonProxy.connectionError()V+8
j  anon.server.AnonServiceImpl.fireConnectionError()V+20
j  anon.server.AnonServiceImpl.connectionError()V+8
J  anon.server.impl.MuxSocket.run()V
v  ~OSRAdapter
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub
V  [libjvm.so+0x22e6c8]
V  [libjvm.so+0x304bb1]
V  [libjvm.so+0x22e53b]
V  [libjvm.so+0x22e05a]
V  [libjvm.so+0x22e0bf]
V  [libjvm.so+0x279045]
V  [libjvm.so+0x358783]
V  [libjvm.so+0x35872c]
V  [libjvm.so+0x302771]
C  [libpthread.so.6.2+0x6eeb]  _thread_start+0x2b

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  sun.awt.motif.MPanelPeer.pRestack()V+0
j  sun.awt.motif.MPanelPeer.restack()V+16
j  java.awt.Component.addNotify()V+393
j  java.awt.Container.addNotify()V+8
j  java.awt.Window.addNotify()V+47
j  java.awt.Dialog.addNotify()V+51
j  java.awt.Window.pack()V+28
j  javax.swing.JOptionPane.createDialog(Ljava/awt/Component;Ljava/lang/String;I)Ljavax/swing/JDialog;+146
j  javax.swing.JOptionPane.createDialog(Ljava/awt/Component;Ljava/lang/String;)Ljavax/swing/JDialog;+12
j  jap.JAPUtil.showMessageBox(Ljavax/swing/JFrame;Ljava/lang/String;Ljava/lang/String;I)V+21
j  jap.JAPController.connectionError()V+36
j  proxy.AnonProxy.fireConnectionError()V+20
j  proxy.AnonProxy.connectionError()V+8
j  anon.server.AnonServiceImpl.fireConnectionError()V+20
j  anon.server.AnonServiceImpl.connectionError()V+8
J  anon.server.impl.MuxSocket.run()V
v  ~OSRAdapter
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x7c14c600 JavaThread "Thread-138" daemon [_thread_blocked, id=-2057320448]
  0x84493800 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=-2017567744]
  0x7e6b5c00 JavaThread "TimerQueue" daemon [_thread_blocked, id=-2074104832]
  0x82068600 JavaThread "JAP - Feedback" daemon [_thread_blocked, id=-2071859200]
  0x82068200 JavaThread "Database Thread: class anon.tor.util.DNSCacheEntry" daemon [_thread_blocked, id=-2059114496]
=>0x82068000 JavaThread "JAP - MuxSocket" daemon [_thread_in_native, id=-2145266688]
  0x7c14c000 JavaThread "SocketTimeout" daemon [_thread_blocked, id=2120354816]
  0x7de25800 JavaThread "DestroyJavaVM" [_thread_blocked, id=2110812160]
  0x8299f200 JavaThread "JAP - KeyPool" daemon [_thread_blocked, id=-2103846912]
  0x80dcac00 JavaThread "Database Thread: class anon.infoservice.InfoServiceDBEntry" daemon [_thread_blocked, id=-2136860672]
  0x80dca400 JavaThread "Database Thread: class anon.infoservice.StatusInfo" daemon [_thread_blocked, id=2120955904]
  0x80dca200 JavaThread "Database Thread: class anon.infoservice.MixCascade" daemon [_thread_blocked, id=-2069627904]
  0x7e272200 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=2128312320]
  0x8809a200 JavaThread "AWT-Shutdown" [_thread_blocked, id=2128310272]
  0x8048bc00 JavaThread "AWT-Motif" daemon [_thread_blocked, id=-2103859200]
  0x89793200 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=-2128907264]
  0x82f6be00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2112236544]
  0x82f6bc00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=-1960544256]
  0x82f6ba00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=-2049606656]
  0x82f6b800 JavaThread "Finalizer" daemon [_thread_blocked, id=2116913152]
  0x82f6b600 JavaThread "Reference Handler" daemon [_thread_blocked, id=-1751045120]

Other Threads:
  0x7de29b00 VMThread [id=-1885276160]
  0x7de29600 WatcherThread [id=-2035206144]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 576K, used 164K [0x8fa10000, 0x8fab0000, 0x8fef0000)
  eden space 512K,  21% used [0x8fa10000, 0x8fa2bad8, 0x8fa90000)
  from space 64K,  83% used [0x8fa90000, 0x8fa9d568, 0x8faa0000)
  to   space 64K,   0% used [0x8faa0000, 0x8faa0000, 0x8fab0000)
 tenured generation   total 5256K, used 4915K [0x8fef0000, 0x90412000, 0x93a10000)
   the space 5256K,  93% used [0x8fef0000, 0x903bce70, 0x903bd000, 0x90412000)
 compacting perm gen  total 10752K, used 10541K [0x93a10000, 0x94490000, 0x97a10000)
   the space 10752K,  98% used [0x93a10000, 0x9445b718, 0x9445b800, 0x94490000)
No shared spaces configured.

Error: Cannot print dynamic libraries.

VM Arguments:
java_command: JAP.jar

Environment Variables:
JAVA_HOME=/usr/local/jdk-1.5.0
PATH=/home/alf/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/games:/usr/local/jdk-1.5.0/bin:/usr/X11R6/bin:/usr/local/opt/openoffice.org2.0/program
LD_LIBRARY_PATH=/usr/local/jdk-1.5.0/jre/lib/i386/client:/usr/local/jdk-1.5.0/jre/lib/i386:/usr/local/jdk-1.5.0/jre/../lib/i386
SHELL=/bin/ksh
DISPLAY=:0.0


---------------  S Y S T E M  ---------------

OS:OpenBSD
uname:OpenBSD 3.8 GENERIC#459 i386
rlimit: STACK 32768k, CORE infinity, NOFILE 1024
CPU:total 1 family 6, cmov, cx8, fxsr, mmx

Memory: 4k page, physical 523252k

vm_info: Java HotSpot(TM) Client VM (1.5.0-p1-_02_aug_2005_08_25) for -x86, built on Aug  2 2005 10:11:33 by root with gcc 3.3.5 (propolice)




limits:
alf_(_at_)_werkel:12$ ulimit -a
time(cpu-seconds)    unlimited
file(blocks)         unlimited
coredump(blocks)     unlimited
data(kbytes)         524288
stack(kbytes)        32768
lockedmem(kbytes)    157046
memory(kbytes)       469672
nofiles(descriptors) 256
processes            256
alf_(_at_)_werkel:13$