JACoders / OpenJK

Community effort to maintain and improve Jedi Academy (SP & MP) + Jedi Outcast (SP only) released by Raven Software
GNU General Public License v2.0
2.01k stars 612 forks source link

Solo mode crash (with bots) found in linux mp #111

Closed Unix79123 closed 11 years ago

Unix79123 commented 11 years ago

Go into solo mode, select a few bots, set the time-limit to say...2 minutes. Start the map and when the time-limit hits, the intermission starts, click ready and jamp crashes when map restarts. The crash only occurs with bots on the map.

I made a debug build, ran it in emacs and found a trace http://pastebin.com/pGhDSDzR looks like a bug in the StandardBotAI where "desiredIndex = bs->wpCurrent->index+1;" Either bs or wpCurrent is null for some reason.

Razish commented 11 years ago

I never got this to happen, nor anyone I speak to.

Does it still happen for you? Any specific circumstances?

xycaleth commented 11 years ago

Closing as this hasn't been updated in a few months. Feel free to re-open if this bug is still there.

ensiform commented 11 years ago

Razor fixed it in japp since going open source.

xycaleth commented 11 years ago

@Razish needs to fix it in OpenJK =]

Razish commented 11 years ago

I also fixed similar crashes. I'm holding off on fixing it in OJK because there may be a root cause I haven't discovered yet. I never had these crashes in Raven's jampDed.exe