[kaffe] core dump / assertion in threading

jrandom auto97841 at hushmail.com
Mon Dec 15 16:16:01 PST 2003


core dump / assertion in threading

Hey all,

doing some debugging and wanted to get the URLConnection fixes, so I
pulled the latest from cvs a few minutes ago.  make check passed all
144 tests, but its dumping core at new times when running jetty.

Its also eating ram more than usual (going up to 64m under moderate use
in 30-60 mins instead of 12-24 hours like before).  I'm going to keep
debugging to see what I can find out, but any advice is highly appreciated.

gracias,
-jrandom

> uname -a
FreeBSD col00846 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Wed Sep 17 23:18:58
PDT 2003 i386

> kaffe -fullversion
Kaffe Virtual Machine

Copyright (c) 1996-2002 Kaffe.org project contributors (please see
  the source code for a full list of contributors).  All rights reserved.
Portions Copyright (c) 1996-2002 Transvirtual Technologies, Inc.

The Kaffe virtual machine is free software, licensed under the terms
of
the GNU General Public License.  Kaffe.org is a an independent, free
software
community project, not directly affiliated with Transvirtual Technologies,

Inc.  Kaffe is a Trademark of Transvirtual Technologies, Inc.  Kaffe
comes
with ABSOLUTELY NO WARRANTY.

Engine: Just-in-time v3   Version: 1.1.x-cvs   Java Version: 1.1
Configuration/Compilation options:
  Compile date  : Mon Dec 15 13:38:50 PST 2003
  Compile host  : col00846
  Install prefix: /usr/local/kaffe
  Thread system : unix-jthreads
  CC            : gcc
  CFLAGS        : -g -O2 -Wall -Wstrict-prototypes
  LDFLAGS       :
  ChangeLog head: 2003-12-14  Dalibor Topic <robilad at kaffe.org>


This GDB was configured as "i386-unknown-freebsd4.8"...
Core was generated by `kaffe-bin'.
Program terminated with signal 6, Aborted.

(gdb) where
#0  0x2815abac in kill () from /usr/lib/libc.so.4
#1  0x2819c13a in abort () from /usr/lib/libc.so.4
#2  0x2817814f in __assert () from /usr/lib/libc.so.4
#3  0x280eaa30 in jmutex_unlock (lock=0x852de4c) at jthread.c:2208
#4  0x2809a5bc in slowUnlockMutex (lkp=0x281003d8, where=0xbfbfec50,
heavyLock=0x281003dc) at ksem.h:121
#5  0x280a404b in startThread (tid=0x1) at thread.c:201
#6  0x282a355b in java_lang_Thread_start0 (this=0x87782bc) at Thread.c:40


Another core:

(gdb) where
#0  0x2815abac in kill () from /usr/lib/libc.so.4
#1  0x2819c13a in abort () from /usr/lib/libc.so.4
#2  0x2817814f in __assert () from /usr/lib/libc.so.4
#3  0x280ea61f in handleIO (sleep=1) at jthread.c:351
#4  0x280ea175 in reschedule () at jthread.c:1923
#5  0x280e86f3 in suspendOnQThread (jtid=0x87be00c, queue=0x28105bd0,
 timeout=30000) at jthread.c:905
#6  0x280ea727 in blockOnFile (fd=1028, op=-17, timeout=30000) at jthread.c:2154
#7  0x280eb82d in jthreadedTimedRead (fd=1028, buf=0x8913018, len=8192,
 timeout=30000, out=0x0) at jthread.c:2648
#8  0x287cee99 in gnu_java_net_PlainSocketImpl_socketRead (this=0x884cadc,
 buf=0x891300c, offset=0, len=8192) at PlainSocketImpl.c:645




Concerned about your privacy? Follow this link to get
FREE encrypted email: https://www.hushmail.com/?l=2

Free, ultra-private instant messaging with Hush Messenger
https://www.hushmail.com/services.php?subloc=messenger&l=434

Promote security and make money with the Hushmail Affiliate Program: 
https://www.hushmail.com/about.php?subloc=affiliate&l=427




More information about the kaffe mailing list