Closed
Bug 1194935
Opened 9 years ago
Closed 8 years ago
kill_and_get_minidump doesn't work on win64
Categories
(Testing :: Mozbase, defect)
Testing
Mozbase
Tracking
(firefox47 fixed)
RESOLVED
FIXED
mozilla47
Tracking | Status | |
---|---|---|
firefox47 | --- | fixed |
People
(Reporter: chmanchester, Assigned: chmanchester)
References
Details
Attachments
(1 file)
We're writing a 0 length dump. GetLastError leads me to http://stackoverflow.com/a/8835305 -- writing a dump of a 64 bit process (Firefox) from a 32 bit process (python) doesn't seem like something that's going to work.
Comment 1•9 years ago
|
||
:-/ We could write a little C++ helper app to do the dump writing, and compile that as a 64-bit binary.
Assignee | ||
Comment 2•9 years ago
|
||
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #1) > :-/ We could write a little C++ helper app to do the dump writing, and > compile that as a 64-bit binary. I'll give it a shot.
Assignee: nobody → cmanchester
Assignee | ||
Comment 3•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=83ac13fd8d78
Assignee | ||
Comment 4•9 years ago
|
||
(In reply to Chris Manchester [:chmanchester] from comment #3) > https://treeherder.mozilla.org/#/jobs?repo=try&revision=83ac13fd8d78 This is working pretty well. I didn't make it unicode safe, but the other code path for kill_and_get_minidump does, so I'll do that now.
Assignee | ||
Comment 5•9 years ago
|
||
Bug 1194935 - Add a C++ implementation of kill_and_get_minidump as part of the build to accodomate dumping 64 bit Firefox from 32 bit python.
Attachment #8649598 -
Flags: review?(ted)
Assignee | ||
Comment 6•9 years ago
|
||
Comment on attachment 8649598 [details] MozReview Request: Bug 1194935 - Add a C++ implementation of kill_and_get_minidump as part of the build to accommodate dumping 64 bit Firefox from 32 bit python. Bug 1194935 - Add a C++ implementation of kill_and_get_minidump as part of the build to accommodate dumping 64 bit Firefox from 32 bit python.
Attachment #8649598 -
Attachment description: MozReview Request: Bug 1194935 - Add a C++ implementation of kill_and_get_minidump as part of the build to accodomate dumping 64 bit Firefox from 32 bit python. → MozReview Request: Bug 1194935 - Add a C++ implementation of kill_and_get_minidump as part of the build to accommodate dumping 64 bit Firefox from 32 bit python.
Comment 7•8 years ago
|
||
Comment on attachment 8649598 [details] MozReview Request: Bug 1194935 - Add a C++ implementation of kill_and_get_minidump as part of the build to accommodate dumping 64 bit Firefox from 32 bit python. https://reviewboard.mozilla.org/r/16437/#review28981 Sorry I let this sit so long. :-( ::: testing/mozbase/mozcrash/mozcrash/mozcrash.py:377 (Diff revision 2) > + # we're running a python compiled for a different architecture. I think I would move the explanation (dumping cross-architecure) up to the top of the block here to make it a little clearer. ::: testing/mozbase/mozcrash/mozcrash/mozcrash.py:391 (Diff revision 2) > + log.info("minidumpwriter status: %d" % status) Do you care about failing on failure here? You could use subprocess.check_call. I feel like we should print some sort of failure line if this fails, certainly, but if it turns out to be ugly to plumb that up through the harness you could punt on it. ::: testing/tools/minidumpwriter/minidumpwriter.cpp:59 (Diff revision 2) > + return rv; You never actually set rv=0 anywhere, do you?
Attachment #8649598 -
Flags: review?(ted) → review+
Comment 9•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d18ca24050b7
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in
before you can comment on or make changes to this bug.
Description
•