Crash in [@ mozilla::ProfilerParent::CreateForProcess ]
Categories
(Core :: IPC, defect, P3)
Tracking
()
People
(Reporter: jan, Unassigned)
References
Details
(Keywords: nightly-community, Whiteboard: qa-not-actionable)
Crash Data
bp-42f9be68-33b7-4a65-bac1-506ae0170629 I just opened many tabs and got a browser crash. When Nightly restarted and I clicked on "restore session", the UI immediately has restored that many tabs, but...it freezed. There was an IndexedDB process that used the most RAM of all processes, but definitely not over 1 GB (don't remember how much exactly). dom.ipc.processCount;100 Nightly didn't use much of my 16 GB RAM (+16 GB swap). Max. 4 GB I think. No webrender/webrendest/stylo enabled.
Reporter | ||
Updated•7 years ago
|
Updated•7 years ago
|
Comment 1•7 years ago
|
||
I hit this twice when restarting Firefox after a crash: https://crash-stats.mozilla.com/report/index/26263210-021d-47d5-bff3-ce65f0171206 https://crash-stats.mozilla.com/report/index/d0012765-b051-4237-b38f-ac5c40171206 One of those is missing a thread list so it has a bad signature, but the MOZ_CRASH is the same. Firefox crashed on startup, I don't recall if the browser UI was visible or not.
Updated•6 years ago
|
Comment 2•6 years ago
|
||
[Tracking Requested - why for this release]: Got this after the update to Nightly 65 on Mac OS Siera https://crash-stats.mozilla.com/report/index/6cdf2546-4d5c-465a-91eb-642140181024#tab-details
Comment hidden (obsolete) |
Comment 4•6 years ago
|
||
Like :ted I got this and had multiple crash windows, it was like I got two crashes at once. https://crash-stats.mozilla.com/report/index/bf7d915e-45d8-4428-ae64-eb23c0181119 https://crash-stats.mozilla.com/report/index/50e81105-1b44-4424-a5ea-cd7020181119 and a potentially unrelated third: https://crash-stats.mozilla.com/report/index/67760771-3d3a-43d4-ada1-88dcb0181119
Comment 5•6 years ago
|
||
It looks like there was an attempt to add more information to the crash report[1], left over from bug 1293580, but it's a no-op except on Mac[2]. (Also, despite the name "Errno", that's an nsresult.) The cause in this case might be fd exhaustion, and off the top of my head I can't think of anything besides fd exhaustion that would cause this to fail on Unix, but there's no direct evidence for or against it. (Also, I raised the fd limit a while back, so it should be harder to run out, even if we're transiently opening a ton of files at once during startup for some reason.) [1] https://searchfox.org/mozilla-central/rev/b03a62c3c82316e733a3b09622c1cb7e59f64cc3/ipc/glue/ProtocolUtils.h#952-953 [2] https://searchfox.org/mozilla-central/rev/b03a62c3c82316e733a3b09622c1cb7e59f64cc3/ipc/glue/ProtocolUtils.h#932-933
Comment 6•4 years ago
|
||
I just did a try push that runs more wpt tests in a single invocation of the browser, and I started getting this crash in the (rather large) referrer-policy/gen/ directory, but in different tests each time. See wpt 4 in https://treeherder.mozilla.org/#/jobs?repo=try&selectedJob=290376516&revision=978d97aa1c0920660a6536a2e0b31eed72aa27e5
Comment 7•3 years ago
|
||
This is still happening. Example: https://crash-stats.mozilla.org/report/index/fe4ca17c-43fe-4df7-a260-a84f80210213
This particular report is from macOS, so in theory the report should contain an "IpcCreateEndpointsNsresult" annotation. However, I don't see it in the report. Is it considered "protected data"?
Comment 8•3 years ago
|
||
In that report, IpcCreateEndpointsNsresult is -2141126655 and IpcCreatePipeSocketPairErrno is 23.
Comment 9•3 years ago
|
||
and yes, it is under protected data in the report.
Comment 10•3 years ago
•
|
||
(In reply to Andrew McCreight [:mccr8] from comment #8)
In that report, IpcCreateEndpointsNsresult is -2141126655
That's NS_ERROR_TRANSPORT_INIT
((0x80610001 | 0) == -2141126655
).
Comment 11•3 years ago
|
||
(In reply to Andrew McCreight [:mccr8] from comment #8)
and IpcCreatePipeSocketPairErrno is 23.
#define ENFILE 23 /* Too many open files in system */
Ok, looks like it is indeed fd exhaustion.
Comment 12•3 years ago
|
||
The Windows crashes look unrelated: a null pointer access somewhere in ProfilerParent::Init
(but it's not clear where, because crash reports don't handle inlining correctly).
The other crashes — mostly Mac, a few Linux — are all the same MOZ_CRASH
.
Comment 13•3 years ago
•
|
||
Reopening bug since there are crash reports in the last 6 months.
Comment 14•3 years ago
•
|
||
The underlying cause here might be different per platform, i.e. incidence on Linux might drop after the above fix.
Comment 15•2 years ago
|
||
This crash was previously caused by failure to create a pipe for an IPC channel, but since the channel multiplexing work that error path has been removed, so this will never be hit in newer code.
Description
•