threads/121343: pthread_cond_wait hanging in libthr

Josh Carroll josh.carroll at gmail.com
Wed Mar 5 03:10:04 UTC 2008


The following reply was made to PR threads/121343; it has been noted by GNATS.

From: "Josh Carroll" <josh.carroll at gmail.com>
To: "David Xu" <davidxu at freebsd.org>
Cc: freebsd-gnats-submit at freebsd.org
Subject: Re: threads/121343: pthread_cond_wait hanging in libthr
Date: Tue, 4 Mar 2008 22:01:54 -0500

 >  This should not happen, I am not sure if there is memory problem in the
 >  program.
 >
 >  Regards,
 >  David Xu
 >
 
 Here is what I see when gdb first starts, libthr/error emphasized by
 inserting blank lines around those parts of the gdb output:
 
 Attaching to program: /usr/local/bin/ushare, process 68900
 Reading symbols from /usr/local/lib/libupnp.so.3...done.
 Loaded symbols for /usr/local/lib/libupnp.so.3
 Reading symbols from /usr/local/lib/libthreadutil.so.4...done.
 Loaded symbols for /usr/local/lib/libthreadutil.so.4
 Reading symbols from /usr/local/lib/libixml.so.2...done.
 Loaded symbols for /usr/local/lib/libixml.so.2
 Reading symbols from /lib/libc.so.7...done.
 Loaded symbols for /lib/libc.so.7
 
 Reading symbols from /lib/libthr.so.3...done.
 [New Thread 0x40e01290 (LWP 100363)]
 Error while reading shared library symbols:
 Cannot get thread info: invalid key
 
 Reading symbols from /usr/lib/liblwres.so.30...done.
 Loaded symbols for /usr/lib/liblwres.so.30
 Reading symbols from /libexec/ld-elf.so.1...done.
 Loaded symbols for /libexec/ld-elf.so.1
 0x00000000409d08da in _umtx_op () from /lib/libc.so.7
 
 Perhaps I need to rebuild libthr?
 
 Josh


More information about the freebsd-threads mailing list