Menu

#7 Regression executable is not working

open
nobody
None
9
2007-03-05
2007-03-05
No

I made regression/makefile on 32-bit Linux (Red Hat Enterprise Linux WS release 4 (Nahant Update 3)) with glibc-2.3.4-2.19 and got abort in this stack (both exmat and cppunit were made by gcc version 4.1.0 with –O0 instead of –O2):

Starting program: /nfs/ins/proj/icl/qa/users/apstasen/e/exmat-0.6.1/regression/regression.exe
*** glibc detected *** free(): invalid next size (fast): 0x09c27420 ***

Program received signal SIGABRT, Aborted.
0x002a87a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) bt
#0 0x002a87a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x002e87f5 in raise () from /lib/tls/libc.so.6
#2 0x002ea199 in abort () from /lib/tls/libc.so.6
#3 0x0031c4ea in __libc_message () from /lib/tls/libc.so.6
#4 0x00322c6f in _int_free () from /lib/tls/libc.so.6
#5 0x00322fea in free () from /lib/tls/libc.so.6
#6 0x00bb7d31 in operator delete () from /usr/intel/pkgs/gcc/4.1.0/lib/libstdc++.so.6
#7 0x0806b72f in __gnu_cxx::new_allocator<float>::deallocate (this=0xbff1d6e8, __p=0x9c27420)
at /nfs/ins/itools/i386_linux24/pkgs/gcc/4.1.0/bin/../lib/gcc/i686-pc-linux-gnu/4.1.0/../../../../include/c++/4.1.0/ext/new_allocator.h:94
#8 0x0806b759 in std::_Vector_base<float, std::allocator<float> >::_M_deallocate (this=0xbff1d6e8, __p=0x9c27420, __n=6)
at /nfs/ins/itools/i386_linux24/pkgs/gcc/4.1.0/bin/../lib/gcc/i686-pc-linux-gnu/4.1.0/../../../../include/c++/4.1.0/bits/stl_vector.h:133
#9 0x0806b792 in ~_Vector_base (this=0xbff1d6e8)
at /nfs/ins/itools/i386_linux24/pkgs/gcc/4.1.0/bin/../lib/gcc/i686-pc-linux-gnu/4.1.0/../../../../include/c++/4.1.0/bits/stl_vector.h:119
#10 0x0806b7f4 in ~vector (this=0xbff1d6e8)
at /nfs/ins/itools/i386_linux24/pkgs/gcc/4.1.0/bin/../lib/gcc/i686-pc-linux-gnu/4.1.0/../../../../include/c++/4.1.0/bits/stl_vector.h:272
#11 0x0806b80a in ~DynamicSizeCMCon (this=0xbff1d6d4) at SIMD/../../include/Container/DynamicDense.h:394
#12 0x0806b81d in ~DenseMatCon (this=0xbff1d6d4) at SIMD/../../include/Container/Container.h:295
#13 0x0806b831 in ~Mat (this=0xbff1d6d4) at SIMD/../../include/Mat.h:336
#14 0x080a1bf2 in TestDynamicResize<exmat::Mat<exmat::DenseMatCon<float, 0, 0, exmat::ColMajorTag>, exmat::DefaultErrorChecker>, exmat::Mat<exmat::DenseMatCon<float, 0, 0, exmat::ColMajorTag>, exmat::EmptyErrorChecker>, exmat::Mat<exmat::DenseMatCon<double, 0, 0, exmat::ColMajorTag>, exmat::DefaultErrorChecker> >::Reserve_smaller (this=0x9be2bf0) at TestDynamicResize.h:252
#15 0x08097ab1 in CppUnit::TestCaller<TestDynamicResize<exmat::Mat<exmat::DenseMatCon<float, 0, 0, exmat::ColMajorTag>, exmat::DefaultErrorChecker>, exmat::Mat<exmat::DenseMatCon<float, 0, 0, exmat::ColMajorTag>, exmat::EmptyErrorChecker>, exmat::Mat<exmat::DenseMatCon<double, 0, 0, exmat::ColMajorTag>, exmat::DefaultErrorChecker> > >::runTest (this=0x9be2d88) at cppunit/TestCaller.h:166
#16 0x081f1fbf in CppUnit::TestCaseMethodFunctor::operator() (this=0xbff1dbe8) at TestCase.cpp:32
#17 0x08202dec in CppUnit::DefaultProtector::protect (this=0x9bd90c0, functor=@0xbff1dbe8, context=@0xbff1db58) at DefaultProtector.cpp:15
#18 0x0820375d in CppUnit::ProtectorChain::ProtectFunctor::operator() (this=0x9c03a30) at ProtectorChain.cpp:20
#19 0x0820342c in CppUnit::ProtectorChain::protect (this=0x9bd8e60, functor=@0xbff1dbe8, context=@0xbff1db58) at ProtectorChain.cpp:77
#20 0x081fe103 in CppUnit::TestResult::protect (this=0x9bd8be0, functor=@0xbff1dbe8, test=0x9be2d88, shortDescription=@0xbff1dbe0) at TestResult.cpp:178
#21 0x081f1d65 in CppUnit::TestCase::run (this=0x9be2d88, result=0x9bd8be0) at TestCase.cpp:92
#22 0x081fd7e4 in CppUnit::TestComposite::doRunChildTests (this=0x9bd9768, controller=0x9bd8be0) at TestComposite.cpp:64
#23 0x081fd6d8 in CppUnit::TestComposite::run (this=0x9bd9768, result=0x9bd8be0) at TestComposite.cpp:23
#24 0x081fd7e4 in CppUnit::TestComposite::doRunChildTests (this=0x9bd9100, controller=0x9bd8be0) at TestComposite.cpp:64
#25 0x081fd6d8 in CppUnit::TestComposite::run (this=0x9bd9100, result=0x9bd8be0) at TestComposite.cpp:23
#26 0x081fa925 in CppUnit::TestRunner::WrappingSuite::run (this=0x9bd86f0, result=0x9bd8be0) at TestRunner.cpp:46
#27 0x081fdb16 in CppUnit::TestResult::runTest (this=0x9bd8be0, test=0x9bd86f0) at TestResult.cpp:145
#28 0x081fa7cd in CppUnit::TestRunner::run (this=0xbff1dd64, controller=@0x9bd8be0, testPath=@0xbff1dd80) at TestRunner.cpp:95
#29 0x081fcabe in CppUnit::TextTestRunner::run (this=0xbff1dd64, testName=@0xbff1dd80, doWait=false, doPrintResult=true, doPrintProgress=false)
at TextTestRunner.cpp:63
#30 0x0804a5ff in main () at main.cpp:25

Also I have similar problems on Win32 (I tried to use MSVS 2005 only).

Discussion

  • Alexander Stasenko

    • priority: 5 --> 9
     
  • Alexander Stasenko

    Logged In: YES
    user_id=1735531
    Originator: YES

    I use v1.10.2 (latest) of cppunit library.

     

Log in to post a comment.