https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=729
Summary: All testcases apart from maintest fail during
"cleanup"
Product: RTT
Version: 1.10.1
Platform: Intel 64bit
OS/Version: Mac OS X
Status: NEW
Severity: normal
Priority: P3
Component: Tests
AssignedTo: orocos-dev [..] ...
ReportedBy: klaas [dot] gadeyne [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0
RTT 1.10 branch
Mac OS X Snow Leopard, Macports
Boost version 1.40
$ g++ --version
i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Seems like a boost test problem, but then again, why doesn't maintest fail too?
$ gdb ./task-test
GNU gdb 6.3.50-20050815 (Apple version gdb-1344) (Fri Jul 3 01:19:56 UTC 2009)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared
libraries ..
warning: Could not find object file
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_40_0/bin.v2/libs/thread/build/darwin-4.2.1/release/threading-multi/pthread/thread.o"
- no debug information available for "libs/thread/src/pthread/thread.cpp".
warning: Could not find object file
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_40_0/bin.v2/libs/thread/build/darwin-4.2.1/release/threading-multi/pthread/exceptions.o"
- no debug information available for "libs/thread/src/pthread/exceptions.cpp".
warning: Could not find object file
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost/work/boost_1_40_0/bin.v2/libs/thread/build/darwin-4.2.1/release/threading-multi/pthread/once.o"
- no debug information available for "libs/thread/src/pthread/once.cpp".
... done
(gdb) run
Starting program:
/Users/klaas/Workspaces/orocos/rtt-1.10/build-macosx/tests/task-test
Reading symbols for shared libraries ++++. done
Running 21 test cases...
*** No errors detected
task-test(640,0x7fff70906be0) malloc: *** error for object 0x3000101201950:
pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Program received signal SIGABRT, Aborted.
0x00007fff83d86ff6 in __kill ()
(gdb) bt
#0 0x00007fff83d86ff6 in __kill ()
#1 0x00007fff83e28072 in abort ()
#2 0x00007fff83d3f095 in free ()
#3 0x000000010006bae8 in boost::unit_test::framework_impl::clear
(this=0x100114720) at framework.ipp:133
#4 0x000000010006bbe6 in boost::unit_test::framework_impl::~framework_impl
(this=0x100114720) at framework.ipp:122
#5 0x0000000100095154 in __tcf_1 () at framework.ipp:225
#6 0x00007fff83d4b274 in __cxa_finalize ()
#7 0x00007fff83d4b18c in exit ()
#8 0x000000010000c5c7 in start () at unit_test_log.hpp:134
[Bug 729] All testcases apart from maintest fail during "cleanup
https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=729
Klaas Gadeyne <klaas [dot] gadeyne [..] ...> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution| |INVALID
Status|NEW |RESOLVED
--- Comment #1 from Klaas Gadeyne <klaas [dot] gadeyne [..] ...> 2009-11-05 20:55:59 ---
Seems to be upstream bug indeed.
[Bug 729] New: All testcases apart from maintest fail during "cl
On Nov 5, 2009, at 14:45 , Klaas Gadeyne wrote:
> https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=729
>
> Summary: All testcases apart from maintest fail during
> "cleanup"
> Product: RTT
> Version: 1.10.1
> Platform: Intel 64bit
> OS/Version: Mac OS X
> Status: NEW
> Severity: normal
> Priority: P3
> Component: Tests
> AssignedTo: orocos-dev [..] ...
> ReportedBy: klaas [dot] gadeyne [..] ...
> CC: orocos-dev [..] ...
> Estimated Hours: 0.0
>
>
> RTT 1.10 branch
> Mac OS X Snow Leopard, Macports
> Boost version 1.40
>
> $ g++ --version
> i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646)
> Copyright (C) 2007 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There
> is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
> Seems like a boost test problem, but then again, why doesn't
> maintest fail too?
>
> $ gdb ./task-test
> GNU gdb 6.3.50-20050815 (Apple version gdb-1344) (Fri Jul 3
> 01:19:56 UTC 2009)
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and
> you are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for
> details.
> This GDB was configured as "x86_64-apple-darwin"...Reading symbols
> for shared
> libraries ..
> warning: Could not find object file
> "/opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost
> /work/boost_1_40_0/bin.v2/libs/thread/build/darwin-4.2.1/release/
> threading-multi/pthread/thread.o"
> - no debug information available for "libs/thread/src/pthread/
> thread.cpp".
>
>
> warning: Could not find object file
> "/opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost
> /work/boost_1_40_0/bin.v2/libs/thread/build/darwin-4.2.1/release/
> threading-multi/pthread/exceptions.o"
> - no debug information available for "libs/thread/src/pthread/
> exceptions.cpp".
>
>
> warning: Could not find object file
> "/opt/local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_boost
> /work/boost_1_40_0/bin.v2/libs/thread/build/darwin-4.2.1/release/
> threading-multi/pthread/once.o"
> - no debug information available for "libs/thread/src/pthread/
> once.cpp".
>
> ... done
>
> (gdb) run
> Starting program:
> /Users/klaas/Workspaces/orocos/rtt-1.10/build-macosx/tests/task-test
> Reading symbols for shared libraries ++++. done
> Running 21 test cases...
>
> *** No errors detected
> task-test(640,0x7fff70906be0) malloc: *** error for object
> 0x3000101201950:
> pointer being freed was not allocated
> *** set a breakpoint in malloc_error_break to debug
>
> Program received signal SIGABRT, Aborted.
> 0x00007fff83d86ff6 in __kill ()
> (gdb) bt
> #0 0x00007fff83d86ff6 in __kill ()
> #1 0x00007fff83e28072 in abort ()
> #2 0x00007fff83d3f095 in free ()
> #3 0x000000010006bae8 in boost::unit_test::framework_impl::clear
> (this=0x100114720) at framework.ipp:133
> #4 0x000000010006bbe6 in
> boost::unit_test::framework_impl::~framework_impl
> (this=0x100114720) at framework.ipp:122
> #5 0x0000000100095154 in __tcf_1 () at framework.ipp:225
> #6 0x00007fff83d4b274 in __cxa_finalize ()
> #7 0x00007fff83d4b18c in exit ()
> #8 0x000000010000c5c7 in start () at unit_test_log.hpp:134
This is a known issue in boost unit test framework. Has been fixed in
boost trunk, but not released yet. Not sure when it will come out ...
possibly v1.41 in a couple of weeks ??
S