[Bug 1719110] Re: gdb gets SIGSEGV before calling main()

Etienne Papegnies etienne.papegnies at univ-avignon.fr
Mon Sep 25 11:27:21 UTC 2017


** Also affects: gdb (Ubuntu)
   Importance: Undecided
       Status: New

** No longer affects: ubuntu-mate

-- 
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