{"action":"created","issue":{"url":"https://api.github.com/repos/ros-visualization/rviz/issues/1026","repository_url":"https://api.github.com/repos/ros-visualization/rviz","labels_url":"https://api.github.com/repos/ros-visualization/rviz/issues/1026/labels{/name}","comments_url":"https://api.github.com/repos/ros-visualization/rviz/issues/1026/comments","events_url":"https://api.github.com/repos/ros-visualization/rviz/issues/1026/events","html_url":"https://github.com/ros-visualization/rviz/issues/1026","id":160680139,"number":1026,"title":"Segfault on launch with Debian build of Rviz","user":{"login":"cdellin","id":2708448,"avatar_url":"https://avatars.githubusercontent.com/u/2708448?v=3","gravatar_id":"","url":"https://api.github.com/users/cdellin","html_url":"https://github.com/cdellin","followers_url":"https://api.github.com/users/cdellin/followers","following_url":"https://api.github.com/users/cdellin/following{/other_user}","gists_url":"https://api.github.com/users/cdellin/gists{/gist_id}","starred_url":"https://api.github.com/users/cdellin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdellin/subscriptions","organizations_url":"https://api.github.com/users/cdellin/orgs","repos_url":"https://api.github.com/users/cdellin/repos","events_url":"https://api.github.com/users/cdellin/events{/privacy}","received_events_url":"https://api.github.com/users/cdellin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ros-visualization/rviz/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-06-16T14:46:20Z","updated_at":"2016-10-06T16:20:02Z","closed_at":null,"body":"(Note: I'm not sure where to file this bug ... perhaps there's a place that's appropriate for packaging bugs?)\r\n\r\nI installed the `ros-kinetic-rviz` package, and I get the following segfault:\r\n\r\n```\r\n$ gdb --args /opt/ros/kinetic/lib/rviz/rviz\r\n...\r\nProgram received signal SIGSEGV, Segmentation fault.\r\n0x00007fffd9608dbc in ?? () from /usr/lib/x86_64-linux-gnu/libQtTest.so.4\r\n(gdb) where\r\n#0  0x00007fffd9608dbc in ?? () from /usr/lib/x86_64-linux-gnu/libQtTest.so.4\r\n#1  0x00007ffff7dea9ba in call_init (l=<optimized out>, argc=argc@entry=1, \r\n    argv=argv@entry=0x7fffffffe128, env=env@entry=0x7fffffffe138)\r\n    at dl-init.c:78\r\n#2  0x00007ffff7deaaa3 in call_init (env=0x7fffffffe138, argv=0x7fffffffe128, \r\n    argc=1, l=<optimized out>) at dl-init.c:36\r\n#3  _dl_init (main_map=0x7ffff7ffe1a8, argc=1, argv=0x7fffffffe128, \r\n    env=0x7fffffffe138) at dl-init.c:126\r\n#4  0x00007ffff7ddd1ca in _dl_start_user () from /lib64/ld-linux-x86-64.so.2\r\n#5  0x0000000000000001 in ?? ()\r\n#6  0x00007fffffffe41a in ?? ()\r\n#7  0x0000000000000000 in ?? ()\r\n```\r\n\r\nIt looks like it could be a Qt-related problem.  Here are the libraries the linker finds:\r\n```\r\n$ ldd /opt/ros/kinetic/lib/rviz/rviz | grep Qt\r\n\tlibQt5Widgets.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007f15d0efd000)\r\n\tlibQt5Gui.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007f15d07c7000)\r\n\tlibQt5Core.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f15d008b000)\r\n\tlibQtGui.so.4 => /usr/lib/x86_64-linux-gnu/libQtGui.so.4 (0x00007f15b4248000)\r\n\tlibQtTest.so.4 => /usr/lib/x86_64-linux-gnu/libQtTest.so.4 (0x00007f15b4022000)\r\n\tlibQtCore.so.4 => /usr/lib/x86_64-linux-gnu/libQtCore.so.4 (0x00007f15b3b33000)\r\n```\r\n\r\n... so I expect there's a problem with Rviz being linked against both Qt4 and Qt5?\r\n\r\nI'm running an freshly-installed and up-to-date Debian 8 Jessie system.  I followed the ROS installation instructions here: http://wiki.ros.org/action/fullsearch/Installation/Debian"},"comment":{"url":"https://api.github.com/repos/ros-visualization/rviz/issues/comments/252013581","html_url":"https://github.com/ros-visualization/rviz/issues/1026#issuecomment-252013581","issue_url":"https://api.github.com/repos/ros-visualization/rviz/issues/1026","id":252013581,"user":{"login":"pcarleton","id":704663,"avatar_url":"https://avatars.githubusercontent.com/u/704663?v=3","gravatar_id":"","url":"https://api.github.com/users/pcarleton","html_url":"https://github.com/pcarleton","followers_url":"https://api.github.com/users/pcarleton/followers","following_url":"https://api.github.com/users/pcarleton/following{/other_user}","gists_url":"https://api.github.com/users/pcarleton/gists{/gist_id}","starred_url":"https://api.github.com/users/pcarleton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcarleton/subscriptions","organizations_url":"https://api.github.com/users/pcarleton/orgs","repos_url":"https://api.github.com/users/pcarleton/repos","events_url":"https://api.github.com/users/pcarleton/events{/privacy}","received_events_url":"https://api.github.com/users/pcarleton/received_events","type":"User","site_admin":false},"created_at":"2016-10-06T16:20:02Z","updated_at":"2016-10-06T16:20:02Z","body":"@mryellow Thanks for that workaround.  For it to work, do I need to rebuild rviz using catkin? If so, are there instructions somewhere on how to do that? The build instructions on http://wiki.ros.org/rviz/UserGuide#Install_or_build_rviz give rosmake commands which do not take in to account the catkin config."}}
{"actor":{"display_login":"pcarleton"}}