Closed
Bug 1350917
Opened 8 years ago
Closed 8 years ago
Killing SIGABRT from outside does not create crash report on Mac OS
Categories
(Core :: General, defect)
Core
General
Tracking
()
RESOLVED
FIXED
mozilla55
People
(Reporter: wcpan, Assigned: mconley)
Details
Attachments
(1 file)
59 bytes,
text/x-review-board-request
|
ted
:
review+
lizzard
:
approval-mozilla-esr52+
|
Details |
Not sure this is intentional or not.
It would be handy if we can force a hung process crash and send a crash report.
Assignee | ||
Comment 2•8 years ago
|
||
This _used_ to work, but appears to have stopped. Attempting to get a regression range.
I've gotten this far:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=d1a54ae63da7ebc4bc1eeb5b613e8ec29bfcb80a&tochange=ac39fba33c6daf95b2cda71e588ca18e2eb752ab
Assignee | ||
Comment 3•8 years ago
|
||
I suspect bug 1069556 regressed this behaviour. Doing a build to prove, stand by...
Assignee | ||
Comment 4•8 years ago
|
||
Yeah, the ability to intentionally trigger crash report creation with SIGABRT went away with the patches in bug 1069556.
Hey ted, do you know if that was intentional? Digging through the patch that sync'd us with breakpad upstream, I see this line that seems to be related: https://hg.mozilla.org/mozilla-central/rev/62a0d8c93da2#l92.275, but I really don't know what I'm reading. :/
Flags: needinfo?(mconley) → needinfo?(ted)
Comment 5•8 years ago
|
||
This was not intentional, no. It's possible we either had a local patch that never got upstreamed, or we took an upstream change that broke this.
(In reply to Mike Conley (:mconley) from comment #4)
> Hey ted, do you know if that was intentional? Digging through the patch that
> sync'd us with breakpad upstream, I see this line that seems to be related:
> https://hg.mozilla.org/mozilla-central/rev/62a0d8c93da2#l92.275, but I
> really don't know what I'm reading. :/
FYI, that diff hunk is in src/client/linux/handler/exception_handler.cc, so it's not related. :)
On the plus side, if we figure out what broke this, we can easily fix it because we're not using upstream Breakpad for these bits anymore.
Flags: needinfo?(ted)
Comment 6•8 years ago
|
||
For clarity, I tested this out locally. Killing the firefox process with `kill -ABRT` still works fine:
https://crash-stats.mozilla.com/report/index/df1388db-aa47-4bc6-8c31-febd12170412
Killing plugin-container does not, I get the "tab crashed" page but not a crash report.
Oh, turns out we never upstreamed bug 1012912 for dumb reasons, so we lost that when we synced again. We just need to re-apply https://hg.mozilla.org/mozilla-central/rev/bbeb113185da on top of our current code. The patch won't apply directly because we moved the files from toolkit/crashreporter/google-breakpad/src/client to toolkit/crashreporter/breakpad-client.
Assignee | ||
Comment 7•8 years ago
|
||
Seems straight forward - lemme toss together a patch.
Assignee: nobody → mconley
Comment hidden (mozreview-request) |
Assignee | ||
Comment 9•8 years ago
|
||
I locally confirmed that this patch fixes the issue.
Comment 10•8 years ago
|
||
mozreview-review |
Comment on attachment 8857626 [details]
Bug 1350917 - Re-apply fix from bug 1012912 onto breakpad-client, since it got lost during the last sync.
https://reviewboard.mozilla.org/r/129594/#review132194
Thanks for digging into this and fixing it!
Attachment #8857626 -
Flags: review?(ted) → review+
Comment 11•8 years ago
|
||
Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8fbfe8c77eaa
Re-apply fix from bug 1012912 onto breakpad-client, since it got lost during the last sync. r=ted
Comment 12•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Comment 13•7 years ago
|
||
We're trying to uplift bug 1405151 to ESR52, which depends on the work here. Could you request uplift approval for ESR52?
Flags: needinfo?(mconley)
Assignee | ||
Comment 14•7 years ago
|
||
Comment on attachment 8857626 [details]
Bug 1350917 - Re-apply fix from bug 1012912 onto breakpad-client, since it got lost during the last sync.
[Approval Request Comment]
If this is not a sec:{high,crit} bug, please state case for ESR consideration:
This is something that bug 1405151 depends on, and bug 1405151 seems to be a critical stability fix.
User impact if declined:
Users on ESR52 won't be able to benefit from greater stability from the bug 1405151 fix.
Fix Landed on Version:
Firefox 55.
Risk to taking this patch (and alternatives if risky):
Very little risk.
String or UUID changes made by this patch:
None.
See https://wiki.mozilla.org/Release_Management/ESR_Landing_Process for more info.
Flags: needinfo?(mconley)
Attachment #8857626 -
Flags: approval-mozilla-esr52?
Comment 15•7 years ago
|
||
Comment on attachment 8857626 [details]
Bug 1350917 - Re-apply fix from bug 1012912 onto breakpad-client, since it got lost during the last sync.
Crash fix (plus we should get better crash data from ESR) with this and the patch from 1405151.
Attachment #8857626 -
Flags: approval-mozilla-esr52? → approval-mozilla-esr52+
Comment 16•7 years ago
|
||
bugherder uplift |
status-firefox-esr52:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•