From: Silas S. <si...@gm...> - 2010-11-01 03:12:27
|
Hi all! FreeCAD is the first program I know that intercepts SIGSEGV. Is there any purpose about that? The message "Illegal storage access..." is not to much clear comparing to "Memory fault (Core dumped)". Actually it is more confusing for who knows what a memory fault is. Ah, and it seems to avoid the creation of core files, at least on NetBSD. One more thing. The Single Unix Specification (http://www.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04_03_03) says that intercepting SIGSEGV has undefined behaviour on the process. Should we avoid that? Thanks! P.S.: Actually, I don't see any usefulness of segmentation_fault_handler()... -- Silas Silva |