01:36 <+bridge> [ddnet] @Ryozuki tested now, lld is indeed faster 😄 09:06 <+bridge> [ddnet] > @Ryozuki tested now, lld is indeed faster 😄 09:06 <+bridge> [ddnet] @Jupstar ✪ :poggers: 09:19 <+bridge> [ddnet] @Jupstar ✪ adding -flto to cxxflags makes some golang packages fail to build :monkalaugh: 09:20 <+bridge> [ddnet] `cannot load DWARF output from $WORK/b036//_cgo_.o: decoding dwarf section info at offset 0x0: too short` 09:20 <+bridge> [ddnet] stupid go 10:55 <+bridge> [ddnet] https://github.com/settings/repositories 10:55 <+bridge> [ddnet] u can change main to master 10:55 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/767672320545652736/unknown.png 10:55 <+bridge> [ddnet] :monkalaugh: 12:20 <+bridge> [ddnet] The asan/ubsan on real servers is a great success already. I want to expand it to run more servers with it. I'm wondering if we can also do something like that for client. 12:20 <+bridge> [ddnet] Maybe I should start by running asan client myself all the time 12:21 <+bridge> [ddnet] it doesnt slow down server? 12:21 <+bridge> [ddnet] thats great 12:21 <+bridge> [ddnet] it does 12:21 <+bridge> [ddnet] but GER2 is strong enough, doesn't matter much 12:21 <+bridge> [ddnet] on others I wouldn't do it 12:36 <+bridge> [freenode] How do I run DDNet-Server with asan? I'm trying to get the same reports to check if I fix them. 12:40 <+bridge> [ddnet] ``` 12:40 <+bridge> [ddnet] CC=clang CXX=clang++ CXXFLAGS="-fsanitize=address -fno-omit-frame-pointer" CFLAGS="-fsanitize=address -fno-omit-frame-pointer" cmake ../master -DMYSQL=ON -DCMAKE_BUILD_TYPE=Debug 12:40 <+bridge> [ddnet] ninja 12:40 <+bridge> [ddnet] ASAN_OPTIONS=log_path=./ASAN:check_initialization_order=1:detect_leaks=1 ni -15 2 ./DDNet-Server 12:40 <+bridge> [ddnet] ``` 12:40 < ultimatum> need help with the client 12:40 <@deen> ultimatum: what's wrong? 12:41 <+ultimatum> when i open the client, the loading screen pops up then suddenly in crashes 12:41 <+ultimatum> this is only happening right now 12:42 <+bridge> [ddnet] @Jupstar ✪ @Learath2 want to help with debugging ^? 12:42 <@deen> Since you write on IRC, can you compile your own Debug client and run it in gdb? OS? 12:43 <+ultimatum> I need help it wont open to the interface just the loading screen then it crash without any crash message 12:43 <+ultimatum> windows 10 12:43 <+ultimatum> gdb? 12:43 <@deen> ah, you're not a developer, too bad :D 12:43 <@deen> Visual Studio Debugger would also work 12:43 <@deen> Try writing gfx_major_version 1 in your settings_ddnet.cfg (in config_dir.bat) and then starting client 12:44 <+ultimatum> ok ill do the gfx 12:45 <+ultimatum> its still doesnt open until the interface 12:46 <+ultimatum> i can put the application error of windows event if you like that? 12:46 <+bridge> [ddnet] Eh, we don't have symbols to read the windows error report 12:47 <+bridge> [ddnet] ultimatum if you have some free time, it would be great if we could build it on your computer and see why it crashes 12:48 <+bridge> [ddnet] It doesn't happen on any of our machines so we can't debug it on ours 12:51 <+bridge> [ddnet] If you don't have time, just leave the windows report, maybe I can reverse engineer a bit to figure out the addresses 12:56 <+bridge> [ddnet] ultimate: 12:57 <+bridge> [ddnet] can you try a clean version: 12:57 <+bridge> [ddnet] https://ddnet.tw/downloads/DDNet-nightly-win64.zip 12:57 <+bridge> [ddnet] and maybe press Windows + r -> %APPDATA%/Teeworlds and rename the config 13:02 <+bridge> [ddnet] ultimatum: also, are you using the auto update(the updater in the client) or steam version 13:11 <+ultimatum> i tried everything XD cant seem to complete the opening process of the client... 13:17 <+ultimatum> is there an application that visualizes all the content data? maybe that file is corrupted because i can open teeworld client just fine.. 13:21 <+bridge> [ddnet] well just try a complete clean client 13:22 <+bridge> [ddnet] extract the whole zip, rename the Teeworlds folder in APPDATA to Teeworlds_ 13:23 <+ultimatum> that works 13:24 <+bridge> [ddnet] the rename or the clean client? 13:24 <+ultimatum> but how hmmmm something is wrong with my teeworld file :( 13:24 <+ultimatum> yeah 13:24 <+bridge> [ddnet] yeah = 1 or 2? 13:24 <+ultimatum> yeah 1 13:24 <+ultimatum> rename 13:24 <+ultimatum> it works 13:25 <+ultimatum> i rename the file teeworlds to teeworlds_ 13:25 <+bridge> [ddnet] ok, if you want, zip the whole directory and upload it somewhere if it doesnt contain personal data, or try to find out what causes it 😄 13:25 <+ultimatum> roger that XD 13:25 <+ultimatum> thx Jupstar 13:26 <+bridge> [ddnet] @deen that was the 2nd report that the config directory was broken btw 13:28 <+ultimatum> ok it seems i narrowed it down 13:29 <+bridge> [ddnet] now im curious 😄 13:30 <+bridge> [ddnet] I don't understand why it breaks tbh 13:31 <+bridge> [ddnet] neither 13:31 <+ultimatum> ok the reason might be the two cfg files masters or settings_ddnet 13:31 <+bridge> [ddnet] so deleting one of them works? 13:32 <+ultimatum> putting my old setting_ddnet or masters seems to crash the client 13:32 <+bridge> [ddnet] if its settings_ddnet.cfg, it might be a specific setting 13:32 <+bridge> [ddnet] you can upload it if u want 13:33 <+ultimatum> where should i upload? 13:33 <+bridge> [ddnet] dunno github 13:33 <+ultimatum> ok 13:33 <+bridge> [ddnet] or just a PM to us 13:33 <+bridge> [ddnet] hes not discord 13:33 <@deen> but i'm on irc 13:33 <+bridge> [ddnet] ok 😄 13:33 <+ultimatum> I am also on discord btw 13:33 <+ultimatum> name is mike_ 13:40 <+bridge> [ddnet] I can reproduce a crash with @mike_ 's config 13:45 <+bridge> [ddnet] @mike_ you can remove the cl_text_entities_size 0 from your config to fix it 13:47 <+bridge> [ddnet] thx @deen 13:48 <+bridge> [ddnet] so thats the problem @deen ? 13:48 <+bridge> [ddnet] yes 13:48 <+bridge> [ddnet] then tag bannzay, its his config 13:48 <+bridge> [ddnet] just make the lower limit to 1 13:48 <+bridge> [ddnet] not 0 13:56 <+bridge> [ddnet] the json parser is really strange, it now crashed at client close bcs it deleted m_pDDNetInfo 14:23 <+bridge> [ddnet] @Jupstar ✪ any more info about the json parser crash? 14:24 <+bridge> [ddnet] Should we look into a new maybe better tested json library? 14:25 <+bridge> [ddnet] If there is one and it's easy enough to replace ours, sure 14:27 <+bridge> [ddnet] Well a drop-in replacement is unlikely, but there is cJSON which looks like its a small header like ours and still seems to be getting updated 14:27 <+bridge> [ddnet] If we don't mind a new dependency rapidjson and nlohmann/json look like modern c++ gotos for json 14:29 <+bridge> [ddnet] Ideally there's one that won't change interfaces in the next 10 years and we don't have to touch anything 14:30 <+bridge> [ddnet] Well idk anyone that can make such a promise but the standards commitee and I don't see json being part of stl for a while 14:31 <+bridge> [ddnet] i dunno @deen already closed, but the name "nameless tee" makes alot of trouble appearently 14:31 <+bridge> [ddnet] I guess anyone could make the promise, but I'd only trust such a promise from them :P 14:31 <+bridge> [ddnet] trouble? 14:31 <+bridge> [ddnet] because the info.json comes slowly? 14:32 <+bridge> [ddnet] no, bcs this null pointer i showed yesterday 14:33 <+bridge> [ddnet] and now it appearntly tried to free something invalidly 14:34 <+bridge> [ddnet] I guess we are just missing a null check somewhere where we use `m_pDDNetInfo` 17:09 <+bridge> [ddnet] Imagine teaching a computer networks course in 2020 but your first 4 lectures are all about obsolete stuff like ATM ISDN BISDN. Referring to ITU-T as CCITT. It’s like this guy is stuck in the 70s still pissed that virtual channels never took off 17:10 <+bridge> [ddnet] If it was up to him we’d have dialup netflix 17:28 <+bridge> [ddnet] :monkalaugh: 17:30 <+bridge> [ddnet] @Learath2 who doesnt love being capped at 64kb/s 17:31 <+bridge> [ddnet] We could probably have higher network speeds, it’d be very funny to only be able to receive as many services as there are phone lines at your house 17:31 <+bridge> [ddnet] Operator, connect line 4 at my house to netflix, and start playing narcos 17:31 <+bridge> [ddnet] :poggers: 17:32 <+bridge> [ddnet] Oh or maybe electomagnetic switching, like you call the station, press 4 for 4th line, 3 for netflix followed by the showid 17:33 <+bridge> [ddnet] <Дядя Женя> You can't call and switch simultaneously 17:35 <+bridge> [ddnet] You accidentally switch your last telephone line to netflix and they have to manually switch it back 18:49 <+bridge> [ddnet] @Learath2 the prof could just rename the course to "computer networks history" and keep his curriculum 19:07 <+bridge> [ddnet] Heh, that’d indeed be more accurate 19:08 <+bridge> [ddnet] His magnum opus is the slide titled “More Formally” which proceeds to write the throughput of the sliding window protocol in variables that he doesn’t define 19:10 <+bridge> [ddnet] I know it’s `T_tx/(T_tx + 2t_p)` yet I have no idea what T or t or p are 20:38 <+bridge> [ddnet] Making ddnet SAFE again 20:39 <+bridge> [ddnet] 🇺🇸 20:40 <+bridge> [ddnet] Lets build a wall to contain the leaks 20:40 <+bridge> [ddnet] And make them pay it with memory 20:40 <+bridge> [ddnet] :poggers: 20:44 <+bridge> [ddnet] is there any way to use custom x_ninja skins thru assets folder thingie 21:08 <+bridge> [ddnet] photoshop 21:08 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/767826606332575794/delete.psd 21:13 <+bridge> [ddnet] i tried delete part little and different of every (blocks entities) to be able seen top each other 21:14 <+bridge> [ddnet] but seems me still not know how make entities if any one see this good idea you can do it 21:15 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/767828244677394462/ddnet.png 21:15 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/767828372544946176/ddnet.png 21:16 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/767828437205254174/ddnet.png 21:21 <+bridge> [ddnet] <Дядя Женя> add rcon command `switch [ind] [state]` 21:25 <+bridge> [ddnet] <Дядя Женя> or idk 21:25 <+bridge> [ddnet] <Дядя Женя> Can u save switches with /r maybe 21:49 <+bridge> [ddnet] It gives me immense pleasure that we are finally tackling the UB and the memory leaks 22:04 <+bridge> [ddnet] <ᶰ°Konͧsti> HMM see tee in /spec but were in solo :O showothers is off 22:04 <+bridge> [ddnet] <ᶰ°Konͧsti> https://cdn.discordapp.com/attachments/293493549758939136/767840520353218630/screenshot_2020-10-19_22-03-24.png 22:24 <+bridge> [ddnet] @ᶰ°Konͧsti that sounds expect. when you're in pause/spec you see all tees 22:31 <+bridge> [ddnet] <ᶰ°Konͧsti> im not in pause as u can see 22:31 <+bridge> [ddnet] <ᶰ°Konͧsti> ok u dont see much in The screen but there is the outline of a tee xd 22:32 <+bridge> [ddnet] ok 22:32 <+bridge> [ddnet] can reproduce 22:49 <+bridge> [ddnet] Hm, no, actually can't reproduce 22:50 <+bridge> [ddnet] code looks correct too 22:50 <+bridge> [ddnet] maybe you have dummy connected too? 22:54 <+bridge> [ddnet] @ᶰ°Konͧsti latest client right 22:54 <+bridge> [ddnet] xd 22:55 <+bridge> [ddnet] it is determined by server whether you see speced tees, not client I htink 23:05 <+bridge> [ddnet] @deen `previously allocated by thread T2 here: 23:05 <+bridge> [ddnet] #0 0x55f93f94f579 in malloc (/media/ddnet/DDNet+0x8ec579) 23:05 <+bridge> [ddnet] #1 0x7fd6231802ba in CRYPTO_zalloc (/usr/lib/libcrypto.so.1.1+0x1812ba) 23:05 <+bridge> [ddnet] ` 23:05 <+bridge> [ddnet] is that like a trace? 23:05 <+bridge> [ddnet] https://github.com/ddnet/ddnet/issues/1 23:08 <+bridge> [ddnet] https://git-scm.com/docs/hash-function-transition/ 23:08 <+bridge> [ddnet] did u know git is trying to transition from sha-1 to sha-256 23:08 <+bridge> [ddnet] found about this here https://github.blog/2020-10-19-git-2-29-released/ 23:15 <+bridge> [ddnet] i have a suggestion: add "Show downloaded skins" in Tee menu 23:33 <+bridge> [ddnet] @gerdoe why? 23:34 <+bridge> [ddnet] why should i manually replace whole folder to get skins from db? 😄 23:35 <+bridge> [ddnet] just copy and paste 23:35 <+bridge> [ddnet] if we load them all into memory it's not so great for loading time and memory usage 23:35 <+bridge> [ddnet] so i'd prefer not to 23:36 <+bridge> [ddnet] it's joke, nvm, it would be pretty cool to see skins ingame instead of manual checking