{"action":"created","issue":{"url":"https://api.github.com/repos/code-iai/iai_kinect2/issues/129","labels_url":"https://api.github.com/repos/code-iai/iai_kinect2/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/code-iai/iai_kinect2/issues/129/comments","events_url":"https://api.github.com/repos/code-iai/iai_kinect2/issues/129/events","html_url":"https://github.com/code-iai/iai_kinect2/issues/129","id":99495192,"number":129,"title":"Segmentation fault and build issue","user":{"login":"Mosa-","id":7701719,"avatar_url":"https://avatars.githubusercontent.com/u/7701719?v=3","gravatar_id":"","url":"https://api.github.com/users/Mosa-","html_url":"https://github.com/Mosa-","followers_url":"https://api.github.com/users/Mosa-/followers","following_url":"https://api.github.com/users/Mosa-/following{/other_user}","gists_url":"https://api.github.com/users/Mosa-/gists{/gist_id}","starred_url":"https://api.github.com/users/Mosa-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mosa-/subscriptions","organizations_url":"https://api.github.com/users/Mosa-/orgs","repos_url":"https://api.github.com/users/Mosa-/repos","events_url":"https://api.github.com/users/Mosa-/events{/privacy}","received_events_url":"https://api.github.com/users/Mosa-/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-06T18:18:11Z","updated_at":"2015-08-12T16:08:03Z","closed_at":null,"body":"Hi,\r\n\r\nI get a segmentation fault if I start  the bridge with a high fps. I also had a build problem, which I describe here https://github.com/OpenKinect/libfreenect2/issues/355 .\r\nI have to add in the CMakefile:\r\n```\r\n    SET(CMAKE_CXX_FLAGS \"${CMAKE_CXX_FLAGS} -std=c++11 -msse -msse2 -msse3\")\r\n  ELSEIF(COMPILER_SUPPORTS_CXX0X)\r\n    SET(CMAKE_CXX_FLAGS \"${CMAKE_CXX_FLAGS} -std=c++0x -msse -msse2 -msse3\")\r\n```"},"comment":{"url":"https://api.github.com/repos/code-iai/iai_kinect2/issues/comments/130357124","html_url":"https://github.com/code-iai/iai_kinect2/issues/129#issuecomment-130357124","issue_url":"https://api.github.com/repos/code-iai/iai_kinect2/issues/129","id":130357124,"user":{"login":"Mosa-","id":7701719,"avatar_url":"https://avatars.githubusercontent.com/u/7701719?v=3","gravatar_id":"","url":"https://api.github.com/users/Mosa-","html_url":"https://github.com/Mosa-","followers_url":"https://api.github.com/users/Mosa-/followers","following_url":"https://api.github.com/users/Mosa-/following{/other_user}","gists_url":"https://api.github.com/users/Mosa-/gists{/gist_id}","starred_url":"https://api.github.com/users/Mosa-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mosa-/subscriptions","organizations_url":"https://api.github.com/users/Mosa-/orgs","repos_url":"https://api.github.com/users/Mosa-/repos","events_url":"https://api.github.com/users/Mosa-/events{/privacy}","received_events_url":"https://api.github.com/users/Mosa-/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T16:08:03Z","updated_at":"2015-08-12T16:08:03Z","body":"I done it and I got a segmentation fault with this bt:\r\n```\r\n[RgbPacketStreamParser::onDataReceived] skipping rgb packet!\r\n\r\nProgram received signal SIGSEGV, Segmentation fault.\r\n[Switching to Thread 0xa29d8b40 (LWP 8579)]\r\n0xb7c2fdd0 in ?? () from /usr/lib/i386-linux-gnu/libopencv_core.so.2.4\r\n(gdb) bt\r\n#0  0xb7c2fdd0 in ?? () from /usr/lib/i386-linux-gnu/libopencv_core.so.2.4\r\n#1  0xb7c31da0 in cv::flip(cv::_InputArray const&, cv::_OutputArray const&, int) () from /usr/lib/i386-linux-gnu/libopencv_core.so.2.4\r\n#2  0x08091c2b in Kinect2Bridge::processColor (this=0xbfffdf14, color=..., \r\n    images=..., status=...)\r\n    at /home/felix/catkin_ws/src/iai_kinect2/kinect2_bridge/src/kinect2_bridge.cpp:1047\r\n#3  0x08090d73 in Kinect2Bridge::receiveColor (this=0xbfffdf14)\r\n    at /home/felix/catkin_ws/src/iai_kinect2/kinect2_bridge/src/kinect2_bridge.cpp:922\r\n#4  0x080904bc in Kinect2Bridge::threadDispatcher (this=0xbfffdf14, id=2)\r\n    at /home/felix/catkin_ws/src/iai_kinect2/kinect2_bridge/src/kinect2_bridge.cpp:847\r\n#5  0x080a5944 in std::_Mem_fn<void (Kinect2Bridge::*)(unsigned int)>::operator()<unsigned int, void>(Kinect2Bridge*, unsigned int&&) const (this=0x8527acc, \r\n    __object=0xbfffdf14) at /usr/include/c++/4.8/functional:601\r\n#6  0x080a57ff in std::_Bind_simple<std::_Mem_fn<void (Kinect2Bridge::*)(unsigned int)> (Kinect2Bridge*, unsigned int)>::_M_invoke<0u, 1u>(std::_Index_tuple<0u, 1u>) (this=0x8527ac4) at /usr/include/c++/4.8/functional:1732\r\n#7  0x080a56b5 in std::_Bind_simple<std::_Mem_fn<void (Kinect2Bridge::*)(unsigned int)> (Kinect2Bridge*, unsigned int)>::operator()() (this=0x8527ac4)\r\n    at /usr/include/c++/4.8/functional:1720\r\n#8  0x080a5620 in std::thread::_Impl<std::_Bind_simple<std::_Mem_fn<void (Kinect---Type <return> to continue, or q <return> to quit---\r\n2Bridge::*)(unsigned int)> (Kinect2Bridge*, unsigned int)> >::_M_run() (\r\n    this=0x8527ab8) at /usr/include/c++/4.8/thread:115\r\n#9  0xb7611d1e in ?? () from /usr/lib/i386-linux-gnu/libstdc++.so.6\r\n#10 0xb788cf70 in start_thread (arg=0xa29d8b40) at pthread_create.c:312\r\n#11 0xb7448bee in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129\r\n```\r\n\r\nI mean with two ROS-Nodes, that I created two application (ROS-Nodes) and both subscribed the topic '/kinect2/qhd/image_mono'."}}