← Back to team overview

touch-packages team mailing list archive

[Bug 319418] Re: gdb crashes when debugging firefox after an exec

 

closing this rather old issue. sorry for not addressing this earlier.
Please could you recheck with the recent 14.04 LTS or 14.10 releases and
reopen the issue if the problem persists?

** Changed in: gdb (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gdb in Ubuntu.
https://bugs.launchpad.net/bugs/319418

Title:
  gdb crashes when debugging firefox after an exec

Status in “gdb” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: gdb

  Create a simple program, gdbcrash.c, that runs firefox:

  #include <unistd.h>

  int main(int argc, char* argv[]) {
      execl("/usr/bin/firefox", "firefox", NULL);
      return 1;
  }

  Compile it, and run it in gdb. Make sure firefox is not already
  running, or change the program so it starts firefox with a different
  profile.

  Here's what I get:

  $ gdb ./gdbcrash 
  GNU gdb 6.8-debian
  Copyright (C) 2008 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 "i486-linux-gnu"...
  (gdb) run
  Starting program: /home/dima/gdbcrash 
  Executing new program: /bin/dash
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  Executing new program: /usr/lib/firefox-3.0.5/firefox
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  [Thread debugging using libthread_db enabled]
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  [New Thread 0xb7c646c0 (LWP 24972)]
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  ---Type <return> to continue, or q <return> to quit---
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  [New Thread 0xb5c5cb90 (LWP 24975)]
  [New Thread 0xb5319b90 (LWP 24976)]
  [New Thread 0xb4b18b90 (LWP 24977)]
  [Thread 0xb5c5cb90 (LWP 24975) exited]
  [Thread 0xb4b18b90 (LWP 24977) exited]
  [Thread 0xb5319b90 (LWP 24976) exited]
  [New process 24972]
  Executing new program: /usr/lib/firefox-3.0.5/firefox
  warning: Cannot initialize thread debugging library: generic error
  warning: Cannot initialize thread debugging library: generic error
  (no debugging symbols found)
  [New process 24972]
  (no debugging symbols found)
  [Thread debugging using libthread_db enabled]
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  (no debugging symbols found)
  Segmentation fault

  
  This happens in Ubuntu 8.04 and 8.10.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/319418/+subscriptions