orocos RTT RTAI 3.9.1

[email protected]
Newsgroups gmane.science.robotics.orocos.devel
Message-ID <[email protected]>
Hi all, I am still fighting against Orocos-RTT and RTAI 3.9.1. The line  
rtos_sem_init (&sem, 1) mentioned above does not seeem to solve the problem  
(thus, I removed it). I patched Logger.hpp/cpp with the patch at  
http://bugs.orocos.org/attachment.cgi?id=712 as described at

  http://www.orocos.org/forum/rtt/rtt-dev/bug-879-new-error-compilation-depending-logging-option-choices.
In addition, I set-DOS_RT_MALLOC_MMAP=-DOS_RT_MALLOC_SBRK=OFF,  
-DENABLE_TESTS=ON, and than I run make check in rtt/build directory. I get  
the messages at the end of the message. The check blocks on task-test. The  
output of the gdb command for task-test is also below.
Did any of you encounter and solve the same problem? Also a solution for  
RTT+Rtai 3.8 would be fine.

Please, help me.

Diego G.

OUTPUT OF MAKE CHECK

test 1

       Start  1: main-test
1: Test command: /home/laboratorio/rock/tools/rtt/build/tests/main-test 1:  
Test timeout computed to be: 2500
  1/38 Test  #1: main-test ........................   Passed    0.05 sec
test 2
       Start  2: list-test
2: Test command: /home/laboratorio/rock/tools/rtt/build/tests/list-test 2:  
Test timeout computed to be: 2500 2: Running 2 test cases... 2: 2: *** No  
errors detected
  2/38 Test  #2: list-test ........................   Passed    0.05 sec
test 3
       Start  3: core-test
3: Test command: /home/laboratorio/rock/tools/rtt/build/tests/core-test 3:  
Test timeout computed to be: 2500 3: Running 11 test cases... 3: 3: *** No  
errors detected
  3/38 Test  #3: core-test ........................   Passed    5.60 sec
test 4
       Start  4: task-test
4: Test command: /home/laboratorio/rock/tools/rtt/build/tests/task-test
4: Test timeout computed to be: 2500

4: task-test: /usr/include/boost/thread/pthread/mutex.hpp:136: bool  
boost::timed_mutex::try_lock(): Assertion `!res || res==16' failed.

4: Running 19 test cases...

4: unknown location(0): fatal error in "testSequential": signal: SIGABRT  
(application abort requeste

4: /home/laboratorio/rock/tools/rtt/tests/taskthread_test.cpp(383): last  
checkpoint

4: /home/laboratorio/rock/tools/rtt/tests/taskthread_test.cpp(506): error in  
"testThreadConfig": check tt->getScheduler() == 0 failed

4: /home/laboratorio/rock/tools/rtt/tests/taskthread_test.cpp(519): error in  
"testThreadConfig": check tt->stop() failed

4: /home/laboratorio/rock/tools/rtt/tests/taskthread_test.cpp(524): error in  
"testThreadConfig": check tt->start() failed

4: /home/laboratorio/rock/tools/rtt/tests/taskthread_test.cpp(525): error in  
"testThreadConfig": check tt->stop() failed

4: /home/laboratorio/rock/tools/rtt/tests/taskthread_test.cpp(526): error in  
"testThreadConfig": check tt->start() failed


GDB OF TASK-TEST

0 0xb7fe2424 in __kernel_vsyscall ()
1 0xb6eaf651 in raise () from /lib/tls/i686/cmov/libc.so.6
2 0xb6eb2a82 in abort () from /lib/tls/i686/cmov/libc.so.6
3 0xb6ea8718 in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
4 0xb7ee1c2e in boost::timed_mutex::try_lock (this=0xbfffdee0) at  
/usr/include/boost/thread/pthread/mutex.hpp:136
5 RTT::os::Mutex::trylock (this=0xbfffdee0) at  
/home/laboratorio/rock/tools/rtt/rtt/os/Mutex.hpp:182
6 0xb7f8bf57 in MutexTryLock (this=0xbfffded4) at  
/home/laboratorio/rock/tools/rtt/rtt/extras/../os/MutexLock.hpp:98
7 RTT::extras::SequentialActivity::trigger (this=0xbfffded4) at  
/home/laboratorio/rock/tools/rtt/rtt/extras/SequentialActivity.cpp:158
8 0x080d634a in ActivitiesThreadTestSuite::testSequential::test_method  
(this=0xbfffdf4c) at  
/home/laboratorio/rock/tools/rtt/tests/taskthread_test.cpp:383
9 0x080d826a in testSequential_invoker () at  
/home/laboratorio/rock/tools/rtt/tests/taskthread_test.cpp:360
10 0x080d05dc in invoke (this=0x8112ac8) at  
/usr/include/boost/test/utils/callback.hpp:56
11 boost::unit_test::ut_detail::callback0_impl_t::invoke (this=0x8112ac8) at  
/usr/include/boost/test/utils/callback.hpp:89
12 0x08095ff1 in boost::unit_test::callback0::operator() (this=0x811d120) at  
/usr/include/boost/test/utils/callback.hpp:118
13 operator() (this=0x811d120) at  
/usr/include/boost/test/impl/unit_test_monitor.ipp:41
14 invoke (this=0x811d120) at /usr/include/boost/test/utils/callback.hpp:42
15 invoke (this=0x811d120) at /usr/include/boost/test/utils/callback.hpp:89
16 0x080939bd in boost::unit_test::callback0::operator() (this=0x81104c8,  
F=...) at /usr/include/boost/test/utils/callback.hpp:118
17 do_invoke (this=0x81104c8, F=...) at  
/usr/include/boost/test/impl/execution_monitor.ipp:244
18 boost::execution_monitor::catch_signals (this=0x81104c8, F=...) at  
/usr/include/boost/test/impl/execution_monitor.ipp:956
19 0x08093aa5 in boost::execution_monitor::execute (this=0x81104c8, F=...) at  
/usr/include/boost/test/impl/execution_monitor.ipp:1282
20 0x080a32dd in boost::unit_test::unit_test_monitor_t::execute_and_translate  
(this=0x81104c8, tc=...) at  
/usr/include/boost/test/impl/unit_test_monitor.ipp:69
21 0x080c49be in boost::unit_test::framework_impl::visit (this=0x8110400,  
tc=...) at /usr/include/boost/test/impl/framework.ipp:150
22 0x0809c431 in boost::unit_test::traverse_test_tree (suite=..., V=...) at  
/usr/include/boost/test/impl/unit_test_suite.ipp:207
23 0x0809c431 in boost::unit_test::traverse_test_tree (suite=..., V=...) at  
/usr/include/boost/test/impl/unit_test_suite.ipp:207
24 0x0809d8ef in boost::unit_test::framework::run (id=1, continue_test=true)  
at /usr/include/boost/test/impl/framework.ipp:436
25 0x080a8634 in boost::unit_test::unit_test_main (init_func=0x8091120 ,  
argc=1, argv=0xbfffeda4) at  
/usr/include/boost/test/impl/unit_test_main.ipp:185
26 0x080a8ca3 in main (argc=1, argv=0xbfffeda4) at  
/usr/include/boost/test/impl/unit_test_main.ipp:237

-- 
Orocos-Dev mailing list
[email protected]
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.