Skip to content

Instantly share code, notes, and snippets.

@jakobrs
Created February 8, 2020 13:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jakobrs/d95287667efaef0a55472ab94fdbe53e to your computer and use it in GitHub Desktop.
Save jakobrs/d95287667efaef0a55472ab94fdbe53e to your computer and use it in GitHub Desktop.
GNU gdb (GDB) 8.3.1
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./result-bin/bin/VVVVVV...
(No debugging symbols found in ./result-bin/bin/VVVVVV)
(gdb) run
Starting program: /nix/store/gckxxg5c6ma0cgwpli8d2m3pl975w3v5-vvvvvv-bin-unstable-2020-02-02/bin/VVVVVV
To enable execution of this file add
add-auto-load-safe-path /nix/store/5zzgkw8f7p4514bbmr018fyyyvpd46kp-gcc-9.2.0-lib/lib/libstdc++.so.6.0.27-gdb.py
line to your configuration file "/home/jakob/.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "/home/jakob/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
info "(gdb)Auto-loading safe path"
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/nix/store/y9zg6ryffgc5c9y67fcmfdkyyiivjzpj-glibc-2.27/lib/libthread_db.so.1".
[New Thread 0x7ffff68fb700 (LWP 9936)]
[New Thread 0x7fffe6516700 (LWP 9937)]
Thread 1 "VVVVVV" received signal SIGSEGV, Segmentation fault.
0x00000000005947a4 in split(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&) ()
(gdb) quit
A debugging session is active.
Inferior 1 [process 9932] will be killed.
Quit anyway? (y or n) y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment