"LLVMSymbolizer: error reading file: Cannot allocate memory" should be reported as an error

RESOLVED FIXED in Firefox 55

Status

Testing
General
RESOLVED FIXED
8 months ago
7 months ago

People

(Reporter: mccr8, Assigned: mccr8)

Tracking

(Blocks: 1 bug)

Version 3
mozilla55
Points:
---

Firefox Tracking Flags

(firefox55 fixed)

Details

MozReview Requests

Submitter Diff Changes Open Issues Last Updated
Loading...
Error loading review requests:

Attachments

(1 attachment)

(Assignee)

Description

8 months ago
Sometimes the LLVM symbolizer fails to run, with a message like this:

==1421==WARNING: Can't read from symbolizer at fd 3
LLVMSymbolizer: error reading file: Cannot allocate memory

This causes a baffling massive leak in LSan (because we rely on white lists to ignore leaks, and the white lists require the symbolizer).

Glandium hit this issue on try recently, and this came up on autoland just now:
https://treeherder.mozilla.org/logviewer.html#?job_id=90922093&repo=autoland&lineNumber=2851

We should make the "LLVMSymbolizer: error reading file: Cannot allocate memory" message into an error that will show up in the starring interface, so that sheriffs at least have something useful to guide starring, and it will also let us track how often it is happening.
Comment hidden (mozreview-request)

Comment 2

8 months ago
22 failures in 817 pushes (0.027 failures/push) were associated with this bug in the last 7 days.   

Repository breakdown:
* mozilla-inbound: 22

Platform breakdown:
* linux64: 22

For more details, see:
https://brasstacks.mozilla.com/orangefactor/?display=Bug&bugid=1355834&startday=2017-04-17&endday=2017-04-23&tree=all

Comment 3

8 months ago
mozreview-review
Comment on attachment 8857660 [details]
Bug 1355834 - Report LLVM symbolizer OOMs as errors.

https://reviewboard.mozilla.org/r/129614/#review136352
Attachment #8857660 - Flags: review+

Comment 4

8 months ago
Pushed by amccreight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f1dcb4f3e6e3
Report LLVM symbolizer OOMs as errors. r=jgraham

Comment 5

8 months ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/f1dcb4f3e6e3
Status: NEW → RESOLVED
Last Resolved: 8 months ago
status-firefox55: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Duplicate of this bug: 1358650

Updated

7 months ago
See Also: → bug 1361476
Attachment #8857660 - Flags: review?(ahalberstadt)
You need to log in before you can comment on or make changes to this bug.