Boost logo

Boost Users :

From: Chiedo Acholonu (chiedo_at_[hidden])
Date: 2005-08-17 11:53:27

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
1 maximum.ob 0x0040e0d8
int>::operator()(boost::any const&, boost::any const&) const + 364
2 maximum.ob 0x0040e148
int>, bool, boost::any,
boost::any>::invoke(boost::detail::function::any_pointer, boost::any,
boost::any) + 76 (function_template.hpp:119)

Any help would be much appreciated.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at