{"action":"created","issue":{"url":"https://api.github.com/repos/s-nakaoka/choreonoid/issues/104","repository_url":"https://api.github.com/repos/s-nakaoka/choreonoid","labels_url":"https://api.github.com/repos/s-nakaoka/choreonoid/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/s-nakaoka/choreonoid/issues/104/comments","events_url":"https://api.github.com/repos/s-nakaoka/choreonoid/issues/104/events","html_url":"https://github.com/s-nakaoka/choreonoid/issues/104","id":157010566,"number":104,"title":"20160526のビルドでBodyRTCの読み込みで落ちる","user":{"login":"YoheiKakiuchi","id":2408164,"avatar_url":"https://avatars.githubusercontent.com/u/2408164?v=3","gravatar_id":"","url":"https://api.github.com/users/YoheiKakiuchi","html_url":"https://github.com/YoheiKakiuchi","followers_url":"https://api.github.com/users/YoheiKakiuchi/followers","following_url":"https://api.github.com/users/YoheiKakiuchi/following{/other_user}","gists_url":"https://api.github.com/users/YoheiKakiuchi/gists{/gist_id}","starred_url":"https://api.github.com/users/YoheiKakiuchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YoheiKakiuchi/subscriptions","organizations_url":"https://api.github.com/users/YoheiKakiuchi/orgs","repos_url":"https://api.github.com/users/YoheiKakiuchi/repos","events_url":"https://api.github.com/users/YoheiKakiuchi/events{/privacy}","received_events_url":"https://api.github.com/users/YoheiKakiuchi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-05-26T15:24:44Z","updated_at":"2016-05-27T10:45:42Z","closed_at":null,"body":"debでインストールしている環境で、20160526のビルドにおいて、BodyRTCの読み込みでchoreonoidが落ちてしまいます。\r\n\r\nあまり深入りできておりませんが、問題は最新のOpenRTMのソースにあるように思うのですが、現象が確認できるのがchoreonoidですので、こちらに報告させてもらいます。\r\n\r\n20160526のopenrtm-aistを使って、ソースからコンパイルしても同じようになっております。\r\n（ros-indigo-openrtm-aistをつかってコンパイルすると問題は起こりません)\r\n最近の変更で何かありましたでしょうか？ @n-ando\r\n\r\n以下、Debugフラグをつけてコンパイルしたchoreonoidでのgdbの結果をお送りします。\r\n~~~\r\n(gdb) run\r\nStarting program: /usr/local/choreonoid/bin/choreonoid /usr/local/choreonoid/share/choreonoid-1.5/project/OpenRTM-PA10Pickup.cnoid\r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/lib/x86_64-linux-gnu/libthread_db.so.1\".\r\n[New Thread 0x7fffe4fd6700 (LWP 8995)]\r\n[New Thread 0x7fffdffff700 (LWP 8996)]\r\n[New Thread 0x7fffdcabd700 (LWP 8997)]\r\n[New Thread 0x7fffd7fff700 (LWP 8998)]\r\n[New Thread 0x7fffd77ae700 (LWP 8999)]\r\n[Thread 0x7fffd7fff700 (LWP 8998) exited]\r\n[New Thread 0x7fffd7fff700 (LWP 9002)]\r\n[New Thread 0x7fffc32cc700 (LWP 9003)]\r\n[New Thread 0x7fffc2a7b700 (LWP 9004)]\r\n[New Thread 0x7fffc222a700 (LWP 9010)]\r\nLoading body customizer \"/home/leus/ros/indigo/src/rtm-ros-robotics/rtmros_choreonoid/hrpsys_choreonoid/JAXONCustomizer.so\" for JAXON_JVRC\r\n[New Thread 0x7fffc022b700 (LWP 9011)]\r\n[Thread 0x7fffc022b700 (LWP 9011) exited]\r\n[New Thread 0x7fffbf9da700 (LWP 9012)]\r\n[Thread 0x7fffbf9da700 (LWP 9012) exited]\r\n\r\nProgram received signal SIGSEGV, Segmentation fault.\r\n0x00007fffc8202922 in _CORBA_Sequence<double>::_CORBA_Sequence (\r\n    this=0x7fffffffa038, s=...)\r\n    at /usr/include/omniORB4/seqTemplatedecls.h:236\r\n236\t      pd_buf[i] = s.pd_buf[i];\r\n(gdb) bt\r\n#0  0x00007fffc8202922 in _CORBA_Sequence<double>::_CORBA_Sequence (\r\n    this=0x7fffffffa038, s=...)\r\n    at /usr/include/omniORB4/seqTemplatedecls.h:236\r\n#1  0x00007fffc81fc011 in _CORBA_Unbounded_Sequence<double>::_CORBA_Unbounded_Sequence (this=0x7fffffffa038, s=...)\r\n    at /usr/include/omniORB4/seqTemplatedecls.h:325\r\n#2  0x00007fffc81f1e8d in _CORBA_Unbounded_Sequence_w_FixSizeElement<double, 8, 8>::_CORBA_Unbounded_Sequence_w_FixSizeElement (this=0x7fffffffa038, s=...)\r\n    at /usr/include/omniORB4/seqTemplatedecls.h:566\r\n#3  0x00007fffc81f260f in RTC::TimedDoubleSeq::TimedDoubleSeq (\r\n    this=0x7fffffffa030)\r\n    at /usr/include/openrtm-1.1/rtm/idl/BasicDataType.hh:446\r\n#4  0x00007fffc81f27e8 in RTC::OutPort<RTC::TimedDoubleSeq>::OutPort (\r\n    this=0x14f52e8, name=0x14c41c8 \"q\", value=..., __in_chrg=<optimized out>, \r\n    __vtt_parm=<optimized out>) at /usr/include/openrtm-1.1/rtm/OutPort.h:141\r\n#5  0x00007fffc81ea986 in cnoid::SensorStateOutPortHandler::SensorStateOutPortHandler (this=0x14f52c0, info=...)\r\n    at /home/leus/src/choreonoid/src/OpenRTMPlugin/VirtualRobotPortHandler.cpp:26\r\n#6  0x00007fffc81e145e in cnoid::VirtualRobotRTC::createOutPortHandler (\r\n    this=0x15003d0, portInfo=...)\r\n    at /home/leus/src/choreonoid/src/OpenRTMPlugin/VirtualRobotRTC.cpp:111\r\n#7  0x00007fffc81e1266 in cnoid::VirtualRobotRTC::createPorts (\r\n    this=0x15003d0, bridgeConf=0x14c0ed0)\r\n    at /home/leus/src/choreonoid/src/OpenRTMPlugin/VirtualRobotRTC.cpp:81\r\n#8  0x00007fffc81be965 in cnoid::BodyRTCItem::createRTC (this=0x14c8ce0, \r\n    body=...)\r\n    at /home/leus/src/choreonoid/src/OpenRTMPlugin/BodyRTCItem.cpp:197\r\n#9  0x00007fffc81bfae4 in cnoid::BodyRTCItem::onPositionChanged (\r\n    this=0x14c8ce0)\r\n    at /home/leus/src/choreonoid/src/OpenRTMPlugin/BodyRTCItem.cpp:277\r\n#10 0x00007ffff784aba4 in cnoid::Item::callSlotsOnPositionChanged (\r\n    this=0x14c8ce0) at /home/leus/src/choreonoid/src/Base/Item.cpp:236\r\n#11 0x00007ffff784aaf4 in cnoid::Item::doInsertChildItem (this=0x114f150, \r\n    item=0x14c8ce0, nextItem=0x0, isManualOperation=false)\r\n    at /home/leus/src/choreonoid/src/Base/Item.cpp:207\r\n#12 0x00007ffff784a812 in cnoid::Item::addChildItem (this=0x114f150, \r\n    item=0x14c8ce0, isManualOperation=false)\r\n    at /home/leus/src/choreonoid/src/Base/Item.cpp:122\r\n#13 0x00007ffff78ee7ac in cnoid::ItemTreeArchiverImpl::restoreItemIter (\r\nPython Exception <class 'IndexError'> list index out of range: \r\n    this=0x973a20, archive=..., parentItem=0x114f150, \r\n    optionalPlugins=std::set with 0 elements)\r\n    at /home/leus/src/choreonoid/src/Base/ItemTreeArchiver.cpp:274\r\n#14 0x00007ffff78eeacc in cnoid::ItemTreeArchiverImpl::restoreItemIter (\r\nPython Exception <class 'IndexError'> list index out of range: \r\n    this=0x973a20, archive=..., parentItem=0x10e4820, \r\n    optionalPlugins=std::set with 0 elements)\r\n    at /home/leus/src/choreonoid/src/Base/ItemTreeArchiver.cpp:295\r\n#15 0x00007ffff78eeacc in cnoid::ItemTreeArchiverImpl::restoreItemIter (\r\nPython Exception <class 'IndexError'> list index out of range: \r\n    this=0x973a20, archive=..., parentItem=0x973bf0, \r\n    optionalPlugins=std::set with 0 elements)\r\n    at /home/leus/src/choreonoid/src/Base/ItemTreeArchiver.cpp:295\r\n#16 0x00007ffff78eeacc in cnoid::ItemTreeArchiverImpl::restoreItemIter (\r\nPython Exception <class 'IndexError'> list index out of range: \r\n    this=0x973a20, archive=..., parentItem=0x973bf0, \r\n    optionalPlugins=std::set with 0 elements)\r\n    at /home/leus/src/choreonoid/src/Base/ItemTreeArchiver.cpp:295\r\n#17 0x00007ffff78edd16 in cnoid::ItemTreeArchiverImpl::restore (\r\nPython Exception <class 'IndexError'> list index out of range: \r\n    this=0x973a20, archive=..., parentItem=0x973bf0, \r\n    optionalPlugins=std::set with 0 elements)\r\n    at /home/leus/src/choreonoid/src/Base/ItemTreeArchiver.cpp:183\r\n#18 0x00007ffff78edcbb in cnoid::ItemTreeArchiver::restore (this=0x9738a0, \r\nPython Exception <class 'IndexError'> list index out of range: \r\n    archive=0x10b83e0, parentItem=0x973bf0, \r\n    optionalPlugins=std::set with 0 elements)\r\n    at /home/leus/src/choreonoid/src/Base/ItemTreeArchiver.cpp:172\r\n#19 0x00007ffff77c50fa in cnoid::ProjectManagerImpl::loadProject (\r\n    this=0x9738a0, \r\n    filename=\"/usr/local/choreonoid/share/choreonoid-1.5/project/OpenRTM-PA10Pickup.cnoid\", isInvokingApplication=true)\r\n    at /home/leus/src/choreonoid/src/Base/ProjectManager.cpp:287\r\n#20 0x00007ffff77c64ea in cnoid::ProjectManagerImpl::onSigOptionsParsed (\r\n    this=0x9738a0, v=...)\r\n    at /home/leus/src/choreonoid/src/Base/ProjectManager.cpp:462\r\n#21 0x00007ffff77db444 in boost::_mfi::mf1<void, cnoid::ProjectManagerImpl, boost::program_options::variables_map&>::operator() (this=0x905af8, p=0x9738a0, \r\n    a1=...) at /usr/include/boost/bind/mem_fn_template.hpp:165\r\n#22 0x00007ffff77d8d27 in boost::_bi::list2<boost::_bi::value<cnoid::ProjectManagerImpl*>, boost::arg<1> >::operator()<boost::_mfi::mf1<void, cnoid::ProjectManagerImpl, boost::program_options::variables_map&>, boost::_bi::list1<boost::program_options::variables_map&> > (this=0x905b08, f=..., a=...)\r\n    at /usr/include/boost/bind/bind.hpp:313\r\n#23 0x00007ffff77d400e in boost::_bi::bind_t<void, boost::_mfi::mf1<void, cnoid::ProjectManagerImpl, boost::program_options::variables_map&>, boost::_bi::list2<boost::_bi::value<cnoid::ProjectManagerImpl*>, boost::arg<1> > >::operator()<boost::program_options::variables_map> (this=0x905af8, a1=...)\r\n    at /usr/include/boost/bind/bind_template.hpp:32\r\n#24 0x00007ffff77d0d64 in boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void, boost::_mfi::mf1<void, cnoid::ProjectManagerImpl, boost::program_options::variables_map&>, boost::_bi::list2<boost::_bi::value<cnoid::ProjectManagerImpl*>, boost::arg<1> > >, void, boost::program_options::variables_map&>::invoke (function_obj_ptr=..., a0=...)\r\n    at /usr/include/boost/function/function_template.hpp:153\r\n#25 0x00007ffff78d1c2d in boost::function1<void, boost::program_options::variables_map&>::operator() (this=0x905af0, a0=...)\r\n    at /usr/include/boost/function/function_template.hpp:767\r\n#26 0x00007ffff78d179e in cnoid::ArgSet1<void, boost::program_options::variables_map&, cnoid::signal_private::last_value<void> >::call<cnoid::signal_private::SlotHolder1<void, boost::program_options::variables_map&, cnoid::signal_private::last_value<void> > > (this=0x7fffffffc670, slot=0x905ad0)\r\n    at /home/leus/src/choreonoid/src/Util/SignalTemplate.h:91\r\n#27 0x00007ffff78d1394 in cnoid::signal_private::SlotCallIterator<cnoid::signal_private::SlotHolder1<void, boost::program_options::variables_map&, cnoid::signal_private::last_value<void> >, cnoid::ArgSet1<void, boost::program_options::variables_map&, cnoid::signal_private::last_value<void> > >::operator* (\r\n    this=0x7fffffffc630) at /home/leus/src/choreonoid/src/Util/Signal.h:101\r\n#28 0x00007ffff78d0d3a in cnoid::signal_private::last_value<void>::operator()<cnoid::signal_private::SlotCallIterator<cnoid::signal_private::SlotHolder1<void, boost::program_options::variables_map&, cnoid::signal_private::last_value<void> >, cnoid::ArgSet1<void, boost::program_options::variables_map&, cnoid::signal_private::last_value<void> > > > (this=0x7fffffffc66f, first=..., last=...)\r\n    at /home/leus/src/choreonoid/src/Util/Signal.h:43\r\n#29 0x00007ffff78d0379 in cnoid::Signal1<void, boost::program_options::variables_map&, cnoid::signal_private::last_value<void> >::operator() (\r\n    this=0x7ffff7dd95b0 <cnoid::ExtensionManager::optionManager()::optionManager>, a1=...) at /home/leus/src/choreonoid/src/Util/SignalTemplate.h:217\r\n#30 0x00007ffff78cf9b1 in cnoid::OptionManager::parseCommandLine (\r\n    this=0x7ffff7dd95b0 <cnoid::ExtensionManager::optionManager()::optionManager>, argc=2, argv=0x7fffffffc9b8)\r\n    at /home/leus/src/choreonoid/src/Base/OptionManager.cpp:51\r\n#31 0x00007ffff77bafbf in cnoid::AppImpl::processCommandLineOptions (\r\n    this=0x65d040) at /home/leus/src/choreonoid/src/Base/App.cpp:371\r\n#32 0x00007ffff77bacc4 in cnoid::AppImpl::exec (this=0x65d040)\r\n    at /home/leus/src/choreonoid/src/Base/App.cpp:306\r\n#33 0x00007ffff77bacaa in cnoid::App::exec (this=0x7fffffffc8a0)\r\n    at /home/leus/src/choreonoid/src/Base/App.cpp:300\r\n#34 0x0000000000401259 in main (argc=2, argv=0x7fffffffc9b8)\r\n    at /home/leus/src/choreonoid/src/Choreonoid/main.cpp:24\r\n(gdb) \r\n~~~"},"comment":{"url":"https://api.github.com/repos/s-nakaoka/choreonoid/issues/comments/222116784","html_url":"https://github.com/s-nakaoka/choreonoid/issues/104#issuecomment-222116784","issue_url":"https://api.github.com/repos/s-nakaoka/choreonoid/issues/104","id":222116784,"user":{"login":"n-ando","id":11814060,"avatar_url":"https://avatars.githubusercontent.com/u/11814060?v=3","gravatar_id":"","url":"https://api.github.com/users/n-ando","html_url":"https://github.com/n-ando","followers_url":"https://api.github.com/users/n-ando/followers","following_url":"https://api.github.com/users/n-ando/following{/other_user}","gists_url":"https://api.github.com/users/n-ando/gists{/gist_id}","starred_url":"https://api.github.com/users/n-ando/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n-ando/subscriptions","organizations_url":"https://api.github.com/users/n-ando/orgs","repos_url":"https://api.github.com/users/n-ando/repos","events_url":"https://api.github.com/users/n-ando/events{/privacy}","received_events_url":"https://api.github.com/users/n-ando/received_events","type":"User","site_admin":false},"created_at":"2016-05-27T10:45:42Z","updated_at":"2016-05-27T10:45:42Z","body":"同一プロセス内に存在する、libRTCに関係するバイナリはすべて新しいソースからビルドされたものですか？古いOpenRTMとリンクしているshared objectとかは混ざってませんか？\r\n"}}
{"actor":{"display_login":"n-ando"}}