Boost logo

Boost-Build :

From: Chiedo Acholonu (chiedozi_at_[hidden])
Date: 2005-07-28 19:14:51


Hey,

I recently built a dynamic version of the signals library using bjam. In order to test it was
functioning properly, I created a simple Xcode project and added the newly built library as
well as one of the provided example files in the /boost-root/libs/signals/example
directory. The project builds fine, but when I run it, Xcode crashes with:

TestSignals has exited due to signal 10 (SIGBUS).

Snipet from the crash log (I can post the whole thing on request)
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

The interesting thing is that this crash wont occur with the static version of the library.
I've tried the dynamic library with every example source file in the example directory, as
well as the test sources, and they all fail. When I searched various boost posts, many
people have stated that signals must be built multithreaded, which I have done. I have
also defined BOOST_SIGNALS_DYN_LINK in the project, so I feel I have everything setup
correctly.

I am using the CVS version of boost 1.33 and running Mac OS X 10.4.2 with Xcode 2.1

Has anyone successfully linked and run an app using a dynamic version of signals on OS
X?
Has anyone else experienced any problems with dynamic versions of signals?

Any help or advice would be much appreciated.
Chiedo

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk