From owner-freebsd-threads@FreeBSD.ORG Fri May 12 12:00:53 2006 Return-Path: X-Original-To: threads@freebsd.org Delivered-To: freebsd-threads@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2599416A46D for ; Fri, 12 May 2006 12:00:53 +0000 (UTC) (envelope-from avleeuwen@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8606F43D62 for ; Fri, 12 May 2006 12:00:38 +0000 (GMT) (envelope-from avleeuwen@gmail.com) Received: by wx-out-0102.google.com with SMTP id s19so308841wxc for ; Fri, 12 May 2006 05:00:38 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=MlC9nHDmp3yTKDx5sxGRm8OI7dvcrvn2y5DpxvPQLh4fqpyZVIi+ISQxEJHObFm4lzTt/TY2gP8jN8EQvQ4libDHQx+dCtgxG/F+meCnqY1ACOIvGude9JOOiL1te0kUStSaZ9fz/jMXGfrW/BZgZVJc3qGhr8hgTY7IcyUhiFg= Received: by 10.70.100.16 with SMTP id x16mr2818239wxb; Fri, 12 May 2006 05:00:36 -0700 (PDT) Received: by 10.70.97.17 with HTTP; Fri, 12 May 2006 05:00:36 -0700 (PDT) Message-ID: Date: Fri, 12 May 2006 14:00:36 +0200 From: "Arjan van Leeuwen" To: threads@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Using libthr causes SIGFPE when running Qt applications in gdb X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: avleeuwen@piwebs.com List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 12:00:53 -0000 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