Guild icon
DDraceNetwork
Development / bugs
Report client & server bugs, especially but not limited to release candidates.
Between 2023-08-26 00:00:00Z and 2023-08-27 00:00:00Z
Avatar
I have a problem when I go to ddnet v and press any button, it freezes completely
00:47
game launcher once in a while
Avatar
Avatar
Logik
I have a problem when I go to ddnet v and press any button, it freezes completely
Jupstar βœͺ 2023-08-26 06:00:47Z
In settings-> graphics Which renderer is selected
Avatar
Avatar
heinrich5991
Click to see attachment πŸ–ΌοΈ
Jupstar βœͺ 2023-08-26 06:17:40Z
Can't rep. The only potential change by us i can think of is 58927cdc8d2854dba1575f233c20484ebf5a5a93 If it's easy to reproduce for u. You could try one commit before
Avatar
Avatar
estguy
never had this issue before
This happens just 1 time when you change your IP address, then no more, maybe you rebooted your modem during the last day? Or your ISP changed your IP for some reasons (edited)
06:22
Btw it can take up to 30 seconds, but usually not more than 15, the anti-DDoS filter has some random parts (edited)
Avatar
wanted to play around a bit unsure if this is a real server setting but whenever i click the garbage it crashes my game..
Avatar
Avatar
Steinchen
wanted to play around a bit unsure if this is a real server setting but whenever i click the garbage it crashes my game..
Do you have a crash log in your dumps folder?
08:44
It's a tuning, so you need tune jetpack_strength 800 if you want it to have an effect
08:46
Can't reproduce the crash though, I need the crash log
Avatar
If I want to copy the quad color with ctrl c and v, it copy the quad but not the color I want
09:27
I want just the color, not the whole quad again
09:28
Can't u bring back the copy thing without ctrl c v @Robyt3 ?it was better imo
09:28
Just square around and done
Avatar
The discussion is at https://github.com/ddnet/ddnet/issues/7025, not sure if @marmare_314 decided what to do yet
Avatar
Avatar
Robyt3
Do you have a crash log in your dumps folder?
Nah. folder is empty completely
Avatar
Is this normal release/steam version or did you build it yourself?
09:51
OS?
Avatar
Avatar
Robyt3
OS?
Linux I built it myself
Avatar
Ah, yeah, the crash logs are only on Windows
09:52
Then you could try running it with gdb to get a backtrace for the crash
Avatar
Avatar
Robyt3
Then you could try running it with gdb to get a backtrace for the crash
Uhm, if you don't mind, could you help me backtrace?
Avatar
Did you reach the crash already?
10:02
How much do you know about running gdb?
Avatar
Avatar
Robyt3
How much do you know about running gdb?
Absolutely nothing, Im quite new to Linux
Avatar
Avatar
Steinchen
Absolutely nothing, Im quite new to Linux
1. Open terminal in the folder with DDNet 2. gdb DDNet 3. r to run 4. Use the client until the crash, then go back to the terminal 5. bt to get a backtrace or bt -full to get a full backtrace 6. At some point: q to get out of gdb
Avatar
Avatar
Robyt3
1. Open terminal in the folder with DDNet 2. gdb DDNet 3. r to run 4. Use the client until the crash, then go back to the terminal 5. bt to get a backtrace or bt -full to get a full backtrace 6. At some point: q to get out of gdb
Does anything have to pop up after I do gdb DDNet?
10:12
or.. atleast before i run it
Avatar
it should output things in the console
10:13
but the program only starts when you do r
10:13
you should have a (gdb) command prompt inside gdb (edited)
Avatar
no output, nothing
Avatar
Does running just gdb work?
10:16
What does which gdb output?
Avatar
/usr/bin/gdb
10:16
Just gdb works totally fine
10:17
after typing gdb (edited)
Avatar
You can also use file DDNet from inside gdb
10:17
That should output Reading symbols from DDNet...
Avatar
Yes, correct
Avatar
So now you should be able to run with r
10:18
Weird that it doesn't work when you specify the file as argument when launching gdb
Avatar
Avatar
Robyt3
Weird that it doesn't work when you specify the file as argument when launching gdb
It also made my mouse unmoveable also, the game didnt crash, it just froze with gdb
10:27
Sorry for pulling out the camera πŸ₯²
Avatar
Avatar
Steinchen
It also made my mouse unmoveable also, the game didnt crash, it just froze with gdb
yeah, that's correct, it stops at the point of the crash
10:27
you can now use bt to get a backtrace
10:28
or bt -full for a full backtrace (will be multiple pages long)
Avatar
But i should still be able to move my cursor, correct?
10:28
bt -full only output what's visible in the picture tho
Avatar
Ah, so you didn't compile with debug information it seems
10:29
You mean your mouse is locked up completely or ingame?
10:29
Ingame would be expected
10:29
Not sure how to solve the issue if it's locked up globally, I think someone else also had that
Avatar
completely, had trouble even navigating thru tabs
Avatar
Maybe it helps switching between OpenGL<->Vulkan
10:31
@Kaffeine Did you find a solution for gdb causing the mouse to freeze up globally when reaching a breakpoint/crash? I think you also had that issue before.
Avatar
Avatar
Robyt3
@Kaffeine Did you find a solution for gdb causing the mouse to freeze up globally when reaching a breakpoint/crash? I think you also had that issue before.
Jupstar βœͺ 2023-08-26 10:32:33Z
i can give you a workaround for that
10:32
but only for lldb
10:32
for KDE, you can also use a minimize script
10:33
but for x11 i can give a fully working solution
Avatar
@Steinchen Do you know which Window Manager you use?
Avatar
im fairly sure I have KDE
Avatar
Avatar
Steinchen
im fairly sure I have KDE
Jupstar βœͺ 2023-08-26 10:34:04Z
10:34
then u can use META+D
10:34
if another global shortcut uses META+D, delete that
10:35
10:35
MinimizeAll
Avatar
Jupstar βœͺ 2023-08-26 10:35:50Z
yes enable that
10:35
then add the shortcut
10:35
like in second pic
Avatar
Where exactly?
Avatar
Avatar
Steinchen
Where exactly?
Jupstar βœͺ 2023-08-26 10:38:31Z
searhc for minimizeall
10:38
i just searched META+D to find the name xD
Avatar
Oh justatest (edited)
10:39
The shortcut is set (edited)
10:39
almost like a panic button if mama comes home early
Avatar
Avatar
Steinchen
Where exactly?
Jupstar βœͺ 2023-08-26 10:39:47Z
remove the Peek At desktop
10:39
if it's still set
10:39
they cancel each other out
Avatar
Avatar
Robyt3
@Kaffeine Did you find a solution for gdb causing the mouse to freeze up globally when reaching a breakpoint/crash? I think you also had that issue before.
I use the workaround suggested by @Jupstar βœͺ (https://discord.com/channels/252358080522747904/293493549758939136/1079132239473938442) and I could not find any other working solution.
Avatar
Avatar
Kaffeine
I use the workaround suggested by @Jupstar βœͺ (https://discord.com/channels/252358080522747904/293493549758939136/1079132239473938442) and I could not find any other working solution.
Jupstar βœͺ 2023-08-26 10:40:19Z
i'll pr one for x11
πŸ”₯ 1
10:40
that automatically frees the mouse
β™₯️ 1
10:40
gimme a few minutes
10:40
or if anyone knows python: tell me how to find out if a exec exists and if you are on x11 xD
Avatar
Maybe you can check env var? XDG_SESSION_TYPE
Avatar
Jupstar βœͺ 2023-08-26 10:42:43Z
i guess so
10:42
stuff GPT is good enough for 😏
Avatar
The fallback solution is to check if DISPLAY is defined and WAYLAND_DISPLAY is not defined.
Avatar
Jupstar βœͺ 2023-08-26 10:56:07Z
This will automatically free your mouse when a breakpoint is hit under x11, using LLDB I also added it to the workspace so it works out of the box there. If you prefer to manually do, or not use th...
Avatar
meta + d doesnt help for me
Avatar
Avatar
Jupstar βœͺ
remove the Peek At desktop
Jupstar βœͺ 2023-08-26 11:11:57Z
@Steinchen did u make sure this is gone?
11:12
only minimizeall is allowed to have META+D shortcut
11:12
i use it since forever and i never had it not working xd
Avatar
In any case, you should also recompile your client with debug information so get a useful backtrace
Avatar
Avatar
Jupstar βœͺ
@Steinchen did u make sure this is gone?
Correct
11:15
Let me try again..
Avatar
Avatar
Steinchen
Let me try again..
Jupstar βœͺ 2023-08-26 11:16:01Z
i mean does it minize everything once u click the bind? πŸ˜„
11:16
then it shouldℒ️ do the correct thing
Avatar
Thread 1 "DDNet" received signal SIGABRT, Aborted. 0x00007ffff508e83c in ?? () from /usr/lib/libc.so.6 (gdb) bt #0 0x00007ffff508e83c in () at /usr/lib/libc.so.6 #1 0x00007ffff503e668 in raise () at /usr/lib/libc.so.6 #2 0x00007ffff50264b8 in abort () at /usr/lib/libc.so.6 #3 0x00007ffff54dd3b2 in std::__glibcxx_assert_fail(char const*, int, char const*, char const*) (file=<optimized out>, line=<optimized out>, function=<optimized out>, condition=<optimized out>) at /usr/src/debug/gcc/gcc/libstdc++-v3/src/c++11/debug.cc:61 #4 0x00005555557dca28 in () #5 0x00005555557f6b1a in () #6 0x00005555557f6c9b in () #7 0x000055555568831e in () #8 0x000055555559cc9d in () #9 0x00007ffff5027cd0 in () at /usr/lib/libc.so.6 #10 0x00007ffff5027d8a in __libc_start_main () at /usr/lib/libc.so.6 #11 0x000055555559e7e5 in () (gdb)
11:22
@Robyt3 ^
Avatar
Avatar
Steinchen
Thread 1 "DDNet" received signal SIGABRT, Aborted. 0x00007ffff508e83c in ?? () from /usr/lib/libc.so.6 (gdb) bt #0 0x00007ffff508e83c in () at /usr/lib/libc.so.6 #1 0x00007ffff503e668 in raise () at /usr/lib/libc.so.6 #2 0x00007ffff50264b8 in abort () at /usr/lib/libc.so.6 #3 0x00007ffff54dd3b2 in std::__glibcxx_assert_fail(char const*, int, char const*, char const*) (file=<optimized out>, line=<optimized out>, function=<optimized out>, condition=<optimized out>) at /usr/src/debug/gcc/gcc/libstdc++-v3/src/c++11/debug.cc:61 #4 0x00005555557dca28 in () #5 0x00005555557f6b1a in () #6 0x00005555557f6c9b in () #7 0x000055555568831e in () #8 0x000055555559cc9d in () #9 0x00007ffff5027cd0 in () at /usr/lib/libc.so.6 #10 0x00007ffff5027d8a in __libc_start_main () at /usr/lib/libc.so.6 #11 0x000055555559e7e5 in () (gdb)
Jupstar βœͺ 2023-08-26 11:22:54Z
u have to enable debug mode
Avatar
Avatar
Jupstar βœͺ
then it shouldℒ️ do the correct thing
thanks , works now :D seems like
Avatar
Jupstar βœͺ 2023-08-26 11:23:13Z
cmake .. -DCMAKE_BUILD_TYPE=Debug
Avatar
.. = placeholder?
Avatar
Jupstar βœͺ 2023-08-26 11:23:36Z
this is the command
11:23
as is (edited)
Avatar
The command assume you run it from the build folder
11:23
.. means the parent folder, which should be the ddnet folder
Avatar
Jupstar βœͺ 2023-08-26 11:24:34Z
oh yeah i havent followed your conversation, but if u somewhere used cmake in the process, replace that with this xd
Avatar
Eh..? (edited)
Avatar
That's not the ddnet repo, is it?
11:30
You should have a ddnet folder with CMakeLists.txt and the rest of the source code inside
11:30
Inside that folder should be a build folder
11:30
Open the terminal inside that build folder and run exactly cmake .. -DCMAKE_BUILD_TYPE=Debug
Avatar
Avatar
Robyt3
Open the terminal inside that build folder and run exactly cmake .. -DCMAKE_BUILD_TYPE=Debug
Im getting extremely confused now. πŸ˜…
Avatar
Avatar
Steinchen
Im getting extremely confused now. πŸ˜…
Jupstar βœͺ 2023-08-26 11:40:41Z
how did u ever compile ddnet
11:40
what guide did u follow
Avatar
Avatar
Jupstar βœͺ
how did u ever compile ddnet
im actually unsure what I have done to do that I remember there being something on github ?
Avatar
Avatar
Steinchen
im actually unsure what I have done to do that I remember there being something on github ?
Jupstar βœͺ 2023-08-26 11:44:36Z
yes, and that guide probably had a cmake .. in it
11:44
and that is the one to replace πŸ˜‰
11:44
To compile DDNet yourself, execute the following commands in the source root: mkdir build cd build cmake .. make -j$(nproc)
Avatar
Yea pretty sure I did that Do I have to do it again but with the other cmake thing?
Avatar
Jupstar βœͺ 2023-08-26 11:45:30Z
yes
11:45
except the mkdir build
11:45
that already exists πŸ˜„
11:45
cmake .. -DCMAKE_BUILD_TYPE=Debug
Avatar
source root = cd ~/.teeworlds ? (edited)
Avatar
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
11:47
This is the source root
11:47
Either download as zip or use git clone to clone it
Avatar
Im getting super confused. I will have the same client tho?
Avatar
Yes, the newest version of it
11:49
Unless you changed something yourself in the source code and then compiled it yourself
Avatar
Avatar
Steinchen
Im getting super confused. I will have the same client tho?
Jupstar βœͺ 2023-08-26 11:55:19Z
but a debug version so if u use it for playing use cmake .. -DCMAKE_BUILD_TYPE=Release afterwards again
11:55
to switch back to release mode
Avatar
Sorry for the late respones
Avatar
Avatar
Steinchen
Sorry for the late respones
Jupstar βœͺ 2023-08-26 12:04:14Z
lmao cd ddnet/build
12:04
cmake .. -DCMAKE_BUILD_TYPE=Debug make -j$(nproc)
12:05
u didnt need to clone it again πŸ˜„
Avatar
Avatar
Jupstar βœͺ
i'll pr one for x11
i'll pr one for x11 that automatically frees the mouse
πŸŽ‰
https://github.com/ddnet/ddnet/pull/7070 for Microsoft Visual Studio Code
Oh well. πŸ˜•
Avatar
Avatar
Kaffeine
i'll pr one for x11 that automatically frees the mouse
πŸŽ‰
https://github.com/ddnet/ddnet/pull/7070 for Microsoft Visual Studio Code
Oh well. πŸ˜•
Jupstar βœͺ 2023-08-26 12:51:24Z
it also works with vscodium
12:51
which is without ms stuff πŸ˜„
Avatar
I found another easter egg
Avatar
Avatar
Ravie
I found another easter egg
It means your map is too big, at least right now
14:01
The limit could be removed, then only old clients would not be able to resave the too large maps
Avatar
yeah not surprised, it has 1000 envelopes xD
Avatar
Reading the largers maps should not actually be an issue unless the size in memory is too large
14:02
There is just a fixed limit on the number of map items and data elements (each 1024) that can be written to the map (edited)
Avatar
the map is made with twmap and it loads just fine, but can't edit and save it in the client
Avatar
Removing this limit is on my TODO list, but not as high as reworking the server browser
Avatar
ΣŽΔ›Ε‚ΕΖž 2023-08-26 14:14:09Z
ger10 is currently experiencing, either big big server issues, or ddos
14:14
DDNet GER10 [ger10.ddnet.org whitelist] - Brutal Address: ddnet://45.141.57.22:8335 My IGN: ΣŽΔ›Ε‚ΕΖž everyone's scared of timeouting πŸ˜„
Avatar
45.141.57.22:8335 is an official DDNet server. <steam://run/412220//45.141.57.22:8335>/
Avatar
Avatar
Robyt3
The discussion is at https://github.com/ddnet/ddnet/issues/7025, not sure if @marmare_314 decided what to do yet
I will create a PR reverting this later. I still like the idea but a lot more thought would have to be put into it to make it work nicely
πŸ‘ 1
Avatar
Thread 1 "DDNet" received signal SIGABRT, Aborted. 0x00007ffff508e83c in ?? () from /usr/lib/libc.so.6 (gdb) bt #0 0x00007ffff508e83c in () at /usr/lib/libc.so.6 #1 0x00007ffff503e668 in raise () at /usr/lib/libc.so.6 #2 0x00007ffff50264b8 in abort () at /usr/lib/libc.so.6 #3 0x00007ffff54dd3b2 in std::__glibcxx_assert_fail(char const*, int, char const*, char const*) (file=<optimized out>, line=<optimized out>, function=<optimized out>, condition=<optimized out>) at /usr/src/debug/gcc/gcc/libstdc++-v3/src/c++11/debug.cc:61 #4 0x00005555557dca28 in () #5 0x00005555557f6b1a in () #6 0x00005555557f6c9b in () #7 0x000055555568831e in () #8 0x000055555559cc9d in () #9 0x00007ffff5027cd0 in () at /usr/lib/libc.so.6 #10 0x00007ffff5027d8a in __libc_start_main () at /usr/lib/libc.so.6 #11 0x000055555559e7e5 in ()
15:31
@Robyt3 is this correct?
15:31
I followed all the steps by Jupstar
Avatar
It's not :D
Avatar
Why not!
15:31
:D
Avatar
Jupstar βœͺ 2023-08-26 15:32:45Z
lmao
Avatar
no symbols
15:32
everything is optimized out xd
Avatar
Avatar
Steinchen
Thread 1 "DDNet" received signal SIGABRT, Aborted. 0x00007ffff508e83c in ?? () from /usr/lib/libc.so.6 (gdb) bt #0 0x00007ffff508e83c in () at /usr/lib/libc.so.6 #1 0x00007ffff503e668 in raise () at /usr/lib/libc.so.6 #2 0x00007ffff50264b8 in abort () at /usr/lib/libc.so.6 #3 0x00007ffff54dd3b2 in std::__glibcxx_assert_fail(char const*, int, char const*, char const*) (file=<optimized out>, line=<optimized out>, function=<optimized out>, condition=<optimized out>) at /usr/src/debug/gcc/gcc/libstdc++-v3/src/c++11/debug.cc:61 #4 0x00005555557dca28 in () #5 0x00005555557f6b1a in () #6 0x00005555557f6c9b in () #7 0x000055555568831e in () #8 0x000055555559cc9d in () #9 0x00007ffff5027cd0 in () at /usr/lib/libc.so.6 #10 0x00007ffff5027d8a in __libc_start_main () at /usr/lib/libc.so.6 #11 0x000055555559e7e5 in ()
Jupstar βœͺ 2023-08-26 15:34:48Z
let's try again: open a terminal where src, scripts etc is in so the source root directory then write
15:35
rm -R build mkdir build cd build cmake .. -DCMAKE_BUILD_TYPE=Debug make -j20
15:35
then do file DDNet and show the output here
Avatar
Avatar
Steinchen
Click to see attachment πŸ–ΌοΈ
Jupstar βœͺ 2023-08-26 15:40:48Z
you are not in ddnet source dir
Avatar
Ah thats what you meant :D
Avatar
Jupstar βœͺ 2023-08-26 15:41:17Z
this one basically πŸ˜„
15:41
there you open the terminal
15:41
press shift + f4
15:41
inside that dir
15:41
then it opens a terminal for you
Avatar
Avatar
Jupstar βœͺ
rm -R build mkdir build cd build cmake .. -DCMAKE_BUILD_TYPE=Debug make -j20
Jupstar βœͺ 2023-08-26 15:42:09Z
then do all these commands
15:55
SPOILER
Image attachment
Avatar
After following these steps by furo cd ~/ rm -rf ddnet git clone https://github.com/ddnet/ddnet cd ddnet mkdir build cd build cmake .. -DCMAKE_BUILD_TYPE=Debug make -j5 gdb ./DDNet I couldn't reproduce it
Avatar
Jupstar βœͺ 2023-08-26 16:18:15Z
try RelWithDebInfo instead of Debug
Avatar
we have no idea when he compiled his ddnet
21:00
it could be weeks old
21:00
if he cloned again then we wouldn't know which rev the broken version was
Avatar
Avatar
Jupstar βœͺ
rm -R build mkdir build cd build cmake .. -DCMAKE_BUILD_TYPE=Debug make -j20
pro tip: portable version cmake --build build --target clean # replaces rm -R build cmake . -B build -DCMAKE_BUILD_TYPE=Debug # replaces mkdir build, # cd build, # cmake .. -DCMAKE_BUILD_TYPE=Debug cmake --build build --parallel # replaces make -j20 (edited)
21:07
πŸ˜ƒ
21:08
should work on all shells and cmake generators
Avatar
Jupstar βœͺ 2023-08-26 21:12:48Z
My brain can't remember that xd
Avatar
it's fewer commands
Exported 189 message(s)