-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
The what() method returns c_str() from string allocated on stack (via stringstream). By the time what() returns, the stack is already unwinded.
You have to initialize some string as the exception's field and only return the c_str() from this field.