Amxmodx Version: 1.8.3-4911-Dev
So i got this crash now.
In 4894 i had get_pcvar_float crash, as you can see in the last thread i made.
and now i have this crash after update 4911.
I dont think its reproducible and i dont think its on my side(That im causing it).
If you could give me some info about
Code:
MemoryUtils::ResolveSymbol
i could maybe find it if its there.
debug.log
Code:
----------------------------------------------
CRASH: Sat Oct 10 16:16:11 CEST 2015
Start Line: ./hlds_linux -game czero +maxplayers 32 +map de_dust2_cz +ip 78.46.85.86 +port 20717 +sys_ticrate 1000 -autoupdate
[New LWP 26534]
[New LWP 26693]
[New LWP 26694]
[New LWP 26695]
[New LWP 26542]
[New LWP 26535]
[New LWP 26536]
[New LWP 26540]
[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 -game czero +maxplayers 32 +map de_dust2_cz +ip 78.46.85.86 +port'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0xf31aa36e in MemoryUtils::ResolveSymbol(void*, char const*) () from /home/Steam/CSCZ_Servers/serveur3/czero/addons/amxmodx/dlls/amxmodx_mm_i386.so
[Current thread is 1 (Thread 0xf7478940 (LWP 26534))]
#0 0xf31aa36e in MemoryUtils::ResolveSymbol(void*, char const*) () from /home/Steam/CSCZ_Servers/serveur3/czero/addons/amxmodx/dlls/amxmodx_mm_i386.so
#1 0xff9b95e0 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
No symbol table info available.
From To Syms Read Shared Object Library
No linux-gate.so.1
0xf76f1914 0xf7737c78 Yes ./libstdc++.so.6
0xf769cad0 0xf769d96c Yes (*) /lib32/libdl.so.2
0xf7684870 0xf7690f47 Yes /lib32/libpthread.so.0
0xf74ec420 0xf761a32e Yes (*) /lib32/libc.so.6
0xf7493600 0xf74c0f65 Yes (*) /lib32/libm.so.6
0xf7783860 0xf779b75c Yes (*) /lib/ld-linux.so.2
0xf747ae04 0xf748a490 Yes ./libgcc_s.so.1
0xf6f5f490 0xf6fe324c Yes /home/Steam/CSCZ_Servers/serveur3/engine_i486.so
0xf6f055c0 0xf6f0fd74 Yes (*) ./libsteam_api.so
0xf6efb9b0 0xf6efeeaa Yes (*) /lib32/librt.so.1
0xf6ee2a00 0xf6eef1b8 Yes /home/Steam/CSCZ_Servers/serveur3/filesystem_stdio.so
0xf5e72400 0xf6a4d240 Yes (*) /home/Steam/linux32/steamclient.so
0xf5d3f170 0xf5d670a4 Yes (*) /home/Steam/linux32/crashhandler.so
0xf34e9b70 0xf34ff984 Yes /home/Steam/CSCZ_Servers/serveur3/./czero/addons/metamod/dlls/metamod.so
0xf32ac350 0xf33d0340 Yes /home/Steam/CSCZ_Servers/serveur3/czero/dlls/cs.so
0xf31649d8 0xf31be0ec Yes (*) /home/Steam/CSCZ_Servers/serveur3/czero/addons/amxmodx/dlls/amxmodx_mm_i386.so
No czero/addons/amxmodx/modules/infinitygame_amxx_i386.so
0xf2ec2c40 0xf2f51300 Yes (*) czero/addons/amxmodx/modules/mysql_amxx_i386.so
0xf2e4efec 0xf2e7bbb4 Yes (*) czero/addons/amxmodx/modules/fakemeta_amxx_i386.so
0xf2deada4 0xf2e27a4c Yes (*) czero/addons/amxmodx/modules/hamsandwich_amxx_i386.so
0xf2d69110 0xf2d6ed64 Yes (*) czero/addons/amxmodx/modules/csx_amxx_i386.so
0xf2d5c740 0xf2d60a88 Yes (*) czero/addons/amxmodx/modules/fun_amxx_i386.so
0xf2d4924c 0xf2d54e24 Yes (*) czero/addons/amxmodx/modules/cstrike_amxx_i386.so
0xf2d316f0 0xf2d3e148 Yes (*) czero/addons/amxmodx/modules/engine_amxx_i386.so
0xf2d228f0 0xf2d27df4 Yes (*) czero/addons/amxmodx/modules/geoip_amxx_i386.so
0xf2b0d5d0 0xf2b56a28 Yes (*) czero/addons/amxmodx/modules/regex_amxx_i386.so
0xf1218400 0xf1df3400 Yes (*) ./steamclient.so
0xf0a60670 0xf0ad6020 Yes (*) ./crashhandler.so
0xf0c3ead0 0xf0c4551b Yes (*) /lib32/libnss_files.so.2
(*): Shared library is missing debugging information.
Stack level 0, frame at 0xff9b95b4:
eip = 0xf31aa36e in MemoryUtils::ResolveSymbol(void*, char const*); saved eip = 0xff9b95e0
called by frame at 0x9ddee60
Arglist at 0xff9b95ac, args:
Locals at 0xff9b95ac, Previous frame's sp is 0xff9b95b4
Saved registers:
eip at 0xff9b95b0
End of crash report
----------------------------------------------
Found out what is causing it. dont know why though.
This plugin uses engine to change 3rd person mode and fakemeta to make the player visible again. but i believe its the AddToFullPack that is the problem.
I dont know why it crashes. it shouldnt.
PHP Code:
#include <amxmodx>
#include <engine>
#include <fakemeta>
#include <zombie_lasermine>
new bool:g_bCameraOn[33]
public plugin_init()
{
register_plugin("Camera View", "0.0.2", "Skumek")
register_forward(FM_AddToFullPack, "AddToFullPack")
register_clcmd("say /cam", "CMD_Camera")
}
public zl_user_spawn(id, Zombie) set_view(id, CAMERA_NONE)
public zl_user_death(id, Attacker, Headshot) set_view(id, CAMERA_NONE)
public zl_user_zombie_post(id, Attacker, ClassID, Nemesis) set_view(id, CAMERA_NONE)
public zl_user_survivor_post(id) set_view(id, CAMERA_NONE)
public zl_zombieclass_deact(id, ClassID) set_view(id, CAMERA_NONE)
public client_disconnect(id) set_view(id, CAMERA_NONE)
public plugin_precache() precache_model("models/rpgrocket.mdl")
public CMD_Camera(id)
{
if(is_user_alive(id) && is_user_connected(id))
{
if(!g_bCameraOn[id])
{
g_bCameraOn[id] = true;
set_view(id, CAMERA_3RDPERSON)
//IG_3rdView(id, 1)
}
else //disable camera
{
g_bCameraOn[id] = false;
set_view(id, CAMERA_NONE)
//IG_3rdView(id, 0)
}
}
}
public AddToFullPack(es, e, ent, host, hostflags, player, pSet)
{
if( player )
{
if(ent == host)
{
set_pev(ent, pev_rendermode, kRenderNormal)
set_pev(ent, pev_renderamt, 0)
}
}
return FMRES_IGNORED
}
__________________