missing crash stacks for web platform tests
Categories
(Testing :: web-platform-tests, defect)
Tracking
(Not tracked)
People
(Reporter: karlt, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
Reporter | ||
Comment 1•7 years ago
|
||
Comment 2•6 years ago
|
||
Seeing that this has had no triage or other input for 5 months, James, can you comment on what is to be expected here?
Comment 3•6 years ago
|
||
So, looking at an example, it seems like we are getting an IOError from marionette [1], which we interpret as a crash. We later call into mozcrash ([2], [3]) which is responsible for logging the stack but we aren't finding anything. So either we are misinterpreting the original IOError as a crash or we aren't getting a dump file for some reason. I wonder if the content process is crashing, but not the Chrome process? I thought we were setting MOZ_CRASHREPORTER_SHUTDOWN=1
to handle that case but right now I only see that set for fennec, so maybe that's the problem?
[1] https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=232469294&repo=autoland&lineNumber=21225
[2] https://searchfox.org/mozilla-central/source/testing/web-platform/tests/tools/wptrunner/wptrunner/testrunner.py#585
[3] https://searchfox.org/mozilla-central/source/testing/web-platform/tests/tools/wptrunner/wptrunner/browsers/firefox.py#429
Comment 4•6 years ago
|
||
No, I lie that gets set at https://searchfox.org/mozilla-central/source/testing/mozbase/mozrunner/mozrunner/utils.py#125 and running the code verifies that it is indeed set. Seems like this really needs a reproducable test case to figure out what's happening.
Comment 5•6 years ago
|
||
I've seen this some more -- it seems to happen after a test, or the entire test suite, times out and we kill the process from the harness.
For mochitests this gets us stacks of all threads for the parent process, though the best would be to have them for the child process too. Especially if we're hitting a rare deadlock of some sort, getting the stacks of all threads is crucial.
Updated•3 years ago
|
Description
•