Date: Wed, 25 Jun 2003 15:15:28 +0300 From: Alexey Zelkin <phantom@FreeBSD.org.ua> To: threads@freebsd.org Subject: more details (was: Re: libthr & jdk14: cv problems ?) Message-ID: <20030625151528.A13514@phantom.cris.net> In-Reply-To: <20030625141446.A13215@phantom.cris.net>; from phantom@FreeBSD.org.ua on Wed, Jun 25, 2003 at 02:14:46PM %2B0300 References: <20030625141446.A13215@phantom.cris.net>
next in thread | previous in thread | raw e-mail | index | archive | help
hi, More details on libthr issue: First, there's no schema in lockups, i.e. while doing few clean rebuilds of jdk14 tree I have expirienced lockups in random places. Second, after I switched to debug version of java compiler (with lots of additional asserts and checks) I have hit into assert "suspend thread failed". Unfortunatelly I was unable to find exact place where this assert is trigerred because of 'third detail' (below). Quick source analyzis shown that most _probably_ this assert was trigerred because of pthread_resume_np() or pthread_cond_wait() functions returned non-successful value. Third, it is not possible to run application in gdb while libthr is default threading library. gdb always fails with: : Program received signal ?, Unknown signal. : 0x2811ca64 in _ctx_start () from /usr/lib/libc.so.5 : (gdb) bt : #0 0x2811ca64 in _ctx_start () from /usr/lib/libc.so.5 : #1 0x28077150 in _thread_start () : at /home/phantom/src5/lib/libthr/thread/thr_create.c:213 : (gdb) bt full : #0 0x2811ca64 in _ctx_start () from /usr/lib/libc.so.5 : No symbol table info available. : #1 0x28077150 in _thread_start () : at /home/phantom/src5/lib/libthr/thread/thr_create.c:213 : next_uniqueid = 3 : _thread_next_offset = 56 : _thread_uniqueid_offset = 8 : _thread_state_offset = 836 : _thread_name_offset = 4 : _thread_ctx_offset = 128 : _thread_PS_RUNNING_value = 0 : _thread_PS_DEAD_value = 6 : (gdb)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030625151528.A13514>