Closed
Bug 797023
Opened 12 years ago
Closed 11 years ago
Work - Headless crash reporting in metrofx doesn't report if the browser crashes on startup
Categories
(Firefox for Metro Graveyard :: General, defect, P2)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: jimm, Assigned: jimm)
References
Details
(Whiteboard: feature=work)
Attachments
(4 files, 4 obsolete files)
7.66 KB,
patch
|
Details | Diff | Splinter Review | |
8.19 KB,
patch
|
Details | Diff | Splinter Review | |
4.37 KB,
patch
|
bbondy
:
review+
|
Details | Diff | Splinter Review |
1.35 KB,
patch
|
Details | Diff | Splinter Review |
We submit crashes from within the browser vs. launching an external program. Hence, if the browser crashes on startup, we'll never get a crash report. reference bug 797013
Assignee | ||
Comment 1•12 years ago
|
||
I wonder if we could switch from using browser.js submission to launching the desktop client in some sort of silent mode.
Whiteboard: metro-beta
Assignee | ||
Updated•12 years ago
|
Product: Firefox → Firefox for Metro
Updated•12 years ago
|
Whiteboard: metro-beta → [metro-mvp]
Updated•12 years ago
|
Whiteboard: [metro-mvp] → [metro-mvp] [LOE:3]
Updated•11 years ago
|
Blocks: 831972
Whiteboard: [metro-mvp] [LOE:3] → [metro-mvp] [LOE:3] feature=work
Updated•11 years ago
|
Summary: Headless crash reporting in metrofx doesn't report if the browser crashes on startup → Work - Headless crash reporting in metrofx doesn't report if the browser crashes on startup
Whiteboard: [metro-mvp] [LOE:3] feature=work → feature=work
Assignee | ||
Updated•11 years ago
|
Blocks: metro-startup
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → jmathies
Assignee | ||
Comment 2•11 years ago
|
||
This eliminates the else block, no logic changes.
Assignee | ||
Comment 3•11 years ago
|
||
This adds a silent mode to crash reporter.
Assignee | ||
Comment 4•11 years ago
|
||
This handles launching cr in silent mode early in startup for metro.
Assignee | ||
Comment 5•11 years ago
|
||
I have a front end patch for this as well. However, beofre I get to that there is an unresolved problem here. Processes that are integrated into the metro ui receive undocumented process management behavior. A couple issues: - despite being launched as an independent process, crashreporter still gets latched into metro ui process suspend/resume behavior. So for example if if you have crashreporter spawned off and metrofx gets suspended, crashreporter gets suspended also. This can cause problems with sending reports. - also, the crashreporter process will get torn down unceremoniously if metrofx exits for any reason, including, a startup crash. There must be a way to separate crashreporter from metro's process management, but afaict it's not document anywhere.
Comment 6•11 years ago
|
||
we could disable the suspending of the crash reporting process completely. Here's some example code: http://dxr.mozilla.org/mozilla-central/widget/windows/winrt/MetroAppShell.cpp#l268 > There must be a way to separate crashreporter from metro's process management, but afaict it's not document anywhere. What about using cmd.exe to start it or something like that? Maybe there's a createprocess or shellexecute flag as well.
Assignee | ||
Comment 7•11 years ago
|
||
(In reply to Brian R. Bondy [:bbondy] from comment #6) > we could disable the suspending of the crash reporting process completely. > Here's some example code: > http://dxr.mozilla.org/mozilla-central/widget/windows/winrt/MetroAppShell. > cpp#l268 > > > There must be a way to separate crashreporter from metro's process management, but afaict it's not document anywhere. > > What about using cmd.exe to start it or something like that? > Maybe there's a createprocess or shellexecute flag as well. I was looking around for something like that but didn't find anything. The old desktop enabled browser doc doesn't mention it either. I'm wondering if a support request might be the best route to take.
Assignee | ||
Updated•11 years ago
|
Attachment #718404 -
Flags: review?(ted)
Assignee | ||
Comment 8•11 years ago
|
||
Got this working using shell execute. (hat tip bbondy)
Attachment #718411 -
Attachment is obsolete: true
Attachment #718412 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Attachment #718569 -
Attachment is obsolete: true
Assignee | ||
Comment 9•11 years ago
|
||
Assignee | ||
Comment 10•11 years ago
|
||
Comment on attachment 718570 [details] [diff] [review] client v.1 This is the silent submit part in crashreporter.exe.
Attachment #718570 -
Flags: review?(ted)
Assignee | ||
Comment 11•11 years ago
|
||
Assignee | ||
Comment 12•11 years ago
|
||
Comment on attachment 718572 [details] [diff] [review] apprunner/exception handler bits v.1 sorry ted, if there's someone you can delegate this to, please do.
Attachment #718572 -
Flags: review?(ted)
Assignee | ||
Comment 13•11 years ago
|
||
Attachment #718573 -
Flags: review?(netzen)
Assignee | ||
Comment 14•11 years ago
|
||
(In reply to Jim Mathies [:jimm] from comment #13) > Created attachment 718573 [details] [diff] [review] > front end v.1 Note the other little bit of front end code to this is over in bug 844619.
Comment 15•11 years ago
|
||
Comment on attachment 718573 [details] [diff] [review] front end v.1 Review of attachment 718573 [details] [diff] [review]: ----------------------------------------------------------------- yay for removal only patch
Attachment #718573 -
Flags: review?(netzen) → review+
Updated•11 years ago
|
Priority: -- → P2
Assignee | ||
Comment 16•11 years ago
|
||
Makes it a bit easier to see what changed.
Attachment #718404 -
Attachment is obsolete: true
Attachment #718404 -
Flags: review?(ted)
Attachment #718693 -
Flags: review?(ted)
Assignee | ||
Updated•11 years ago
|
Attachment #718570 -
Flags: review?(ted)
Assignee | ||
Updated•11 years ago
|
Attachment #718572 -
Flags: review?(ted)
Assignee | ||
Updated•11 years ago
|
Attachment #718693 -
Flags: review?(ted)
Assignee | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Comment 17•11 years ago
|
||
This is WONTFIX per the discussion in bug 831972?
Assignee | ||
Comment 18•11 years ago
|
||
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #17) > This is WONTFIX per the discussion in bug 831972? I think so. We could still land it, tie it to a registry key so we have it for debugging. If the user sets a reg key that's the same as opting in. However from the discussion in bug 831972, it's clear our normal submit method will have to be an about page where the user approves every submit. Would you be up for landing this even if it's not going to be used on a regular basis?
Comment 19•11 years ago
|
||
The crashreporter code is already pretty complicated, I'd rather avoid additional features we don't actually need.
Assignee | ||
Updated•11 years ago
|
No longer blocks: metro-startup
Updated•10 years ago
|
OS: Windows 8 Metro → Windows 8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•