[Bug 1719110] Re: gdb gets SIGSEGV before calling main()
Jim Starkey
1719110 at bugs.launchpad.net
Mon Sep 25 14:54:54 UTC 2017
apt-get upgrade reported that gdb was up to date. However, removing and
re-installing gdb with apt-get got it working again.
The gdb packaging? The upgrade procedure?
I have a copy of the systems with bad gdb instances if anyone would like
to take this on.
But for now, I'm out of the woods...
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gdb in Ubuntu.
https://bugs.launchpad.net/bugs/1719110
Title:
gdb gets SIGSEGV before calling main()
Status in gdb package in Ubuntu:
New
Bug description:
This about covers it:
jas at rpi3:~$ cat foo.cpp
#include <stdio.h>
int main (int argc, const char **argv)
{
printf("hello, world\n");
return 0;
}
jas at rpi3:~$ g++ foo.cpp
jas at rpi3:~$ gdb a.out
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 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-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from a.out...(no debugging symbols found)...done.
(gdb) r
Starting program: /home/jas/a.out
Program received signal SIGSEGV, Segmentation fault.
0x76fd9dde in ?? () from /lib/ld-linux-armhf.so.3
(gdb)
I can't image how this can be. It seems to happen on all images.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/1719110/+subscriptions
More information about the foundations-bugs
mailing list