Client crash when Joining GrangerHub [1.1] server (EXEC_BAD_ACCESS)
wtfbbqhax opened this issue · comments
Logging the individual VM Module initializations like before:
After clicking "Join" on GrangerHub [1.1] protocol server
Pressing Continue, we are immediately hit with another UI Initialization from the CL_DownloadsComplete()
call path
Press Continue
....
I'm having trouble reproducing this in the debugger; it seems that some initial state from a freshly started client is important.
In the Debugger, I can reproduce the crash if I allow continue quickly
After deleting the 11
vms-*.pk3 only, we can see something else happening
- Fails to load ui.qvm
- Loads native UI module
- Downloads missing pak
- Load UI QVM
CL_DownloadComplete() -> CL_FlushMemory() ... -> CL_StartHunkUsers() -> CL_InitUI()
Look at the "Debug Console" output in the below screenshot.
It looks like we've found a ui/
directory instead of the UI QVM module
Okay, now I can not reproduce the issue at all, I'm not sure if it's real or was a glitchy build
Happened again now in the UI module, this log might be important
Sound memory manager started
Loading vm file vm/ui.qvm...
File "vm/ui.qvm" found in "/Users/victor.roemer/Library/Application Support/Tremulous/base/vms-1.1.0.pk3"
...which has vmMagic VM_MAGIC_VER2
Loading 1075 jump table targets
WARNING: Server uses protocol 70, but a ui module using the 1.1 interface was found
UI menu load time = 171 milli seconds
UI menu load time = 32 milli seconds
UI menu load time = 13 milli seconds
File "ui/" found in "/Users/victor.roemer/co/wtfbbqhax/tremulous/build/debug-darwin-x86_64/base/data-1.1.0.pk3"
Need paks: @slacker/vms-gpp1-bunker_220207-144309.pk3@slacker/vms-gpp1-bunker_220207-144309.pk3@slacker/data-bunker.pk3@slacker/data-bunker.pk3
Trying CURL download: slacker/vms-gpp1-bunker_220207-144309.pk3; slacker/vms-gpp1-bunker_220207-144309.pk3
URL: http://dl.zittrig.eu/slacker/vms-gpp1-bunker_220207-144309.pk3
Trying CURL download: slacker/data-bunker.pk3; slacker/data-bunker.pk3
URL: http://dl.zittrig.eu/slacker/data-bunker.pk3