Page 1 of 1

[Oxyd] [0.17.3] Crash possibly related to the tech tree. (GameView::loadGuiForController -> TechnologyGui)

Posted: Fri Mar 01, 2019 3:29 am
by Marc
I've been getting a repeating crash with the attached save the first time was upon closing the tech tree. Two other times it crashed involving the tech tree. Three other times it did not involve the tech tree. I opened a previous autosave and it ran for about 10 minutes then crashed upon loading the tech tree.

Re: [Oxyd] [0.17.3] Crash possibly related to the tech tree. (GameView::loadGuiForController -> TechnologyGui)

Posted: Fri Mar 01, 2019 3:49 pm
by Oxyd
You have a research running, but your research queue is empty. That's not supposed to be possible. Can you remember how that happened?

Re: [Oxyd] [0.17.3] Crash possibly related to the tech tree. (GameView::loadGuiForController -> TechnologyGui)

Posted: Fri Mar 01, 2019 4:22 pm
by Marc
In both cases, the version uploaded and the previous version, I cancelled the research being performed in the tech tree. Despite cancelling it, research continued.

Re: [Oxyd] [0.17.3] Crash possibly related to the tech tree. (GameView::loadGuiForController -> TechnologyGui)

Posted: Fri Mar 01, 2019 4:54 pm
by Oxyd
I've added a migration to 0.17.4 that will fix your save, but I haven't been able to track down the root cause of this problem, so you might get more crashes in the future – hopefully, though, they'll be easier to debug. So if you get any more crashes in .4 and later, definitely let us know!

Re: [Oxyd] [0.17.3] Crash possibly related to the tech tree. (GameView::loadGuiForController -> TechnologyGui)

Posted: Fri Mar 01, 2019 5:38 pm
by Marc
I actually found a workaround. Simply select a research, then cancel it. This must be done before the non-queued research completes as the game crashes on research completion.

I have been unable to reproduce the condition of a research running while the queue is empty.