Closed Bug 1758782 Opened 4 years ago Closed 4 years ago

Valgrind run fails when building with clang 14

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(firefox100 fixed)

RESOLVED FIXED
100 Branch
Tracking Status
firefox100 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

--14810-- Reading syms from /builds/worker/workspace/obj-build/dist/bin/firefox-bin
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x23
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x25
### unhandled dwarf2 abbrev form code 0x23
==14810== Valgrind: debuginfo reader: ensure_valid failed:
==14810== Valgrind:   during call to ML_(img_get)
==14810== Valgrind:   request for range [172269793, +4) exceeds
==14810== Valgrind:   valid image size of 5478304 for image:
==14810== Valgrind:   "/builds/worker/workspace/obj-build/dist/bin/firefox-bin"
==14810==
==14810== Valgrind: debuginfo reader: Possibly corrupted debuginfo file.
==14810== Valgrind: I can't recover.  Giving up.  Sorry.

The core problem is that clang 14 defaults to dwarf-5, and valgrind doesn't support that.

No longer blocks: 1758780
Assignee: nobody → mh+mozilla
Blocks: 1758780

The Bugbug bot thinks this bug should belong to the 'Firefox Build System::Toolchains' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Toolchains
Component: Toolchains → General
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/192810f500b5 Force-use DWARF-4 debug info. r=firefox-build-system-reviewers,andi
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch

Valgrind bug about DWARF 5 support: https://bugs.kde.org/show_bug.cgi?id=452758

I believe this is at least improved, if not completely fixed, in Valgrind 3.20 now.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: