Discussion:
SIGFPE with libthr and gdb
(too old to reply)
mal content
2007-04-25 03:01:45 UTC
Permalink
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
David Xu
2007-04-25 07:25:47 UTC
Permalink
Post by mal content
Hello.
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

Loading...