theAsmodai / metamod-r

Metamod is a plugin/DLL manager that sits between the Half-Life Engine and an HL Game mod, allowing the dynamic loading/unloading of mod-like DLL plugins to add functionality to the HL server or game mod. Metamod-r is improved version of metamod.
GNU General Public License v3.0
139 stars 35 forks source link

Server Crash #20

Closed Hembi closed 6 years ago

Hembi commented 6 years ago

After I changed my servers Metamod to Metamod-R some servers crashed. The problem was caused by give_item function.

For example with this plugin: https://forums.alliedmods.net/showthread.php?t=95129 The server crash when the player has the weapon and the function runs again.

I did not test in more detail, but this part of a plugin also crashing the server ( Segmentation Fault ): { spawn(id) set_user_info(id, "name", name) user_kill(id, 1) }

At first I thought it was caused by the ReHLDS update, but I tried the same ReHLDS version with Metamod-P and the server did not crash.

theAsmodai commented 6 years ago

We need a crash dump.

stamepicmorg commented 6 years ago

@hembi, hou are there? U still have a problem? Can u give crashdump?

Hembi commented 6 years ago

@stamepicmorg Hi, I installed the latest Metamod-r yesterday, it works well, so may the problem is solved. Please close this case.

stamepicmorg commented 6 years ago

Ok! Have a nice day!

Hembi commented 6 years ago

Hi,

I have the problem again. I have a GunGame mod and after I updated the Metamod (v1.21p37 -> MetaMod-r 1.3.0.116) the server crashed with 'Segmentation Fault'.

version:

Exe version 1.1.2.7/Stdio (cstrike) ReHLDS version: 3.4.0.638-dev Build date: 22:49:26 Feb 16 2018 (1406) Build from: 91bc288

meta version:

Metamod-r v1.3.0.116, API (5:13) Metamod-r build: 23:14:23 Feb 16 2018 Metamod-r from: theAsmodai/metamod-r@cdefc71

meta list:

Currently loaded plugins: description stat pend file vers src load unlod [ 1] SafeNameAndChat RUN - SafeNameAndChat. v1.1 ini ANY ANY
[ 2] AMX Mod X RUN - amxmodx_mm_i386. v1.8.3-d ini Start ANY
[ 3] Rechecker RUN - rechecker_mm_i38 v2.5 ini Chlvl ANY
[ 4] Reunion RUN - reunion_mm_i386. v0.1.0.9 ini Start Never [ 5] ReAuthCheck RUN - reauthcheck_mm_i v0.1.6 ini Start Never [ 6] Revoice RUN - revoice_mm_i386. v0.1.0.3 ini Start Never [ 7] Fun RUN - fun_amxx_i386.so v1.8.3-d pl2 ANY ANY
[ 8] Engine RUN - engine_amxx_i386 v1.8.3-d pl2 ANY ANY
[ 9] ReAPI RUN - reapi_amxx_i386. v5.2.0.1 pl2 ANY Never [10] CStrike RUN - cstrike_amxx_i38 v1.8.3-d pl2 ANY ANY
[11] FakeMeta RUN - fakemeta_amxx_i3 v1.8.3-d pl2 ANY ANY
[12] Ham Sandwich RUN - hamsandwich_amxx v1.8.3-d pl2 ANY ANY
[13] CSX RUN - csx_amxx_i386.so v1.8.3-d pl2 ANY ANY
13 plugins, 13 running

stamepicmorg commented 6 years ago

@Hembi we steel need a crashdumps too.

Hembi commented 6 years ago

I have to ask again which crash dump do you need? Can you explain where I find it? My system split the core.0 file, so it may does not provide any useful information.

debug.log:

CRASH: Sat Feb 17 20:31:47 CET 2018 Start Line: ./hlds_linux -game cstrike -secure +sv_lan 0 +maxplayers 32 +map de_dust2 +sys_ticrate 1000 -pingboost 2 -condebug -debug [New LWP 28971] [New LWP 28978] [New LWP 28980] [New LWP 28984]

0 0xf30f959b in ?? ()

End of crash report

Can I post the core.0 file only for the moderators of this Project? It contain some private information about my server.

stamepicmorg commented 6 years ago

@Hembi - example how to get crashdump on linux or use google :)

i think, u can contact @theAsmodai to send him dump if u want.

WaLkZa commented 6 years ago

https://aghl.ru/forum/viewtopic.php?f=10&t=1441

stamepicmorg commented 6 years ago

topic temporary closed. there are no activity more than two weeks.