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 616 forks source link

OpenJO SP crashes in G2_GetBoltMatrixLow()/G2_ProcessSurfaceBolt2() #707

Open iolojz opened 9 years ago

iolojz commented 9 years ago

The game sometimes crashes when accessing a "device" e.g. a stationary gun or a terminal. It sometimes happens on kejim_base when trying to use a stationary gun, sometimes when trying to use the terminal to control the small robot and when using the robot it always happens when attempting to go through the room with the toxic gas.

The backtraces differ between crashes, but the topmost calls are always:

0   rdjosp-vanilla_x86_64.dylib     0x0000000105ee6b4f G2_ProcessSurfaceBolt2(CBoneCache&, mdxmSurface_t const*, int, std::__1::vector<boltInfo_t, std::__1::allocator<boltInfo_t> >&, surfaceInfo_t const*, model_s const*, mdxaBone_t&) + 2799
1   rdjosp-vanilla_x86_64.dylib     0x0000000105ee712f G2_GetBoltMatrixLow(CGhoul2Info&, int, float const*, mdxaBone_t&) + 431

or

0   rdjosp-vanilla_x86_64.dylib     0x0000000110a36fb9 G2_GetBoltMatrixLow(CGhoul2Info&, int, float const*, mdxaBone_t&) + 57

I am using "v1.0.1.1 macosx-x86_64 Aug 13 2015" on OS X 10.10.5

ensiform commented 9 years ago

I'll leave this open for now but please try to follow the readme directives in that JK2 mode is use at your own risk and we are not really working on it at this time.

aronkihui commented 9 years ago

olojz, I can't compile it now. I get an compile error which didn't happen before. What version of CMAKE are you using.

ensiform commented 9 years ago

JK2 support isn't guaranteed to still work because its not maintained all the time anymore.