On 27 December 2010 12:29, Mahmood Naderan wrote: > Hi, > I am using g++4.1 and I know it is old by I will be glad if you help me with > this problem. I get SIGABRT in my program and with gdb, this is my backtrace: > > Program received signal SIGABRT, Aborted. > 0x00007f86d1a2ca75 in raise () from /lib/libc.so.6 > (gdb) backtrace > #0 0x00007f86d1a2ca75 in raise () from /lib/libc.so.6 > #1 0x00007f86d1a305c0 in abort () from /lib/libc.so.6 > #2 0x00007f86cb8ff8e5 in __gnu_cxx::__verbose_terminate_handler() () > from /home/mahmood/virtual/amd64-linux/sys/lib/libstdc++.so.6 > #3 0x00007f86cb8fdd16 in ?? () > from /home/mahmood/virtual/amd64-linux/sys/lib/libstdc++.so.6 > #4 0x00007f86cb8fdd43 in std::terminate() () > from /home/mahmood/virtual/amd64-linux/sys/lib/libstdc++.so.6 > #5 0x00007f86cb8fde3e in __cxa_throw () > from /home/mahmood/virtual/amd64-linux/sys/lib/libstdc++.so.6 > #6 0x00007f86ca6060fa in load<long> (this=<value optimized out>, > ar=<value optimized out>, x=<value optimized out>, > file_version=<value optimized out>) > at /opt/boost_1_33_1/boost/throw_exception.hpp:39 > #7 load<long> (this=<value optimized out>, ar=<value optimized out>, > x=<value optimized out>, file_version=<value optimized out>) > at /opt/boost_1_33_1/boost/archive/text_iarchive.hpp:45 An exception is being thrown here and not caught, which causes the C++ runtime to call std::terminate, which calls abort() which calls raise(SIGABRT). You need to find out why the exception is being thrown, and prevent it, or you need to catch it and handle it. > #8 load_primitive<boost::archive::text_iarchive, long> ( > this=<value optimized out>, ar=<value optimized out>, > x=<value optimized out>, file_version=<value optimized out>) > at /opt/boost_1_33_1/boost/archive/detail/iserializer.hpp:96 > #9 boost::archive::detail::load_non_pointer_type<boost::archive::text_iarchive, > > long>::load_primitive::invoke (this=<value optimized out>, > > My program is compatible with g++ 4.1 because it worked fine before but I > don't know what did I wrong that get this error. > > Thanks for any idea. > // Naderan *Mahmood; > > > > >