DBG_II(yourvar1, yourvar2)
and it will generate a nice print message which only prints if the variables updatedDisconnect
function did not fully clear all server data, because the client state was already set to offline manually before the function is called. This was causing inconsistent behavior when connecting to another server after being disconnected. For example, the client could get stuck at "getting game info" when connecting the next time.
0.7
<class: 'PacketHeader'>: {'flags': <class: 'PacketFlags7'>, 'ack': 14, 'token': bytearray(b"D\xac\x9b\'"), 'num_chunks': 2}
<class: 'MsgSvSkinChange'>: {'message_name': 'sv_skin_change', 'system_message': False, 'client_id': 0, 'skin_part_names': ['greensward', 'duodonny', '', 'standard', 'standard', 'standard'], 'use_custom_colors': [True, True, False, False, False, False], 'skin_part_colors': [5635840, -11141356, 65408, 65408, 65408, 65408], 'header': <class: 'ChunkHeader'>}
<class: 'MsgSnapEmpty'>: {'message_name': 'snap_empty', 'system_message': True, 'tick': 4028, 'delta_tick': 14, 'header': <class: 'ChunkHeader'>}
-DCOMMIT_HASH=1234 -frecord-gcc-switches
and retrieve the hash from the binaryDDNet.exe caused an Access Violation at location 00007FF669148DD7 in module DDNet.exe Reading from location 0000000000000059.
AddrPC Params
00007FF669148DD7 00000184DA8E5220 00000184D9A48730 0000003A667FB5E0 DDNet.exe!CEditor::DoMapEditor+0x187
00007FF66914BF94 00000036D124E26A 0000000000000000 00007FF66945B760 DDNet.exe!CEditor::Render+0xb94 [/home/deen/isos/ddnet/ddnet-source/src/game/editor/editor.cpp @ 6084]
00007FF66914CAB5 6972662220646E65 2022353932646E65 3539326E616C6322 DDNet.exe!CEditor::OnRender+0x125 [/home/deen/isos/ddnet/ddnet-source/src/game/editor/editor.cpp @ 6920]
00007FF669057EFA 0000003A667FF480 0000000000000000 0000000000000011 DDNet.exe!CClient::Run+0x7da [/home/deen/isos/ddnet/ddnet-source/src/engine/client/client.cpp @ 3321]
00007FF669327EDA 0000000000000001 00000184D81F8C40 00007FF6694A5668 DDNet.exe!main+0xa8a [/home/deen/isos/ddnet/ddnet-source/src/engine/client/client.cpp @ 4732]
00007FF6690313B1 0000000000000000 0000000000000000 0000000000000000 DDNet.exe!__tmainCRTStartup+0x231 [/build/mingw-w64-crt/src/mingw-w64-v10.0.0/mingw-w64-crt/crt/crtexe.c @ 321]
00007FF6690314C6 0000000000000000 0000000000000000 0000000000000000 DDNet.exe!WinMainCRTStartup+0x16 [/build/mingw-w64-crt/src/mingw-w64-v10.0.0/mingw-w64-crt/crt/crtexe.c @ 176]
00007FFCE2427604 0000000000000000 0000000000000000 0000000000000000 KERNEL32.DLL!BaseThreadInitThunk+0x14
00007FFCE25626A1 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!RtlUserThreadStart+0x21
addr2line
clone written in Rust, using gimli
- GitHub - gimli-rs/addr2line: A cross-platform addr2line
clone written in Rust, using gimli