Segmentation fault in cs.so

Сообщения
96
Реакции
69
Помог
1 раз(а)
Ошибка
Segmentation fault
ОС
Linux
Amx Mod X
AMX Mod X 1.9.0.5271 (http://www.amxmodx.org)
Authors:
David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko
Felix "SniperBeamer" Geyer, Jonny "Got His Gun" Bergstrom
Lukasz "SidLuke" Wlasinski, Christian "Basic-Master" Hammacher
Borja "faluco" Ferrer, Scott "DS" Ehlert
Compiled: Jun 24 2020 13:53:30
Built from: https://github.com/alliedmodders/amxmodx/commit/5eea3e5
Build ID: 5271:5eea3e5
Core mode: JIT+ASM32
Билд
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.10.0.761-dev
Build date: 14:03:01 Jul 25 2021 (2661)
Build from: https://github.com/dreamstalker/rehlds/commit/aaffe43
ReGamedll
ReGameDLL version: 5.20.0.525-dev
Build date: 14:01:03 Jul 25 2021
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/d85b030
Версия Metamod
Metamod-r v1.3.0.128, API (5:13)
Metamod-r build: 17:47:54 Aug 24 2018
Metamod-r from: https://github.com/theAsmodai/metamod-r/commit/0cf2f70
Список метамодулей
Currently loaded plugins:
description stat pend file vers src load unload
[ 1] AMX Mod X RUN - amxmodx_mm_i386.so v1.9.0.5271 ini Start ANY
[ 2] Reunion RUN - reunion_mm_i386.so v0.1.92d ini Start Never
[ 3] WHBlocker RUN - whblocker_mm_i386.so v1.5.697 ini Chlvl ANY
[ 4] MySQL RUN - mysql_amxx_i386.so v1.9.0.5294 pl1 ANY ANY
[ 5] Fun RUN - fun_amxx_i386.so v1.9.0.5294 pl1 ANY ANY
[ 6] Engine RUN - engine_amxx_i386.so v1.9.0.5294 pl1 ANY ANY
[ 7] FakeMeta RUN - fakemeta_amxx_i386.so v1.9.0.5294 pl1 ANY ANY
[ 8] GeoIP RUN - geoip_amxx_i386.so v1.9.0.5294 pl1 ANY ANY
[ 9] CStrike RUN - cstrike_amxx_i386.so v1.9.0.5232 pl1 ANY ANY
[10] CSX RUN - csx_amxx_i386.so v1.8.2 pl1 ANY ANY
[11] Ham Sandwich RUN - hamsandwich_amxx_i386.so v1.9.0.5294 pl1 ANY ANY
[12] ReAPI RUN - reapi_amxx_i386.so v5.19.0.211-dev pl1 ANY Never
[13] ReAimDetector RUN - reaimdetector_amxx_i386.so v0.2.2 pl1 ANY Never
[14] CURL AMXX RUN - curl_amxx_i386.so v1.1.1 pl1 ANY ANY
Список плагинов
Currently loaded plugins:
name version author file status
[ 1] [ReAPI] Anti overflow 1.0 Some Author antioverflow.am running
[ 2] Advanced Gag 2.6.4x anakin_cstrike / gag_nou.amxx running
[ 3] Admin Chat 1.9.0.5249 AMXX Dev Team adminchat.amxx running
[ 4] Anti-Reclama Advanced 1.2 ExoTiQ anti-reclama.am running
[ 5] CS:GO Clans 1.0 O'Zone clan_sys.amxx debug
[ 6] CS:GO Mode 4.0 unknown csgo_mode.amxx debug
[ 7] [CS:GO Remake] Skin Gi 1.1 Shadows Adi csgor_giveaway. running
[ 8] [CSGO] Aim Info 1.0 Shadows Adi csgo_aim.amxx running
[ 9] Advanced Bans 0.8.2 Exolent advanced_bans.a running
[ 10] CS AFK Manager 1.0.6 (amx Freeman afk_manager.amx running
[ 11] Admin Base 1.8.2 AMXX Dev Team admin.amxx running
[ 12] Admin Commands 1.9.0.5249 AMXX Dev Team admincmd.amxx running
[ 13] Menus Front-End 1.8.2 AMXX Dev Team menufront.amxx running
[ 14] Commands Menu 1.8.2 AMXX Dev Team cmdmenu.amxx running
[ 15] Players Menu 1.8.3-dev+ AMXX Dev Team plmenu_ab_base. running
[ 16] Maps Menu 1.8.2 AMXX Dev Team mapsmenu.amxx running
[ 17] Autoresponder/Advertis 0.5 MaximusBrood ad_manager.amxx running
[ 18] Admin Votes 1.9.0.5249 AMXX Dev Team adminvote.amxx running
[ 19] NextMap 1.8.2 AMXX Dev Team nextmap.amxx running
[ 20] TimeLeft 1.8.2 AMXX Dev Team timeleft.amxx running
[ 21] Pause Plugins 1.8.2 AMXX Dev Team pausecfg.amxx running
[ 22] Stats Configuration 1.8.2 AMXX Dev Team statscfg.amxx running
[ 23] Restrict Weapons 1.8.2 AMXX Dev Team restmenu.amxx running
[ 24] Anti-VPN 1.3 Shadows Adi anti_vpn.amxx running
[ 25] ReAimDetector API 0.2.2 ReHLDS Team reaimdetector.a running
[ 26] Parachute 1.3 Fixed KRoT@L/JTP10181 amx_parachut.am running
[ 27] D7 Grenade Fire 2.3.6 D i 5 7 i n c T, D7GrenadeFire19 running
[ 28] [AMXX] Settings API 1.0 MeRcyLeZZ amx_settings_ap running
[ 29] [CS] Ham Hooks for Bot 1.0 WiLS cs_ham_bots_api running
[ 30] [CS] Weapon Models API 1.1 WiLS cs_weap_models_ running
[ 31] Map Manager: Core 3.0.9 Mistrick map_manager_cor running
[ 32] Map Manager: Scheduler 0.1.6 Mistrick map_manager_sch running
[ 33] Map Manager: BlockList 0.0.3 Mistrick map_manager_blo running
[ 34] Map Manager: Online so 0.0.2 Mistrick map_manager_onl running
[ 35] Map Manager: Informer 0.0.5 Mistrick map_manager_inf running
35 plugins, 35 running
Hello,
My server is crashing frequently in reGameDLL it seems, after taking a look in debug.log ( those crashing debugs seems to cycle every crash ):
Код:
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0b0aab98 in ?? ()
[Current thread is 1 (Thread 0xf7b20700 (LWP 195))]
#0  0x0b0aab98 in ?? ()
#1  0xed62b931 in IHookChainClassImpl<void, CBasePlayer>::callNext(CBasePlayer*) () from /home/container/cstrike/dlls/cs.so


Program terminated with signal SIGSEGV, Segmentation fault.
#0  0xf7d0a9e0 in ?? () from /lib/i386-linux-gnu/libc.so.6
[Current thread is 1 (Thread 0xf7b1b700 (LWP 226))]
#0  0xf7d0a9e0 in ?? () from /lib/i386-linux-gnu/libc.so.6
#1  0xed616933 in CBasePlayer::PreThink() () from /home/container/cstrike/dlls/cs.so
#2  0xed5b1e23 in PlayerPreThink(edict_s*) () from /home/container/cstrike/dlls/cs.so
#3  0xecc782bf in ?? ()
#4  0x00000000 in ?? ()


Program terminated with signal SIGSEGV, Segmentation fault.
#0  0xf7d309b0 in ?? () from /lib/i386-linux-gnu/libc.so.6
[Current thread is 1 (Thread 0xf7b41700 (LWP 247))]
#0  0xf7d309b0 in ?? () from /lib/i386-linux-gnu/libc.so.6
#1  0xed987604 in ?? ()
#2  0xed63bda0 in CSprayCan::Think() () from /home/container/cstrike/dlls/cs.so
#3  0xed63be90 in CBasePlayer::Save(CSave&) () from /home/container/cstrike/dlls/cs.so
#4  0xed63c0e0 in CBasePlayer::Restore(CRestore&) () from /home/container/cstrike/dlls/cs.so
#5  0xed63c170 in bool is_void<int, CBasePlayer>(int (CBasePlayer::*)()) () from /home/container/cstrike/dlls/cs.so
#6  0xed5b64b0 in CBaseEntity::Classify() () from /home/container/cstrike/dlls/cs.so
#7  0xeb8ef000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)


Program terminated with signal SIGSEGV, Segmentation fault.
#0  0xed66d93c in CHalfLifeMultiplay::RemoveGuns_OrigFunc() () from /home/container/cstrike/dlls/cs.so
[Current thread is 1 (Thread 0xf7b8a700 (LWP 50))]
#0  0xed66d93c in CHalfLifeMultiplay::RemoveGuns_OrigFunc() () from /home/container/cstrike/dlls/cs.so
#1  0xed67126e in CHalfLifeMultiplay::RemoveGuns() () from /home/container/cstrike/dlls/cs.so
#2  0x09bfed10 in ?? ()
#3  0xed6710ee in CHalfLifeMultiplay::CleanUpMap() () from /home/container/cstrike/dlls/cs.so
#4  0x09bfed10 in ?? ()
#5  0xed67116e in CHalfLifeMultiplay::RestartRound() () from /home/container/cstrike/dlls/cs.so
No symbol table info available.
(*): Shared library is missing debugging information.
Stack level 0, frame at 0xff98d730:
 eip = 0xed66d93c in CHalfLifeMultiplay::RemoveGuns_OrigFunc(); saved eip = 0xed67126e
 called by frame at 0xff98d734
 Arglist at 0xff98d728, args:
 Locals at 0xff98d728, Previous frame's sp is 0xff98d730
 Saved registers:
  ebp at 0xff98d728, eip at 0xff98d72c
End of crash report


Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00000000 in ?? ()
[Current thread is 1 (Thread 0xf7b19700 (LWP 71))]
#0  0x00000000 in ?? ()
#1  0xed627c3f in CBasePlayer::UpdateClientData_OrigFunc() () from /home/container/cstrike/dlls/cs.so
#2  0xed62b7a1 in IHookChainClassImpl<void, CBasePlayer>::callNext(CBasePlayer*) () from /home/container/cstrike/dlls/cs.so
#3  0x0ac0aef0 in ?? ()
#4  0xed62183a in CBasePlayer::PreThink_OrigFunc() () from /home/container/cstrike/dlls/cs.so
#5  0xed61b813 in CBasePlayer::PreThink() () from /home/container/cstrike/dlls/cs.so
#6  0xed5b7493 in PlayerPreThink(edict_s*) () from /home/container/cstrike/dlls/cs.so
#7  0xecc8a2bf in ?? ()
#8  0x00000000 in ?? ()
No symbol table info available.


Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00000000 in ?? ()
[Current thread is 1 (Thread 0xf7b67700 (LWP 113))]
#0  0x00000000 in ?? ()
#1  0xed6416c9 in CBasePlayerWeapon::UpdateClientData(CBasePlayer*) () from /home/container/cstrike/dlls/cs.so
#2  0xed2fe117 in CSPForward::execute(int*, ForwardPreparedArray*) () from /home/container/cstrike/addons/amxmodx/dlls/amxmodx_mm_i386.so
#3  0x0e22cb90 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
No symbol table info available.


Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0b0aab98 in ?? ()
[Current thread is 1 (Thread 0xf7b20700 (LWP 195))]
#0  0x0b0aab98 in ?? ()
#1  0xed62b931 in IHookChainClassImpl<void, CBasePlayer>::callNext(CBasePlayer*) () from /home/container/cstrike/dlls/cs.so
No symbol table info available.
 
Сообщения
645
Реакции
222
Помог
11 раз(а)
1640693561760.png


update server build version

also try disabling the plugins that uses PlayerThink, UpdateClientData
 
Последнее редактирование:
Сообщения
96
Реакции
69
Помог
1 раз(а)
Посмотреть вложение 30284

update server build version

also try disabling the plugins that uses PlayerThink, UpdateClientData
I know from what plugin is and it has only 7 lines of code that func:

Registered forward in plugin_init()
Код:
register_forward(FM_UpdateClientData, "fw_UpdateClientData_Post", 1)
Код:
public fw_UpdateClientData_Post(id, sendweapons, CD_Handle)
{
    if(!is_user_alive(id))
        return FMRES_IGNORED

    set_cd(CD_Handle, CD_flNextAttack, get_gametime() + 0.001)
    return FMRES_HANDLED
}
 
Сообщения
645
Реакции
222
Помог
11 раз(а)
Код:
register_forward(FM_UpdateClientData, "fw_UpdateClientData_Post", 1)
Код:
public fw_UpdateClientData_Post(id, sendweapons, CD_Handle)
{
    if(!is_user_alive(id))
        return FMRES_IGNORED

    set_cd(CD_Handle, CD_flNextAttack, get_gametime() + 0.001)
    return FMRES_HANDLED
}
ничего не могу сказать, но почему вы блокируется полностью функцию ClientData (гильзы и тд), исходник приложите

опять же, обновите версию сервера, и повторно следите
 
Сообщения
96
Реакции
69
Помог
1 раз(а)
Where could I find this function defined in reGameDLL / reHDLS / reAPI
UpdateClientData_OrigFunc()

I found it's used for SDK in dlls/player.h, but nowhere else.
 
Последнее редактирование:
Сообщения
96
Реакции
69
Помог
1 раз(а)
Another crash happens in engine: Net_QueuePacket:
Код:
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./hlds_linux -console -game cstrike -port 27015 -sport 26900 +map de_dust2 +ip'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00000000 in ?? ()
[Current thread is 1 (Thread 0xf7b41700 (LWP 365))]
#0  0x00000000 in ?? ()
#1  0xed61ecb1 in CHalfLifeMultiplay::PlayerThink(CBasePlayer*) () from /home/container/cstrike/dlls/cs.so
#2  0xf7c5214e in recvfrom () from /lib/i386-linux-gnu/libc.so.6
#3  0xf746f15b in NET_QueuePacket () from /home/container/engine_i486.so
#4  0xffa1e058 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
No symbol table info available.
Also, updated reHLDS, reGameDLL, ReAPI to the latest version.
 
Последнее редактирование:
Сообщения
645
Реакции
222
Помог
11 раз(а)
временно отключите плагины работающие с Think'ом

предоставьте повторно meta list, version, game version, amxx plugins
 
Сообщения
96
Реакции
69
Помог
1 раз(а)
временно отключите плагины работающие с Think'ом

предоставьте повторно meta list, version, game version, amxx plugins
Код:
meta list
Currently loaded plugins:
      description    stat pend  file                        vers             src  load  unload
[ 1] Reunion        RUN   -    reunion_mm_i386.so          v0.1.92d         ini  Start Never
[ 2] AMX Mod X      RUN   -    amxmodx_mm_i386.so          v1.9.0.5271      ini  Start ANY
[ 3] YaPB           RUN   -    yapb.so                     v4.2.598         ini  Chlvl ANY
[ 4] WHBlocker      RUN   -    whblocker_mm_i386.so        v1.5.697         ini  Chlvl ANY
[ 5] ReSemiclip     RUN   -    resemiclip_mm_i386.so       v2.3.9           ini  Chlvl ANY
[ 6] MySQL          RUN   -    mysql_amxx_i386.so          v1.9.0.5294      pl2  ANY   ANY
[ 7] Fun            RUN   -    fun_amxx_i386.so            v1.9.0.5294      pl2  ANY   ANY
[ 8] Engine         RUN   -    engine_amxx_i386.so         v1.9.0.5294      pl2  ANY   ANY
[ 9] FakeMeta       RUN   -    fakemeta_amxx_i386.so       v1.9.0.5294      pl2  ANY   ANY
[10] GeoIP          RUN   -    geoip_amxx_i386.so          v1.9.0.5294      pl2  ANY   ANY
[11] CStrike        RUN   -    cstrike_amxx_i386.so        v1.9.0.5232      pl2  ANY   ANY
[12] CSX            RUN   -    csx_amxx_i386.so            v1.8.2           pl2  ANY   ANY
[13] Ham Sandwich   RUN   -    hamsandwich_amxx_i386.so    v1.9.0.5294      pl2  ANY   ANY
[14] ReAPI          RUN   -    reapi_amxx_i386.so          v5.21.0.248-dev  pl2  ANY   Never
[15] ReAimDetector  RUN   -    reaimdetector_amxx_i386.so  v0.2.2           pl2  ANY   Never
[16] CURL AMXX      RUN   -    curl_amxx_i386.so           v1.1.1           pl2  ANY   ANY
16 plugins, 16 running

version
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
ReHLDS version: 3.11.0.767-dev
Build date: 03:13:55 Oct 25 2021 (2753)
Build from: https://github.com/dreamstalker/rehlds/commit/471158b

game version
ReGameDLL version: 5.21.0.547-dev
Build date: 16:24:33 Dec 28 2021
Build from: https://github.com/s1lentq/ReGameDLL_CS/commit/c002edd

amxx plugins
Currently loaded plugins:
       name                    version     author            file             status  
[  1] [ReAPI] Anti overflow   1.0         Some Author       antioverflow.am  running
[  2] Advanced Gag            2.6.4x      anakin_cstrike /  gag_nou.amxx     running
[  3] Admin Chat              1.9.0.5249  AMXX Dev Team     adminchat.amxx   running
[  4] Anti-Reclama Advanced   1.2         ExoTiQ            anti-reclama.am  running
[  5] CS:GO Clans             1.0         O'Zone            clan_sys.amxx    debug  
[  6] CS:GO Mode              4.0         unknown           csgo_mode.amxx   debug  
[  7] [CS:GO Remake] Skin Gi  1.1         Shadows Adi       csgor_giveaway.  running
[  8] [CSGO] Aim Info         1.0         Shadows Adi       csgo_aim.amxx    running
[  9] Advanced Bans           0.8.2       Exolent           advanced_bans.a  running
[ 10] CS AFK Manager          1.0.6 (amx  Freeman           afk_manager.amx  running
[ 11] Admin Base              1.8.2       AMXX Dev Team     admin.amxx       running
[ 12] Admin Commands          1.9.0.5249  AMXX Dev Team     admincmd.amxx    running
[ 13] Menus Front-End         1.8.2       AMXX Dev Team     menufront.amxx   running
[ 14] Commands Menu           1.8.2       AMXX Dev Team     cmdmenu.amxx     running
[ 15] Players Menu            1.8.3-dev+  AMXX Dev Team     plmenu_ab_base.  running
[ 16] Maps Menu               1.8.2       AMXX Dev Team     mapsmenu.amxx    running
[ 17] Autoresponder/Advertis  0.5         MaximusBrood      ad_manager.amxx  running
[ 18] Admin Votes             1.9.0.5249  AMXX Dev Team     adminvote.amxx   running
[ 19] NextMap                 1.8.2       AMXX Dev Team     nextmap.amxx     running
[ 20] TimeLeft                1.8.2       AMXX Dev Team     timeleft.amxx    running
[ 21] Pause Plugins           1.8.2       AMXX Dev Team     pausecfg.amxx    running
[ 22] Stats Configuration     1.8.2       AMXX Dev Team     statscfg.amxx    running
[ 23] Restrict Weapons        1.8.2       AMXX Dev Team     restmenu.amxx    running
[ 24] Anti-VPN                1.3         Shadows Adi       anti_vpn.amxx    running
[ 25] ReAimDetector API       0.2.2       ReHLDS Team       reaimdetector.a  running
[ 26] Parachute               1.3 Fixed   KRoT@L/JTP10181   amx_parachut.am  running
[ 27] D7 Grenade Fire         2.3.6       D i 5 7 i n c T,  D7GrenadeFire19  running
[ 28] [AMXX] Settings API     1.0         MeRcyLeZZ         amx_settings_ap  running
[ 29] [CS] Ham Hooks for Bot  1.0         WiLS              cs_ham_bots_api  running
[ 30] [CS] Weapon Models API  1.1         WiLS              cs_weap_models_  running
[ 31] Map Manager: Core       3.0.9       Mistrick          map_manager_cor  running
[ 32] Map Manager: Scheduler  0.1.6       Mistrick          map_manager_sch  running
[ 33] Map Manager: BlockList  0.0.3       Mistrick          map_manager_blo  running
[ 34] Map Manager: Online so  0.0.2       Mistrick          map_manager_onl  running
[ 35] Map Manager: Informer   0.0.5       Mistrick          map_manager_inf  running
35 plugins, 35 running
Also, gamedll crashes in a new sector:
Код:
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00454828 in ?? ()
[Current thread is 1 (Thread 0xf7b29700 (LWP 702))]
#0  0x00454828 in ?? ()
#1  0xed606cb1 in CHalfLifeMultiplay::PlayerThink(CBasePlayer*) () from /home/container/cstrike/dlls/cs.so
#2  0xf7c3a14e in recvfrom () from /lib/i386-linux-gnu/libc.so.6
#3  0xf745715b in NET_QueuePacket () from /home/container/engine_i486.so
#4  0xff7efed8 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

*): Shared library is missing debugging information.
Stack level 0, frame at 0xff7eeec0:
eip = 0x454828; saved eip = 0xed606cb1
called by frame at 0xff7eeed0
Arglist at 0xff7eeeb8, args:
Locals at 0xff7eeeb8, Previous frame's sp is 0xff7eeec0
Saved registers:
  eip at 0xff7eeebc
End of crash report
 
Сообщения
106
Реакции
17
Помог
2 раз(а)
Recompile plugins that are compiled with amxmodx 1.8.2
 

Пользователи, просматривающие эту тему

Сейчас на форуме нет ни одного пользователя.
Сверху Снизу