Black Mesa

Black Mesa

View Stats:
Segfault in server.so when Kleiner or Eli die in any map
Sorry to revive a locked thread from 2021 of mine:
https://steamhost.cn/steamcommunity_com/app/362890/discussions/9/3043858334661712587/

I had originally made that thread when I still used Windows. Since I've went to Linux almost 4 years later, this bug has still not been patched which I honestly don't know how this still isn't fixed after all this time.

I thought this would be appropriate to post here since I use Linux now and the bugs sub-forum is closed even though this game is receiving updates again (Necro Patch, Resonance Decade Hotfixes, etc) so there is really no reason to keep it closed.

I've looked into this crash and how specifically it is triggered. You can hurt Kleiner or Eli but you cannot kill them or a segfault occurs in server.so. The death is what causes it.

If you shoot Kleiner in the head to instantly kill him, the gun doesn't fire and Kleiner doesn't visually die but the game immediately segfaults. The same goes for Eli.

This happens in any map. The ones I tested were bm_c1a0b (where they both appear first), bm_c1a0a (before they both appear), and help by The Epic Oneplayer (a workshop map for testing Black Mesa).

With my limited Source knowledge, I assume something either in shared/ or server/ to do with these specific NPC entities have a nullptr somewhere that causes this segfault. AFAIK this doesn't happen with any other NPCs other than these two. This is an engine-wide bug.

Here is some gdb output I observed upon shooting Kleiner with a Tau Cannon in bm_c1a0b, it's not much but it shows something to someone I guess:

Thread 1 "bms_linux" received signal SIGSEGV, Segmentation fault. 0xe02f5490 in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/server.so (gdb) bt #0 0xe02f5490 in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/server.so #1 0xe0471d94 in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/server.so #2 0xe0263790 in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/server.so #3 0xe0278394 in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/server.so #4 0xe01052e3 in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/server.so #5 0xe0051548 in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/server.so #6 0xe0051f45 in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/server.so #7 0xe0052384 in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/server.so #8 0xe007929d in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/server.so #9 0xdffc8804 in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/server.so #10 0xe005bc86 in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/server.so #11 0xe007ab28 in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/server.so #12 0xdffdd3b7 in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/server.so #13 0xe000387c in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/server.so #14 0xe0791d3b in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/server.so #15 0xe032b737 in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/server.so #16 0xe07a4a66 in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/server.so #17 0xe07a522f in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/server.so #18 0xe079c253 in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/server.so #19 0xe032b5ff in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/server.so #20 0xe079973a in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/server.so #21 0xe0763783 in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/server.so #22 0xe0763c54 in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/server.so #23 0xe05f71e8 in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bms/bin/server.so #24 0xeb6b5b87 in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bin/engine.so #25 0xeb6b0804 in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bin/engine.so #26 0xeb6b18be in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bin/engine.so #27 0xeb5a85f1 in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bin/engine.so #28 0xeb5ab286 in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bin/engine.so #29 0xeb5c6c90 in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bin/engine.so #30 0xeb5c712e in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bin/engine.so #31 0xeb5c721b in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bin/engine.so #32 0xeb6d0654 in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bin/engine.so #33 0xeb6cb7ec in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bin/engine.so #34 0xeb6cba02 in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bin/engine.so #35 0xeb754220 in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bin/engine.so #36 0xeb6cd38a in ?? () from /home/nerdnextdoor/.local/share/Steam/steamapps/common/Black Mesa/bin/engine.so #37 0xf7927a60 in ?? () from bin/launcher.so #38 0xf795bc30 in ?? () from bin/launcher.so #39 0xf795d657 in ?? () from bin/launcher.so #40 0xf795bc30 in ?? () from bin/launcher.so #41 0xf79293dc in LauncherMain () from bin/launcher.so #42 0x0804891f in main () (gdb) info registers eax 0x0 0 ecx 0xe15b8440 -514096064 edx 0x1 1 ebx 0xe0c9dff4 -523640844 esp 0xffffa7a0 0xffffa7a0 ebp 0xffffa7b8 0xffffa7b8 esi 0x3af3c000 989052928 edi 0xffffa844 -22460 eip 0xe02f5490 0xe02f5490 eflags 0x10286 [ PF SF IF RF ] cs 0x23 35 ss 0x2b 43 ds 0x2b 43 es 0x2b 43 fs 0x0 0 gs 0x63 99

I hope someone from Crowbar Collective sees this. This also happens on Windows too, but I'm on Linux now. It's time this bug gets fixed after 4 years of waiting.
< >
Showing 1-1 of 1 comments
Decided to fix it myself, patcher is open-source here: https://github.com/IAmTheNerdNextDoor/segfaultcascade
< >
Showing 1-1 of 1 comments
Per page: 1530 50