Re: [Cppcms-users] SIGABRT problem raised between SVN rev1474 and 1491
Brought to you by:
artyom-beilis
From: Julian P. <ju...@wh...> - 2010-10-26 18:23:38
|
> Hello, > > In what case does it happens can you give me a sample source code that > reproduces the problem? > I think it happens if a cppcms::json::bad_cast exception is thrown. I try to read a json formatted configuration file from different possible locations with cppcms::json, and if it is not formatted properly, a bad_cast exception should be thrown which I catch and then try the next possible location. In valgrind, the program runs without crashing (I don't understand this), but it outputs a lot of invalid reads related to a std::string instance of a cppcms::json::bad_cast instance. Although, with and without gdb the program crashes as described. Valgrind output is attached. Thanks, Julian |