DDNET_DRIVER=GLES SDL_VIDEODRIVER=wayland ./DDNet [2022-06-22 20:29:19][engine]: running on unix-linux-amd64 [2022-06-22 20:29:19][engine]: arch is little endian [2022-06-22 20:29:19][storage]: couldn't open storage.cfg [2022-06-22 20:29:19][storage]: using standard paths [2022-06-22 20:29:19][storage]: added path '$USERDIR' ('/home/daniel/.teeworlds') [2022-06-22 20:29:19][storage]: added path '$DATADIR' ('data') [2022-06-22 20:29:19][storage]: added path '$CURRENTDIR' ('/home/daniel/Desktop/other_repos/ddnet/build') [2022-06-22 20:29:19][http]: libcurl version 7.83.1 (compiled = 7.83.1) [2022-06-22 20:29:19][console]: executing 'settings_ddnet.cfg' [2022-06-22 20:29:19][client]: failed to open '.teeworlds/ddnet.log' for logging [2022-06-22 20:29:19][client]: starting... [2022-06-22 20:29:19][sdl]: SDL version 2.0.22 (compiled = 2.0.22) [2022-06-22 20:29:19][gfx]: unable to init SDL video: wayland not available [2022-06-22 20:29:19][gfx]: setting resolution to 640x480 and trying again [2022-06-22 20:29:19][sdl]: SDL version 2.0.22 (compiled = 2.0.22) [2022-06-22 20:29:19][gfx]: unable to init SDL video: wayland not available [2022-06-22 20:29:19][sdl]: SDL version 2.0.22 (compiled = 2.0.22) [2022-06-22 20:29:19][gfx]: unable to init SDL video: wayland not available [2022-06-22 20:29:19][gfx]: out of ideas. failed to init graphics [2022-06-22 20:29:19][client]: couldn't init graphics ================================================================= ==169056==ERROR: LeakSanitizer: detected memory leaks Direct leak of 5528 byte(s) in 1 object(s) allocated from: #0 0x556fc8ee90a1 in operator new(unsigned long) (/home/daniel/Desktop/other_repos/ddnet/build/DDNet+0xdd10a1) #1 0x556fca2747f6 in CreateEditor() /home/daniel/Desktop/other_repos/ddnet/src/game/editor/editor.cpp:6468:34 #2 0x556fc946d918 in main /home/daniel/Desktop/other_repos/ddnet/src/engine/client/client.cpp:4471:62 #3 0x7fb1cb22928f (/usr/lib/libc.so.6+0x2928f) Direct leak of 552 byte(s) in 3 object(s) allocated from: #0 0x556fc8eafa49 in __interceptor_calloc (/home/daniel/Desktop/other_repos/ddnet/build/DDNet+0xd97a49) #1 0x7fb1bb5d11e0 () Direct leak of 520 byte(s) in 13 object(s) allocated from: #0 0x556fc8eaf889 in malloc (/home/daniel/Desktop/other_repos/ddnet/build/DDNet+0xd97889) #1 0x7fb1bb5e2876 () Direct leak of 184 byte(s) in 1 object(s) allocated from: #0 0x556fc8eafa49 in __interceptor_calloc (/home/daniel/Desktop/other_repos/ddnet/build/DDNet+0xd97a49) #1 0x7fb1bb5d11e0 () #2 0xd00000004 () Direct leak of 96 byte(s) in 3 object(s) allocated from: #0 0x556fc8eaf889 in malloc (/home/daniel/Desktop/other_repos/ddnet/build/DDNet+0xd97889) #1 0x7fb1bb5deed5 () Direct leak of 24 byte(s) in 1 object(s) allocated from: #0 0x556fc8eaf889 in malloc (/home/daniel/Desktop/other_repos/ddnet/build/DDNet+0xd97889) #1 0x7fb1bb5e6b00 () Indirect leak of 1030 byte(s) in 6 object(s) allocated from: #0 0x556fc8eafc39 in __interceptor_realloc (/home/daniel/Desktop/other_repos/ddnet/build/DDNet+0xd97c39) #1 0x7fb1bb5defd5 () Indirect leak of 1024 byte(s) in 1 object(s) allocated from: #0 0x556fc8ee9211 in operator new[](unsigned long) (/home/daniel/Desktop/other_repos/ddnet/build/DDNet+0xdd1211) #1 0x556fca38a383 in CLayerTiles::CLayerTiles(int, int) /home/daniel/Desktop/other_repos/ddnet/src/game/editor/layer_tiles.cpp:39:13 #2 0x556fca298ebd in CEditor::CEditor() /home/daniel/Desktop/other_repos/ddnet/src/game/editor/editor.h:711:3 #3 0x556fca274832 in CreateEditor() /home/daniel/Desktop/other_repos/ddnet/src/game/editor/editor.cpp:6468:38 #4 0x556fc946d918 in main /home/daniel/Desktop/other_repos/ddnet/src/engine/client/client.cpp:4471:62 #5 0x7fb1cb22928f (/usr/lib/libc.so.6+0x2928f) Indirect leak of 80 byte(s) in 2 object(s) allocated from: #0 0x556fc8eaf889 in malloc (/home/daniel/Desktop/other_repos/ddnet/build/DDNet+0xd97889) #1 0x7fb1bb5dfc08 () Indirect leak of 24 byte(s) in 1 object(s) allocated from: #0 0x556fc8eaf889 in malloc (/home/daniel/Desktop/other_repos/ddnet/build/DDNet+0xd97889) #1 0x7fb1bb5e6b00 () Indirect leak of 24 byte(s) in 1 object(s) allocated from: #0 0x556fc8eaf889 in malloc (/home/daniel/Desktop/other_repos/ddnet/build/DDNet+0xd97889) #1 0x7fb1bb5d6a5c () SUMMARY: AddressSanitizer: 9086 byte(s) leaked in 33 allocation(s).