
23 Dec
2005
23 Dec
'05
3:36 p.m.
On Fri, 23 Dec 2005 12:31:01 +0100 <Oliver.Kowalke@infineon.com> wrote:
Hi, Strange - the segmentation fault disappears if I link with the debug-version of libboost_signals (-lboost_signals-gcc-d-1_33_1)! It seams to me that some assert statements contain required code (removed in release version if signals)?!
You have to make sure you link with a library that matches your bild. Specifically, you have to match with multithread issues, because shared_ptr<> (among other things) uses a lock based on compile time macros. Since signals uses shared_ptr<>, you have to link with the right lib that matches your build options.