Add proper termination of link with XSB with forced termination
Issue #383
resolved
Pressing ctrl+c during any instance when the XSB process has been initialised will lead to a core dump. Ideally, IDP should just quit "quietly" without printing out messages like "stack smashing detected" that can easily be interpreted as something going horribly wrong.
The attached file contains one such core dump.
Comments (2)
-
reporter -
- changed status to resolved
- Log in to comment
Suggested fixing strategy:
Maintain a state of whether XSB has been initialised
Fix runidp.cpp so that void SIGINT_handler(int) also calls XSB's close() before doing exit(1)