Skip to content

Instantly share code, notes, and snippets.

@DexterHaslem
Last active August 29, 2015 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DexterHaslem/d84b00c0bde9dc014d9f to your computer and use it in GitHub Desktop.
Save DexterHaslem/d84b00c0bde9dc014d9f to your computer and use it in GitHub Desktop.
as it loads:
warning: .dynamic section for "/home/dexter/steamcmd/ff_ded/FortressForever/bin/server_i486.so" is not at the expected address (wrong library or version mismatch?)
----------------------------------------------
CRASH: Fri Nov 14 00:19:07 MST 2014
Start Line: ./srcds_i486 -game FortressForever -debug -allowdebug -dev +map ff_well
[New LWP 21163]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./srcds_i486 -game FortressForever +map ff_2fort -debug'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0xf69928b6 in Mod_LoadTexinfo() () from bin/engine_i486.so
#0 0xf69928b6 in Mod_LoadTexinfo() () from bin/engine_i486.so
#1 0xf699a3f1 in CModelLoader::Map_LoadModel(model_t*) () from bin/engine_i486.so
#2 0xf699af57 in CModelLoader::LoadModel(model_t*, IModelLoader::REFERENCETYPE*) () from bin/engine_i486.so
#3 0xf699b7bc in CModelLoader::GetModelForName(char const*, IModelLoader::REFERENCETYPE) () from bin/engine_i486.so
#4 0xf69f74b7 in CGameServer::SpawnServer(char*, char*) () from bin/engine_i486.so
#5 0xf6978fb2 in Host_NewGame(char*, bool, bool, char const*, char const*) () from bin/engine_i486.so
#6 0xf6981f95 in CHostState::State_NewGame() () from bin/engine_i486.so
#7 0xf69823e9 in CHostState::FrameUpdate(float) () from bin/engine_i486.so
#8 0xf6982487 in HostState_Frame(float) () from bin/engine_i486.so
#9 0xf6a17604 in CEngine::Frame() () from bin/engine_i486.so
#10 0xf6a1541e in CDedicatedServerAPI::RunFrame() () from bin/engine_i486.so
#11 0xf749d13d in RunServer() () from bin/dedicated_i486.so
#12 0xf6a14dfe in CModAppSystemGroup::Main() () from bin/engine_i486.so
#13 0xf6b1bd63 in CAppSystemGroup::Run() () from bin/engine_i486.so
#14 0xf6a1604f in CDedicatedServerAPI::ModInit(ModInfo_t&) () from bin/engine_i486.so
#15 0xf749d38a in CDedicatedAppSystemGroup::Main() () from bin/dedicated_i486.so
#16 0xf74d4893 in CAppSystemGroup::Run() () from bin/dedicated_i486.so
#17 0xf74d4893 in CAppSystemGroup::Run() () from bin/dedicated_i486.so
#18 0xf749d798 in main () from bin/dedicated_i486.so
#19 0x0804909e in main ()
No symbol table info available.
eax 0x0 0
ecx 0x0 0
edx 0x0 0
ebx 0xf1531498 -246213480
esp 0xffc57940 0xffc57940
ebp 0x0 0x0
esi 0x91601e0 152437216
edi 0x1a79 6777
eip 0xf69928b6 0xf69928b6 <Mod_LoadTexinfo()+566>
eflags 0x10246 [ PF ZF IF RF ]
cs 0x23 35
ss 0x2b 43
ds 0x2b 43
es 0x2b 43
fs 0x0 0
gs 0x63 99
From To Syms Read Shared Object Library
0xf771b600 0xf774938b Yes (*) /lib32/libm.so.6
0xf7712ad0 0xf771396c Yes (*) /lib32/libdl.so.2
0xf757d420 0xf76ac48e Yes (*) /lib32/libc.so.6
0xf7777860 0xf778f7ac Yes (*) /lib/ld-linux.so.2
0xf753d190 0xf75587c0 Yes bin/tier0_i486.so
0xf7517840 0xf75241d7 Yes /lib32/libpthread.so.0
0xf7768950 0xf77720c0 Yes bin/vstdlib_i486.so
0xf749bff0 0xf74f61e0 Yes bin/dedicated_i486.so
0xf7437660 0xf74592c0 Yes bin/soundemittersystem_i486.so
0xf73677e0 0xf73f8230 Yes bin/materialsystem_i486.so
0xf6f3f300 0xf6f91890 Yes bin/studiorender_i486.so
0xf6d436a0 0xf6ece2b0 Yes bin/vphysics_i486.so
0xf6c495c0 0xf6c82250 Yes bin/datacache_i486.so
0xf68ff8d0 0xf6b1e500 Yes bin/engine_i486.so
0xf6689410 0xf674f040 Yes bin/libsteamvalidateuseridtickets_i486.so
0xf65d2b20 0xf65de500 Yes bin/steam_api_i486.so
0xf65c9440 0xf65cbaa0 Yes bin/shaderapiempty_i486.so
0xf5a229e0 0xf6151c90 Yes /home/dexter/steamcmd/ff_ded/FortressForever/bin/server_i486.so
0xf65b9590 0xf65bca60 Yes /home/dexter/steamcmd/ff_ded/bin/scenefilecache_i486.so
0xf6593ad0 0xf659a53b Yes (*) /lib32/libnss_files.so.2
(*): Shared library is missing debugging information.
Dump of assembler code for function _Z15Mod_LoadTexinfov:
0xf6992680 <+0>: sub $0x15c,%esp
0xf6992686 <+6>: lea 0x20(%esp),%ecx
0xf699268a <+10>: mov %ebx,0x14c(%esp)
0xf6992691 <+17>: mov $0x6,%ebx
0xf6992696 <+22>: mov %esi,0x150(%esp)
0xf699269d <+29>: mov %ebx,0x4(%esp)
0xf69926a1 <+33>: mov $0x38e38e39,%ebx
0xf69926a6 <+38>: mov %ecx,(%esp)
0xf69926a9 <+41>: mov %edi,0x154(%esp)
0xf69926b0 <+48>: mov %ebp,0x158(%esp)
0xf69926b7 <+55>: call 0xf6991b30 <_ZN14CMapLoadHelperC1Ei>
0xf69926bc <+60>: mov 0x24(%esp),%ecx
0xf69926c0 <+64>: mov 0x20(%esp),%esi
0xf69926c4 <+68>: mov %ecx,%eax
0xf69926c6 <+70>: mul %ebx
0xf69926c8 <+72>: shr $0x4,%edx
0xf69926cb <+75>: lea (%edx,%edx,8),%edx
0xf69926ce <+78>: shl $0x3,%edx
0xf69926d1 <+81>: cmp %edx,%ecx
0xf69926d3 <+83>: jne 0xf6992850 <_Z15Mod_LoadTexinfov+464>
0xf69926d9 <+89>: mov %ecx,%eax
0xf69926db <+91>: mov 0x34(%esp),%ebp
0xf69926df <+95>: lea 0x38(%esp),%ecx
0xf69926e3 <+99>: mul %ebx
0xf69926e5 <+101>: lea 0x0(,%ebp,8),%ebx
0xf69926ec <+108>: mov $0xf6be2d00,%eax
0xf69926f1 <+113>: sub %ebp,%ebx
0xf69926f3 <+115>: mov %edx,%edi
0xf69926f5 <+117>: mov -0x941d2c0(,%ebx,4),%edx
0xf69926fc <+124>: shr $0x4,%edi
0xf69926ff <+127>: lea (%edi,%edi,4),%ebp
0xf6992702 <+130>: test %edx,%edx
0xf6992704 <+132>: cmovne %ecx,%eax
0xf6992707 <+135>: shl $0x4,%ebp
0xf699270a <+138>: mov %eax,0x4(%esp)
0xf699270e <+142>: mov %ebp,(%esp)
0xf6992711 <+145>: call 0xf6a28580 <_Z14Hunk_AllocNameiPKc>
0xf6992716 <+150>: mov 0xf6be2ce0,%edx
0xf699271c <+156>: mov %eax,%ebx
0xf699271e <+158>: mov 0xf6be2738,%ebp
0xf6992724 <+164>: mov %edi,0x58(%edx)
0xf6992727 <+167>: mov 0x2c(%ebp),%ecx
0xf699272a <+170>: mov %eax,0x5c(%edx)
0xf699272d <+173>: test %ecx,%ecx
0xf699272f <+175>: setne 0x1f(%esp)
0xf6992734 <+180>: xor %ebp,%ebp
0xf6992736 <+182>: cmp %edi,%ebp
0xf6992738 <+184>: jge 0xf699286e <_Z15Mod_LoadTexinfov+494>
0xf699273e <+190>: mov (%esi),%eax
0xf6992740 <+192>: mov %eax,(%ebx)
0xf6992742 <+194>: mov 0x20(%esi),%edx
0xf6992745 <+197>: mov %edx,0x20(%ebx)
0xf6992748 <+200>: mov 0x4(%esi),%ecx
0xf699274b <+203>: mov %ecx,0x4(%ebx)
0xf699274e <+206>: mov 0x24(%esi),%eax
0xf6992751 <+209>: mov %eax,0x24(%ebx)
0xf6992754 <+212>: mov 0x8(%esi),%edx
0xf6992757 <+215>: mov %edx,0x8(%ebx)
0xf699275a <+218>: mov 0x28(%esi),%ecx
0xf699275d <+221>: mov %ecx,0x28(%ebx)
0xf6992760 <+224>: mov 0xc(%esi),%eax
0xf6992763 <+227>: mov %eax,0xc(%ebx)
0xf6992766 <+230>: mov 0x2c(%esi),%edx
0xf6992769 <+233>: mov %edx,0x2c(%ebx)
0xf699276c <+236>: mov 0x10(%esi),%ecx
0xf699276f <+239>: mov %ecx,0x10(%ebx)
0xf6992772 <+242>: mov 0x30(%esi),%eax
0xf6992775 <+245>: mov %eax,0x30(%ebx)
0xf6992778 <+248>: mov 0x14(%esi),%edx
0xf699277b <+251>: mov %edx,0x14(%ebx)
0xf699277e <+254>: mov 0x34(%esi),%ecx
0xf6992781 <+257>: mov %ecx,0x34(%ebx)
0xf6992784 <+260>: mov 0x18(%esi),%eax
0xf6992787 <+263>: mov %eax,0x18(%ebx)
0xf699278a <+266>: mov 0x38(%esi),%edx
0xf699278d <+269>: mov %edx,0x38(%ebx)
0xf6992790 <+272>: mov 0x1c(%esi),%ecx
0xf6992793 <+275>: mov %ecx,0x1c(%ebx)
0xf6992796 <+278>: mov 0x3c(%esi),%eax
0xf6992799 <+281>: mov %eax,0x3c(%ebx)
0xf699279c <+284>: flds 0x20(%ebx)
0xf699279f <+287>: flds 0x24(%ebx)
0xf69927a2 <+290>: fxch %st(1)
0xf69927a4 <+292>: fmul %st(0),%st
0xf69927a6 <+294>: fxch %st(1)
0xf69927a8 <+296>: fmul %st(0),%st
0xf69927aa <+298>: faddp %st,%st(1)
0xf69927ac <+300>: flds 0x28(%ebx)
0xf69927af <+303>: fmul %st(0),%st
0xf69927b1 <+305>: faddp %st,%st(1)
0xf69927b3 <+307>: fstps (%esp)
0xf69927b6 <+310>: call *0xf6b65dd4
0xf69927bc <+316>: fsts 0x40(%ebx)
0xf69927bf <+319>: cmpb $0x0,0x1f(%esp)
0xf69927c4 <+324>: mov 0x40(%esi),%ecx
0xf69927c7 <+327>: fdivrs 0xf6b1eedc
0xf69927cd <+333>: movw $0x0,0x4a(%ebx)
0xf69927d3 <+339>: mov %cx,0x48(%ebx)
0xf69927d7 <+343>: fstps 0x44(%ebx)
0xf69927da <+346>: je 0xf69928b0 <_Z15Mod_LoadTexinfov+560>
0xf69927e0 <+352>: mov 0x44(%esi),%eax
0xf69927e3 <+355>: test %eax,%eax
0xf69927e5 <+357>: js 0xf69928de <_Z15Mod_LoadTexinfov+606>
0xf69927eb <+363>: mov 0xf6be2ce0,%edx
0xf69927f1 <+369>: shl $0x3,%eax
0xf69927f4 <+372>: mov 0x64(%edx),%ecx
0xf69927f7 <+375>: add %ecx,%eax
0xf69927f9 <+377>: mov $0xf6b21e1f,%ecx
0xf69927fe <+382>: mov %ecx,0x4(%esp)
0xf6992802 <+386>: mov (%eax),%edx
0xf6992804 <+388>: mov %edx,(%esp)
0xf6992807 <+391>: call 0xf6964700 <_Z15GL_LoadMaterialPKcS0_>
0xf699280c <+396>: mov %eax,0x4c(%ebx)
0xf699280f <+399>: mov 0x4c(%ebx),%eax
0xf6992812 <+402>: test %eax,%eax
0xf6992814 <+404>: je 0xf69928b0 <_Z15Mod_LoadTexinfov+560>
0xf699281a <+410>: inc %ebp
0xf699281b <+411>: add $0x48,%esi
0xf699281e <+414>: add $0x50,%ebx
0xf6992821 <+417>: jmp 0xf6992736 <_Z15Mod_LoadTexinfov+182>
0xf6992826 <+422>: lea 0x0(%esi),%esi
0xf6992829 <+425>: lea 0x0(%edi,%eiz,1),%edi
0xf6992830 <+432>: mov 0x30(%esp),%ecx
0xf6992834 <+436>: mov %eax,%ebx
0xf6992836 <+438>: test %ecx,%ecx
0xf6992838 <+440>: jne 0xf6992899 <_Z15Mod_LoadTexinfov+537>
0xf699283a <+442>: mov %ebx,(%esp)
0xf699283d <+445>: call 0xf75567b0 <_Unwind_Resume>
0xf6992842 <+450>: lea 0x0(%esi,%eiz,1),%esi
0xf6992849 <+457>: lea 0x0(%edi,%eiz,1),%edi
0xf6992850 <+464>: movl $0xf6b2bd10,(%esp)
0xf6992857 <+471>: mov $0xf6be3440,%edi
0xf699285c <+476>: mov %edi,0x4(%esp)
0xf6992860 <+480>: call 0xf6976060 <_Z10Host_ErrorPKcz>
0xf6992865 <+485>: mov 0x24(%esp),%ecx
0xf6992869 <+489>: jmp 0xf69926d9 <_Z15Mod_LoadTexinfov+89>
0xf699286e <+494>: mov 0x30(%esp),%ecx
0xf6992872 <+498>: test %ecx,%ecx
0xf6992874 <+500>: jne 0xf69928c6 <_Z15Mod_LoadTexinfov+582>
0xf6992876 <+502>: mov 0x14c(%esp),%ebx
0xf699287d <+509>: mov 0x150(%esp),%esi
0xf6992884 <+516>: mov 0x154(%esp),%edi
0xf699288b <+523>: mov 0x158(%esp),%ebp
0xf6992892 <+530>: add $0x15c,%esp
0xf6992898 <+536>: ret
0xf6992899 <+537>: mov 0xf6bdae00,%edi
0xf699289f <+543>: mov (%edi),%esi
0xf69928a1 <+545>: mov %ecx,0x4(%esp)
0xf69928a5 <+549>: mov %edi,(%esp)
0xf69928a8 <+552>: call *0x15c(%esi)
0xf69928ae <+558>: jmp 0xf699283a <_Z15Mod_LoadTexinfov+442>
0xf69928b0 <+560>: mov 0xf6bdf784,%edx
=> 0xf69928b6 <+566>: mov (%edx),%ecx
0xf69928b8 <+568>: mov %edx,0x4c(%ebx)
0xf69928bb <+571>: mov %edx,(%esp)
0xf69928be <+574>: call *0x30(%ecx)
0xf69928c1 <+577>: jmp 0xf699281a <_Z15Mod_LoadTexinfov+410>
0xf69928c6 <+582>: mov 0xf6bdae00,%ebp
0xf69928cc <+588>: mov 0x0(%ebp),%ebx
0xf69928cf <+591>: mov %ecx,0x4(%esp)
0xf69928d3 <+595>: mov %ebp,(%esp)
0xf69928d6 <+598>: call *0x15c(%ebx)
0xf69928dc <+604>: jmp 0xf6992876 <_Z15Mod_LoadTexinfov+502>
0xf69928de <+606>: mov %edi,0x8(%esp)
0xf69928e2 <+610>: mov %ebp,0x4(%esp)
0xf69928e6 <+614>: movl $0xf6b2bd38,(%esp)
0xf69928ed <+621>: call 0xf6924e70 <_Z11Con_DPrintfPKcz>
0xf69928f2 <+626>: movl $0x0,0x4c(%ebx)
0xf69928f9 <+633>: jmp 0xf699280f <_Z15Mod_LoadTexinfov+399>
End of assembler dump.
Stack level 0, frame at 0xffc57aa0:
eip = 0xf69928b6 in Mod_LoadTexinfo(); saved eip = 0xf699a3f1
called by frame at 0xffc57c40
Arglist at unknown address.
Locals at unknown address, Previous frame's sp is 0xffc57aa0
Saved registers:
ebx at 0xffc57a8c, ebp at 0xffc57a98, esi at 0xffc57a90, edi at 0xffc57a94, eip at 0xffc57a9c
End of Source crash report
----------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment