I am using boost 1.39 on suse linux with gcc 4.2.1 and using a debug build.<br>In order to rationalize the long compile times, I was attempting to split a file<br>into multiple translation units. When I ran my tests, they all passed, but then<br>
crashed with a memory fault.<br clear="all"><br>Program received signal SIGSEGV, Segmentation fault.<br>[Switching to Thread 0xb7cd26d0 (LWP 21897)]<br>0xb7d40a08 in strcmp () from /lib/libc.so.6<br>(gdb) bt<br>#0  0xb7d40a08 in strcmp () from /lib/libc.so.6<br>
#1  0x08e19924 in boost::serialization::extended_type_info::key_unregister ()<br>#2  0x08e19ace in boost::serialization::extended_type_info::~extended_type_info ()<br>#3  0x08c41afc in ~extended_type_info_typeid (this=0x92179cc) at /var/tmp/ma0/boost/boost_1_39_0/boost/serialization/extended_type_info_typeid.hpp:80<br>
#4  0x08c41bbe in ~singleton_wrapper (this=0x92179cc) at /var/tmp/ma0/boost/boost_1_39_0/boost/serialization/singleton.hpp:104<br>#5  0x08c209e0 in __tcf_25 () at /var/tmp/ma0/boost/boost_1_39_0/boost/serialization/singleton.hpp:121<br>
#6  0xb7d00599 in exit () from /lib/libc.so.6<br>#7  0xb7ce9fe8 in __libc_start_main () from /lib/libc.so.6<br>#8  0x08a833f1 in _start ()<br> <br>It appears that boost serialisation type registration has problems when it is split into multiple files. Also it appears<br>
that most of serialisation test all appear in a single file, hence these kinds of issues can easily be missed.<br>Is there any work around to this problem ? <br><br>   Best regards,<br>Ta,<br>    Avi<br><br>

