Open Bug 991455 Opened 11 years ago Updated 2 years ago

Incorrect minidump

Categories

(Toolkit :: Crash Reporting, defect)

x86_64
Linux
defect

Tracking

()

People

(Reporter: vichen, Unassigned)

References

Details

Attachments

(1 file)

(deleted), application/x-zip-compressed
Details
https://tbpl.mozilla.org/?tree=Try&rev=91d493e09480 0:07:21 WARNING - PROCESS-CRASH | Shutdown | application crashed [Unknown top frame] 20:07:21 INFO - Crash dump filename: /tmp/tmpj2o2At/1989a7bf-547c-298f-77f79251-75da1cc8.dmp 20:07:21 INFO - stderr from minidump_stackwalk: 20:07:21 INFO - 2014-04-02 20:07:21: minidump_processor.cc:264: INFO: Processing minidump in file /tmp/tmpj2o2At/1989a7bf-547c-298f-77f79251-75da1cc8.dmp 20:07:21 INFO - 2014-04-02 20:07:21: minidump.cc:3815: INFO: Minidump opened minidump /tmp/tmpj2o2At/1989a7bf-547c-298f-77f79251-75da1cc8.dmp 20:07:21 INFO - 2014-04-02 20:07:21: minidump.cc:3847: ERROR: Minidump header signature mismatch: (0x0, 0x0) != 0x504d444d 20:07:21 INFO - 2014-04-02 20:07:21: minidump_processor.cc:268: ERROR: Minidump /tmp/tmpj2o2At/1989a7bf-547c-298f-77f79251-75da1cc8.dmp could not be read 20:07:21 INFO - 2014-04-02 20:07:21: minidump.cc:3787: INFO: Minidump closing minidump 20:07:21 INFO - 2014-04-02 20:07:21: minidump_stackwalk.cc:529: ERROR: MinidumpProcessor::Process failed 20:07:21 INFO - minidump_stackwalk exited with return code 1 20:07:21 INFO - WARNING | leakcheck | refcount logging is off, so leaks can't be detected! 20:07:21 INFO - REFTEST INFO | runreftest.py | Running tests: end. 20:07:26 ERROR - Return code: 1 20:07:26 INFO - dumping logcat
This happens sometimes when the heap is corrupted or the process is out of memory. Unfortunately there's not any additional info in the logcat either, so I don't have any clues to offer.
Attached file md.zip (deleted) —

I see this a few times a week while fuzzing. I would be willing to try to capture more info if needed. Here are some recent .dmp files that cannot be processed by minidump_stackwalk.

Component: Reftest → Crash Reporting
Product: Testing → Toolkit

:gsvelto I think we spoke about this issue briefly in Berlin. I have also seen .dmp files that trigger assertions in minidump_stackwalk but they are less common. Is there away to tell if the minidump_stackwalk failure is interesting (or not) by looking at the stderror from minidump_stackwalk? If it is not interesting and/or nothing can be done I'd prefer to just ignore those issues in automation.

Flags: needinfo?(gsvelto)

After bug 1596210 minidump_stackwalk shouldn't print anything to stderr at all. It's possible that it does when it assert()s but I'm not 100% sure and it might only be happening in debug builds. I'll have to check, leaving the NI? for now.

(In reply to Gabriele Svelto [:gsvelto] from comment #4)

After bug 1596210 minidump_stackwalk shouldn't print anything to stderr at all.

Oh I mean when I run minidump_stackwalk on the dmp files with our tools.

(In reply to Tyson Smith [:tsmith] from comment #5)

Oh I mean when I run minidump_stackwalk on the dmp files with our tools.

That should spit out a lot of stuff. If the exit code is zero then I'd say it's not interesting but if it's non-zero there might be something useful in there.

Flags: needinfo?(gsvelto)

(In reply to Gabriele Svelto [:gsvelto] from comment #6)

If the exit code is zero then I'd say it's not interesting but if it's non-zero there might be something useful in there.

OK good, that is how things currently work[1]. Problem is that it happens more often than I'd expect.

[1] https://github.com/MozillaSecurity/ffpuppet/blob/master/ffpuppet/minidump_parser.py#L49

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: