I built the boost.signals library using bjam and am trying to use it
in an xcode project named TestSignals. The project only consists of
the signals library and the maximum.cpp example file
(boost-root/libs/signals/example/maximum.cpp). The project builds but
it crashes with a SIGBUS signal 10 when run. This only happens with
the dynamic version of signals. I have defined BOOST_SIGNALS_DYN_LINK
and built the library multithreaded, so I'm not sure what I'm doing
wrong. I'm running OS X 10.4.2 with Xcode 2.1.
Here is a snippet of the crash log (I can post the rest on request):
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000
Thread 0 Crashed:
0 maximum.ob 0x0040c824
std::less<int>::operator()(int const&, int const&) const + 48
(stl_function.h:227)
1 maximum.ob 0x0040e0d8
boost::signals::detail::any_bridge_compare