libthr & jdk14: cv problems ?

Alexey Zelkin phantom at FreeBSD.org.ua
Wed Jun 25 04:07:27 PDT 2003


hi,

Hmmm...  libthr is also having problem with compiling jdk14.  At some
point (could not find a some logic in lockups yet), java processes lock
up.  I have expirienced few lockups and DDB's ps output looks almost same
for all cases (examples below).

For one of these lockups I have did gcore got backtrace (also below).

IMPORTANT NOTE:  I also should note that previous problem I posted
about libkse about hour ago is NOT an issue for libthr.  At least looks like,
because with libthr build process passed far longer than with libkse.

44394 c4453d3c e0e76000 1001 44393 26249 0004002 [SLP]pause 0xc472e000] javac
[SLP]pause 0xc472e000] javac
[SLP]pause 0xc472e000] javac
[CV]select 0xc038c5f4] javac
[SLP]pause 0xc472e000] javac
[SLP]pause 0xc472e000] javac
[SLP]pause 0xc472e000] javac
[SLP]pause 0xc472e000] javac
[SLP]pause 0xc472e000] javac

49226 c47d3974 e0ea1000 1001 49225 44442 0004002 [SLP]pause 0xc4a74000] java
[SLP]pause 0xc4a74000] java
[SLP]pause 0xc4a74000] java
[CV]select 0xc038c5f4] java
[SLP]pause 0xc4a74000] java
[SLP]pause 0xc4a74000] java
[SLP]pause 0xc4a74000] java
[SLP]pause 0xc4a74000] java
[SLP]pause 0xc4a74000] java

#0  0x280c9df3 in sigtimedwait () from /usr/lib/libc.so.5
No symbol table info available.
#1  0x2807aadf in _thread_suspend (pthread=0x80513e4, abstime=0x0)
    at /home/phantom/src5/lib/libthr/thread/thr_kern.c:207
        remaining = {tv_sec = -1080656532, tv_nsec = 671590325}
        ts = (struct timespec *) 0x159
        info = {si_signo = -2147483644, si_errno = 0, si_code = 0, si_pid = 0,
  si_uid = 671605680, si_status = 134544352, si_addr = 0xbf967d9c, si_value = {
    sigval_int = 671594420, sigval_ptr = 0x2807b7b4}, si_band = 134924288,
  __spare__ = {0, 0, 671600686, 134544380, 671605680, 3, 671605680}}
        set = {__bits = {134924328, 3214310740, 0, 0}}
        error = 345
#2  0x2807b7b4 in cond_wait_common (cond=0x80513e4, mutex=0x80513e0,
    abstime=0x0) at /home/phantom/src5/lib/libthr/thread/thr_cond.c:287
        rval = 134544380
        done = 134544352
        seqno = 3
        mtxrval = 345
#3  0x2807b4ae in _pthread_cond_wait (cond=0x159, mutex=0x159)
    at /home/phantom/src5/lib/libthr/thread/thr_cond.c:175
        rval = 345



More information about the freebsd-threads mailing list