3 ms·
Ironically that stack unwinding is exactly why I like a straight old sigsegv. Just dump the core and analyse the frozen state. One thing that annoyed me in go
by ptsneves 2y ago
Ironically that stack unwinding is exactly why I like a straight old sigsegv.
Just dump the core and analyse the frozen state. One thing that annoyed me in go is that even when it core dumps on panic and after I worked on the backtrace analyser for gdb, most of the core dumps were useless as everything of worth was already unwound and lost.
- mananaysiempre 2y agoHidden in plain sight is the fact is that structured exception handling in 32-bit Windows (the linked-list-on-the-stack version[1,2], not saying anything about the gigantic-tables “zero-cost” version) is a resumable exception system a la Common Lisp conditions—inevitably, seeing as it subsumes SIGSEGV coredumps! [1] http://bytepointer.com/resources/pietrek_crash_course_depths_of_win32_seh.htm http://bytepointer.com/resources/pietrek_crash_course_depths... [2] http://bytepointer.com/resources/pietrek_vectored_exception_handling.htm http://bytepointer.com/resources/pietrek_vectored_exception_...