Bug#889890: firefox: unable to start running firefox in gdb even with firefox-dbgsym installed

shirish शिरीष shirishag75 at gmail.com
Thu Feb 8 11:08:29 UTC 2018


Package: firefox
Version: 58.0.1-1
Severity: important

Dear Maintainer,

I am unable to run firefox under gdb, it gives out an error saying -

Type "apropos word" to search for commands related to "word"...
"/usr/bin/firefox": not in executable format: File format not recognized

This is when firefox-esr is not running, only firefox running and have
debug symbols of both versions .

Some info. that might help -

/home/shirish> firefox --version
Mozilla Firefox 58.0.1

/home/shirish> gdb firefox
GNU gdb (Debian 7.12-6+b1) 7.12.0.20161007-git
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 "x86_64-linux-gnu".
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"...
"/usr/bin/firefox": not in executable format: File format not recognized
(gdb) quit

/home/shirish> which firefox
/usr/bin/firefox

/home/shirish> ls -l /usr/bin/firefox
-rwxr-xr-x 1 root root 113 Jan 24 14:18 /usr/bin/firefox

/home/shirish> gdb firefox-esr
GNU gdb (Debian 7.12-6+b1) 7.12.0.20161007-git
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 "x86_64-linux-gnu".
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 firefox-esr...Reading symbols from
/usr/lib/debug/.build-id/38/c15eb0fe6a883d76452734bc4af4bceb3b6144.debug...done.
done.
(gdb) quit

/home/shirish> dpkg -l firefox-dbgsym
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                   Version
Architecture             Description
+++-======================================-========================-========================-=================================================================================
ii  firefox-dbgsym                         58.0.1-1
amd64                    debug symbols for firefox

-- Package-specific info:


-- Addons package information

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable-debug'), (500,
'testing-debug'), (1, 'experimental-debug'), (1, 'experimental'), (1,
'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IN.UTF-8, LC_CTYPE=en_IN.UTF-8 (charmap=UTF-8)
(ignored: LC_ALL set to en_IN.UTF-8), LANGUAGE=en_IN.UTF-8
(charmap=UTF-8) (ignored: LC_ALL set to en_IN.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages firefox depends on:
ii  debianutils               4.8.4
ii  fontconfig                2.12.6-0.1
ii  libatk1.0-0               2.26.1-3
ii  libc6                     2.26-4
ii  libcairo-gobject2         1.15.10-1
ii  libcairo2                 1.15.10-1
ii  libdbus-1-3               1.12.2-1
ii  libdbus-glib-1-2          0.110-2
ii  libevent-2.1-6            2.1.8-stable-4
ii  libffi6                   3.2.1-8
ii  libfontconfig1            2.12.6-0.1
ii  libfreetype6              2.8.1-1
ii  libgcc1                   1:7.2.0-19
ii  libgdk-pixbuf2.0-0        2.36.11-1
ii  libglib2.0-0              2.54.3-2
ii  libgtk-3-0                3.22.26-2
ii  libgtk2.0-0               2.24.32-1
ii  libhunspell-1.6-0         1.6.2-1
ii  libjsoncpp1               1.7.4-3
ii  libnspr4                  2:4.18-1
ii  libnss3                   2:3.35-2
ii  libpango-1.0-0            1.40.14-1
ii  libsqlite3-0              3.22.0-1
ii  libstartup-notification0  0.12-5
ii  libstdc++6                7.2.0-19
ii  libvpx4                   1.6.1-3
ii  libx11-6                  2:1.6.4-3
ii  libx11-xcb1               2:1.6.4-3
ii  libxcb-shm0               1.12-1
ii  libxcb1                   1.12-1
ii  libxcomposite1            1:0.4.4-2
ii  libxdamage1               1:1.1.4-3
ii  libxext6                  2:1.3.3-1+b2
ii  libxfixes3                1:5.0.3-1
ii  libxrender1               1:0.9.10-1
ii  libxt6                    1:1.1.5-1
ii  procps                    2:3.3.12-3
ii  zlib1g                    1:1.2.8.dfsg-5

firefox recommends no packages.

Versions of packages firefox suggests:
ii  fonts-lmodern          2.004.5-3
ii  fonts-stix [otf-stix]  1.1.1-4
ii  libcanberra0           0.30-6
ii  libgssapi-krb5-2       1.16-2
pn  mozplugger             <none>

-- no debconf information

-- 
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
EB80 462B 08E1 A0DE A73A  2C2F 9F3D C7A4 E1C4 D2D8



More information about the pkg-mozilla-maintainers mailing list