SIGFPE with libthr and gdb

David Xu davidxu at freebsd.org
Wed Apr 25 07:25:23 UTC 2007


mal content wrote:
> Hello.
> 
> When using this libmap.conf:
> 
> libpthread.so.2         libthr.so.2
> libpthread.so           libthr.so
> libc_r.so.6             libthr.so.2
> libc_r.so               libthr.so
> 
> ...nearly every program receives SIGFPE when calling various
> functions, when running under gdb. strtol() is one example.
> 
> Is this a well known problem, before I file a bug report?
> 
> I'm on FreeBSD 6.2-RELEASE.
> 
> MC

try to update fbsd-threads.c to revision 1.13.2.3, this may resolve the
problem.

http://www.freebsd.org/cgi/cvsweb.cgi/src/gnu/usr.bin/gdb/libgdb/fbsd-threads.c

Regards,
David Xu



More information about the freebsd-hackers mailing list