Closed Bug 397199 Opened 17 years ago Closed 15 years ago

display assertion info from minidumps (Crash reason: No crash)

Categories

(Socorro :: General, task, P2)

x86
Windows Vista

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bugzilla1, Assigned: ted)

References

()

Details

(Whiteboard: [crashkill][crashkill-metrics])

Despite what Socorro is claiming for the linked URL and a half-dozen others I've had over the last few days Minefield most definitely did crash ;-)
This is mostly due to http://code.google.com/p/google-breakpad/issues/detail?id=170.  What you hit was the "invalid parameter handler".  Some code called a CRT function with a bad parameter.  Breakpad doesn't see that as a crash, since it's not an OS-level exception.  We don't really report that well currently.  Interestinly enough, tortoisesvn.dll is in the stack for your crash, so it looks like Tortoise is the reason you're crashing.
(In reply to comment #1)
> This is mostly due to
> http://code.google.com/p/google-breakpad/issues/detail?id=170.  What you hit
> was the "invalid parameter handler".  Some code called a CRT function with a
> bad parameter.  Breakpad doesn't see that as a crash, since it's not an
> OS-level exception.  We don't really report that well currently.  Interestinly
> enough, tortoisesvn.dll is in the stack for your crash, so it looks like
> Tortoise is the reason you're crashing.
> 

All the relevant crashes occurred around me trying to use the Save dialog, which Tortoise integrates into so that could well be the cause. Tortoise 1.4.3 fixed a Vista/Explorer crash bug so maybe I should upgrade and see if that stops my crashing.

Either way, I'd expect to see something like 'Crash reason: Unable to identify', rather than 'no crash' which is *never ever* going to be correct as the reason for a crash...
Well ideally we'd say Crash Reason: CRT invalid parameter handler called or something like that, but yeah, it's not great.
This isn't completely a Socorro bug, but it's in the Breakpad processor, so it fits better there than here.
Component: Breakpad Integration → Socorro
Product: Toolkit → Webtools
QA Contact: breakpad.integration → socorro
Version: unspecified → Trunk
Summary: Crash reason: No crash → display assertion info from minidumps (Crash reason: No crash)
This is tied to the need for report statuses or error codes in the reports table.  Bumping priority.
Priority: -- → P2
Target Milestone: --- → 0.5
I don't think it is, it's more about a piece of info that we're not getting out of minidump_stackwalk right now.
Target Milestone: 0.5 → ---
Depends on: 444106
Blocks: 493108
Target Milestone: --- → Future
Affects CrashKill efforts.  Blocking.
Flags: blocking1.9.2+
Whiteboard: [crashkill]
Whiteboard: [crashkill] → [crashkill][crashkill-metrics]
Assignee: nobody → ted.mielczarek
Target Milestone: Future → 1.2
Ted - have you looked at this?  How can we get a win?
I think we can just hack minidump_stackwalk to spit out the assertion text, and change the processor to accept that and store it in the "crash reason" field. That should be the quickest way to get something useful out of this. I'll patch this soon.
Not blocking now, but dammit, want it.
Flags: blocking1.9.2+ → blocking1.9.2-
Ted, can this be done by 12/1?
I can get the minidump_stackwalk part done very easily, if you can get someone else to fix the processor to accept the data. We should just be able to do what I described in comment 9.
Just Do It (tm)!
Apparently I had a patch to implement 99% of this over two years ago(!):
http://code.google.com/p/google-breakpad/issues/detail?id=170

I'll finish that last 1% and get it landed in Breakpad. I think it can be implemented without any Socorro changes.
Status: NEW → ASSIGNED
Posted for review upstream:
http://breakpad.appspot.com/45001
Depends on: 532438
Ok, landed upstream. This just needs a minidump_stackwalk update in production. Filed bug 532438 on that.

http://code.google.com/p/google-breakpad/source/detail?r=433
Note that the only thing this change will do is change "Crash reason" from "No crash" to something like "Pure virtual function called". The stack and signature will remain the same.
Did you file an IT bug for doing this?
Nevermind - bug 532438 is the IT bug.
Looks good:
http://crash-stats.mozilla.com/report/index/44118c67-3304-4f20-ba35-cb2672091203
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Component: Socorro → General
Product: Webtools → Socorro
You need to log in before you can comment on or make changes to this bug.