View Single Post
zeus
Senior Member
Join Date: Jul 2008
Old 04-14-2015 , 09:46   Re: SteamTools (v1.0.1)
Reply With Quote #22

This is without gdb

Code:
Segmentation fault (core dumped)

warning: .dynamic section for "cstrike/addons/amxmodx/modules/steamtools_amxx_i386.so" is not at the expected address (wrong library or version mismatch?)
88	/srv/d_cs-amx/sdk/SteamTools/public/sourcehook/sh_list.h: No such file or directory.
debug.cmds:1: Error in sourced command file:
Cannot access memory at address 0x1c
This is GDB BT FULL

Code:
Program received signal SIGSEGV, Segmentation fault.
0xf387acd6 in SourceHook::Impl::CSourceHookImpl::AddHook (this=0xf389c698 <g_SourceHook>, plug=0, 
    mode=SourceHook::ISourceHook::Hook_Normal, iface=0xf3831364, thisptr_offs=0, 
    myHookMan=0xf38947e0 <__SourceHook_FHCls_ISteamClientGetISteamGameServer0::HookManPubFunc(bool, SourceHook::IHookManagerInfo*)>, 
    handler=0x8d121b8, post=false) at /srv/d_cs-amx/sdk/SteamTools/public/sourcehook/sourcehook.cpp:120
120	/srv/d_cs-amx/sdk/SteamTools/public/sourcehook/sourcehook.cpp: No such file or directory.
(gdb) bt full
#0  0xf387acd6 in SourceHook::Impl::CSourceHookImpl::AddHook (this=0xf389c698 <g_SourceHook>, plug=0, 
    mode=SourceHook::ISourceHook::Hook_Normal, iface=0xf3831364, thisptr_offs=0, 
    myHookMan=0xf38947e0 <__SourceHook_FHCls_ISteamClientGetISteamGameServer0::HookManPubFunc(bool, SourceHook::IHookManagerInfo*)>, 
    handler=0x8d121b8, post=false) at /srv/d_cs-amx/sdk/SteamTools/public/sourcehook/sourcehook.cpp:120
        hookManager = {<SourceHook::IHookManagerInfo> = {
            _vptr$IHookManagerInfo = 0xf3899f0c <vtable for SourceHook::Impl::CHookManager+8>}, m_OwnerPlugin = 0, 
          m_PubFunc = 0xf38947e0 <__SourceHook_FHCls_ISteamClientGetISteamGameServer0::HookManPubFunc(bool, SourceHook::IHookManagerInfo*)>, m_VtblOffs = 0, m_VtblIdx = 6, m_Proto = {m_Version = 1, m_NumOfParams = 3, m_RetPassInfo = {size = 4, type = 0, flags = 1, 
              pNormalCtor = 0x0, pCopyCtor = 0x0, pDtor = 0x0, pAssignOperator = 0x0}, m_ParamsPassInfo = {m_Data = 0x8d04380, 
              m_Size = 3, m_CurrentUsedSize = 3}, m_Convention = 0}, m_Version = 1, 
          m_HookfuncVfnptr = 0xf389a53c <vtable for __SourceHook_FHCls_ISteamClientGetISteamGameServer0+8>, m_VfnPtrs = {
            m_Head = 0x8d1b8b8, m_Size = 0}}
        adjustediface = 0xf3831364
        cur_vtptr = 0x0
        cur_vfnptr = 0x0
        vfnPtr = 0x3
        ifaceinst = @0x10: <error reading variable>
        hook = {m_OwnerPlugin = 0, m_ThisPointerOffset = -135502768, m_pHandler = 0x18, m_HookID = 32, m_Paused = 67}
#1  0xf38939d9 in __SourceHook_FHAddISteamClientGetISteamGameServer (iface=0xf3831364, mode=SourceHook::ISourceHook::Hook_Normal, 
    post=false, handler=...) at /srv/d_cs-amx/sdk/SteamTools/module/sw_gameserver.cpp:56
        mfi = {isVirtual = true, thisptroffs = 0, vtblindex = 6, vtbloffs = 0}
#2  0xf3894294 in SteamToolsGameServer::AddHooks (this=0x805f920) at /srv/d_cs-amx/sdk/SteamTools/module/sw_gameserver.cpp:85
No locals.
#3  0xf38929de in Hook_SteamGameServer_Init (unIP=3232236131, usPort=26900, usGamePort=27010, usSpectatorPort=65535, usQueryPort=1, 
    eServerMode=4152934016, pchGameDir=0xf3d361a4 " \240\020", pchVersionString=0xf3c6b819 "\211D$\034\213\253\254\377\377\377\213m")
    at /srv/d_cs-amx/sdk/SteamTools/module/sw_detours.cpp:22
        result = false
#4  0xf7819252 in CSteam3Server::Activate (this=0x8ceea60) at ../engine/sv_steam3.cpp:448
        usPort = <optimized out>
---Type <return> to continue, or q <return> to quit---
        iPort = <optimized out>
        unIP = 3232236131
        unFlags = 31
        gamedir = "cstrike\000l\302\376\377\f_\221\363YӦ󶧱\363\000\000\000\000\004\303\376\377\240\230\320\b\321\006\000\000(\003\317\bz\000\000\000(\003\317\bz\000\000\000z\000\000\000\030\343\316\b\000`\354\367 d\354\367f\000\000\000\350\302\376\377\b'\331\367OM\262\363\377\a\000\000\266\247\261\363\000\000\200?\267&\331\367\364\017\375\367\030\000\000\000\250\342\370\367\030\000\000\000\020'\000\000\250\000\000\000@~\005\b\350\302\376\377\255\227\365\367\002\000\000\000(J\360\367\240z\005\bf\000\000\000(\303\376\377\301\214\357\367\000\000\000\000H$\321\b\240z\005\b$J\360\367\f\000\000\000$J\360\367\344\352\316\b\000\000\000\000 d\354\367\000\000\001\000"...
        eSMode = eServerModeNoAuthentication
        uPort = <optimized out>
        nAppID = <optimized out>
#5  0xf78198a4 in Steam_Activate () at ../engine/sv_steam3.cpp:972
No locals.
#6  0xf77f14d0 in SV_ActivateServer (runPhysics=1) at ../engine/sv_main.c:7143
        i = <optimized out>
        data = '\000' <repeats 31248 times>...
        msg = {buffername = 0xf783281f "Activate Server", flags = 0, data = 0xfffec3ac "", maxsize = 65536, cursize = 0}
#7  0xf77c5699 in Host_Map (mapName=0xffffc550 "de_dust2", loadGame=false, mapstring=<optimized out>, bIsDemo=<optimized out>)
    at ../engine/host_cmd.c:1288
No locals.
#8  0xf77c7cd9 in Host_Map (loadGame=false, mapName=0xffffc550 "de_dust2", mapstring=0xffffc510 "map de_dust2 \n", 
    bIsDemo=<optimized out>) at ../engine/host_cmd.c:1271
        bIsDemo = false
#9  Host_Map_f () at ../engine/host_cmd.c:1442
        i = <optimized out>
        mapstring = "map de_dust2 \n\000\367d\203\324\363\\\305\377\377;\305\377\377\304\305\377\377|\305\377\377\320]^\364\r\000\000\000\337ā\367\304\305\377\377|\305\377\377[\305\377\377\235\256", <incomplete sequence \367>
        name = "de_dust2", '\000' <repeats 55 times>
#10 0xf77a928d in Cmd_ExecuteString (text=0xffffc5c0 "map de_dust2 ", src=<optimized out>) at ../engine/cmd.c:1150
---Type <return> to continue, or q <return> to quit---
        cmd = 0xf4547358
        a = <optimized out>
        src = src_command
#11 Cbuf_Execute () at ../engine/cmd.c:242
        i = <optimized out>
        text = <optimized out>
        line = "map de_dust2 \000apcycle.txt \000ments\r\000nt\r\000\377\377\250\v\203\367\004\312\377\377STEAM Auth Server\r\n\000<\307\377\377<\307\377\377<\307\377\377<\307\377\377B\307\377\377;\310\377\377<\307\377\377;\310\377\377", '\000' <repeats 20 times>, "\001\000\000\000\000\000\000\000p\274\006\b\000\000\000\000\000\000\000\000^\320\330\367\003\000\000\000\340V\354\367\377\377\377\377^\312\330\367p\274\006\b\000\000\000\000\377\377\377\377n\317\330\367\300\306\377\377\000`\354\367\300\306\377\377\220\341\330\061\300\306\377\377\034\310\377\377"...
        quotes = <optimized out>
        amount = 13
#12 0xf77c2778 in Host_InitializeGameDLL () at ../engine/host_cmd.c:221
No locals.
#13 0xf77e2707 in Sys_InitGame (
    lpOrgCmdLine=0x80570e8 "-console -master +ip 192.168.2.99 +port 27010 -game cstrike -dir . +mapcyclefile mapcycle.txt +map de_dust2 +maxplayers 32 +exec server.cfg -sys_ticrate 1000 -zone 8192 -pingboost 3 -tos -secure 1 -nu"..., pBaseDir=0x804ca52 ".", pwnd=0x0, 
    bIsDedicated=1) at ../engine/sys_dll2.cpp:806
No locals.
#14 0xf77e497a in CEngine::Load (this=0xf787b6a0 <g_Engine>, dedicated=true, basedir=0x804ca52 ".", 
    cmdline=0x80570e8 "-console -master +ip 192.168.2.99 +port 27010 -game cstrike -dir . +mapcyclefile mapcycle.txt +map de_dust2 +maxplayers 32 +exec server.cfg -sys_ticrate 1000 -zone 8192 -pingboost 3 -tos -secure 1 -nu"...) at ../engine/sys_engine.cpp:193
        success = false
#15 0xf77e2205 in CDedicatedServerAPI::Init (this=0xf7876d00 <__g_CDedicatedServerAPI_singleton>, basedir=0x804ca52 ".", 
    cmdline=0x80570e8 "-console -master +ip 192.168.2.99 +port 27010 -game cstrike -dir . +mapcyclefile mapcycle.txt +map de_dust2 +maxplayers 32 +exec server.cfg -sys_ticrate 1000 -zone 8192 -pingboost 3 -tos -secure 1 -nu"..., launcherFactory=
    0x8049dd0 <CreateInterfaceLocal(char const*, int*)>, filesystemFactory=0xf7729ad0 <CreateInterface(char const*, int*)>)
    at ../engine/sys_dll2.cpp:1189
---Type <return> to continue, or q <return> to quit---
No locals.
#16 0x08049bcf in RunServer () at ../dedicated/sys_ded.cpp:646
        nInitEngine = <optimized out>
        iret = <optimized out>
        engineFactory = <optimized out>
#17 0x08049472 in main (argc=30, argv=0xffffcd84) at ../dedicated/sys_ded.cpp:1146
        pPingType = 0x8052c40 <CCommandLine::CheckParm(char const*, char**)::sz> "3"
        fsmodule = 0x804ca14 "filesystem_stdio.so"

Last edited by zeus; 04-14-2015 at 09:52.
zeus is offline