Server initialization failure causes program crash

Issue #53 resolved
Carsten Fuchs created an issue

When the Cafu server fails to initialize (e.g. when it could not obtain a socket on server port) and subsequently [ throws an exception] (or for that matter, any other initialization code throws an exception that goes unhandled in Cafu code), the exception propagates through wxWidgets code and eventually causes program termination.

Unfortunately, wxWidgets catches such exceptions and re-throws them, making it impossible to see in the stack trace where the exception originated. Enabling C++ EH exceptions in the Event Filter dialog of WinDbg makes it possible to catch the exception first chance, though.

See - for details and the original report, - for additional information.

Comments (3)

  1. Log in to comment