Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 May 2006 14:00:36 +0200
From:      "Arjan van Leeuwen" <avleeuwen@gmail.com>
To:        threads@freebsd.org
Subject:   Using libthr causes SIGFPE when running Qt applications in gdb
Message-ID:  <d86b48730605120500t499a4e83o99fd4eb07536976e@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
When using libthr (mapped from libpthread via libmap.conf) on FreeBSD
6.1-RELEASE, I can't run any Qt applications from gdb. Any application I ru=
n
reports:

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0x8c93000 (LWP 100120)]
0x2915ddb7 in QLocalePrivate::stringToDouble () from /usr/X11R6/lib/libqt-
mt.so.3
(gdb) bt
#0 0x2915ddb7 in QLocalePrivate::stringToDouble () from
/usr/X11R6/lib/libqt-mt.so.3
#1 0x2917308c in QString::toDouble () from /usr/X11R6/lib/libqt-mt.so.3
#2 0x28e8967b in QFont::fromString () from /usr/X11R6/lib/libqt-mt.so.3
#3 0x28e0d712 in QApplication::x11_apply_settings () from
/usr/X11R6/lib/libqt-mt.so.3
#4 0x28e0e63e in qt_set_x11_resources () from /usr/X11R6/lib/libqt-mt.so.3
#5 0x28e126fe in qt_init_internal () from /usr/X11R6/lib/libqt-mt.so.3
#6 0x28e14bac in qt_init () from /usr/X11R6/lib/libqt-mt.so.3
#7 0x28e74231 in QApplication::construct () from /usr/X11R6/lib/libqt-
mt.so.3
#8 0x28e7465c in QApplication::QApplication () from /usr/X11R6/lib/libqt-
mt.so.3

The applications run fine outside of gdb or when switching back to
libpthread. Is this a known problem? If so, is there also a known solution?
:)

Best regards,

Arjan van Leeuwen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d86b48730605120500t499a4e83o99fd4eb07536976e>