Bug 2083315
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> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
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 | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2022-10-12 02:59:36 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
I have no idea what can be wrong - moving to gdb to get attention from gdb folks. 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? 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. (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 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 […] [38] .symtab SYMTAB 0000000000000000 a24b9648 0171d8f0 24 38 1005384 8 seen with 7663fb3bcabafb40820cca3eb83c4fac3a7d4ef5/debuginfo, for firefox-102.0-1.fc35.x86_64. 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 Thank you very much for your patch! |
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