зеркало из https://github.com/mozilla/pjs.git
Use SIGABRT to trigger breakpad in hangs on UNIX to make these easier to distinguish from SIGSEGV crashes rs=ted no bug
--HG-- extra : rebase_source : 6fad8dba8c062f3f0bf54fb29e0f1ae64d0bec0b
This commit is contained in:
Родитель
3b8754d47a
Коммит
3c2a6e6ebb
|
@ -565,8 +565,8 @@ user_pref("camino.use_system_proxy_settings", false); // Camino-only, harmless t
|
|||
reporting, if we know how for this platform. Otherwise just .kill() it."""
|
||||
if self.CRASHREPORTER:
|
||||
if self.UNIXISH:
|
||||
# SEGV will get picked up by Breakpad's signal handler
|
||||
os.kill(proc.pid, signal.SIGSEGV)
|
||||
# ABRT will get picked up by Breakpad's signal handler
|
||||
os.kill(proc.pid, signal.SIGABRT)
|
||||
return
|
||||
elif self.IS_WIN32:
|
||||
# We should have a "crashinject" program in our utility path
|
||||
|
|
Загрузка…
Ссылка в новой задаче