[Cppunit-devel] unexpected SIGSEGV on CPPUNIT_FAIL
Brought to you by:
blep
From: Thomas D. <th...@dr...> - 2005-07-24 12:46:13
|
Hello, can anybody help me, to find the reason why CPPUNIT_FAIL cause a SIGSEGV. thx in advance. ---------------------------------------------------------------------------------------- ostringstream ostr; .... } catch (const Exception &e ) { // if( e.Errno() != EINVAL ) { ostr.str(""); ostr << mesg.shortDescription() << "\n-- Unexpected Dns::Exception received !! \n--" << e.message() << "--\n"; cout << endl << ostr.str() << endl << endl; // here's nice output CPPUNIT_FAIL( ostr.str() ); // got sigsegv // } } --------------------------------------------------------------------------------------- -- mit freundlichem Gruß -- regards Thomas |