|Summary:||attaching GDB on Firefox will throw 900k lines of "BFD: /usr/lib/debug/usr/lib64/firefox/libxul.so-100.0-2.fc35.x86_64.debug: attempt to load strings from a non-string section (number 38)"|
|Product:||[Fedora] Fedora||Reporter:||Germano Massullo <germano.massullo>|
|Component:||gdb||Assignee:||Kevin Buettner <kevinb>|
|Status:||CLOSED UPSTREAM||QA Contact:||Fedora Extras Quality Assurance <extras-qa>|
|Version:||35||CC:||ahajkova, blarsen, erack, fweimer, gecko-bugs-nobody, jan, jhorak, kai-engert-fedora, keiths, kevinb, klaas, mcermak, pjasicek, pmuldoon, rhughes, rstrode, sandmann, sergiodj, stransky|
|Fixed In Version:||Doc Type:||If docs needed, set a value|
|Doc Text:||Story Points:||---|
|Last Closed:||2022-10-12 02:59:36 UTC||Type:||Bug|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
|Cloudforms Team:||---||Target Upstream Version:|
Description Germano Massullo 2022-05-09 16:48:07 UTC
Created attachment 1878161 [details] GDB log attaching GDB on Firefox will throw 900k lines of "BFD: /usr/lib/debug/usr/lib64/firefox/libxul.so-100.0-2.fc35.x86_64.debug: attempt to load strings from a non-string section (number 38)" See (compressed) attachment: the uncompressed file will be 130 MB compared to 31,3 kB of the former If you don't think it's a packaging issue, let me know and I will open an upstream bugreport. Cheers
Comment 1 Martin Stransky 2022-05-11 08:35:26 UTC
I have no idea what can be wrong - moving to gdb to get attention from gdb folks.
Comment 2 Kevin Buettner 2022-05-11 23:33:59 UTC
I took a look at the attachment. I agree that the 994,766 lines of "attempt to load strings from a non-string section (number 38)" messages is a tad excessive. Can you tell me which versions of gdb and firefox you were using?
Comment 3 Kevin Buettner 2022-05-13 00:04:33 UTC
I've reproduced this bug using gdb-11.2-2.fc35.x86_64 and firefox-100.0-2.fc35.x86_64. It's also (still) a problem with the upcoming gdb-12.1-1.fc35.x86_64.
Comment 4 Germano Massullo 2022-05-13 14:53:53 UTC
(In reply to Kevin Buettner from comment #2) > I took a look at the attachment. I agree that the 994,766 lines of "attempt > to load strings from a non-string section (number 38)" messages is a tad > excessive. > > Can you tell me which versions of gdb and firefox you were using? It's written in the logs GNU gdb (GDB) Fedora 11.2-2.fc35 firefox-100.0-2.fc35.x86_64
Comment 5 Florian Weimer 2022-08-01 08:32:48 UTC
It looks like the .symtab section in the debuginfo file has the wrong string table reference, referencing to itself: [Nr] Name Type Addr Off Size ES Flags Lk Inf Al […]  .symtab SYMTAB 0000000000000000 a24b9648 0171d8f0 24 38 1005384 8 seen with 7663fb3bcabafb40820cca3eb83c4fac3a7d4ef5/debuginfo, for firefox-102.0-1.fc35.x86_64.
Comment 6 Kevin Buettner 2022-10-12 02:59:36 UTC
This bug has an upstream fix now. It'll be fixed in Fedora after the next rebase. This is the commit which fixes it... https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=84e605558eb8a3aeec636e32de5d3573242d462e
Comment 7 Germano Massullo 2022-10-12 06:03:32 UTC
Thank you very much for your patch!