[kaffe] build failure if old version present, ServletContext.setAttribute

Greg Wooledge greg@wooledge.org
Wed May 28 16:54:01 2003


--IGm81t4p5ot0iv02
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Dalibor Topic (robilad@yahoo.com) wrote:

> > assertion "blk->free !=3D 0" failed: file "mem/gc-mem.c", line 324
>=20
> Does running with -vmdebug GCDIAG help to provoke it faster?

I had to rebuild with --enable-debug....

$ time java -vmdebug GCDIAG freenet.node.Main           =20
assertion "gc_heap_isobject(info, unit)" failed: file "mem/gc-incremental.c=
", line 259
Abort (core dumped)=20
    1.91s real     1.73s user     0.12s system

$ time java freenet.node.Main               =20
Illegal instruction (core dumped)=20
   97.39s real    35.61s user     2.57s system

Here's the core dump backtrace for the second one:

#0  0x401cb0bd in getaddrinfo ()
#1  0x401cb5fd in getaddrinfo ()
#2  0x401cb3a9 in getaddrinfo ()
#3  0x401ca9fb in getaddrinfo ()
#4  0x401c9a58 in getaddrinfo ()
#5  0x401c98d3 in getaddrinfo ()
#6  0x407e8543 in java_net_NativeInetAddressImpl_lookupAllHostAddr0 (
    none=3D0x417ff0, jStr=3D0x25f4dc8) at InetAddressImpl.c:160
#7  0x46323d in ?? ()
#8  0x43855b in ?? ()
#9  0x466218 in ?? ()
#10 0x465239 in ?? ()
#11 0x1502471 in ?? ()
#12 0xa5d641 in ?? ()
#13 0x22a12ea in ?? ()
#14 0xab22d6 in ?? ()
#15 0x400591a2 in callMethodV (meth=3D0xa31880, func=3D0xab2010, obj=3D0x1a=
98c20,=20
    args=3D0x1e0df94 "=A7\233\005@`@\t@=C8=B1\001@=BC=BC\t@", ret=3D0x1e0db=
ec)
    at ../../config/i386/common.h:38
#16 0x400452d5 in Kaffe_CallVoidMethodV (env=3D0x4009617c, obj=3D0x1a98c20,=
=20
    meth=3D0xa31880, args=3D0x1e0df94 "=A7\233\005@`@\t@=C8=B1\001@=BC=BC\t=
@") at jni.c:1094
#17 0x40045372 in Kaffe_CallVoidMethod (env=3D0x4009617c, obj=3D0x1a98c20,=
=20
    meth=3D0xa31880) at jni.c:1107
#18 0x4005a17c in firstStartThread (arg=3D0x1a98c20) at thread.c:357
#19 0x40083394 in start_this_sucker_on_a_new_frame () at jthread.c:1266
#20 0x40083514 in jthread_create (pri=3D596, func=3D0, daemon=3D1000,=20
    jlThread=3D0x196f960, threadStackSize=3D0) at jthread.c:1336

So I ran it again:

$ time java freenet.node.Main                         =20
assertion "!INTS_DISABLED()" failed: file "exception.c", line 398
Abort (core dumped)=20
   66.19s real    32.22s user     2.16s system

#0  0x401f327b in kill ()
#1  0x401f2bd7 in abort ()
#2  0x401adf53 in __assert ()
#3  0x400372fc in dispatchException (eobj=3D0x1f0d638, baseframe=3D0x19d1e9=
8)
    at exception.c:398
#4  0x40037594 in floatingException (frame=3D0x1c8e38) at exception.c:542
#5  0x4008642c in nullException (sig=3D11, code=3D1871528, ctx=3D0x1c8e58)
    at signal.c:87
#6  0x40009004 in ?? ()
#7  0x40059f50 in startSpecialThread (arg=3D0x1a34b0) at thread.c:274
#8  0x40083394 in start_this_sucker_on_a_new_frame () at jthread.c:1266
#9  0x40083514 in jthread_create (pri=3D11,=20
    func=3D0x40059f1c <startSpecialThread>, daemon=3D-809511144,=20
    jlThread=3D0x40059c19, threadStackSize=3D1074109355) at jthread.c:1336
#10 0x40059bf8 in createThread (tid=3D0x1a34b0, func=3D0x40059f1c,=20
    stacksize=3D16384, einfo=3D0xcfbfd798) at thread.c:121
#11 0x4005a032 in createDaemon (func=3D0x4003b23c, nm=3D0x4003c8eb "gc",=20
    arg=3D0x4009acac, prio=3D11, stacksize=3D16384, einfo=3D0xcfbfd798) at =
thread.c:313
#12 0x4003c981 in gcEnable (collector=3D0x4009acac) at mem/gc-incremental.c=
:1093
#13 0x40027610 in initialiseKaffe () at baseClasses.c:214
#14 0x40041abb in JNI_CreateJavaVM (vm=3D0x9310, env=3D0x9488, args=3D0x931=
8)
    at jni.c:205

Good luck.

--=20
Greg Wooledge                  |   "Truth belongs to everybody."
greg@wooledge.org              |    - The Red Hot Chili Peppers
http://wooledge.org/~greg/     |

--IGm81t4p5ot0iv02
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (OpenBSD)

iD8DBQE+1UywkAkqAYpL9t8RAjpvAJ4mMQVxqkcqLcMgTVhxk8m/U8O61ACdGjTu
X93lfu02Y1Qm+MLuINcw2Kk=
=YI3c
-----END PGP SIGNATURE-----

--IGm81t4p5ot0iv02--