{"action":"created","issue":{"url":"https://api.github.com/repos/pioneerspacesim/pioneer/issues/3794","repository_url":"https://api.github.com/repos/pioneerspacesim/pioneer","labels_url":"https://api.github.com/repos/pioneerspacesim/pioneer/issues/3794/labels{/name}","comments_url":"https://api.github.com/repos/pioneerspacesim/pioneer/issues/3794/comments","events_url":"https://api.github.com/repos/pioneerspacesim/pioneer/issues/3794/events","html_url":"https://github.com/pioneerspacesim/pioneer/issues/3794","id":172751435,"number":3794,"title":"Segmentation fault after AI ship is set to hyperjump","user":{"login":"clausimu","id":10633178,"avatar_url":"https://avatars.githubusercontent.com/u/10633178?v=3","gravatar_id":"","url":"https://api.github.com/users/clausimu","html_url":"https://github.com/clausimu","followers_url":"https://api.github.com/users/clausimu/followers","following_url":"https://api.github.com/users/clausimu/following{/other_user}","gists_url":"https://api.github.com/users/clausimu/gists{/gist_id}","starred_url":"https://api.github.com/users/clausimu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clausimu/subscriptions","organizations_url":"https://api.github.com/users/clausimu/orgs","repos_url":"https://api.github.com/users/clausimu/repos","events_url":"https://api.github.com/users/clausimu/events{/privacy}","received_events_url":"https://api.github.com/users/clausimu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-23T16:54:34Z","updated_at":"2016-08-23T21:54:13Z","closed_at":null,"body":"<!-- This is a suggested template for your issue. (remove as you check)     -->\r\n<!--   * if graphical: also include opengl.txt from pioneer config dir      -->\r\n<!--     (consult FAQ on wiki for info on how to find opengl.txt).          -->\r\n<!--   * Please Include version of your last bug-free Pioneer, if possible. -->\r\n<!--   * Has the issue been reported before? Search the issue tracker.      -->\r\n<!--   * Perhaps a screenshot illustrates the bug well?                     -->\r\n<!--   * Feature request? Please consider IRC, player- or dev-forum instead -->\r\n\r\n\r\n### Observed behaviour\r\nI hope it is not something stupid I did. But the crash seems to happen on the c++ side.\r\n\r\nAI controlled ship is set to hyperjump (ship:HyperjumpTo(system-whatever.path)) out of a non-inhabited system. The corresponding functions that are triggered in Ship.lua and Equipment.lua run fine (as tested by inserting print statements everywhere). Engine present, enough fuel present, hyperjump status is \"OK\". But after the scheduled warmup time the game crashes with a segmentation fault. Ship never moved.\r\n\r\ngdb backtrace:\r\n```\r\n#0  Frame::GetInterpPositionRelTo (this=0x0, relTo=relTo@entry=0x112fd130) at Frame.cpp:182\r\n#1  0x000000000041ef8d in Body::GetInterpPositionRelTo (relTo=0x112fd130, this=0x11eec140) at Body.cpp:142\r\n#2  Body::GetInterpPositionRelTo (this=this@entry=0x11eec140, relTo=<optimized out>) at Body.cpp:154\r\n#3  0x0000000000593237 in WorldView::UpdateProjectedObjects (this=this@entry=0x115c2260) at WorldView.cpp:1769\r\n#4  0x00000000005945a6 in WorldView::Update (this=0x115c2260) at WorldView.cpp:1202\r\n#5  0x00000000004e3f19 in Pi::MainLoop () at Pi.cpp:1357\r\n#6  0x00000000004e4dca in Pi::Start () at Pi.cpp:1222\r\n#7  0x0000000000412765 in main (argc=<optimized out>, argv=<optimized out>) at main.cpp:130\r\n```\r\n\r\n### Expected behaviour\r\nShip should hyperjump.\r\n\r\n### Steps to reproduce\r\nI can provide a save game.\r\n\r\n__My pioneer version (and OS):__\r\npioneer version: git (3c331d0)\r\nOS: openSUSE 42.1 64bit"},"comment":{"url":"https://api.github.com/repos/pioneerspacesim/pioneer/issues/comments/241892302","html_url":"https://github.com/pioneerspacesim/pioneer/issues/3794#issuecomment-241892302","issue_url":"https://api.github.com/repos/pioneerspacesim/pioneer/issues/3794","id":241892302,"user":{"login":"laarmen","id":593461,"avatar_url":"https://avatars.githubusercontent.com/u/593461?v=3","gravatar_id":"","url":"https://api.github.com/users/laarmen","html_url":"https://github.com/laarmen","followers_url":"https://api.github.com/users/laarmen/followers","following_url":"https://api.github.com/users/laarmen/following{/other_user}","gists_url":"https://api.github.com/users/laarmen/gists{/gist_id}","starred_url":"https://api.github.com/users/laarmen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laarmen/subscriptions","organizations_url":"https://api.github.com/users/laarmen/orgs","repos_url":"https://api.github.com/users/laarmen/repos","events_url":"https://api.github.com/users/laarmen/events{/privacy}","received_events_url":"https://api.github.com/users/laarmen/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T21:54:13Z","updated_at":"2016-08-23T21:54:13Z","body":"I'll take that savegame :-)"}}
{"actor":{"display_login":"laarmen"}}