From owner-freebsd-bugs@FreeBSD.ORG Mon Jul 24 11:30:19 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4219B16A4E1 for ; Mon, 24 Jul 2006 11:30:19 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C3F543D6E for ; Mon, 24 Jul 2006 11:30:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6OBUDC0018254 for ; Mon, 24 Jul 2006 11:30:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6OBUCH6018253; Mon, 24 Jul 2006 11:30:13 GMT (envelope-from gnats) Resent-Date: Mon, 24 Jul 2006 11:30:13 GMT Resent-Message-Id: <200607241130.k6OBUCH6018253@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Christoph Mallon Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2948F16A4DA for ; Mon, 24 Jul 2006 11:20:53 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id B593643D58 for ; Mon, 24 Jul 2006 11:20:52 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k6OBKqBG031180 for ; Mon, 24 Jul 2006 11:20:52 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k6OBKqjT031179; Mon, 24 Jul 2006 11:20:52 GMT (envelope-from nobody) Message-Id: <200607241120.k6OBKqjT031179@www.freebsd.org> Date: Mon, 24 Jul 2006 11:20:52 GMT From: Christoph Mallon To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: kern/100774: libthr + gdb + triggered breakpoint results in panic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jul 2006 11:30:19 -0000 >Number: 100774 >Category: kern >Synopsis: libthr + gdb + triggered breakpoint results in panic >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 24 11:30:12 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Christoph Mallon >Release: RELENG_6 >Organization: >Environment: FreeBSD tron.homeunix.org 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue May 16 20:05:33 CEST 2006 root@tron.homeunix.org:/usr/obj/usr/src/sys/KERNEL i386 >Description: I libmap'ed libpthread.so.2 to libthr.so.2, because the former gives problems in gdb when the debugged process raises SIGABRT. (gdb claims it can't find the process anymore, this seems to be same problem as reported in threads/80992) I added a breakpoint and started the program I wanted to debug. The breakpoint was reached - gdb showed the usual output for reaching a breakpoint. Directly after my system rebooted. I tried this two more times with different breakpoints - same result. This happend as non-privileged user debugging openttd. (see ports/games/openttd, though I used version from the svn repo and not the port) It doesn't happen with libpthread. I couldn't test with libc_r, because gdb fails to fetch thread information. I'm sorry, I have no further information about this. I don't know if it happens with other programs being debugged in gdb or what the output on /dev/console was, because the program I debugged was an X program. >How-To-Repeat: - use libthr - debug (multithreaded) program in gdb - set a breakpoint - wait for breakpoint being reached -> system reboots >Fix: >Release-Note: >Audit-Trail: >Unformatted: