Closed
Bug 811320
Opened 12 years ago
Closed 11 years ago
port killAndGetStack functionality from automation.py
Categories
(Testing :: Mozbase, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 890026
People
(Reporter: ted, Unassigned)
References
()
Details
automation.py has a function called killAndGetStack, which we use when the app is hung and we want to get a stack out of it. On Linux this is just "kill -ABRT". On Windows we jump through some hoops and inject crashing code into the process. We don't have anything for OS X currently (but I've been looking at fixing Breakpad to handle SIGABRT, so the Linux code might work). We should port this to mozbase so we don't lose functionality when we want to switch our test harnesses over. I'm not sure where this should live, mozprocess?
Comment 1•12 years ago
|
||
mozprocess if it is generic and not specific to mozilla programs
Reporter | ||
Comment 2•12 years ago
|
||
We hemmed and hawed on this a little, I'm leaning towards putting it in mozcrash.
Comment 3•11 years ago
|
||
for posterity: http://hg.mozilla.org/mozilla-central/file/de2f88640ab6/build/automation.py.in#l966 TBH, I'm not sure where this "should" belong. There are several external pieces that need some thought from automation.py. We want logging, mozinfo, etc. I also can't really comment as to the win32 part.
Reporter | ||
Comment 4•11 years ago
|
||
Forward-duping because I filed a new bug and have a patch.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•