01:48 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/768984163192799232/screenshot_2020-10-22_18-48-23.png 01:48 <+bridge> [ddnet] clan + name overlap here 01:48 <+bridge> [ddnet] red team 3rd place 01:49 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/768984436834041896/screenshot_2020-10-22_18-49-16.png 01:49 <+bridge> [ddnet] oh it can get worse 02:17 <+bridge> [ddnet] is the new chat at least disableable? 02:18 <+bridge> [ddnet] <> ye 02:52 <+bridge> [ddnet] <Дядя Женя> I've fixed margin and backgrounds already, waiting for merge 06:54 <+bridge> [ddnet] how to check if a player id admin 06:54 <+bridge> [ddnet] mod 06:55 <+bridge> [ddnet] how to check if a player is admin 06:56 <+bridge> [ddnet] or mod 06:57 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/769061868156223498/unknown.png 06:57 <+bridge> [ddnet] these methods don't work 15:59 <+bridge> [ddnet] @Learath2 @Jupstar ✪ We have someone who has the hang at specific part of map:@noby Can you guys help with debugging? 15:59 <+bridge> [ddnet] how can i help 16:01 <+bridge> [ddnet] Run it with debugger in Debug build until it hangs, then have one of them look into it remotely 16:02 <+bridge> [ddnet] i dont wanna give ppl access to my pc 16:02 <+bridge> [ddnet] i can try to run it with debuger in a bit 16:03 <+bridge> [ddnet] i had the hang btw i dont think it was noby 16:03 <+bridge> [ddnet] i havent joined that server 16:03 <+bridge> [ddnet] @louis did u downgrade you driver again btw? 16:04 <+bridge> [ddnet] oh I mixed up your names because htey have same color and length 😄 16:04 <+bridge> [ddnet] and both from usa 16:05 <+bridge> [ddnet] i mean i upgraded it from broken vers then the new one was also broken so i downgraded to one in the middle 16:05 <+bridge> [ddnet] so all 3 broken 16:05 <+bridge> [ddnet] nice 16:05 <+bridge> [ddnet] oh 16:05 <+bridge> [ddnet] btw idk how to load a debug or smth 16:05 <+bridge> [ddnet] so i dont have to run wit debugger? 16:05 <+bridge> [ddnet] i have no idea but on vs i ran with debugx64 or smth 16:05 <+bridge> [ddnet] and it says this 16:06 <+bridge> [ddnet] @noby no 😄 except u get a hang too, which i doubt 😛 16:06 <+bridge> [ddnet] ``` 16:06 <+bridge> [ddnet] [2020-10-23 09:03:47][demo_recorder]: Recording to 'demos/auto/race/Multeasymap_tmp_30148.demo' 16:06 <+bridge> [ddnet] The thread 0x4fe4 has exited with code 0 (0x0). 16:06 <+bridge> [ddnet] [2020-10-23 09:04:07][demo_recorder]: Stopped recording 16:06 <+bridge> [ddnet] [2020-10-23 09:04:18][client]: disconnecting. reason='unknown' 16:06 <+bridge> [ddnet] [2020-10-23 09:04:18][demo_recorder]: Stopped recording 16:06 <+bridge> [ddnet] [2020-10-23 09:04:18][demo_recorder]: Stopped recording 16:06 <+bridge> [ddnet] The thread 0x6448 has exited with code 0 (0x0). 16:06 <+bridge> [ddnet] The thread 0x4454 has exited with code 0 (0x0). 16:06 <+bridge> [ddnet] avcore\audiocore\client\audioclient\audioclientcore.cpp(1907)\AUDIOSES.DLL!00007FFE739610EF: (caller: 000000006C81FF21) ReturnHr(1) tid(6908) 80070057 The parameter is incorrect. 16:06 <+bridge> [ddnet] 'DDNet.exe' (Win32): Unloaded 'C:\Windows\System32\avrt.dll' 16:06 <+bridge> [ddnet] The thread 0x695c has exited with code 0 (0x0). 16:06 <+bridge> [ddnet] The thread 0x5acc has exited with code 0 (0x0). 16:06 <+bridge> [ddnet] The thread 0x6050 has exited with code 0 (0x0). 16:06 <+bridge> [ddnet] The thread 0x74a0 has exited with code 0 (0x0). 16:06 <+bridge> [ddnet] The thread 0x4950 has exited with code 0 (0x0). 16:06 <+bridge> [ddnet] The thread 0xbec has exited with code 0 (0x0). 16:06 <+bridge> [ddnet] The thread 0x23a0 has exited with code 0 (0x0). 16:06 <+bridge> [ddnet] The thread 0x1918 has exited with code 0 (0x0). 16:06 <+bridge> [ddnet] The thread 0x77b0 has exited with code 0 (0x0). 16:06 <+bridge> [ddnet] The thread 0x5108 has exited with code 0 (0x0). 16:06 <+bridge> [ddnet] The thread 0x58f0 has exited with code 0 (0x0). 16:06 <+bridge> [ddnet] The program '[30148] DDNet.exe' has exited with code 0 (0x0). 16:06 <+bridge> [ddnet] ``` 16:06 <+bridge> [ddnet] idk if im doing it ri ght 16:06 <+bridge> [ddnet] i proably wont since i have old client but i could try anyway after this round if itd help 16:07 <+bridge> [ddnet] i honsetly doubt anyone except intel and windows will have this bug 16:07 <+bridge> [ddnet] oh i dont have windows 16:07 <+bridge> [ddnet] even if the bug is inside the audioclientcore, it might still be related to intel 16:07 <+bridge> [ddnet] but do have intel processor 16:07 <+bridge> [ddnet] some of the devs have intel too, but on linux 16:07 <+bridge> [ddnet] i have osx 16:07 <+bridge> [ddnet] i know 😄 16:07 <+bridge> [ddnet] aha 16:08 <+bridge> [ddnet] nvm its not with thata audio thing 16:09 <+bridge> [ddnet] if i just launch client and exit it shows up too 16:09 <+bridge> [ddnet] oh ok 16:09 <+bridge> [ddnet] well if you really want to debug, you need a debugger and a debug build, but i already tried that with that other person who had the same bug 16:09 <+bridge> [ddnet] only a driver update fixed the hang 16:09 <+bridge> [ddnet] i mean i can constantly reproduce it as long as that server is up but idk how to debug 16:10 <+bridge> [ddnet] @Jupstar ✪ would your gfx_debug help to find issues? 16:10 <+bridge> [ddnet] they can try, maybe intel reports something bad 16:10 <+bridge> [ddnet] @louis do you know how to open a client with a .cfg? 16:11 <+bridge> [ddnet] no 16:11 <+bridge> [ddnet] just put the wanted settings in cfg? but idk how to run it 16:12 <+bridge> [ddnet] you need to create a link/shortcut whatever and put -f test.cfg behind the path in the properties of the shortcut 16:12 <+bridge> [ddnet] or shift rghtlick open power shell here 16:12 <+bridge> [ddnet] and then ./DDNet.exe -f test.cfg 16:14 <+bridge> [ddnet] ok ill try 16:14 <+bridge> [ddnet] inside test.cfg put dbg_gfx 1 16:14 <+bridge> [ddnet] btw i can only reproduce on the server thats about to restart soon so 16:15 <+bridge> [ddnet] it will probably always work on that map 16:15 <+bridge> [ddnet] yea it might be 16:15 <+bridge> [ddnet] Or `./DDNet.exe “dbg_gfx 1”` 16:15 <+bridge> [ddnet] what server isit 16:15 <+bridge> [ddnet] ill try it just in case 16:16 <+bridge> [ddnet] good to know @Learath2 😄 16:16 <+bridge> [ddnet] ok i did that 16:16 <+bridge> [ddnet] ./DDNet.exe “dbg_gfx 1” 16:16 <+bridge> [ddnet] now what 16:16 <+bridge> [ddnet] idek if it works 16:16 <+bridge> [ddnet] in the console it should show enabled opengl debug 16:16 <+bridge> [ddnet] [gfx]: Enabled OpenGL debug mode 16:17 <+bridge> [ddnet] @louis when does it hang 16:17 <+bridge> [ddnet] i joined the server and it seems normal 16:17 <+bridge> [ddnet] beginning of maap when i try to do the filter 16:17 <+bridge> [ddnet] ok i made it past hte start line 16:17 <+bridge> [ddnet] ill try with new client 16:17 <+bridge> [ddnet] wait 16:17 <+bridge> [ddnet] the ./DDNet.exe “dbg_gfx 1” didnt seem to work for me 16:17 <+bridge> [ddnet] do i put a .cfg file with thaat line in the saame folder as ddnet.exe 16:18 <+bridge> [ddnet] theoretically its also possible intel doesnt support that extension xd 16:18 <+bridge> [ddnet] i passed start line with new client too on the server 16:18 <+bridge> [ddnet] :X 16:18 <+bridge> [ddnet] eh ig i cant help then 16:18 <+bridge> [ddnet] @louis are you using opengl 3.0 or 3.3? 16:18 <+bridge> [ddnet] idk 16:18 <+bridge> [ddnet] im using opengl tho 16:19 <+bridge> [ddnet] you checked opengl 3.3? 16:19 <+bridge> [ddnet] oh not in the vs build nvm 16:20 <+bridge> [ddnet] ok now i do and ran it but doesnt show the [gfx] thing 16:20 <+bridge> [ddnet] ah btw 16:20 <+bridge> [ddnet] u need nightly for that 16:20 <+bridge> [ddnet] sry xD 16:20 <+bridge> [ddnet] .. 16:20 <+bridge> [ddnet] i have steam betaa 16:20 <+bridge> [ddnet] can i just do it in there 16:21 <+bridge> [ddnet] just press f1 and see if that option exists 16:21 <+bridge> [ddnet] I don't think it's in the beta yet 16:21 <+bridge> [ddnet] dbg_gfx 1 16:21 <+bridge> [ddnet] no it doesnt 16:21 <+bridge> [ddnet] it should be in nightly 16:21 <+bridge> [ddnet] ok where do iget nightly 16:21 <+bridge> [ddnet] wasnt it merged 1-2 days ago 16:21 <+bridge> [ddnet] if you have steam nightly it should work, let me check 16:21 <+bridge> [ddnet] https://ddnet.tw/news/nightly-build-revived/ 16:22 <+bridge> [ddnet] @deen we still don't save symbols for releases, do we? 16:22 <+bridge> [ddnet] in steam beta the option is there 16:22 <+bridge> [ddnet] yes, no symbols 16:22 <+bridge> [ddnet] regular Release build 16:22 <+bridge> [ddnet] its not in there for me 16:22 <+bridge> [ddnet] ill just download it from that link 16:23 <+bridge> [ddnet] if we talk about 16:23 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/769204363859198032/unknown.png 16:23 <+bridge> [ddnet] ye i had that 16:23 <+bridge> [ddnet] I think we are veering off course here. @louis since you have visual studio I assume you built your own client, does the hang happen on your build too? 16:23 <+bridge> [ddnet] its there, or is the windows nightly not up to date @deen ? 16:23 <+bridge> [ddnet] yes learath2 16:24 <+bridge> [ddnet] i mean i just cloned the current github/ddnet code then ran ddnet.exe from it 16:24 <+bridge> [ddnet] Did you build the latest version? From github? 16:24 <+bridge> [ddnet] yeah 16:24 <+bridge> [ddnet] And did you switch configuration to Debug, before building? 16:25 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/769204827308818482/unknown.png 16:25 <+bridge> [ddnet] like this? 16:25 <+bridge> [ddnet] if so then yes 16:26 <+bridge> [ddnet] Yep, so if you get the game to hang, can you alt+tab out? 16:26 <+bridge> [ddnet] yeah i did 16:26 <+bridge> [ddnet] im pretty sure nothing happened in the debug console tho 16:26 <+bridge> [ddnet] ill try again 16:28 <+bridge> [ddnet] ok im tabbed out now what 16:28 <+bridge> [ddnet] pause in debugger 16:28 <+bridge> [ddnet] let me check how to pause in vs 16:28 <+bridge> [ddnet] if i tab back in the screen flashses black and off and i can still hear sounds/ shoot my gun lol 16:29 <+bridge> [ddnet] the green arrow should be a pause button now 16:29 <+bridge> [ddnet] It feels awfully like the render thread is stuck in a loop 16:29 <+bridge> [ddnet] oh there waas a blue pause button 16:29 <+bridge> [ddnet] yes it feels like it 16:29 <+bridge> [ddnet] that said "break all" 16:29 <+bridge> [ddnet] but i already checked xD 16:29 <+bridge> [ddnet] ok now what 16:29 <+bridge> [ddnet] it opened a place in the code 16:29 <+bridge> [ddnet] you need to find the gfx thread now 16:30 <+bridge> [ddnet] Amazing, my visual studio doesn't work. I love how "foolproof" these IDEs are. Really glad I spent 20G to install a dud 16:31 <+bridge> [ddnet] lol do i just continue and pause till i find something with gfx 16:31 <+bridge> [ddnet] Nah, there should be a view somewhere that lists the threads 16:31 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/769206376751824916/unknown.png 16:31 <+bridge> [ddnet] well it's one of the thread_run threads 16:32 <+bridge> [ddnet] ok 16:32 <+bridge> [ddnet] the thread im on now has some gfx stuff 16:32 <+bridge> [ddnet] nice then show the callstack 16:32 <+bridge> [ddnet] english plz 16:33 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/769206776066867260/unknown.png 16:33 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/769206836515438632/unknown.png 16:33 <+bridge> [ddnet] mh it's just running a buffer as always 16:33 <+bridge> [ddnet] cmd_render is btw old graphic stack 16:34 <+bridge> [ddnet] honestly, pls try the dbg_gfx 1 16:34 <+bridge> [ddnet] maybe it actually shows something useful 16:35 <+bridge> [ddnet] oh i was misspelling dbg_gfx thats why i didnt find it 16:36 <+bridge> [ddnet] lol 16:36 <+bridge> [ddnet] @louis what is your gfx_opengl_major btw? 16:36 <+bridge> [ddnet] or what is the name of the map 16:36 <+bridge> [ddnet] even if 10000 triangles arent the world, its also not nothing 16:37 <+bridge> [ddnet] 2 16:37 <+bridge> [ddnet] Need to restart computer to install an application that exists completely in userspace. 16:37 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/769207956184498186/unknown.png 16:37 <+bridge> [ddnet] 3 16:37 <+bridge> [ddnet] its 3 16:37 <+bridge> [ddnet] ok and map name?= 16:38 <+bridge> [ddnet] its Multeasymap but its not the halloween version 16:38 <+bridge> [ddnet] ok ty 16:39 <+bridge> [ddnet] how do i go backwards in cd 16:39 <+bridge> [ddnet] nvm xd 16:40 <+bridge> [ddnet] ok 16:40 <+bridge> [ddnet] i was playing with dbg_gfx 1 16:41 <+bridge> [ddnet] and it froze 16:41 <+bridge> [ddnet] now what 16:41 <+bridge> [ddnet] look in the console 16:41 <+bridge> [ddnet] if it shows smth 16:41 <+bridge> [ddnet] where can i find the non halloween version btw 16:41 <+bridge> [ddnet] its horrible xD 16:41 <+bridge> [ddnet] idk the powershell console doesnt show anything 16:41 <+bridge> [ddnet] im not running it thru vs btw 16:41 <+bridge> [ddnet] yes, if the console doesnt show anything, then nothing is wrong 16:42 <+bridge> [ddnet] lol 16:43 <+bridge> [ddnet] btw, can you quickly summorize some stuff, were there ppl playing, were you zooming? 16:44 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/769206776066867260/unknown.png 16:44 <+bridge> [ddnet] 16:44 <+bridge> [ddnet] this image says the primcount is over 10k, and i cannot reproduce that 16:44 <+bridge> [ddnet] there were some afk nobos but not a buncha people on my screen or anything 16:44 <+bridge> [ddnet] i was default zooz walking around spawn 16:45 <+bridge> [ddnet] mhh i really think a tool like ubsan or asan would find this in 5 seconds xD 16:46 <+bridge> [ddnet] how do i use those 16:46 <+bridge> [ddnet] i honestly dunno if they are easy to compile under windows 16:47 <+bridge> [ddnet] use flag -fsanitize=address for asan and -fsanitize=undefined for ubsan 16:48 <+bridge> [ddnet] if its complicated i probably wont be able to lol 16:48 <+bridge> [ddnet] Let me try building with asan and ubsan 16:48 <+bridge> [ddnet] I'll tell you if it's hard or easy 16:48 <+bridge> [ddnet] would be nice @Learath2 😄 16:49 <+bridge> [ddnet] Maybe it's something weird with your custom entities :feelsamazingman: @louis 16:50 <+bridge> [ddnet] will be interesting how the value of 10k comes in, must be either a underflow/overflow or a stack/buffer overflow 16:50 <+bridge> [ddnet] maybe nouis has custom hacked client 👀 16:51 < Ryozuki> test 16:52 <+bridge> [ddnet] autocrashed for wearing a santa hat when it's october 16:52 < Ryozuki> antiping shouldnt predict non-frozen players if you have >200 ping, since its useless 16:52 <+bridge> [ddnet] it should be a setting 16:52 <+bridge> [ddnet] i dont find it useless 16:52 < Ryozuki> u dont get it 16:52 < Ryozuki> antiping for non-frozen works fine if 16:52 < Ryozuki> the ping is less than 200 16:52 < Ryozuki> at 200 it gets crazy 16:52 <+bridge> [ddnet] its not like there is a magical cutoff at 200 16:52 <+bridge> [ddnet] it just gets gradually worse as ping increases 16:52 < Ryozuki> well its around there 16:53 <+bridge> [ddnet] some people still find it useful 16:53 <+bridge> [ddnet] well past 200 16:53 < Ryozuki> if u use antiping for servers where u have less than 100 ping u use it to have the 0 ping feeling 16:53 < Ryozuki> and tees wont teleport 16:53 < Ryozuki> but when u are on a 200ping server tees do teleport 16:53 <+bridge> [ddnet] i mostly play on servers between 100-250 ping and i think antiping helps alot 16:53 <+bridge> [ddnet] ¯\_(ツ)_/¯ 16:53 <+bridge> [ddnet] u get used to the teleporting 16:53 <+bridge> [ddnet] for dummy drag its still nice 16:53 < Ryozuki> it could trigger someones epilepsia 16:53 <+bridge> [ddnet] he said non frozen tho 16:53 < Ryozuki> im not joking 16:54 <+bridge> [ddnet] for afk drag its nice 16:54 < Ryozuki> xd 16:54 < Ryozuki> yeah for afk yes 16:54 <+bridge> [ddnet] dont zooz on noby's server if you're worried about that, fair warning 16:54 < Ryozuki> but if others move it gets messy 16:54 <+bridge> [ddnet] dont zooz on my server at all 16:54 < Ryozuki> make screen be grey tones 16:54 < Ryozuki> then zooz on noby 16:54 < Ryozuki> no epilepsy 16:54 <+bridge> [ddnet] .. 16:55 < Ryozuki> :troll: 16:55 < Ryozuki> :monkaLaugh: 16:55 < Ryozuki> rip 16:55 <+bridge> [ddnet] @ryozuki pls send me ur IP address 16:55 < Ryozuki> ryozuki.xyz 16:55 <+bridge> [ddnet] I broke the damn IDE, now I need to reclone the project because there is no way to find where tf it stores "CMakeSettings.json" 16:55 <+bridge> [ddnet] need to ban for zoozering 16:55 <+bridge> [ddnet] Amazing tool so far 16:55 < Ryozuki> Learath2 windows? 16:55 <+bridge> [ddnet] <> i though ryo is banned 16:55 <+bridge> [ddnet] why 16:55 < Ryozuki> im on irc bumm 16:55 <+bridge> [ddnet] <> cheater 16:55 <+bridge> [ddnet] did u actually get banned from dc? 16:55 <+bridge> [ddnet] @ryo 16:55 <+bridge> [ddnet] lmao 16:55 <+bridge> [ddnet] why 16:56 < Ryozuki> i told u in dm 16:56 < Ryozuki> why u wouldnt trust my dm 16:56 <+bridge> [ddnet] not 16:56 < Ryozuki> lmao 16:56 <+bridge> [ddnet] i dont remember u saying the reason but rip 16:56 <+bridge> [ddnet] abuse 16:56 < Ryozuki> i was rude 16:56 < Ryozuki> according to someone 16:56 <+bridge> [ddnet] beware if you make a mistake in your `CMakeSettings.json` there is no way to fix it 16:56 <+bridge> [ddnet] pls dont start drama now ty 16:56 < Ryozuki> yeah noby 16:56 < Ryozuki> dont start 16:56 < Ryozuki> drama 16:56 <+bridge> [ddnet] im just asking .-. 16:56 <+bridge> [ddnet] we are currently debugging something 16:56 < Ryozuki> what are you debugging? 16:57 <+bridge> [ddnet] we try to find a overflow in windows 16:57 <+bridge> [ddnet] nouis client freezes on a certain server 16:57 < Ryozuki> a needle in the hay 16:57 <+bridge> [ddnet] ubsan and asan dont show anything in linux with gl 3.0, so really impossible to reproduce 16:58 <+bridge> [ddnet] still possible that the driver itself creates the overflow 16:58 < Ryozuki> when i used valgrind time ago 16:58 < Ryozuki> i saw mem leaks involving the driver stuff 16:58 < Ryozuki> _dri stuff 16:58 < Ryozuki> iirc 16:58 <+bridge> [ddnet] but if its inside the .so its not from teeworlds 16:58 <+bridge> [ddnet] or at client close? 16:58 < Ryozuki> yeah 16:59 < Ryozuki> idk if its at client close 16:59 < Ryozuki> obj:/usr/lib/dri/*_dri.so 16:59 < Ryozuki> https://github.com/ddnet/ddnet/blob/master/valgrind.supp 16:59 < Ryozuki> thats why i made this file 16:59 < Ryozuki> cuz drivers and stuff had leaks 16:59 < Ryozuki> outside tw 17:00 <+bridge> [ddnet] ok 😄 17:00 < Ryozuki> that emoji looks funny on terminal 17:01 < Ryozuki> :joy: 17:01 <+bridge> [ddnet] ive had valgrind report leaks in really weird places before tho fwiw 17:01 <+bridge> [ddnet] like inside of printf under normal use conditions 17:01 <+bridge> [ddnet] inside printf is unlikely, printf doesn't allocate or free anything 17:01 <+bridge> [ddnet] sometimes valgrind just cant track these stuff 17:02 <+bridge> [ddnet] it was one of those stdio functions 17:02 <+bridge> [ddnet] snprintf or prinf or something 17:02 <+bridge> [ddnet] valgrind just hooks malloc and free, it can't really miss much of anything 17:02 <+bridge> [ddnet] rlly? o_0 17:02 <+bridge> [ddnet] i could be misremembering which utility did this but i was pretty sure it was valgrind 17:03 <+bridge> [ddnet] there actually could be an issue in the version of glibc you were using 17:03 <+bridge> [ddnet] not like glibc developers are aliens that don't ever make mistakes 17:04 < Ryozuki> glibc are gods 17:04 <+bridge> [ddnet] that could be true too, i think it was on my old laptop when it happened 17:04 < Ryozuki> mistakes are for humans 17:04 <+bridge> [ddnet] lol 17:04 < Ryozuki> you can always search a bug tracker 17:04 <+bridge> [ddnet] (or it was some rlly weird error i made in my code that only was caught upon the printf? seems unlikely if u only pass it variables but idk) 17:04 < Ryozuki> https://www.cvedetails.com/vulnerability-list/vendor_id-72/product_id-767/GNU-Glibc.html 17:05 < Ryozuki> "GNU Libc current is affected by: Mitigation bypass. The impact is: Attacker may guess the heap addresses of pthread_created thread" 17:05 < Ryozuki> funny stuff 17:05 <+bridge> [ddnet] https://devblogs.microsoft.com/cppblog/wp-content/uploads/sites/9/2019/10/ASan-Blog-Post-Image-0.png 17:05 <+bridge> [ddnet] https://devblogs.microsoft.com/cppblog/wp-content/uploads/sites/9/2019/10/ASAN-Blog-Post-Image-2.png 17:06 <+bridge> [ddnet] am i right that 17:06 <+bridge> [ddnet] ``` 17:06 <+bridge> [ddnet] printf("%s\n", fn());``` 17:06 <+bridge> [ddnet] this could show as being a leak that originates within printf but 17:06 <+bridge> [ddnet] 17:06 <+bridge> [ddnet] ``` 17:06 <+bridge> [ddnet] char *arg = fn(); 17:06 <+bridge> [ddnet] printf("%s\n", arg);``` 17:06 <+bridge> [ddnet] this couldnt? 17:06 <+bridge> [ddnet] like if it was improperly freed it would show the leak as coming from somewhere else 17:06 <+bridge> [ddnet] assuming that fn returns memory that it allocates 17:07 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/769215407713419294/image0.jpg 17:07 <+bridge> [ddnet] always crash at this spot, a lot easier to reproduce if opengl is off i found out, and cant reproduce on LAN same map as far as i know 17:07 <+bridge> [ddnet] ok 17:08 < Ryozuki> nice book 17:08 <+bridge> [ddnet] @louis can u try the 2 images i posted 17:10 <+bridge> [ddnet] ok 17:10 <+bridge> [ddnet] thx ryo 17:14 <+bridge> [ddnet] @noby I don't think that would show as one originating in printf, your allocation will be done before the call into printf 17:14 <+bridge> [ddnet] true i guess 17:17 <+bridge> [ddnet] @Jupstar ✪ howd u get that second picture 17:17 <+bridge> [ddnet] the project properties thing 17:18 <+bridge> [ddnet] yes 17:18 <+bridge> [ddnet] for the ddnet client 17:18 <+bridge> [ddnet] on the right isnt there a list? 17:18 <+bridge> [ddnet] DDnet 17:18 <+bridge> [ddnet] DDNET-server 17:18 <+bridge> [ddnet] and so on 17:18 <+bridge> [ddnet] rightclick ddnet 17:22 <+bridge> [ddnet] After downloading 5 extra gigabytes and having to restart the editor 10 times, I have managed to get a asan build of ddnet 17:22 < Ryozuki> i wonder what they do to use so much space 17:23 < Ryozuki> i wonder if CLion supports msvc 17:23 < Ryozuki> https://www.jetbrains.com/help/clion/quick-tutorial-on-configuring-clion-on-windows.html u can i guess 17:23 < Ryozuki> its a way better ide 17:24 < Ryozuki> but paid 17:24 <+bridge> [ddnet] r u on windows rn @Learath2 ? 17:24 <+bridge> [ddnet] xd i cant even fin dit 17:24 <+bridge> [ddnet] It's apparently not a concern. The last time I was complaining about space told me I'm a poor peasant if I don't have an extra couple hundred gigabytes of free space on my ssd/hdd and an internet connection that is slow 17:24 <+bridge> [ddnet] @Jupstar ✪ yeah on windows rn 17:24 <+bridge> [ddnet] @louis send picture of the whole IDE xD 17:24 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/769219802345766982/unknown.png 17:24 <+bridge> [ddnet] ohh 17:25 < Ryozuki> its hilarious you need to download the entire visual studio to get the compiler toolchain or whathever it is 17:25 <+bridge> [ddnet] its a direct cmake build 17:25 <+bridge> [ddnet] ok 17:25 <+bridge> [ddnet] Ryozuki, you can have MSVC without visual studio as part of the windows sdk 17:26 <+bridge> [ddnet] @louis open CmakeLists.txt 17:26 <+bridge> [ddnet] and find 17:26 <+bridge> [ddnet] `target_compile_options(${target} PRIVATE /wd4800) # Implicit conversion of int to bool.` 17:26 <+bridge> [ddnet] dublicate that line and change the thing after PRIVATE to /fsanitize=address 17:26 <+bridge> [ddnet] don't 17:26 <+bridge> [ddnet] that breaks everything 17:26 <+bridge> [ddnet] oh 17:26 <+bridge> [ddnet] why that 17:26 <+bridge> [ddnet] it won't link, it will break your IDE 17:26 <+bridge> [ddnet] wtf xD 17:27 < Ryozuki> lol 17:27 <+bridge> [ddnet] @louis you need to modify your Visual Studio installation first 17:27 <+bridge> [ddnet] This thing in your start menu 17:27 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/769220521732341810/unknown.png 17:27 <+bridge> [ddnet] just build a SLN with cmake honestly xD 17:27 <+bridge> [ddnet] then u can modify everything 17:27 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/769220567874142238/unknown.png 17:27 <+bridge> [ddnet] i did learath 17:28 <+bridge> [ddnet] i had the sanitizer thing enabled i think 17:28 <+bridge> [ddnet] Did you install ASan? 17:28 <+bridge> [ddnet] Okay delete that line 17:28 <+bridge> [ddnet] lol ok 17:28 <+bridge> [ddnet] You need to add it somewhere else to get it properly linking 17:28 <+bridge> [ddnet] right click CMakeLists.txt 17:28 <+bridge> [ddnet] select `CMake Settings` 17:29 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/769220963223994378/unknown.png 17:29 <+bridge> [ddnet] CMake Settings for DDNet then 17:30 <+bridge> [ddnet] Duplicate the first configuration 17:30 <+bridge> [ddnet] The third button is duplicate 17:30 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/769221232548773908/unknown.png 17:30 <+bridge> [ddnet] After that click Edit JSON 17:31 <+bridge> [ddnet] Then you add `"addressSanitizerEnabled": true` to the new configuration 17:31 <+bridge> [ddnet] like this 17:31 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/769221511621115964/unknown.png 17:32 <+bridge> [ddnet] ok 17:32 <+bridge> [ddnet] i think i did it 17:32 <+bridge> [ddnet] Now choose the new configuration you created up top 17:34 <+bridge> [ddnet] u mean the file next to green run button? 17:34 <+bridge> [ddnet] The one to the left of the file 17:34 <+bridge> [ddnet] It should prolly say `x64-Debug` right now 17:35 <+bridge> [ddnet] oh 17:35 <+bridge> [ddnet] wait lol 17:35 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/769222575619309578/unknown.png 17:36 <+bridge> [ddnet] you probably made a typo in the json, show json 17:36 <+bridge> [ddnet] ```json 17:36 <+bridge> [ddnet] { 17:36 <+bridge> [ddnet] "configurations": [ 17:37 <+bridge> [ddnet] { 17:37 <+bridge> [ddnet] "name": "x64-Debug", 17:37 <+bridge> [ddnet] "generator": "Ninja", 17:37 <+bridge> [ddnet] "configurationType": "Debug", 17:37 <+bridge> [ddnet] "inheritEnvironments": [ "msvc_x64_x64" ], 17:37 <+bridge> [ddnet] "buildRoot": "${projectDir}\\out\\build\\${name}", 17:37 <+bridge> [ddnet] "installRoot": "${projectDir}\\out\\install\\${name}", 17:37 <+bridge> [ddnet] "cmakeCommandArgs": "", 17:37 <+bridge> [ddnet] "buildCommandArgs": "-v", 17:37 <+bridge> [ddnet] "ctestCommandArgs": "", 17:37 <+bridge> [ddnet] "variables": [] 17:37 <+bridge> [ddnet] }, 17:37 <+bridge> [ddnet] { 17:37 <+bridge> [ddnet] "name": "x64-Debug-Copy", 17:37 <+bridge> [ddnet] "generator": "Ninja", 17:37 <+bridge> [ddnet] "configurationType": "Debug", 17:37 <+bridge> [ddnet] "buildRoot": "${projectDir}\\out\\build\\${name}", 17:37 <+bridge> [ddnet] "installRoot": "${projectDir}\\out\\install\\${name}", 17:37 <+bridge> [ddnet] "cmakeCommandArgs": "", 17:37 <+bridge> [ddnet] "buildCommandArgs": "-v", 17:37 <+bridge> [ddnet] "ctestCommandArgs": "", 17:37 <+bridge> [ddnet] "inheritEnvironments": [ "msvc_x64_x64" ], 17:37 <+bridge> [ddnet] "variables": [] 17:37 <+bridge> [ddnet] "addressSanitizerEnabled": true 17:37 <+bridge> [ddnet] } 17:37 <+bridge> [ddnet] ] 17:37 <+bridge> [ddnet] } 17:37 <+bridge> [ddnet] ``` 17:37 <+bridge> [ddnet] you need a , after [] 17:38 <+bridge> [ddnet] oops 17:38 <+bridge> [ddnet] ok 17:38 <+bridge> [ddnet] now do i run ddnet 17:38 <+bridge> [ddnet] I think so, fingers crossed it should build and run 17:38 <+bridge> [ddnet] fingers crossed its just the driver thats buggy xddd, jk 17:39 <+bridge> [ddnet] Why would you even want that? 😄 17:39 <+bridge> [ddnet] We should use a kernel 0day to monkey patch intels buggy ass drivers 17:39 <+bridge> [ddnet] bcs then we just need to disable intel on windows xD 17:40 <+bridge> [ddnet] or wait for the windows update or smth 17:44 <+bridge> [ddnet] wait 17:44 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/769224621434077214/unknown.png 17:44 <+bridge> [ddnet] it says this idk 17:44 <+bridge> [ddnet] i couldnt select a startup item 17:44 <+bridge> [ddnet] scroll down a bit 17:44 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/769224820550270986/unknown.png 17:45 <+bridge> [ddnet] hm 17:45 <+bridge> [ddnet] wait let me make sure i had it instalaled 17:45 <+bridge> [ddnet] yeah this happened to me too, after modifying my installation 3-4 times 17:45 <+bridge> [ddnet] it just worked 17:45 <+bridge> [ddnet] Visual Studio and Windows are more akin to a carpenters hammer than Linux 17:46 <+bridge> [ddnet] just restart everything, turn off electricity, turn off the local internet, and windows will work 17:46 <+bridge> [ddnet] You need to hit it really hard a couple dozen times and it sometimes does the job, sometimes completely breaks your work and you need to start over 17:46 <+bridge> [ddnet] maybe it has to be `/fsanitize=address` instead of `-fsanitize=address` ? 17:46 <+bridge> [ddnet] `enableAddressSanitizer` does the correct one for clang-cl 17:47 <+bridge> [ddnet] huh, @Learath2 knows how to work with msvc's cmake integration 17:47 <+bridge> [ddnet] I know who to ask next time 😄 17:47 <+bridge> [ddnet] but all options of MSVC compiler always begin with `/` as far as i know 17:47 <+bridge> [ddnet] I learned a bit of it right now to help louis, the only person who can reproduce the bug 😄 17:48 <+bridge> [ddnet] @Comrade well, VS handles it 17:48 <+bridge> [ddnet] if the correct version is / it will use / 17:48 <+bridge> [ddnet] it seems it passes the wrong option directly to cl.exe 😄 17:48 <+bridge> [ddnet] It obviously recognizes the option so it tries to link clang_rt 17:49 <+bridge> [ddnet] The only time I froze similar to louis is when I was connecting dummy, seems random though 17:49 <+bridge> [ddnet] The only times I froze similar to louis is when I was connecting dummy, seems random though 17:50 <+bridge> [ddnet] cl: Command line warning D9002: ignoring unknown option '-fsanitize=address' 17:50 <+bridge> [ddnet] that's MSVC definitely, not clang 17:50 <+bridge> [ddnet] only Microsoft's compiler has these stupid numeric errors 😄 17:50 <+bridge> [ddnet] ok im adding some random modifications to vs hopefully it fixes it 17:51 <+bridge> [ddnet] that's MSVC definitely, not Clang 17:51 <+bridge> [ddnet] Ah I found a foolproof way to get it to work 17:51 <+bridge> [ddnet] https://cmake.org/download/ 17:51 <+bridge> [ddnet] You use cmake, instead of VSs god awful cmake integration 17:51 <+bridge> [ddnet] can't he just use cmake for it? 17:52 <+bridge> [ddnet] ``` 17:52 <+bridge> [ddnet] cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release .. 17:52 <+bridge> [ddnet] nmake 17:52 <+bridge> [ddnet] ``` 17:53 <+bridge> [ddnet] i use this always instead of broken VS 😄 17:53 <+bridge> [ddnet] only Windows SDK is needed as @Learath2 said 17:57 <+bridge> [ddnet] the cmake gui is even easier 17:57 <+bridge> [ddnet] ok what do i do 17:57 <+bridge> [ddnet] just open select vs, finished 17:57 <+bridge> [ddnet] xd 17:58 <+bridge> [ddnet] download cmake 17:58 <+bridge> [ddnet] run cmake-gui.exe 17:58 <+bridge> [ddnet] select ddnet root folder as source directory 17:58 <+bridge> [ddnet] select ddnet build directory as source_dir/build 17:58 <+bridge> [ddnet] click configure 17:58 <+bridge> [ddnet] select vs 17:58 <+bridge> [ddnet] wait 17:58 <+bridge> [ddnet] 1h 17:58 <+bridge> [ddnet] (beware when devs say something is easy. it's not :P) 17:59 <+bridge> [ddnet] click generate 17:59 <+bridge> [ddnet] click open project 17:59 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/526941795683270674/756331766079553556/unknown.png 18:00 <+bridge> [ddnet] - Open CMake (cmake-gui) and select the source code directory and the empty build directory. 18:00 <+bridge> [ddnet] - Press Configure button. 18:00 <+bridge> [ddnet] - Select generator matching your Visual Studio version. If you want to build 64-bit version, use Win64 generator. 18:00 <+bridge> [ddnet] - You can now change build options in the CMake window. Press Configure button again when you're done. 18:00 <+bridge> [ddnet] - Press Generate button. 18:00 <+bridge> [ddnet] - Press Open Project button. It should open Visual Studio with the generated solution. 18:00 <+bridge> [ddnet] step by step 😄 18:00 <+bridge> [ddnet] eeeeeezzzzzzzzzz 18:01 <+bridge> [ddnet] vs will also automatically update when cmakelist changes 18:02 <+bridge> [ddnet] it overrides many things configured in CMake 18:02 <+bridge> [ddnet] build type for example 18:02 <+bridge> [ddnet] so it's better to configure everything in solution properties inside VS 18:03 <+bridge> [ddnet] Windows is so unfriendly platform for developers and so many people still use it 😄 18:04 < Ryozuki> maybe windows dev dont even use cmake 18:04 < Ryozuki> they use the ide directly 18:04 <+bridge> [ddnet] yes, many of them use that XML trash generated by VS 18:05 <+bridge> [ddnet] but cmake uses the ide correctly 😄 18:05 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/769229984215728138/unknown.png 18:05 <+bridge> [ddnet] uuh is it supposed to look all red 18:05 <+bridge> [ddnet] yes 18:05 < Ryozuki> and many windows dev dont even use c++, they are into c# 18:05 <+bridge> [ddnet] ban 18:05 <+bridge> [ddnet] c# is java in green 18:05 <+bridge> [ddnet] @louis just hit Generate and then Open Project 18:06 < Ryozuki> what does in green mean 18:06 <+bridge> [ddnet] its a german thiing probably 18:06 <+bridge> [ddnet] but i just use it in english 18:06 <+bridge> [ddnet] xD 18:06 <+bridge> [ddnet] it means basically, its the same 18:06 <+bridge> [ddnet] but C# is still much better than Java 😄 18:06 <+bridge> [ddnet] i think 18:06 <+bridge> [ddnet] yes 18:07 <+bridge> [ddnet] bcs its impossible todo worse xd 18:07 < Ryozuki> i prefer c# over java too 18:07 < Ryozuki> i only used it for terraria plugins tho 18:07 <+bridge> [ddnet] i programmed in c# with xna when i was like 16 or smth 18:07 <+bridge> [ddnet] then java minecraft plugins xxD 18:07 < Ryozuki> i also did some mc thingies xd 18:08 <+bridge> [ddnet] but when i switched to c++ and assembly 18:08 <+bridge> [ddnet] it opened a new world for me 18:08 < Ryozuki> the elite 18:08 < Ryozuki> now u gotta become hipster 18:08 < Ryozuki> and join rust 18:08 < Ryozuki> facebook and microsoft are hiring rust compiler engineers btw 18:08 < Ryozuki> to improve it 18:09 <+bridge> [ddnet] i want a c syntaxed, rust safe, range based programming language, so no more logic errors or anything else 18:09 <+bridge> [ddnet] We made louis spend so much time on this, we still didn't even get it to build 😦 18:10 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/769231174962249758/unknown.png 18:10 <+bridge> [ddnet] oki open project now what 18:10 <+bridge> [ddnet] select vs2019 18:10 <+bridge> [ddnet] https://devblogs.microsoft.com/cppblog/wp-content/uploads/sites/9/2019/10/ASAN-Blog-Post-Image-2.png 18:10 <+bridge> [ddnet] on right side there is DDnet project 18:10 <+bridge> [ddnet] rightclick that, make it default start porject 18:10 <+bridge> [ddnet] then add the thing in the image 18:11 <+bridge> [ddnet] @louis did you select Visual Studio 2019 Win64 as generator? 18:11 <+bridge> [ddnet] otherwise it's 32-bit build 18:11 <+bridge> [ddnet] yes 18:11 <+bridge> [ddnet] i selected x64 18:11 <+bridge> [ddnet] good 18:13 <+bridge> [ddnet] currently only available for 32 bit builds 18:13 <+bridge> [ddnet] ok i think i got it 18:13 <+bridge> [ddnet] @plsplsplslol huh 18:13 <+bridge> [ddnet] (bottom right of the screenshot) 18:13 <+bridge> [ddnet] yes 18:14 <+bridge> [ddnet] oh lol 18:14 <+bridge> [ddnet] MSVC ASan is 32-bit only? oh come on... 😄 18:14 <+bridge> [ddnet] I think it's fine since 16.7 18:14 <+bridge> [ddnet] https://devblogs.microsoft.com/cppblog/asan-for-windows-x64-and-debug-build-support/ 18:14 <+bridge> [ddnet] Do you maybe have an older VS? 18:15 <+bridge> [ddnet] well, inline assembly is not available in 64-bit MSVC as well, so who knows 18:16 <+bridge> [ddnet] oh 18:16 <+bridge> [ddnet] im on 16.4 18:16 <+bridge> [ddnet] ill updaate 18:16 <+bridge> [ddnet] see you tomorrow then 😄 18:16 < Ryozuki> rip 18:16 <+bridge> [ddnet] btw, just saw, i even added a dbg msg that says 18:16 <+bridge> [ddnet] "Requested OpenGL debug mode, but the driver does not support the required extension" 18:16 <+bridge> [ddnet] if debug mode is not supported 18:20 <+bridge> [ddnet] by the way, what if ASan in MSVC is totally useless, so all this is just a waste of time? 18:21 <+bridge> [ddnet] then we tried at least 18:21 <+bridge> [ddnet] and UBSan is not available at all there 18:22 <+bridge> [ddnet] tbh, i tried the exact spots the intel users had the crashes in 18:22 <+bridge> [ddnet] with ubsan and asan and valgrind, nothing 18:22 <+bridge> [ddnet] its either something windows or something driver specific 18:23 <+bridge> [ddnet] but no reports from nvidia or amd users yet 😄 18:31 <+bridge> [ddnet] wow i have to restart computer to apply vs updates 18:31 <+bridge> [ddnet] Is there a way to contact Intel GPU driver team? 18:31 <+bridge> [ddnet] @louis yeah, learath2 complained about the same before 18:31 <+bridge> [ddnet] @deen it can still be a overflow 18:32 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/769206776066867260/unknown.png 18:32 <+bridge> [ddnet] i dont understand and cannot reproduce a primcount of 10k here 18:32 <+bridge> [ddnet] that is not a typical overflow value 18:32 <+bridge> [ddnet] or you mean some multiplication overflowing? 18:33 <+bridge> [ddnet] maybe a buffer overflow 18:33 <+bridge> [ddnet] writing stuff inside the buffer 18:33 <+bridge> [ddnet] mhm 18:33 <+bridge> [ddnet] can be completly unrelated to the graphic things 18:33 <+bridge> [ddnet] so we're one step forward it seems, that's nice 18:33 <+bridge> [ddnet] maybe nvidia and amd are just dropping these invalid commands or smth 18:34 <+bridge> [ddnet] yeah, that was my hope, that we're doing something wrong, but some drivers are more tolerant of that 18:34 <+bridge> [ddnet] because then it's something we can fix 18:34 <+bridge> [ddnet] I've been running asan+ubsan for days now locally, haven't found anything more interesting than what I reported 18:38 <+bridge> [ddnet] ok hi im back 18:39 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/769238475751948318/unknown.png 18:39 <+bridge> [ddnet] what do i do 18:41 <+bridge> [ddnet] is that the crash or smth @louis ? 18:41 <+bridge> [ddnet] no 18:41 <+bridge> [ddnet] it askss me to do that before i run ddnet 18:41 <+bridge> [ddnet] can u cancel it? xd 18:41 <+bridge> [ddnet] no 18:42 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/769239218957451284/unknown.png 18:43 <+bridge> [ddnet] @Learath2 18:43 <+bridge> [ddnet] Heh, I had the same error at work yesterday 😄 18:43 <+bridge> [ddnet] but I didn't know the solution 18:43 <+bridge> [ddnet] :justatest: 18:43 <+bridge> [ddnet] @louis try a from-scratch build? 18:43 <+bridge> [ddnet] ok 18:44 <+bridge> [ddnet] sounds like it crashed there or smth xd 18:44 <+bridge> [ddnet] I have absolutely no idea 😦 18:44 <+bridge> [ddnet] Why must life be this difficult? 18:51 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/769241678728658947/unknown.png 18:51 <+bridge> [ddnet] i get this when i try to cmake the source files from the github 18:53 <+bridge> [ddnet] show the output from the windows below stop button 18:53 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/769242192031121418/message.txt 18:55 <+bridge> [ddnet] u forgot to fill the ddnet-libs 18:55 <+bridge> [ddnet] how do i do that 18:56 <+bridge> [ddnet] https://github.com/ddnet/ddnet-libs 18:56 <+bridge> [ddnet] ? 18:56 <+bridge> [ddnet] do i just put this in the same folder or 18:58 <+bridge> [ddnet] follow the instructions in ddnet README 18:58 <+bridge> [ddnet] To clone this repository with full history and external libraries (~350 MB): 18:58 <+bridge> [ddnet] 18:58 <+bridge> [ddnet] git clone --recursive https://github.com/ddnet/ddnet 18:58 < Ryozuki> if you did get the sources with git then u can do git submodule init --update 18:58 < Ryozuki> or osmething like that 18:59 < Ryozuki> git submodule update --init --recursive 18:59 < Ryozuki> i always get it the other way around 18:59 <+bridge> [ddnet] ok 18:59 <+bridge> [ddnet] update --init 19:00 <+bridge> [ddnet] I don't think I'll ever try anything on windows again, I spent 4 hours of valuable time to accomplish nothing 19:01 <+bridge> [ddnet] windows best 19:01 < Ryozuki> :joy: 19:01 <+bridge> [ddnet] :antijao: 19:02 < Ryozuki> Learath2 isnt using nmake easier 19:02 <+bridge> [ddnet] when will fl studio support linux :( 19:02 <+bridge> [ddnet] ryo how is it going on the banned side of things 19:02 < Ryozuki> cool i guess 19:02 < Ryozuki> how is it there 19:02 <+bridge> [ddnet] I tried with nmake too 19:02 <+bridge> [ddnet] :justatest: 19:02 < Ryozuki> discord emojis dont translate to irc sadge 19:03 < Ryozuki> 😰 19:03 <+bridge> [ddnet] what about normal emojis 19:03 < Ryozuki> they do 19:03 <+bridge> [ddnet] 🤐 19:03 < Ryozuki> if they have unicode representation iguess 19:03 < Ryozuki> 👺 19:03 < Ryozuki> oh 19:03 < Ryozuki> this looks funny 19:03 < Ryozuki> https://imgur.com/tr3shU2 19:04 < Ryozuki> some look good some not 19:04 < Ryozuki> Learath2 the trusth is probs that windows wants you to use c# and forget about c stuff 19:04 < Ryozuki> their c# tooling is way better 19:05 <+bridge> [ddnet] [ddnet] you are unbanned now 19:05 < Ryozuki> nice troll 19:05 <+bridge> [ddnet] u 19:05 <+bridge> [ddnet] I have never, in my entire life worked with such horrible tooling 19:06 <+bridge> [ddnet] I think part of it comes from unfamiliarity 19:06 < Ryozuki> @noby did u know irc shows that as a one liner 19:06 <+bridge> [ddnet] wym 19:06 <+bridge> [ddnet] VS includes 5 incompatible copies of clang, 2 incompatible copies of MSVC 19:06 < Ryozuki> wedym by incompatible 19:06 <+bridge> [ddnet] hi 19:06 <+bridge> [ddnet] [ddnet] you are unbanned now 19:06 < Ryozuki> can u actually use llvm in windows? 19:07 < Ryozuki> "[ddnet] [ddnet] you are unbanned now" it looks like this in irc 19:07 <+bridge> [ddnet] yes. they have a drop-in replacement 19:07 <+bridge> [ddnet] The 7 aforementioned compilers each link to 15 different clang_rt libraries each 19:07 <+bridge> [ddnet] @Ravie @jao please stop trolling 19:07 <+bridge> [ddnet] So 7 * 15 clang_rt pieces 19:07 <+bridge> [ddnet] If you want to link it in debug mode you can only use msvc to link to clang_rt 19:07 <+bridge> [ddnet] clang-cl can only do release mode 19:08 <+bridge> [ddnet] what trolling lol 19:08 <+bridge> [ddnet] that's what a troll would say 19:08 <+bridge> [ddnet] but if you link in release mode lld will still get confused and use /MDd for some reason 19:08 <+bridge> [ddnet] god knows why 19:08 < Ryozuki> whats MDd 19:08 < Ryozuki> i dont know windows flags 19:08 <+bridge> [ddnet] @jao sry, meant noby 19:08 <+bridge> [ddnet] link with debug libs? 19:08 <+bridge> [ddnet] dynamically 19:09 <+bridge> [ddnet] ```Defines _DEBUG, _MT, and _DLL and causes the application to use the debug multithread-specific and DLL-specific version of the run-time library. It also causes the compiler to place the library name MSVCRTD.lib into the .obj file.``` 19:09 <+bridge> [ddnet] It's like I'm trying to build a sand castle using dry sand 19:12 <+bridge> [ddnet] @heinrich5991 the first 2 hours was unfamiliarity, now that I'm intimately familiar with VSs internals and how it butchered clang to make it fit in it's archaic structure I'm allowed to be pissed at the shitty tooling microsoft pushes on people 19:12 <+bridge> [ddnet] kek now im getting c++ ads on yotube 19:13 <+bridge> [ddnet] 😄 19:13 <+bridge> [ddnet] time to learn c++ 19:15 < Ryozuki> :justatest: 19:15 <+bridge> [ddnet] didn't work 19:17 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/769248129388118076/unknown.png 19:17 <+bridge> [ddnet] ok i got past the memset not found thing 19:17 <+bridge> [ddnet] now what 19:18 <+bridge> [ddnet] now see the callstack 19:18 <+bridge> [ddnet] then u know why it crashed 19:18 <+bridge> [ddnet] ddnet wont even run 19:18 <+bridge> [ddnet] it says that first 19:18 <+bridge> [ddnet] oh 19:19 <+bridge> [ddnet] i couldnt run asan with gcc, it also crashed directly, so dunno xd 19:19 <+bridge> [ddnet] cant @Learath2 just build you a debug executable 19:19 <+bridge> [ddnet] I broke mine too, been trying to get it to build again for the last hour 19:19 <+bridge> [ddnet] oh xD 19:20 <+bridge> [ddnet] @louis more info when you click on details? 19:20 <+bridge> [ddnet] or can you ignore it with the checkmark? 19:20 <+bridge> [ddnet] yeah i ignored it 19:20 <+bridge> [ddnet] hopefully it doesnt implode my laptop or something 19:20 <+bridge> [ddnet] but ddnet runs 19:20 <+bridge> [ddnet] great, then get it to hang like before I guess 19:23 <+bridge> [ddnet] ok its spazzing out what do i do, do i pause it? 19:23 <+bridge> [ddnet] like the ddnet froze and all that 19:24 <+bridge> [ddnet] no asan error written? 19:24 <+bridge> [ddnet] where do i look for thaat 19:25 <+bridge> [ddnet] in the vs output probably 19:25 <+bridge> [ddnet] bottom right 19:25 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/769250103113941063/unknown.png 19:25 <+bridge> [ddnet] idk what this is 19:25 <+bridge> [ddnet] can you upload the whole output? 19:26 <+bridge> [ddnet] sec 19:26 <+bridge> [ddnet] well it keeps spamming that if i freeze or not 19:26 <+bridge> [ddnet] even when im on main menu 19:27 <+bridge> [ddnet] might be that stuff from earlier 19:27 <+bridge> [ddnet] oh 19:27 <+bridge> [ddnet] call stack for one of them? 19:27 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/769250739783467028/unknown.png 19:27 <+bridge> [ddnet] this is call stack when client is freezing 19:28 <+bridge> [ddnet] well its paused rn 19:28 <+bridge> [ddnet] but no call stack of the Access violation? 19:28 <+bridge> [ddnet] yeah but thats not the crash 😄 19:28 <+bridge> [ddnet] well now he already ignored it xD 19:28 <+bridge> [ddnet] i think the access thing is because i ignored the memset thing 19:29 <+bridge> [ddnet] idk arent there call stack graphics stuff there? it could be that 19:29 <+bridge> [ddnet] if it would crash there it'd be easy to reproduce on linux 19:29 <+bridge> [ddnet] they question is, what memset fails potentially 19:30 <+bridge> [ddnet] the memset could e.g. be inside the intel driver xd 19:33 <+bridge> [ddnet] is the client not crashing with opengl 3.3 @louis ? 19:33 <+bridge> [ddnet] you mentioned smth like that 19:34 <+bridge> [ddnet] ye its harder to get it to freeze 19:34 <+bridge> [ddnet] but i remember it freezing sometimes it hink 19:34 <+bridge> [ddnet] yeah sounds alot like a overflow somewhere 19:37 <+bridge> [ddnet] i wonder what happens if i just comment out random things and see if it works 19:37 <+bridge> [ddnet] @Jupstar ✪ would these things help https://www.khronos.org/opengl/wiki/Debugging_Tools ? 19:37 <+bridge> [ddnet] most are outdated and dont show useful stuff, the best (renderdoc) only works with gl 3.3 19:38 <+bridge> [ddnet] maybe the nvidia and amd tools are good... but wont work on intel 19:38 <+bridge> [ddnet] OMG 19:38 <+bridge> [ddnet] I think I did it 19:39 <+bridge> [ddnet] @louis you could try disabling some things like antiping and cl_predict 0 19:39 <+bridge> [ddnet] ye 19:39 <+bridge> [ddnet] i will after i eat, brb 19:40 <+bridge> [ddnet] @Learath2 ? 19:41 <+bridge> [ddnet] btw, i couldnt reproduce at the same spot same map on LAN while it almost always worked on the ddnet srv, so it *might* be serverside but idk 19:41 <+bridge> [ddnet] I think it's timing related 19:42 <+bridge> [ddnet] so one thread has to write garbage just at the correct time 19:42 <+bridge> [ddnet] gfx_asyncrender_old 0 might fix it then 19:42 <+bridge> [ddnet] hm, I got it building with asan, I got it running with asan 19:44 <+bridge> [ddnet] nice 19:44 <+bridge> [ddnet] I'm not sure if it worked though 😛 19:45 <+bridge> [ddnet] it might be prediction related. Seems to happen when louis jumped through freeze 19:46 <+bridge> [ddnet] I set LIBGL_ALWAYS_SOFTWARE=true on Linux and can feel a short hang every time I jump throuhg freeze 19:46 <+bridge> [ddnet] not visible in fps graph, so might be related 19:55 <+bridge> [ddnet] okay it doesn't work, it slows down the executable alright but it doesn't report anything ever 19:55 <+bridge> [ddnet] @louis tried vsync on? 19:55 < Ryozuki> Learath2 maybe the ddnet is perfect 19:55 <+bridge> [ddnet] Ryozuki I thought so too, so I added a bug, that didn't show up either 20:03 <+bridge> [ddnet] ok im back 20:10 < Ryozuki> hi back im dad 20:11 <+bridge> [ddnet] <Дядя Женя> Make a vote in announcements for channel to post "looking for teammate" messages 20:12 <+bridge> [ddnet] @deen still crashes with cl_predict 0 and antiping off 20:13 <+bridge> [ddnet] kek 20:13 <+bridge> [ddnet] its that one specific spot in the map 20:13 <+bridge> [ddnet] ill record a short vid 20:13 <+bridge> [ddnet] hi dad im banned ... oh wait, that's you. :kek: 20:14 <+bridge> [ddnet] Attaching and editing stuff on the forum is a real pain btw. Attachments randomly get lost. 20:15 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/769262782800461904/2020-10-23_13-15-09.mp4 20:15 <+bridge> [ddnet] only some parts freeze me (at the end of this clip i got frozen) 20:17 <+bridge> [ddnet] forum is dead 20:17 <+bridge> [ddnet] maybe it's consistent? X amount of time, X amount of time through freeze 20:18 <+bridge> [ddnet] maybe it's consistent? X amount of time, X amount of times through freeze 20:18 <+bridge> [ddnet] no if i just join at the start and jump thru that part it freezes too 20:19 <+bridge> [ddnet] only thing consistent so far is location 20:19 <+bridge> [ddnet] ill see if it crasshes if i spec it 20:19 <+bridge> [ddnet] ye it does, if i go into spec and put my spec camera around that area it crashes as well 20:19 <+bridge> [ddnet] where to post mapres then jao? 20:19 <+bridge> [ddnet] #showroom 20:20 <+bridge> [ddnet] @deen can you dig deeper into it, bcs i cannot repr, maybe its some prediction code that is brokenß 20:20 <+bridge> [ddnet] @deen can you dig deeper into it, bcs i cannot repr, maybe its some prediction code that is broken? 20:21 <+bridge> [ddnet] stuff just gets lost in the mess of showroom. 20:22 <+bridge> [ddnet] more people will see it than the 3 people who still use forum 20:22 <+bridge> [ddnet] forum is good tho 20:22 <+bridge> [ddnet] its neatly searchable + alr has a bunch 20:22 <+bridge> [ddnet] id post it in both 20:23 <+bridge> [ddnet] if u cant attach maybe try creating an imgur album or smth 20:23 <+bridge> [ddnet] @louis ur video is broken for me xD 20:23 <+bridge> [ddnet] i'll just download it xD 20:23 <+bridge> [ddnet] ok seems like discord is broken 20:24 <+bridge> [ddnet] I overwrite 1000 bytes on the stack and this program doesn't crash 20:24 <+bridge> [ddnet] @louis try going spec and looking around the rest of the map, make sure it's only that spot, you're getting closer to the starting line, which I noticed would cause me to freeze for a split second (same with the finish line) 20:25 <+bridge> [ddnet] but, it would only happen when I ran over them, which you're not 20:25 <+bridge> [ddnet] maybe the demo recorder? 20:26 <+bridge> [ddnet] Yea, maybe that issue I had was related to the video recorder client, I don't remember it happening to me recently 20:27 <+bridge> [ddnet] @Skeith just crasshed 20:27 <+bridge> [ddnet] which he apparently is on the demo recorder client 20:27 <+bridge> [ddnet] specced around the map befrehand, didnt rly freeze 20:27 <+bridge> [ddnet] which i think is the issue, cause i was having weird freezing issues as well when i used it in the past 20:27 <+bridge> [ddnet] isnt video recorder in normal steam 20:27 <+bridge> [ddnet] is it? 20:28 <+bridge> [ddnet] should 20:28 <+bridge> [ddnet] Oh yea, true. 20:28 <+bridge> [ddnet] Wonder why it stopped freezing for me then, I' 20:29 <+bridge> [ddnet] Wonder why it stopped freezing for me then, I've only had issues with dummy 20:29 <+bridge> [ddnet] I think @Zukita ? was having issues with crashing as well, somewhat recently 20:30 <+bridge> [ddnet] Okay, I'm done, they just said ASan is supported to gloat, it is not supported at all 20:30 <+bridge> [ddnet] I'll go drown in sorrow 20:31 <+bridge> [ddnet] mhh :/ 20:31 <+bridge> [ddnet] dr memory is broken af too under windows sadly 20:31 <+bridge> [ddnet] it can't possibly work properly with the hacks msvcrt does 20:32 <+bridge> [ddnet] set ASAN_OPTIONS= windows_hook_rtl_allocators=true 20:32 <+bridge> [ddnet] claims this post: 20:32 <+bridge> [ddnet] https://devblogs.microsoft.com/cppblog/addresssanitizer-asan-for-windows-with-msvc/ 20:46 <+bridge> [ddnet] OMG IT WORKED 20:46 <+bridge> [ddnet] what did u do 20:46 <+bridge> [ddnet] I am unsure 20:46 <+bridge> [ddnet] xd 20:46 <+bridge> [ddnet] I forced it to link with static msvcrt 20:47 <+bridge> [ddnet] I forced it to link the static versions of the clang_rt pieces 20:47 <+bridge> [ddnet] and I added /fsanitize=address 20:47 <+bridge> [ddnet] then, now we only need to give it louis 20:47 <+bridge> [ddnet] xd 21:40 <+bridge> [ddnet] <ᶰ°Konͧsti> trols 21:42 <+bridge> [ddnet] gib 23:23 <+bridge> [ddnet] tip: remove the frame 23:23 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/769309942154657802/unknown.png 23:28 <+bridge> [ddnet] and the tee 23:30 <+bridge> [ddnet] <Дядя Женя> and less margin ^^ 23:30 <+bridge> [ddnet] <Дядя Женя> (merge my pr) 23:43 <+bridge> [ddnet] whats the current state btw 23:43 <+bridge> [ddnet] did louis test the build? 23:51 <+bridge> [ddnet] <Дядя Женя> @deen does it mean you have an api for getting player's points?