Open APGRoboCop opened 6 years ago
If it's crashing in SV_LoadEntities then the world model (BSP data) is null.
Do you have a console log from this session? Does it say something like this:
Couldn't spawn server cz2
If you can reproduce it, try running with developer 2 to get any additional debug messages. It might show what's going wrong.
Yes the console had that cz2 error.
Then it should say Error: could not load file maps/cz2.bsp
with developer 1, and shut down with a fatal error if developer is >= 2.
Alternatively, it's running out of memory, in which case it should say Hunk_HighAlloc: failed on N bytes
where N is the size of the file + 1.
Looks like the same error occurs for the latest TFC summer 2018 update as well:-
Thread 1 "hlds_linux" received signal SIGSEGV, Segmentation fault. 0xf7738498 in SV_LoadEntities () at ../engine/sv_main.c:7605 7605 ../engine/sv_main.c: No such file or directory. (gdb) bt
0 0xf7738498 in SV_LoadEntities () at ../engine/sv_main.c:7605
1 0xf77079f3 in Host_Changelevel_f () at ../engine/host_cmd.c:1577
2 Host_Changelevel_f () at ../engine/host_cmd.c:1522
3 0xf76ef35d in Cmd_ExecuteString (text=0xffffd1c0 "changelevel well",
src=<optimized out>) at ../engine/cmd.c:1150
4 Cbuf_Execute () at ../engine/cmd.c:242
5 0xf7705f40 in _Host_Frame (time=0.00953132659) at ../engine/host.c:1384
6 0xf7706322 in Host_Frame (time=0.00953132659, iState=1,
stateInfo=0xffffd6ac) at ../engine/host.c:1522
7 0xf772a9dc in CEngine::Frame (this=0xf77c16a0
) at ../engine/sys_engine.cpp:245
8 0xf7727d43 in CDedicatedServerAPI::RunFrame (this=
) at ../engine/sys_dll2.cpp:1235
9 CDedicatedServerAPI::RunFrame (
this=0xf77bcd00 <__g_CDedicatedServerAPI_singleton>) at ../engine/sys_dll2.cpp:1226
10 0x08049c65 in RunServer () at ../dedicated/sys_ded.cpp:766
11 0x08049472 in main (argc=20, argv=0xffffd8e4)
at ../dedicated/sys_ded.cpp:1146
(gdb)
Does this still happen?
Not that I'm aware of no...
I've been doing some tests with using Linux GDB for TFC, and this is the backtrace I've received:-
I don't think this is a Metamod error or that, but I am using the older tfc_i386.so server binary because the latest version got the double shot and spy disguise glitches. Here is a list of Metamod Addons and the TFC version I'm using:-