Julius: Crash on clicking "visit yoyr advisors".

Created on 2 Feb 2019  路  6Comments  路  Source: bvschaik/julius

Every now and then clicking the "advisors" button (the one at the sidebar, not the menu) causes the game to immediately crash. The game will keep crashing every time I click the button until I select a specific advisor from the menu, then the button starts working again.

I haven't had the time to study the code and my main PC fried today so I'm limited in resources, but I suspect that some "advisor id" is being set a bogus value that is out of bounds, and that value is saved to c3.inf. This may in no small part be due to the fact that my c3.inf is load and shared between different builds and operating systems.

Still, I believe sanity checking the id of the last visitor advisor to only accept valid values could prevent these crashes.

All 6 comments

Case in note: I will eventually fix this.

I tried to duplicate this issue, but I couldn't. Let me know if you detect a pattern in what was happening before the crash and I'll give it another shot!

My pattern was to constantly rebuild Julius in multiple platforms, and still it only happened twice in the course of two months.

So it's fairly rare...

I have managed to reproduce this: remove c3.inf, start the game, click the button. Voila. Fix incoming in a couple of minutes 馃槈

Oh nice!

Humm I don't think I ever actually lost c3.inf... but if the game crashes again even with the fix, I'll let you know :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

devnoname120 picture devnoname120  路  5Comments

jonathanmcnamee picture jonathanmcnamee  路  3Comments

atolstoy picture atolstoy  路  4Comments

jdmillard picture jdmillard  路  3Comments

garganshul108 picture garganshul108  路  6Comments