Your message dated Fri, 24 May 2013 15:33:08 +0000
with message-id <[email protected]>
and subject line Bug#581707: fixed in gdb 7.6-3
has caused the Debian Bug report #581707,
regarding gdb: refuses to print errno
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
581707: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581707
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gdb
Version: 7.1-1
Severity: important
gdb refuses to print errno on amd64, regardless of whether the program
in question is 32-bit or 64-bit. libc6-dbg is installed.
In my opinion, not being able to print errno makes gdb significantly
less useful. errno is an essential and important part of libc6, and not
supporting it is a really, really bad idea.
If gdb has never worked on errno, ever, then you may feel free to
downgrade this to wishlist.
I have determined, though, that gdb does work if you issue the command
"set environment LD_PRELOAD /usr/lib/libefence.so" before "run" to use
Electric Fence. This is bizarre.
Transcript:
lakeview no % gdb --args ./readdir libpst-0.6.45
GNU gdb (GDB) 7.1-debian
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /tmp/readdir...done.
(gdb) run
Starting program: /tmp/readdir libpst-0.6.45
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7ad2092 in _IO_vfprintf_internal (s=0x7fffffffc870, format=<value
optimized out>, ap=0x7fffffffd060) at vfprintf.c:1601
1601 vfprintf.c: No such file or directory.
in vfprintf.c
(gdb) bt
#0 0x00007ffff7ad2092 in _IO_vfprintf_internal (s=0x7fffffffc870,
format=<value optimized out>, ap=0x7fffffffd060) at vfprintf.c:1601
#1 0x00007ffff7ad3d00 in buffered_vfprintf (s=0x7ffff7ddb880,
format=0x400970 ": %s\n", args=0x20) at vfprintf.c:2241
#2 0x00007ffff7acebce in _IO_vfprintf_internal (s=0x7ffff7ddb880,
format=0x400960 "Error reading %s: %s\n", ap=0x7fffffffd060)
at vfprintf.c:1306
#3 0x00007ffff7ad9368 in __fprintf (stream=0xf7ba4cd6, format=0x400970 ":
%s\n") at fprintf.c:33
#4 0x00000000004007ef in main (argc=2, argv=0x7fffffffe268) at readdir.c:20
(gdb) frame 4
#4 0x00000000004007ef in main (argc=2, argv=0x7fffffffe268) at readdir.c:20
20 fprintf(stderr, "Error reading %s:
%s\n", argv[i],
(gdb) print argv[i]
$1 = 0x7fffffffe67a "libpst-0.6.45"
(gdb) print errno
Cannot find thread-local variables on this target
(gdb)
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gdb depends on:
ii gdbserver 7.1-1 The GNU Debugger (remote server)
ii libc6 2.10.2-8 Embedded GNU C Library: Shared lib
ii libexpat1 2.0.1-7 XML parsing C library - runtime li
ii libncurses5 5.7+20100313-2 shared libraries for terminal hand
ii libreadline6 6.1-2 GNU readline and history libraries
ii python2.5 2.5.5-6 An interactive high-level object-o
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
gdb recommends no packages.
Versions of packages gdb suggests:
pn gdb-doc <none> (no description available)
-- no debconf information
--
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Source: gdb
Source-Version: 7.6-3
We believe that the bug you reported is fixed in the latest version of
gdb, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Héctor Orón Martínez <[email protected]> (supplier of updated gdb package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 24 May 2013 11:37:49 +0200
Source: gdb
Binary: gdb gdb-minimal gdb64 gdb-multiarch gdbserver gdb-source
Architecture: source all
Version: 7.6-3
Distribution: unstable
Urgency: low
Maintainer: Héctor Orón Martínez <[email protected]>
Changed-By: Héctor Orón Martínez <[email protected]>
Description:
gdb - The GNU Debugger
gdb-minimal - The GNU Debugger
gdb-multiarch - The GNU Debugger (with support for multiple architectures)
gdb-source - The GNU Debugger (source)
gdb64 - The GNU Debugger (64-bit)
gdbserver - The GNU Debugger (remote server)
Closes: 581707 709232 709508
Changes:
gdb (7.6-3) unstable; urgency=low
.
[ Héctor Orón Martínez ]
* d/gbp.conf:
- switch debian-branch to master
* d/control{,.in}:
- add replaces gdb-multiarch (<< 7.6-1). (Closes: #709232)
* d/p/gdb-6.5-bz185337-resolve-tls-without-debuginfo-v2.patch:
- fix refuses to print errno. (Closes: #581707)
* d/rules:
- check if gdb.sum exists before installing in shared doc.
.
[ Svante Signell ]
* d/p/solve_PATH_MAX_issue.patch:
- new patch fixes FTBFS on hurd. (Closes: #709508)
Checksums-Sha1:
c33bab1a2f1a7826b9a5a26779736524d04bab7d 2584 gdb_7.6-3.dsc
56e26a30f5cc1c18513ed564d5e2c13d8a23fc72 50366 gdb_7.6-3.debian.tar.gz
843799671d5e073987fbbdfde84de834acf2a900 22950956 gdb-source_7.6-3_all.deb
Checksums-Sha256:
d170006edf7374e859baa41cce48a77c8636908297a567d307e2ac136f75f404 2584
gdb_7.6-3.dsc
232810f0c8e1ed37098cf44bc2e22553e9890e77035013b2ae8f6f21810eb8f8 50366
gdb_7.6-3.debian.tar.gz
f54c2b4b7695e2488dc7b8ebceb8987b04a3c7b980bf882c7de68fd8f82707ed 22950956
gdb-source_7.6-3_all.deb
Files:
9d20406754aaec60154a1534a077bb33 2584 devel optional gdb_7.6-3.dsc
9d4120cf3e6a48b2f4e9f8fff3a4484e 50366 devel optional gdb_7.6-3.debian.tar.gz
9e97d80af2a83215c1e6f7b00f8170b6 22950956 devel optional
gdb-source_7.6-3_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCgAGBQJRn4UtAAoJEK8ig6p24qx7soIQALZx8AZ347cZKkKh2qzatdGD
RiBdxcsY3U8klOjQcw7ucrbjXBhvE8FYjmD56eSbVU2KVByCs6jTeK4KFXMdpQsS
mNvSW0MLAQFpRyymkpCCP8Gz2beG8vA3hIqUhQAdErsp9CbTzltj69i5lNMFBTks
r+X2+14UdWqG0pvrdpuBUAUbumfSG+5awon4/48jI8XkeOn5WA+0QvztY/F6DRI4
ntotzo3Ux6Zvghsqqk9IwVFmFdtMPV6kpNDKHmbpJa08a1ADVzs7JQ2DyDo4lUrB
BsbUuisrH1Ws0NByNnCCgIummt7grLZ7o+jdAxNNLJ8RNxWp9zZ288BOEVaqLL+M
C2oRvZOCGxdJI88SKFAEXLiXUmh/kv64qDJO1985O2OKBDjZI+ZQG0V8+kSNljw/
7WuaapMeUJf7QPAxRng7eusVQB+VkzohrCFQR+1Sqxf10lEEc8JpJyxrgLpsKP2R
M9y7p5RE7Twh4pxV1Hy/Wm1qe0LDwZQJZw+g/6gokExWFUUc83Z+ZIv360DvoSt2
FRM9EQuOuveCS6GtpLLoVTiG+vaAgjm9Q/Pkt+AgFxvqcRV5tyyQi1wlzbscj45a
Lwy1kWNRCedP+P93Ouqv0yeCDG6AZjAoxMhPAGMGTjn+67+Ny2FghbptSN8k9e1j
o0gvi395BiCqA+rZd1F8
=qS+j
-----END PGP SIGNATURE-----
--- End Message ---