dumps
folder?tune jetpack_strength 800
if you want it to have an effectdumps
folder? gdb
to get a backtrace for the crashgdb
to get a backtrace for the crash gdb
?gdb
? 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
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
gdb DDNet?
r
(gdb)
command prompt inside gdb
(edited)gdb
work?which gdb
output?gdb
works totally finefile DDNet
from inside gdb
Reading symbols from DDNet...
r
bt
to get a backtracebt -full
for a full backtrace (will be multiple pages long)gdb
causing the mouse to freeze up globally when reaching a breakpoint/crash? I think you also had that issue before.gdb
causing the mouse to freeze up globally when reaching a breakpoint/crash? I think you also had that issue before. MinimizeAll
gdb
causing the mouse to freeze up globally when reaching a breakpoint/crash? I think you also had that issue before. XDG_SESSION_TYPE
DISPLAY
is defined and WAYLAND_DISPLAY
is not defined.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)
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)
..
means the parent folder, which should be the ddnet
folderddnet
folder with CMakeLists.txt
and the rest of the source code insidebuild
folderbuild
folder and run exactly cmake .. -DCMAKE_BUILD_TYPE=Debug
build
folder and run exactly cmake .. -DCMAKE_BUILD_TYPE=Debug
cmake ..
in itThread 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 ()
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 ()
src
, scripts
etc is in
so the source root directory
then writerm -R build
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug
make -j20
file DDNet
and show the output hererm -R build
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug
make -j20
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 itrm -R build
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug
make -j20
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)