bornintelligent / google-breakpad

Automatically exported from code.google.com/p/google-breakpad
0 stars 0 forks source link

linux handler doesn't have sigcontext if called from a previous signal handler #182

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Since the sigcontext is a "hidden" second param, most signal handlers won't
pass it along to the next signal handler.  I have a patch that will walk
the stack back, comparing the previous ebp value to the sigcontext->ebp
value to verify that it's a good sigcontext.

Original issue reported on code.google.com by ted.mielczarek on 29 May 2007 at 12:46

GoogleCodeExporter commented 9 years ago
This works for me in Mozilla, where we do actually get called by a previous 
signal
handler.

Original comment by ted.mielczarek on 1 Jun 2007 at 7:25

Attachments:

GoogleCodeExporter commented 9 years ago
Checked in with fixes for review comments.

Original comment by ted.mielczarek on 11 Jun 2007 at 4:09