Re: SIGFPE with libthr and gdb



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

_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • SIGFPE with libthr and gdb
    ... ...nearly every program receives SIGFPE when calling various ... functions, when running under gdb. ... strtol() is one example. ...
    (freebsd-hackers)
  • Re: Print function name of calling function?
    ... print the name of the function calling f3which could either be f1 ... In gdb it is possible to get a call trace, how can gdb get the call ... You still might not have permission to access it in any case. ... No, you can't depend on having dynamic-linked libraries, ...
    (comp.lang.c)
  • Re: kinit locking up
    ... which causes the pthread library to be loaded, and the Kerberos library is calling pthread_mutex_lock on a structure which it hasn't initialized, when the LDAP code is loaded. ... Unfortunately, in this setup I'm using at the moment, gdb doesn't seem to be working, so I'm going to try a couple other things... ... for the thread support once, and saving away a flag; if it wasn't loaded at mutex initialization time, we shouldn't be calling pthread_mutex_lock. ...
    (comp.protocols.kerberos)
  • How to debug threads
    ... i'm trying to debug a program using gdb. ... Right now i'm putting a breakpoint in that function whose address is ... How can i make the calling fucntion wait till the thread finishes its ...
    (comp.unix.programmer)