Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: [LCS] Crash bug due to location on date  (Read 807 times)

noteventime

  • Escaped Lunatic
    • View Profile
[LCS] Crash bug due to location on date
« on: March 17, 2010, 02:57:28 pm »

Heya,
This is probably the wrong place to post this, but I have no idea how well monitored the sourceforge tracker is. Also this could possibly already have been fixed, but the fix doesn't seem to been in repository.

Enough babbling and to the point. I had issues with crimesquad receiving sigsegvs whenever I tried to "spend a cheap vacation" during a date. The error seems to be due to the currentlocation of the active squad (member 0) being set to -1 during a date, resulting in invalid indexing into locations.

Adding checks in a couple of places remedies the crash, but I'm not experienced enough with the game to decide if the rest of the behaviour is still correct.
Logged

praguepride

  • Bay Watcher
  • DF is serious business!
    • View Profile
Re: [LCS] Crash bug due to location on date
« Reply #1 on: March 17, 2010, 03:23:34 pm »

What version are you using?
Logged
Man, dwarves are such a**holes!

Even automatic genocide would be a better approach

noteventime

  • Escaped Lunatic
    • View Profile
Re: [LCS] Crash bug due to location on date
« Reply #2 on: March 18, 2010, 04:38:51 pm »

Revision 424 from the sourceforge trunk.
Logged