Your message dated Fri, 9 Dec 2005 21:26:38 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#318081: gdb segfaults before program is even started
(powerpc)
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 13 Jul 2005 10:49:47 +0000
>From [EMAIL PROTECTED] Wed Jul 13 03:49:47 2005
Return-path: <[EMAIL PROTECTED]>
Received: from dd1234.kasserver.com [81.209.148.157]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DseoB-0007hf-00; Wed, 13 Jul 2005 03:49:43 -0700
Received: by dd1234.kasserver.com (Postfix, from userid 65534)
id A700B14B665; Wed, 13 Jul 2005 12:49:41 +0200 (CEST)
Received: from localhost.localdomain
(83-216-138-129.rachel998.adsl.metronet.co.uk [83.216.138.129])
by dd1234.kasserver.com (Postfix) with ESMTP id 31E60144DA7;
Wed, 13 Jul 2005 12:49:40 +0200 (CEST)
Received: from voss by localhost.localdomain with local (Exim 4.52)
id 1Dseo7-0003T0-Ly; Wed, 13 Jul 2005 11:49:39 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Jochen Voss <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: gdb segfaults before program is even started (powerpc)
X-Mailer: reportbug 3.15
Date: Wed, 13 Jul 2005 11:49:39 +0100
Message-Id: <[EMAIL PROTECTED]>
X-Spam-score: -1.4
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Package: gdb
Version: 6.3-6
Severity: normal
Hello,
when trying to debug one of my programs I encountered a case where gdb
crashed on the command "break main" before my programm was even
started. The problem occurs on a powerpc machine.
Since the files are largish, I put them up on my web page instead of
appending them to this mail. The files are
http://seehuhn.de/data/gdb-bug - the binary
http://seehuhn.de/data/gdb-bug.i - the preprocessed source
1) Reproducing the bug. You will probably need the atlas3-base and
libg2c0 packages installed to reproduce this.
[EMAIL PROTECTED] [~/y] uname -a
Linux quiche 2.6.12 #1 Wed Jun 22 13:34:21 BST 2005 ppc GNU/Linux
[EMAIL PROTECTED] [~/y] ldd gdb-bug
ldd: warning: you do not have execution permission for `./gdb-bug'
libm.so.6 => /lib/libm.so.6 (0x0ff6b000)
liblapack.so.3 => /usr/lib/atlas/liblapack.so.3 (0x0f9c5000)
libblas.so.3 => /usr/lib/atlas/libblas.so.3 (0x0f4c0000)
libg2c.so.0 => /usr/lib/libg2c.so.0 (0x0f481000)
libc.so.6 => /lib/libc.so.6 (0x0f322000)
/lib/ld.so.1 => /lib/ld.so.1 (0x08000000)
[EMAIL PROTECTED] [~/y] dpkg -S /usr/lib/atlas/liblapack.so.3
/usr/lib/atlas/libblas.so.3 /usr/lib/libg2c.so.0
atlas3-base: /usr/lib/atlas/liblapack.so.3
atlas3-base: /usr/lib/atlas/libblas.so.3
libg2c0: /usr/lib/libg2c.so.0
[EMAIL PROTECTED] [~/y] gdb gdb-bug
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "powerpc-linux"...Using host libthread_db
library "/lib/libthread_db.so.1".
(gdb) break main
Segmentation fault
2) Regenerating the binary. The binary gdb-bug was compiled from
gdb-bug.i using the following two commands:
[EMAIL PROTECTED] [~/y] gcc -ggdb3 -c gdb-bug.i
[EMAIL PROTECTED] [~/y] gcc -ggdb3 -o gdb-bug gdb-bug.o -lm -llapack -lblas
-lg2c
If you need additional information, please let me know.
I hope this helps,
Jochen
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12
Locale: LANG=en_GB.iso885915, LC_CTYPE=en_GB.iso885915 (charmap=ISO-8859-15)
Versions of packages gdb depends on:
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libncurses5 5.4-8 Shared libraries for terminal hand
ii libreadline4 4.3-15 GNU readline and history libraries
gdb recommends no packages.
-- no debconf information
---------------------------------------
Received: (at 318081-done) by bugs.debian.org; 10 Dec 2005 02:26:39 +0000
>From [EMAIL PROTECTED] Fri Dec 09 18:26:39 2005
Return-path: <[EMAIL PROTECTED]>
Received: from nevyn.them.org ([66.93.172.17] ident=Debian-exim)
by spohr.debian.org with esmtp (Exim 4.50)
id 1EkuRb-0001cY-9D
for [EMAIL PROTECTED]; Fri, 09 Dec 2005 18:26:39 -0800
Received: from drow by nevyn.them.org with local (Exim 4.54)
id 1EkuRa-0007bh-GN; Fri, 09 Dec 2005 21:26:38 -0500
Date: Fri, 9 Dec 2005 21:26:38 -0500
From: Daniel Jacobowitz <[EMAIL PROTECTED]>
To: Jochen Voss <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: Bug#318081: gdb segfaults before program is even started (powerpc)
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.8i
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
Version: 6.3.90.20051119-1
On Wed, Jul 13, 2005 at 11:49:39AM +0100, Jochen Voss wrote:
> when trying to debug one of my programs I encountered a case where gdb
> crashed on the command "break main" before my programm was even
> started. The problem occurs on a powerpc machine.
I'm not entirely sure why I didn't see Alan Curry's followup to this
bug. In any case, it was fixed around the same time upstream by Jim
Blandy - the patch was checked in November 3rd. That patch is in the
current package in unstable.
GCC has been fixed too, but I do not know on which branches.
--
Daniel Jacobowitz
CodeSourcery, LLC
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]