Skip to content

Instantly share code, notes, and snippets.

@andy5995
Created November 27, 2017 01:25
Show Gist options
  • Save andy5995/7aa051a70e3bf56fb6a6c08ac3e28625 to your computer and use it in GitHub Desktop.
Save andy5995/7aa051a70e3bf56fb6a6c08ac3e28625 to your computer and use it in GitHub Desktop.
andy@oceanus:~/src/htdig/testing/cgi-bin$ gdb htsearch
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 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-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 htsearch...done.
(gdb) run
Starting program: /home/andy/src/htdig/testing/cgi-bin/htsearch
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Enter value for words: witch
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7bcf835 in Endings::Endings (this=0x5555557bf680, config_arg=...)
at Endings.cc:36
36 strcpy (name, "endings");
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment