{"action":"created","issue":{"url":"https://api.github.com/repos/ros-visualization/rviz/issues/864","labels_url":"https://api.github.com/repos/ros-visualization/rviz/issues/864/labels{/name}","comments_url":"https://api.github.com/repos/ros-visualization/rviz/issues/864/comments","events_url":"https://api.github.com/repos/ros-visualization/rviz/issues/864/events","html_url":"https://github.com/ros-visualization/rviz/pull/864","id":62763820,"number":864,"title":"ogre_helpers: fix bad ascii stl import segfault","user":{"login":"jbohren","id":1253450,"avatar_url":"https://avatars.githubusercontent.com/u/1253450?v=3","gravatar_id":"","url":"https://api.github.com/users/jbohren","html_url":"https://github.com/jbohren","followers_url":"https://api.github.com/users/jbohren/followers","following_url":"https://api.github.com/users/jbohren/following{/other_user}","gists_url":"https://api.github.com/users/jbohren/gists{/gist_id}","starred_url":"https://api.github.com/users/jbohren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbohren/subscriptions","organizations_url":"https://api.github.com/users/jbohren/orgs","repos_url":"https://api.github.com/users/jbohren/repos","events_url":"https://api.github.com/users/jbohren/events{/privacy}","received_events_url":"https://api.github.com/users/jbohren/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-18T18:15:19Z","updated_at":"2015-03-18T20:10:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ros-visualization/rviz/pulls/864","html_url":"https://github.com/ros-visualization/rviz/pull/864","diff_url":"https://github.com/ros-visualization/rviz/pull/864.diff","patch_url":"https://github.com/ros-visualization/rviz/pull/864.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/ros-visualization/rviz/issues/comments/83149876","html_url":"https://github.com/ros-visualization/rviz/pull/864#issuecomment-83149876","issue_url":"https://api.github.com/repos/ros-visualization/rviz/issues/864","id":83149876,"user":{"login":"jbohren","id":1253450,"avatar_url":"https://avatars.githubusercontent.com/u/1253450?v=3","gravatar_id":"","url":"https://api.github.com/users/jbohren","html_url":"https://github.com/jbohren","followers_url":"https://api.github.com/users/jbohren/followers","following_url":"https://api.github.com/users/jbohren/following{/other_user}","gists_url":"https://api.github.com/users/jbohren/gists{/gist_id}","starred_url":"https://api.github.com/users/jbohren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbohren/subscriptions","organizations_url":"https://api.github.com/users/jbohren/orgs","repos_url":"https://api.github.com/users/jbohren/repos","events_url":"https://api.github.com/users/jbohren/events{/privacy}","received_events_url":"https://api.github.com/users/jbohren/received_events","type":"User","site_admin":false},"created_at":"2015-03-18T20:10:41Z","updated_at":"2015-03-18T20:10:41Z","body":"Here's the segfault:\r\n\r\n```\r\nProgram received signal SIGSEGV, Segmentation fault.\r\n0x00007ffff7a69406 in ogre_tools::STLLoader::load (this=0x7fffffffa5b0, \r\n    buffer=0x7fff5bb9a010 \"solid ascii\\n facet normal -0.616194 0.734641 0.283914\\n  outer loop\\n   vertex -0.027198 0.026293 0.025324\\n   vertex -0.026537 0.026694 0.025721\\n   vertex -0.026726 0.026983 0.024563\\n  endloop\\n endfacet\"...)\r\n    at /home/jbohren/ws/ascent/src/rviz/src/rviz/ogre_helpers/stl_loader.cpp:110\r\n110\t    tri.vertices_[0].x = *(float*)pos;\r\n```"}}