Code:
Program received signal SIGSEGV, Segmentation fault.
0xf357b8f7 in Math::A_sqrtf (value=1450153.25) at ../include/corelib.h:199
199 ../include/corelib.h: No such file or directory.
(gdb) bt
#0 0xf357b8f7 in Math::A_sqrtf (value=1450153.25)
at ../include/corelib.h:199
#1 0xf357c729 in Vector::GetLength (this=0xffffba7c)
at ../include/corelib.h:644
#2 0xf35baab6 in SoundAttachToClients (ent=0xf46b1c4c,
sample=0xf3c5053d "items/9mmclip1.wav", volume=1)
at ../source/support.cpp:739
#3 0xf35997a8 in pfnEmitSound (entity=0xf46b1c4c, channel=3,
sample=0xf3c5053d "items/9mmclip1.wav", volume=1,
attenuation=0.800000012, flags=0, pitch=100)
at ../source/interface.cpp:2390
#4 0xf3d6bc34 in api_caller_void_args_pip2f2i(void const*, void const*) ()
from /home/desktop/steamcmd/hlds/./cstrike/addons/metamod/metamod.so
#5 0xf3d6a78f in main_hook_function_void(unsigned int, enum_api_t, unsigned int, void const*) ()
from /home/desktop/steamcmd/hlds/./cstrike/addons/metamod/metamod.so
#6 0xf3d710f3 in mm_EmitSound(edict_s*, int, char const*, float, float, int, int) () from /home/desktop/steamcmd/hlds/./cstrike/addons/metamod/metamod.so
#7 0xf3b9a986 in EMIT_SOUND_DYN (entity=0xf46b1c4c, channel=3,
sample=0xf3c5053d "items/9mmclip1.wav", volume=1,
attenuation=0.800000012, flags=0, pitch=100)
---Type <return> to continue, or q <return> to quit---
at ../cstrike/dlls/sound.cpp:1495
#8 0xf3bb59d2 in EMIT_SOUND (volume=1,
sample=0xf3c5053d "items/9mmclip1.wav", channel=3,
entity=<optimised out>, attenuation=<optimised out>)
at ../cstrike/dlls/util.h:572
#9 CBasePlayerWeapon::AddPrimaryAmmo (this=0x8ed6ca8, iCount=1,
szName=0xf3c53587 "Flashbang", iMaxClip=-1, iMaxCarry=2)
at ../cstrike/dlls/weapons.cpp:1259
#10 0xf3bb5a50 in CBasePlayerWeapon::ExtractAmmo (this=0x8f899a8,
pWeapon=0x8ed6ca8) at ../cstrike/dlls/weapons.cpp:1533
#11 0xf3b81085 in CBasePlayer::AddPlayerItem (this=0x8ed6020,
pItem=0x8f899a8) at ../cstrike/dlls/player.cpp:7635
#12 0xf34461a2 in ?? ()
from cstrike/addons/amxmodx/modules/hamsandwich_amxx_i386.so
This is what I got from the debug version.