Skip to content

Crash with HLS Suit/HUD

Crashing whenever the client attempts to draw the HUD.

Mac (As soon Suit is equipped):

* thread #1, name = 'MainThrd', queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0xa4)
  * frame #0: 0x232e3b55 client.dylib`CHudTexture::DrawSelf(int, int, Color const&) const + 21
    frame #1: 0x23284d67 client.dylib`CHL1HudNumbers::DrawHudNumber(int, int, int, Color&) + 279
    frame #2: 0x2327e0c7 client.dylib`CHL1HudAmmo::Paint() + 567
    frame #3: 0x2327e434 client.dylib`non-virtual thunk to CHL1HudAmmo::Paint() + 20
    frame #4: 0x234c57df client.dylib`vgui::Panel::PaintTraverse(bool, bool) + 719
    frame #5: 0x12155af8 vgui2.dylib`VPanelWrapper::PaintTraverse(unsigned int, bool, bool) + 56
    frame #6: 0x234c58bb client.dylib`vgui::Panel::PaintTraverse(bool, bool) + 939
    frame #7: 0x12155af8 vgui2.dylib`VPanelWrapper::PaintTraverse(unsigned int, bool, bool) + 56
    frame #8: 0x0fb07f6b engine.dylib`vgui::Panel::PaintTraverse(bool, bool) + 939
    frame #9: 0x12155af8 vgui2.dylib`VPanelWrapper::PaintTraverse(unsigned int, bool, bool) + 56
    frame #10: 0x11f35ccc vguimatsurface.dylib`CMatSystemSurface::PaintTraverseEx(unsigned int, bool) + 780
    frame #11: 0x0fa8228e engine.dylib`CEngineVGui::Paint(PaintMode_t) + 782
    frame #12: 0x0fa945fb engine.dylib`CVRenderView::VGui_Paint(int) + 27
    frame #13: 0x233c93d8 client.dylib`CViewRender::RenderView(CViewSetup const&, int, int) + 6440
    frame #14: 0x233b415d client.dylib`CViewRender::Render(vrect_t*) + 2029
    frame #15: 0x2310a2e2 client.dylib`CHLClient::View_Render(vrect_t*) + 178
    frame #16: 0x0fa93bfd engine.dylib`V_RenderView() + 349
    frame #17: 0x0f954b9b engine.dylib`SCR_UpdateScreen() + 507

Windows (Whenever I try to change weapons with hud_fastswitch 0):

(c90.1e50): Access violation - code c0000005 (first chance)
eax=0021c740 ebx=0a576358 ecx=00000000 edx=0a576488 esi=0a576320 edi=0000000a
eip=1ca45414 esp=0021c700 ebp=0021c754 iopl=0         nv up ei pl zr na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00210246
client!CHudTexture::Height [inlined in client!CHL1HudWeaponSelection::Paint+0x84]:
1ca45414 8b81ac000000    mov     eax,dword ptr [ecx+0ACh] ds:002b:000000ac=????????

00 (Inline) -------- client!CHudTexture::Height [game\client\hud.h @ 51] 
01 (Inline) -------- client!CHudTexture::DrawSelf+0x4 [game\client\hud.cpp @ 588] 
02 0021c754 1cb326b3 client!CHL1HudWeaponSelection::Paint(void)+0x84 [game\client\hl1\hl1_hud_weaponselection.cpp @ 171] 
03 0021c794 5c19bd3b client!vgui::Panel::PaintTraverse(bool repaint = true, bool allowForce = true)+0x1e3 [vgui2\vgui_controls\panel.cpp @ 1225] 
WARNING: Stack unwind information not available. Following frames may be wrong.
04 0021c7a4 1cb32741 vgui2+0x1bd3b
05 0021c7f0 5c19bd3b client!vgui::Panel::PaintTraverse(bool repaint = true, bool allowForce = true)+0x271 [vgui2\vgui_controls\panel.cpp @ 1232] 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for c:\steam\steamapps\common\synergy\bin\engine.dll - 
06 0021c800 5c9ddf15 vgui2+0x1bd3b
07 0021c848 5c19bd3b engine!CreateInterface+0x26525
Edited by Juest Zungo