Boost logo

Boost :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2007-10-11 04:08:09


Hello,

currently these tests fail for a wide range of compilers. I fired up a
debugger and had a look at the core file produced by the test on Tru64/CXX.
Here are the results:

(ladebug) where
>0 0x3ff800ed6d8 in __kill(...) in /usr/shlib/libc.so
#1 0x3ff80220090 in UnknownProcedure18FromFile10(...) in /usr/shlib/libc.so
#2 0x3ff80140234 in __tis_raise(...) in /usr/shlib/libc.so
#3 0x3ff801d21f8 in abort(...) in /usr/shlib/libc.so
#4 0x1200cdc64 in terminate(...) in
../../../bin.v2/libs/serialization/test/test_exported_binary_archive.test/hp_cxx-71_006_tru64/debug/test_exported_binary_archive
#5 0x3ff806339e0 in UnknownProcedure16FromFile0(...) in /usr/shlib/libexc.so
#6 0x1200cd104 in UnknownProcedure11FromFile416(...) in
../../../bin.v2/libs/serialization/test/test_exported_binary_archive.test/hp_cxx-71_006_tru64/debug/test_exported_binary_archive
#7 0x1200cd620 in __cxx_throw(...) in
../../../bin.v2/libs/serialization/test/test_exported_binary_archive.test/hp_cxx-71_006_tru64/debug/test_exported_binary_archive
#8 0x12003dc84 in
__7throw_exception__tm__37_Q3_5boost7archive17archive_exception__5boostFRCZ1Z_v(e=&
class archive_exception { ... }) "../../../boost/throw_exception.hpp":39
#9 0x12003f1f0 in
boost::archive::detail::save_pointer_type<boost::archive::binary_oarchive,polymorphic_base*>::polymorphic<polymorphic_base>::save(ar=&
class binary_oarchive { ... }, t=& class polymorphic_base { ... },
bpos_ptr=0x0) "../../../boost/archive/detail/oserializer.hpp":405
#10 0x12003f2fc in
__7__CPR237__save__tm__19_16polymorphic_base__Q4_5boost7archive6detail79save_pointer_type__tm__54_Q3_J36JJ42J15binary_oarchivePJ13JSFRQ3_J36JJ42JJ102JRCZ1_2ZPCQJ34JostJ42JJ50J25basic_pointer_oserializer_v(ar=&
class binary_oarchive { ... }, t=& class polymorphic_base { ... },
bpos_ptr=0x0) "../../../boost/archive/detail/oserializer.hpp":434
#11 0x12003f370 in
boost::archive::detail::save_pointer_type<boost::archive::binary_oarchive,polymorphic_base*>::invoke(ar=&
class binary_oarchive { ... }, t=0x140061c00)
"../../../boost/archive/detail/oserializer.hpp":462
#12 0x12003f4c8 in
__7save__tm__54_Q3_5boost7archive15binary_oarchiveP16polymorphic_base__Q2_5boost7archiveFRZ1ZRCZ2Z_v(ar=&
class binary_oarchive { ... }, t=& 0x140061c00)
"../../../boost/archive/detail/oserializer.hpp":532
...

Going to stack frame #8 gives:

>8 0x12003dc84 in
__7throw_exception__tm__37_Q3_5boost7archive17archive_exception__5boostFRCZ1Z_v(e=&
class boost::archive::archive_exception { ... })
"../../../boost/throw_exception.hpp":39
      39 throw e;

And finally:

(ladebug) print e
& class boost::archive::archive_exception {
   code = unregistered_cast;
}

Maybe this helps in finding the source of the failure. I can provide more
info if needed.

Regards,
Markus


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk