peace-maker/botmimic

botmimic.smx causes segfault on server shutdown

2called-chaos opened this issue · 6 comments

I have the issue that when I attempt to shutdown the server (e.g. ctrl-c or quit) it segfaults, the issues goes away if I unload "botmimix.smx" before doing that... The problem is that it will restart the server (as it should on crash) but it messes up my updating process.

Any ideas on how to narrow this down?

PS: I used a fresh compiled version from the master branch

quit
L 10/01/2017 - 14:49:40: [META] Loaded 0 plugins (1 already loaded)
L 10/01/2017 - 14:49:40: "[FunCS] GOTV<2><BOT><>" disconnected (reason "Server shutting down")
L 10/01/2017 - 14:49:41: server_message: "quit"
L 10/01/2017 - 14:49:41: Log file closed
L 10/01/2017 - 14:49:41: server_message: "restart"
L 10/01/2017 - 14:49:41: Log file closed.
L 10/01/2017 - 14:49:41: Error log file session closed.
PreMinidumpCallback: updating dump comment
dlopen failed trying to load:
/home/csgo/.steam/sdk32/steamclient.so
with error:
/home/csgo/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
assert_20171001144808_1.dmp[16945]: Uploading dump (out-of-process)
/tmp/dumps/assert_20171001144808_1.dmp
Segmentation fault
Add "-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Sun Oct  1 14:49:41 CEST 2017: Server restart in 10 seconds
Listing 5 plugins:
  [01] SourceMod (1.8.0.6027) by AlliedModders LLC
  [02] CS Tools (1.8.0.6027) by AlliedModders LLC
  [03] SDK Tools (1.8.0.6027) by AlliedModders LLC
  [04] SDK Hooks (1.8.0.6027) by AlliedModders LLC
  [05] DHooks (2.1.0) by Dr!fter
[SM] Listing 35 plugins:
  01 "Basic Comm Control" (1.8.0.6027) by AlliedModders LLC
  02 "Basic Ban Commands" (1.8.0.6027) by AlliedModders LLC
  03 "Admin File Reader" (1.8.0.6027) by AlliedModders LLC
  04 "TeamChange Unlimited" (1.0) by FrozDark (HLModders LLC)
  05 "Admin Help" (1.8.0.6027) by AlliedModders LLC
  06 "Rock The Vote" (1.8.0.6027) by AlliedModders LLC
  07 "Bot Mimic Training" (1.0) by Jannik "Peace-Maker" Hartung
  08 "Anti-Flood" (1.8.0.6027) by AlliedModders LLC
  09 "Nextmap" (1.8.0.6027) by AlliedModders LLC
  10 "Basic Chat" (1.8.0.6027) by AlliedModders LLC
  11 "[CSGO] Free taser" (1.0.1) by Grey83
  12 "Basic Commands" (1.8.0.6027) by AlliedModders LLC
  13 "Client Preferences" (1.8.0.6027) by AlliedModders LLC
  14 "[CSGO] Advanced Admin" (1.5.6) by PeEzZ
  15 "MapChooser" (1.8.0.6027) by AlliedModders LLC
  16 "Checkpoints" (1.0.0 (GNU/AGPLv3)) by 1Swat2KillThemAll
  17 "Basic Info Triggers" (1.8.0.6027) by AlliedModders LLC
  18 "Basic Votes" (1.8.0.6027) by AlliedModders LLC
  19 "Player Commands" (1.8.0.6027) by AlliedModders LLC
  20 "Sound Commands" (1.8.0.6027) by AlliedModders LLC
  21 "Web Shortcuts CS:GO version" (2.5) by Franc1sco franug and James "sslice" Gray
  22 "Fun Votes" (1.8.0.6027) by AlliedModders LLC
  23 "Nade Tails" (2.0) by InternetBully
  24 "Map Nominations" (1.8.0.6027) by AlliedModders LLC
  25 "Server Advertisement" (2.6) by ESK0
  26 "Admin Menu" (1.8.0.6027) by AlliedModders LLC
  27 "DR.API SHOW DAMAGE" (1.1.2) by Dr. Api
  28 "Make players opaque" (1.0.0) by 2called-chaos
  29 "Client Execute" (1.0.0.3) by dubbeh
  30 "Fun Commands" (1.8.0.6027) by AlliedModders LLC
  31 "Player-Teleport by Dr. HyperKiLLeR" (1.2.0.0) by Dr. HyperKiLLeR
  32 "Client Execute" (1.0.0.1) by Twilight Suzuka
  33 "Bot Mimic" (2.1) by Jannik "Peace-Maker" Hartung
  34 "Bot Mimic Menu" (1.1) by Jannik "Peace-Maker" Hartung
  35 "Reserved Slots" (1.8.0.6027) by AlliedModders LLC

DHooks 2.1.1 fixed a crash issue on unload/shutdown. Try updating it first, please.

@peace-maker Unfortunately it didn't make a difference :/

Can you install Accelerator and link the crash here please?

I installed accelerator (also added the config entry) but unfortunately it doesn't produce anything. It created the dumps folder but it's empty, it also didn't upload anything.

I guess this might be because it crashes very late? I say that because this is in the log before it crashes:

[META] Loaded 0 plugins (1 already loaded)

//EDIT: Would the default core dump srcds creates help you?

//EDIT: Would the default core dump srcds creates help you?

Yes, please

I'll assume this got resolved.