Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: When running firefox in gdb, gdb crashes with segmentaion fault Version-Release number of selected component (if applicable): gdb-7.1-9.fc13.i686 How reproducible: Always Steps to Reproduce: 1.gdb firefox 2. 3. Actual results: GNU gdb (GDB) Fedora (7.1-9.fc13) 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 "i686-redhat-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Segmentation fault (core dumped) Expected results: Additional info: 1. I tested this with firefox-3.6.3-2.fc13.i686 2. gdb gdb, then run firefox inside gdb gdb gdb ======== GNU gdb (GDB) Fedora (7.1-9.fc13) 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 "i686-redhat-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/gdb...(no debugging symbols found)...done. Missing separate debuginfos, use: debuginfo-install gdb-7.1-9.fc13.i686 (gdb) run firefox =================== Starting program: /usr/bin/gdb firefox [Thread debugging using libthread_db enabled] Detaching after fork from child process 2731. GNU gdb (GDB) Fedora (7.1-9.fc13) 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 "i686-redhat-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Program received signal SIGSEGV, Segmentation fault. 0x0826ad50 in bfd_check_format_matches () bt ==== #0 0x0826ad50 in bfd_check_format_matches () #1 0x0826b151 in bfd_check_format () #2 0x08086b55 in exec_file_attach () #3 0x0808417c in ?? () #4 0x081931fa in catch_command_errors () #5 0x08084de6 in ?? () #6 0x0819328d in catch_errors () #7 0x08084013 in gdb_main () #8 0x08083fca in main ()
Stupid bug (of mine, just in the Fedora branch), thanks! FYI it is due to /usr/bin/firefox is a script but you probably already know. It has some -g|--debug support option.
gdb-7.1-12.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/gdb-7.1-12.fc13
gdb-7.1-12.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
*** Bug 581831 has been marked as a duplicate of this bug. ***
*** Bug 581866 has been marked as a duplicate of this bug. ***