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

Crash on mapchange from a timelimit hit (possibly others) seems related to legacy only #399

Closed ensiform closed 10 years ago

ensiform commented 10 years ago

Can't reproduce with non-legacy API.

Reported by Kryptwraith and teh so far on JA+ mod. Krypt's is FFA teh's is CTF.

from teh:

VM_CreateLegacy: jampgamei386.soSys_LoadGameDll(jampgame) found vmMain function at 0xb3ded844
 succeeded
Segmentation fault (core dumped)
ensiform commented 10 years ago

Seems related to legacy API and possibly non-win32. Can any linux people try to get a real debug of this?

ensiform commented 10 years ago
(gdb) bt
#0  0x00000000 in ?? ()
#1  0x080f456f in SV_BindGame () at /home/dan/jka/OpenJK/codemp/server/sv_gameapi.cpp:3198
#2  SV_RestartGame () at /home/dan/jka/OpenJK/codemp/server/sv_gameapi.cpp:3225
#3  0x080db319 in SV_MapRestart_f () at /home/dan/jka/OpenJK/codemp/server/sv_ccmds.cpp:290
#4  0x0806fa70 in Cbuf_Execute () at /home/dan/jka/OpenJK/codemp/qcommon/cmd_common.cpp:228
#5  0x080728db in Com_Frame () at /home/dan/jka/OpenJK/codemp/qcommon/common.cpp:1535
#6  0x0817a618 in main (argc=6, argv=0xbffff2a4) at /home/dan/jka/OpenJK/codemp/sys/sys_main.cpp:636

Seems to be trying to load the non-legacy API.

ensiform commented 10 years ago

Fixed in 6c5716426a2a9678b755524afc5505ca7f954048