[Haifux] [HAIFUX Lecture] Crash and burn: writing Linux application fault handler - Gilad Ben-Yossef

Orr Dunkelman orr.dunkelman at gmail.com
Mon Jun 23 15:35:54 MSD 2008

Next Monday, 30th of June, at 18:30 the Haifa Linux Club, will gather
to hear Gilad Ben-Yossef's lecture about

            Crash and burn: writing Linux application fault handler

Complementing the standard Linux fault handler ("Segmentation fault.
Core dumped.") with a custom handler that reports the crashing program
state without a debugger is a useful endeavor in many situations.
Unfortunately, writing such a fault handler correctly can be
surprisingly hard and requires certain amount of black magic.

The proposed lecture is a tutorial that will demonstrate how to write
such a handler, covering such topics as: getting program symbolic stack
trace and registers and reporting them safely, the care and feeding of
async signal POSIX handler functions, how to avoid implicit memory
allocations and how to test for them, how to handle multi-threaded
faults, the black magic involved with how Linux handles signal handlers,
the unfortunate effect this has on obtaining a correct stack trace in
case of a fault and how to overcome this limitation.


We meet in Taub building, room 6. For instructions see:

Attendance is free, and you are all invited!


Future Lectures:
The Lightning Strikes Again           Everybody             14/7/08

We are always interested in hearing your talks and ideas. If you wish
to give a talk, hold a discussion, or just plan some event haifux
might be interested in, please contact us at webmaster at haifux.org

Orr Dunkelman,
Orr.Dunkelman at gmail.com

"a scientific man ought to have no wishes, no affections, -- a mere
heart of stone" - Charles Darwin.

GPG fingerprint: C2D5 C6D6 9A24 9A95 C5B3 2023 6CAB 4A7C B73F D0AA
(This key will never sign Emails, only other PGP keys. The key
corresponds to orrd at vipe.technion.ac.il)

More information about the Haifux mailing list