Comment 13 for bug 774175

Revision history for this message
Michael Hope (michaelh1) wrote :

I'm a bit confused. After installing libc6-dbg and also the ddebs, apt-get seems to segfault before hitting main:

root@ursa1:/# gdb /usr/bin/apt-get
GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
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 "arm-linux-gnueabi".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/apt-get...Reading symbols from /usr/lib/debug/usr/bin/apt-get...done.
done.
(gdb) b main
Breakpoint 1 at 0xef0e: file apt-get.cc, line 3264.
(gdb) r
Starting program: /usr/bin/apt-get

Program received signal SIGSEGV, Segmentation fault.
0x2ae45c02 in ?? ()
(gdb) back
#0 0x2ae45c02 in ?? ()
#1 0x2adf6858 in ?? ()
#2 0x2adf6858 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

According to /proc/<pid>/maps, the 0x2adxxxxx address is in libc6.