Open
Bug 636081
Opened 14 years ago
Updated 2 years ago
x11 error messages repeated in crash reports
Categories
(Toolkit :: Crash Reporting, defect)
Tracking
()
NEW
People
(Reporter: karlt, Assigned: karlt)
References
Details
Attachments
(1 file, 2 obsolete files)
1.21 KB,
patch
|
Details | Diff | Splinter Review |
Since http://hg.mozilla.org/mozilla-central/rev/9521cf441d3a,
(and http://hg.mozilla.org/mozilla-central/rev/e1d2e090c9a6),
NS_RUNTIMEABORT appends the error string to crash report App Notes in
libxul-builds/apps. As we've already added the string, it ends up repeated,
and we get app notes such as
"X_CloseDevice: XI_BadDevice (invalid Device parameter); 9 requests agoxpcom_runtime_abort(###!!! ABORT: X_CloseDevice: XI_BadDevice (invalid Device parameter); 9 requests ago: file /builds/slave/cen-lnx64-ntly/build/toolkit/xre/nsX11ErrorHandler.cpp, line 190)"
Oops! Unless there are existing tools that break when trying to parse the error string inside of the "xpcom_runtime_abort()", the simplest fix would be to switch the RUNTIMEABORT() in nsX11ErrorHandler to a direct mozalloc_abort().
Assignee | ||
Comment 2•14 years ago
|
||
Attachment #514416 -
Flags: review?(jones.chris.g)
Assignee | ||
Comment 3•14 years ago
|
||
Comment on attachment 514416 [details] [diff] [review]
't add X11 error app notes when they will be added during NS_RUNTIMEABORT
cjones pointed out that NS_RUNTIMEABORT doesn't handle forwarding from plugin processes, so this (on its own, at least) is not good.
Attachment #514416 -
Attachment is obsolete: true
Attachment #514416 -
Flags: review?(jones.chris.g)
Need bug 581341 for that.
Assignee | ||
Comment 5•14 years ago
|
||
As suggested by cjones in comment 1.
This also happens to workaround the double message output of NS_DebugBreak and in debug builds the double stack dump.
It loses the "###!!! ABORT", but I'm not too worried about that.
Attachment #516784 -
Flags: review?(jones.chris.g)
Updated•14 years ago
|
Attachment #516784 -
Flags: review?(jones.chris.g) → review+
Assignee | ||
Comment 6•14 years ago
|
||
Some platforms (maemo, linux64 opt + debug) need the header explicitly included now.
Attachment #516784 -
Attachment is obsolete: true
Assignee | ||
Comment 7•14 years ago
|
||
Bug 581341 is making progress and, with that fixed, it would make sense to use NS_RUNTIMEABORT and fix the problems with NS_DebugBreak for all clients.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•