AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   I get access violation on function mp!CountTeamPlayers (https://forums.alliedmods.net/showthread.php?t=144266)

01101101 12-01-2010 08:39

I get access violation on function mp!CountTeamPlayers
 
Code:

function: mp!CountTeamPlayers
        06d53c42 0000            add    [eax],al
        06d53c44 85c9            test    ecx,ecx
        06d53c46 750a            jnz    mp!CountTeamPlayers+0xa7f2 (06d53c52)
        06d53c48 85ff            test    edi,edi
        06d53c4a 7506            jnz    mp!CountTeamPlayers+0xa7f2 (06d53c52)
        06d53c4c 89ab94010000    mov    [ebx+0x194],ebp
        06d53c52 8b8ed4050000    mov    ecx,[esi+0x5d4]
        06d53c58 85c9            test    ecx,ecx
        06d53c5a 7460            jz      mp!CountTeamPlayers+0xa85c (06d53cbc)
        06d53c5c 8b11            mov    edx,[ecx]
FAULT ->06d53c5e ff9234010000    call dword ptr [edx+0x134] ds:0023:00000134=????????
        06d53c64 8be8            mov    ebp,eax
        06d53c66 85ed            test    ebp,ebp
        06d53c68 7452            jz      mp!CountTeamPlayers+0xa85c (06d53cbc)
        06d53c6a 8b4500          mov    eax,[ebp]
        06d53c6d 8bcd            mov    ecx,ebp
        06d53c6f ff9074010000    call    dword ptr [eax+0x174]
        06d53c75 85c0            test    eax,eax
        06d53c77 7443            jz      mp!CountTeamPlayers+0xa85c (06d53cbc)
        06d53c79 8b5500          mov    edx,[ebp]
        06d53c7c b90b000000      mov    ecx,0xb

*----> Stack Back Trace <----*
ChildEBP RetAddr  Args to Child             
00000001 00000000 00000000 00000000 00000000 mp!CountTeamPlayers+0xa7fe

What code might be causing that/how can I fix it?

Code I have related to Teams:

PHP Code:


    g_msgTeamInfo 
get_user_msgid("TeamInfo"

PHP Code:

    register_message(get_user_msgid("TeamScore"), "message_teamscore")
    
register_message(g_msgTeamInfo"message_teaminfo")
    
register_message(get_user_msgid("VGUIMenu"), "message_vgui_menu")
    
register_message(get_user_msgid("ShowMenu"), "msgShowMenu"

PHP Code:

        get_user_team(attackerteamm9); 

PHP Code:

// Block Team Change
public clcmd_changeteam(id)
{
    static 
team
    team 
fm_get_user_team(id)
    
    
// Unless it's a spectator joining the game
    
if (team == CS_TEAM_SPECTATOR || team == CS_TEAM_UNASSIGNED)
    {
        if (!
g_isreg[id])
        {
            
show_menu_entrance(id)
            return 
PLUGIN_HANDLED;
        }
        else
        return 
PLUGIN_CONTINUE
    
}    
    
// Pressing 'M' (chooseteam) ingame should show the main menu instead
    
show_menu_game(id)
    return 
PLUGIN_HANDLED;



PHP Code:

stock fm_user_team_update(id)
{
    static 
Float:current_time
    current_time 
get_gametime()

    if (
current_time g_teams_targettime >= 0.1)
    {
        
set_task(0.1"fm_set_user_team_msg"id+TASK_TEAM)
        
g_teams_targettime current_time 0.1
    
}
    else
    {
        
set_task(((g_teams_targettime 0.1) - current_time), "fm_set_user_team_msg"id+TASK_TEAM)
        
g_teams_targettime g_teams_targettime 0.1
    
}


PHP Code:

// Send User Team Message
public fm_set_user_team_msg(taskid)
{
    
// Beware: this message can now be picked up by other metamod
    // plugins (yeah, that includes AMXX plugins as well)

    // Set the switching team flag
    
g_switchingteam[ID_TEAM] = true

    
// Tell everyone my new team
    
emessage_begin(MSG_ALLg_msgTeamInfo)
    
ewrite_byte(ID_TEAM// player
    
ewrite_string(TEAMNAMES[fm_get_user_team(ID_TEAM)]) // team
    
emessage_end()

    
// Done switching team
    
g_switchingteam[ID_TEAM] = false


PHP Code:

public message_vgui_menu(msgiddestid)
{
    if(
get_msg_arg_int(1) != TEAM_SELECT_VGUI_MENU_ID)
        return 
PLUGIN_CONTINUE

    
if(g_islog[id])
    {
        
set_task(0.2"show_menu_chars"id)
    }
    else
    {
        
set_task(0.3"show_menu_entrance" ,id)
    }
    return 
PLUGIN_HANDLED;


PHP Code:

public msgShowMenu(msgiddestid)
{
    new 
sTemp[sizeof(g_sTeamSelect)+1]
    
get_msg_arg_string(4sTempsizeof(sTemp) - 1)
        
    if(
equal(sTempg_sTeamSelect))
    {
        if (
g_islog[id])
        {
            
set_task(0.2"show_menu_chars"id)
            
show_menu_entrance(id)
            return 
PLUGIN_HANDLED;
        }
        else
        {
            
set_task(0.3"show_menu_entrance" ,id)
            return 
PLUGIN_HANDLED;
        }

    }
    return 
PLUGIN_CONTINUE


PHP Code:

        set_msg_block(122BLOCK_SET)
        
engclient_cmd(id"jointeam""5")
        
engclient_cmd(id"joinclass""0")
        
set_msg_block(122msg_block


Arkshine 12-01-2010 09:50

Re: I get access violation on function mp!CountTeamPlayers
 
The content of CountTeamPlayers(), is something like :

PHP Code:

int CountTeamPlayersint iTeam )
{
    
CBaseEntity *pEnt;
    
int iCount;

    while( ( 
pEnt UTIL_FindEntityByClassnamepEnt"player" ) ) != NULL )
    {
        if( 
pEnt->edict() && pEnt->entindex() && pEnt->pev->flags >= && GetClassPtr((CBasePlayer *)pEnt->pev)->m_iTeam == iTeam )
        {
            
iCount++;
        } 
    }
    
    return 
iCount;


The "fault" would be on "GetClassPtr()" where the content is :

PHP Code:

template <class TGetClassPtr*)
{
    
entvars_t *pev = (entvars_t *)a;

    
// allocate entity if necessary
    
if (pev == NULL)
        
pev VARS(CREATE_ENTITY());

    
// get the private data
    
= (*)GET_PRIVATE(ENT(pev));

    if (
== NULL
    {
        
// allocate private data 
        
= new(pevT;
        
a->pev pev;
    } 

This function is used in 4 functions :
  • ProcessKickVote()
  • ClientCommand() (related to vote too)
  • CHalfLifeMultiplay::RestartRound()
  • CHalfLifeMulitplay::FPlayerCanRespawn()

I have no idea why it happens, you don't provide much informations.
It happens all the time ? Because such error "access violation" is related to memory accessing to a zone where it should not. So, your server is under windows ? It may be from faulty RAM. It could be others reasons, if you server is on your computer I suggest you search on internet some answer about this error and trying clean/fix your computer.

01101101 12-01-2010 11:38

Re: I get access violation on function mp!CountTeamPlayers
 
Thanks for the data. The PC is fine since it happends on any computer. This is from windows, however, in linux it happends the same. That crash occurs aprox. every 1hr (however it might occur on the first 10 mins or in 2 hours after server startup) so its really annoying. It's a very populated server (almost always 32 slots). Tell me what data I can provide to you and ill give it. Here is the rest of the log (which I thought that was kinda useless)

PHP Code:


Application exception occurred
:
        
AppC:\Documents and Settings\speed\Desktop\servers\hlds.exe (pid=4908)
        
When12/1/2010 10:25:00.687
        Exception number
c0000005 (access violation)

*----> 
System Information <----*
        
Computer NameFIREHOSTEDCS
        User Name
speed
        Terminal Session Id
2
        Number of Processors
4
        Processor Type
x86 Family 16 Model 4 Stepping 3
        Windows Version
5.2
        Current Build
3790
        Service Pack
2
        Current Type
Multiprocessor Free
        Registered Organization
FireHosted
        Registered Owner
FireHosted

*----> Task List <----*
   
0 System Process
   4 Error 0xD0000022
 312 Error 0xD0000022
 360 Error 0xD0000022
 384 Error 0xD0000022
 432 Error 0xD0000022
 444 Error 0xD0000022
 596 Error 0xD0000022
 692 Error 0xD0000022
 752 Error 0xD0000022
 772 Error 0xD0000022
 936 Error 0xD0000022
 976 Error 0xD0000022
1028 Error 0xD0000022
1212 Error 0xD0000022
1308 Error 0xD0000022
1448 Error 0xD0000022
1488 Error 0xD0000022
1516 Error 0xD0000022
1644 Error 0xD0000022
1812 Error 0xD0000022
1944 Error 0xD0000022
1956 Error 0xD0000022
2128 Error 0xD0000022
2132 Error 0xD0000022
2436 Error 0xD0000022
2560 Error 0xD0000022
2820 Error 0xD0000022
3768 Error 0xD0000022
2280 Error 0xD0000022
2672 Error 0xD0000022
3560 Error 0xD0000022
3596 Error 0xD0000022
1532 Error 0xD0000022
3872 Error 0xD0000022
 564 Error 0xD0000022
1060 Error 0xD0000022
2552 Error 0xD0000022
 224 Error 0xD0000022
1916 Error 0xD0000022
3640 Error 0xD0000022
1580 Error 0xD0000022
2384 Error 0xD0000022
3480 Error 0xD0000022
 664 Error 0xD0000022
2168 Error 0xD0000022
2624 Error 0xD0000022
2752 Error 0xD0000022
3408 Error 0xD0000022
5812 Error 0xD0000022
3084 Error 0xD0000022
4380 rdpclip
.exe
4928 Error 0xD0000022
4992 Error 0xD0000022
 520 Error 0xD0000022
2332 Error 0xD0000022
3368 Error 0xD0000022
4376 Error 0xD0000022
2448 Error 0xD0000022
3524 Error 0xD0000022
5476 Error 0xD0000022
2660 Error 0xD0000022
4420 Error 0xD0000022
4896 Error 0xD0000022
2488 Error 0xD0000022
4112 Error 0xD0000022
1428 Error 0xD0000022
4752 Error 0xD0000022
4828 Error 0xD0000022
5284 Error 0xD0000022
1924 Error 0xD0000022
5632 Error 0xD0000022
5864 Error 0xD0000022
2304 Error 0xD0000022
5216 explorer
.exe
5408 Error 0xD0000022
5684 WinRAR
.exe
5748 Error 0xD0000022
2760 cmd
.exe
2892 drwtsn32
.exe
4908 hlds
.exe
2640 Error 0xD0000022
5856 drwtsn32
.exe

*----> Module List <----*
0000000000be0000 0000000000bf5000C:\Documents and Settings\speed\Desktop\servers\steam_api_c.dll
0000000000e90000 
0000000000eaf000C:\Documents and Settings\speed\Desktop\servers\filesystem_stdio.dll
0000000001030000 
0000000001055000C:\Documents and Settings\speed\Desktop\servers\cstrike\addons\metamod\dlls\metamod.dll
00000000013d0000 
00000000013ec000C:\Documents and Settings\speed\Desktop\servers\cstrike\addons\amxmodx\modules\fun_amxx.dll
0000000001400000 
0000000003568000C:\Documents and Settings\speed\Desktop\servers\hlds.exe
0000000003570000 
00000000040c2000C:\Documents and Settings\speed\Desktop\servers\swds.dll
0000000006ce0000 
0000000006e70000C:\Documents and Settings\speed\Desktop\servers\cstrike\dlls\mp.dll
0000000007a20000 
0000000007adb000c:\documents and settings\speed\Desktop\servers\cstrike\addons\amxmodx\dlls\amxmodx_mm.dll
0000000007ae0000 
0000000007c65000C:\Documents and Settings\speed\Desktop\servers\cstrike\addons\amxmodx\modules\mysql_amxx.dll
0000000007c80000 
0000000007ca8000C:\Documents and Settings\speed\Desktop\servers\cstrike\addons\amxmodx\modules\engine_amxx.dll
0000000007cd0000 
0000000007d18000C:\Documents and Settings\speed\Desktop\servers\cstrike\addons\amxmodx\modules\fakemeta_amxx.dll
0000000007d40000 
0000000007d60000C:\Documents and Settings\speed\Desktop\servers\cstrike\addons\amxmodx\modules\cstrike_amxx.dll
0000000007d90000 
0000000007dbf000C:\Documents and Settings\speed\Desktop\servers\cstrike\addons\amxmodx\modules\hamsandwich_amxx.dll
0000000010000000 
0000000010058000C:\Documents and Settings\speed\Desktop\servers\vgui.dll
0000000021100000 
000000002115e000C:\Documents and Settings\speed\Desktop\servers\mss32.dll
0000000030000000 
00000000302e6000C:\Documents and Settings\speed\Desktop\servers\Steam.dll
0000000038000000 
0000000038357000C:\Documents and Settings\speed\Desktop\servers\steamclient.dll
000000003f000000 
000000003f0a9000C:\Documents and Settings\speed\Desktop\servers\tier0_s.dll
000000003f600000 
000000003f670000C:\Documents and Settings\speed\Desktop\servers\vstdlib_s.dll
000000004b180000 
000000004b284000C:\WINDOWS\system32\ESENT.dll
000000005f270000 
000000005f2ca000C:\WINDOWS\system32\hnetcfg.dll
0000000068000000 
0000000068035000C:\WINDOWS\system32\rsaenh.dll
0000000071ae0000 
0000000071ae8000C:\WINDOWS\System32\wshtcpip.dll
0000000071b20000 
0000000071b61000C:\WINDOWS\system32\mswsock.dll
0000000071bb0000 
0000000071bb9000C:\WINDOWS\system32\WSOCK32.dll
0000000071bc0000 
0000000071bc8000C:\WINDOWS\system32\rdpsnd.dll
0000000071bf0000 
0000000071bf8000C:\WINDOWS\system32\WS2HELP.dll
0000000071c00000 
0000000071c17000C:\WINDOWS\system32\WS2_32.dll
0000000071c40000 
0000000071c97000C:\WINDOWS\system32\NETAPI32.dll
00000000722c0000 
00000000722ea000C:\WINDOWS\system32\DINPUT.dll
00000000730a0000 
00000000730ae000C:\WINDOWS\system32\WZCSAPI.DLL
0000000073860000 
00000000738ab000C:\WINDOWS\system32\DDRAW.dll
0000000073b30000 
0000000073b36000C:\WINDOWS\system32\DCIMAN32.dll
0000000074de0000 
0000000074df2000C:\WINDOWS\system32\CLUSAPI.dll
0000000076190000 
00000000761a2000C:\WINDOWS\system32\MSASN1.dll
00000000761b0000 
0000000076243000C:\WINDOWS\system32\CRYPT32.dll
0000000076300000 
00000000764c0000C:\WINDOWS\system32\netshell.dll
0000000076a80000 
0000000076a92000C:\WINDOWS\system32\ATL.DLL
0000000076aa0000 
0000000076acd000C:\WINDOWS\system32\WINMM.dll
0000000076b70000 
0000000076b7b000C:\WINDOWS\system32\PSAPI.DLL
0000000076b80000 
0000000076bae000C:\WINDOWS\system32\credui.dll
0000000076cc0000 
0000000076cc5000C:\WINDOWS\system32\WMI.dll
0000000076cd0000 
0000000076ce9000C:\WINDOWS\system32\MPRAPI.dll
0000000076cf0000 
0000000076d0a000C:\WINDOWS\system32\iphlpapi.dll
0000000076d10000 
0000000076d2f000C:\WINDOWS\system32\DHCPCSVC.DLL
0000000076dc0000 
0000000076de8000C:\WINDOWS\system32\adsldpc.dll
0000000076df0000 
0000000076e24000C:\WINDOWS\system32\ACTIVEDS.dll
0000000076e30000 
0000000076e3c000C:\WINDOWS\system32\rtutils.dll
0000000076e40000 
0000000076e52000C:\WINDOWS\system32\rasman.dll
0000000076e60000 
0000000076e8f000C:\WINDOWS\system32\TAPI32.dll
0000000076e90000 
0000000076ecf000C:\WINDOWS\system32\RASAPI32.dll
0000000076ed0000 
0000000076efa000C:\WINDOWS\system32\DNSAPI.dll
0000000076f00000 
0000000076f08000C:\WINDOWS\system32\WTSAPI32.dll
0000000076f10000 
0000000076f3e000C:\WINDOWS\system32\WLDAP32.dll
0000000076f50000 
0000000076f63000C:\WINDOWS\system32\Secur32.dll
0000000076f70000 
0000000076f77000C:\WINDOWS\System32\winrnr.dll
0000000076f80000 
0000000076f85000C:\WINDOWS\system32\rasadhlp.dll
00000000770e0000 
00000000771e8000C:\WINDOWS\system32\SETUPAPI.dll
00000000771f0000 
0000000077201000C:\WINDOWS\system32\WINSTA.dll
0000000077210000 
00000000772bb000C:\WINDOWS\system32\WININET.dll
0000000077380000 
0000000077411000C:\WINDOWS\system32\USER32.dll
0000000077420000 
0000000077523000C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.3959_x-ww_D8713E55\comctl32.dll
0000000077670000 
00000000777a9000C:\WINDOWS\system32\ole32.dll
0000000077840000 
0000000077882000C:\WINDOWS\system32\netman.dll
0000000077b90000 
0000000077b98000C:\WINDOWS\system32\VERSION.dll
0000000077ba0000 
0000000077bfa000C:\WINDOWS\system32\msvcrt.dll
0000000077c00000 
0000000077c49000C:\WINDOWS\system32\GDI32.dll
0000000077c50000 
0000000077cef000C:\WINDOWS\system32\RPCRT4.dll
0000000077d00000 
0000000077d8b000C:\WINDOWS\system32\OLEAUT32.dll
0000000077e40000 
0000000077f42000C:\WINDOWS\system32\kernel32.dll
000000007c800000 
000000007c8c2000C:\WINDOWS\system32\ntdll.dll
000000007c8d0000 
000000007d0cf000C:\WINDOWS\system32\SHELL32.dll
000000007d180000 
000000007d1d2000C:\WINDOWS\system32\SHLWAPI.dll
000000007d1e0000 
000000007d27c000C:\WINDOWS\system32\ADVAPI32.dll
000000007e020000 
000000007e02f000C:\WINDOWS\system32\SAMLIB.dll
000000007fcf0000 
000000007fd7e000C:\WINDOWS\system32\WZCSvc.DLL

*----> State Dump for Thread Id 0x140c <----*

eax=043a9a58 ebx=011422d4 ecx=00fba1d8 edx=00000000 esi=00fd6720 edi=00000000
eip
=06d53c5e esp=0012e7b8 ebp=00000001 iopl=0         nv up ei pl nz na po nc
cs
=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010206

*** ERRORSymbol file could not be found.  Defaulted to export symbols for C:\Documents and Settings\speed\Desktop\servers\cstrike\dlls\mp.dll 
function: 
mp!CountTeamPlayers
        06d53c42 0000             add     
[eax],al
        06d53c44 85c9             test    ecx
,ecx
        06d53c46 750a             jnz     mp
!CountTeamPlayers+0xa7f2 (06d53c52)
        
06d53c48 85ff             test    edi,edi
        06d53c4a 7506             jnz     mp
!CountTeamPlayers+0xa7f2 (06d53c52)
        
06d53c4c 89ab94010000     mov     [ebx+0x194],ebp
        06d53c52 8b8ed4050000     mov     ecx
,[esi+0x5d4]
        
06d53c58 85c9             test    ecx,ecx
        06d53c5a 7460             jz      mp
!CountTeamPlayers+0xa85c (06d53cbc)
        
06d53c5c 8b11             mov     edx,[ecx]
FAULT ->06d53c5e ff9234010000    call dword ptr [edx+0x134ds:0023:00000134=????????
        
06d53c64 8be8             mov     ebp,eax
        06d53c66 85ed             test    ebp
,ebp
        06d53c68 7452             jz      mp
!CountTeamPlayers+0xa85c (06d53cbc)
        
06d53c6a 8b4500           mov     eax,[ebp]
        
06d53c6d 8bcd             mov     ecx,ebp
        06d53c6f ff9074010000     call    dword ptr 
[eax+0x174]
        
06d53c75 85c0             test    eax,eax
        06d53c77 7443             jz      mp
!CountTeamPlayers+0xa85c (06d53cbc)
        
06d53c79 8b5500           mov     edx,[ebp]
        
06d53c7c b90b000000       mov     ecx,0xb

*----> Stack Back Trace <----*
ChildEBP RetAddr  Args to Child              
00000001 00000000 00000000 00000000 00000000 mp
!CountTeamPlayers+0xa7fe

*----> Raw Stack Dump <----*
000000000012e7b8  40 24 00 00 0a 00 00 00 01 00 00 00 98 00 00 00  @$..............
000000000012e7c8  20 67 fd 00 06 00 00 00 ec e7 12 00 82 5f 5a 03   g..........._Z.
000000000012e7d8  c8 fa 12 00 02 00 00 00 01 00 00 00 07 00 00 00  ................
000000000012e7e8  04 e8 12 00 82 5f 5a 03 c8 fa 12 00 00 00 00 00  ....._Z.........
000000000012e7f8  9e 23 03 01 00 00 00 00 01 00 00 00 d4 22 14 01  .#..........."..
000000000012e808  57 12 03 01 01 00 00 00 01 00 00 00 00 00 00 00  W...............
000000000012e818  52 e8 12 00 40 01 fb 00 c8 fa 12 00 90 55 04 01  R...@........U..
000000000012e828  0c 00 00 00 40 39 d5 06 00 00 00 00 00 00 00 00  ....@9..........
000000000012e838  98 00 00 00 90 1f f4 08 40 01 fb 00 90 1f f4 08  ........@.......
000000000012e848  40 01 fb 00 40 a7 f3 08 01 02 00 00 00 00 00 00  @...@...........
000000000012e858  98 e8 12 00 14 24 5b 03 40 a7 f3 08 90 1f f4 08  .....$[.@.......
000000000012e868  d8 99 3a 04 c8 22 14 01 a8 64 2d 04 08 eb 12 00  ..:.."...d-.....
000000000012e878  56 43 03 01 8c e8 12 00 - 40 01 fb 00 a8 2d f4 08  [email protected]..
000000000012e888  00 00 00 00 d8 99 3a 04 - 01 00 00 00 d4 22 14 01  ......:......"
..
000000000012e898  58 b5 f3 08 40 00 00 00 08 eb 12 00 a4 5e 5a 03  X...@........^Z.
000000000012e8a8  a4 6d 60 03 d8 99 3a 04 01 00 00 00 d4 22 14 01  .m`...:......"..
000000000012e8b8  d4 22 14 01 00 00 00 00 - dc 01 00 00 01 00 00 00  ."..............
000000000012e8c8  a8 64 2d 04 01 00 00 00 - 00 00 00 00 00 00 00 00  .d-.............
000000000012e8d8  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ................
000000000012e8e8  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ................

*----> State Dump for Thread Id 0x1568 <----*

eax=00000087 ebx=0a3dfd60 ecx=0a3de2dc edx=380558a0 esi=0a3dfd60 edi=7ffdb000
eip=7c82860c esp=0a3dfd14 ebp=0a3dfdbc iopl=0         nv up ei pl zr na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000246

*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\WINDOWS\system32\ntdll.dll - 
function: ntdll!KiFastSystemCallRet
        7c8285ee e82c000000       call    ntdll!RtlRaiseException (7c82861f)
        7c8285f3 8b0424           mov     eax,[esp]
        7c8285f6 8be5             mov     esp,ebp
        7c8285f8 5d               pop     ebp
        7c8285f9 c3               ret
        7c8285fa 8da42400000000   lea     esp,[esp]
        7c828601 8da42400000000   lea     esp,[esp]
        ntdll!KiFastSystemCall:
        7c828608 8bd4             mov     edx,esp
        7c82860a 0f34             sysenter
        ntdll!KiFastSystemCallRet:
        7c82860c c3               ret
        7c82860d 8da42400000000   lea     esp,[esp]
        7c828614 8d642400         lea     esp,[esp]
        ntdll!KiIntSystemCall:
        7c828618 8d542408         lea     edx,[esp+0x8]
        7c82861c cd2e             int     2e
        7c82861e c3               ret
        ntdll!RtlRaiseException:
        7c82861f 55               push    ebp
        7c828620 8bec             mov     ebp,esp
        7c828622 8da42430fdffff   lea     esp,[esp-0x2d0]

*----> Stack Back Trace <----*
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\WINDOWS\system32\kernel32.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Documents and Settings\speed\Desktop\servers\tier0_s.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for C:\Documents and Settings\speed\Desktop\servers\steamclient.dll - 
ChildEBP RetAddr  Args to Child              
WARNING: Stack unwind information not available. Following frames may be wrong.
0a3dfdbc 77e62fbe 00000001 0a3dfdf8 00000000 ntdll!KiFastSystemCallRet
0a3dfdd8 3f00cb91 00000001 0a3dfdf8 00000000 kernel32!WaitForMultipleObjects+0x18
0a3dff0c 380ddd25 00000008 ffffffff 0a1f0bf0 tier0_s!WaitForMultipleEvents+0x61
0a3dff4c 3f00939b 382eec08 3f009130 ffffffff steamclient!CreateInterface+0x6eff5
0a3dff78 380de1a1 380ddde0 382eec08 00000001 tier0_s!CatchAndWriteMiniDumpExForVoidPtrFn+0x5b
0a3dffb8 77e6482f 0a1f0bf0 00000000 00000000 steamclient!CreateInterface+0x6f471
0a3dffec 00000000 3f00db80 0a1f0bf0 00000000 kernel32!GetModuleHandleA+0xdf

*----> Raw Stack Dump <----*
000000000a3dfd14  19 7d 82 7c 2c 20 e6 77 - 01 00 00 00 60 fd 3d 0a  .}.|, .w....
`.=.
000000000a3dfd24  01 00 00 00 00 00 00 00 80 fd 3d 0a 08 ec 2e 38  ..........=....8
000000000a3dfd34  01 00 00 00 10 be 00 3f 
24 00 00 00 01 00 00 00  .......?$.......
000000000a3dfd44  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
000000000a3dfd54  00 00 00 00 00 00 00 00 00 00 00 00 18 02 00 00  ................
000000000a3dfd64  24 fe 3d 0a 88 fb 1f 0a 48 00 00 00 bc fe 3d 0a  $.=.....H.....=.
000000000a3dfd74  48 00 00 00 94 fd 3d 0a 7c a0 17 38 80 c7 fe ff  H.....=.|..8....
000000000a3dfd84  ff ff ff ff 00 b0 fd 7f c8 4a 20 0a 80 fd 3d 0a  ............=.
000000000a3dfd94  60 fd 3d 0a 00 00 00 00 90 fb 1f 0a 01 00 00 00  `.=.............
000000000a3dfda4  30 fd 3d 0a d8 fd 3d 0a - 6c ff 3d 0a 60 1a e6 77  0.=...=.l.=.
`..w
000000000a3dfdb4  f8 1f e6 77 00 00 00 00 
d8 fd 3d 0a be 2f e6 77  ...w......=../.w
000000000a3dfdc4  01 00 00 00 f8 fd 3d 0a 
00 00 00 00 08 00 00 00  ......=.........
000000000a3dfdd4  00 00 00 00 0c ff 3d 0a 91 cb 00 3f 01 00 00 00  ......=....?....
000000000a3dfde4  f8 fd 3d 0a 00 00 00 00 08 00 00 00 08 ec 2e 38  ..=............8
000000000a3dfdf4  01 00 00 00 18 02 00 00 
90 82 82 7c 80 9f 82 7c  ...........|...|
000000000a3dfe04  ff ff ff ff 79 9f 82 7c 95 82 01 3f 00 00 1c 0a  ....y..|...?....
000000000a3dfe14  00 00 00 00 b4 82 01 3f e7 73 e5 e5 30 ba 03 3f  .......?.s..0..?
000000000a3dfe24  c8 4a 20 0a 40 ec 2e 38 80 09 02 3f 1c fe 3d 0a  ..@..8...?..=.
000000000a3dfe34  71 1f 0f 38 00 00 00 00 01 00 00 00 40 ec 2e 38  q..8........@..8
000000000a3dfe44  18 1c 1f 0a 5c fe 3d 0a 
68 ec 2e 38 40 ec 2e 38  ....\.=.h..8@..8

*----> State Dump for Thread Id 0x1194 <----*

eax=07ae4420 ebx=013c2228 ecx=00000000 edx=00000000 esi=000002bc edi=00000000
eip
=7c82860c esp=086eff04 ebp=086eff74 iopl=0         nv up ei pl zr na po nc
cs
=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000246

function: ntdll!KiFastSystemCallRet
        7c8285ee e82c000000       call    ntdll
!RtlRaiseException (7c82861f)
        
7c8285f3 8b0424           mov     eax,[esp]
        
7c8285f6 8be5             mov     esp,ebp
        7c8285f8 5d               pop     ebp
        7c8285f9 c3               ret
        7c8285fa 8da42400000000   lea     esp
,[esp]
        
7c828601 8da42400000000   lea     esp,[esp]
        
ntdll!KiFastSystemCall:
        
7c828608 8bd4             mov     edx,esp
        7c82860a 0f34             sysenter
        ntdll
!KiFastSystemCallRet:
        
7c82860c c3               ret
        7c82860d 8da42400000000   lea     esp
,[esp]
        
7c828614 8d642400         lea     esp,[esp]
        
ntdll!KiIntSystemCall:
        
7c828618 8d542408         lea     edx,[esp+0x8]
        
7c82861c cd2e             int     2e
        7c82861e c3               ret
        ntdll
!RtlRaiseException:
        
7c82861f 55               push    ebp
        7c828620 8bec             mov     ebp
,esp
        7c828622 8da42430fdffff   lea     esp
,[esp-0x2d0]

*----> 
Stack Back Trace <----*
*** 
ERRORSymbol file could not be found.  Defaulted to export symbols for C:\Documents and Settings\speed\Desktop\servers\cstrike\addons\amxmodx\modules\mysql_amxx.dll 
ChildEBP RetAddr  Args to Child              
WARNING
Stack unwind information not availableFollowing frames may be wrong.
086eff74 77e61c8d 000002bc ffffffff 00000000 ntdll!KiFastSystemCallRet
086eff88 07ae462c 000002bc ffffffff 07ae4338 kernel32
!WaitForSingleObject+0x12
086effec 00000000 07ae4420 013c2228 00000000 mysql_amxx
+0x462c

*----> Raw Stack Dump <----*
00000000086eff04  29 7d 82 7c 1e 1d e6 77 bc 02 00 00 00 00 00 00  )}.|...w........
00000000086eff14  00 00 00 00 00 00 00 00 a4 21 3c 01 28 22 3c 01  .........!<.("<.
00000000086eff24  24 00 00 00 01 00 00 00 - 00 00 00 00 00 00 00 00  $...............
00000000086eff34  00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ................
00000000086eff44  00 00 00 00 68 bc 61 b9 - f0 5c 3b 8b 00 b0 fd 7f  ....h.a..\;.....
00000000086eff54  00 00 00 00 00 00 00 00 - 18 ff 6e 08 00 00 00 00  ..........n.....
00000000086eff64  dc ff 6e 08 60 1a e6 77 - 48 1d e6 77 00 00 00 00  ..n.`..wH..w....
00000000086eff74  88 ff 6e 08 8d 1c e6 77 - bc 02 00 00 ff ff ff ff  ..n....w........
00000000086eff84  00 00 00 00 ec ff 6e 08 - 2c 46 ae 07 bc 02 00 00  ......n.,F......
00000000086eff94  ff ff ff ff 38 43 ae 07 - 00 00 00 00 28 22 3c 01  ....8C......("
<.
00000000086effa4  34 44 ae 07 28 22 3c 01 00 00 00 00 00 00 00 00  4D..("<.........
00000000086effb4  c9 77 82 7c 44 fb 82 7c - 2f 48 e6 77 28 22 3c 01  .w.|D..|/H.w("
<.
00000000086effc4  00 00 00 00 00 00 00 00 28 22 3c 01 00 00 00 00  ........("<.....
00000000086effd4  c4 ff 6e 08 8c 31 83 80 - ff ff ff ff 60 1a e6 77  ..n..1......`..w
00000000086effe4  38 48 e6 77 00 00 00 00 - 00 00 00 00 00 00 00 00  8H.w............
00000000086efff4  20 44 ae 07 28 22 3c 01 - 00 00 00 00 08 00 00 00   D..("
<.........
00000000086f0004  00 01 00 05 ee ff ee ff 00 00 00 00 00 00 e4 00  ................
00000000086f0014  00 10 06 00 00 00 6f 08 00 10 00 00 40 00 6f 08  ......o.....@.o.
00000000086f0024  00 00 6f 09 7e 02 00 00 87 00 00 00 10 0d ec 00  ..o.~...........
00000000086f0034  00 00 00 00 f8 a6 9f 08 00 00 00 00 13 00 08 00  ................ 

There is some stuff about mysql, maybe it's related?

About the functions you posted, the only thing I have related is

PHP Code:

public message_textmsg()
{
    static 
textmsg[22]
    
get_msg_arg_string(2textmsgsizeof textmsg 1);
    
    if (
equal(textmsg"#Game_will_restart_in"))
              if(
g_hidemsg)
                     return 
PLUGIN_HANDLED
...... 

However, this obviously isn't the cause because its a simple code that should (and does) work, and crash isn't triggered when rr. The reason why its so hard to me to debug this is that I cant actually see what triggers the crash.

Oh, and about ClientCommand, is that somehow related with client_cmd or engclient_cmd?


All times are GMT -4. The time now is 11:27.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.