Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ayush@ayush:~/Desktop/xapian-patch/xapian/xapian-letor/bin$ libtool --mode=execute gdb --args ./xapian-prepare-trainingfile --db=/home/ayush/Documents/data/db /home/ayush/Documents/data/query.txt /home/ayush/Documents/data/qrel.txt /home/ayush/Documents/data/sample3.txt
- GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
- 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 /home/ayush/Desktop/xapian-patch/xapian/xapian-letor/bin/.libs/lt-xapian-prepare-trainingfile...done.
- (gdb) run
- Starting program: /home/ayush/Desktop/xapian-patch/xapian/xapian-letor/bin/.libs/lt-xapian-prepare-trainingfile --db=/home/ayush/Documents/data/db /home/ayush/Documents/data/query.txt /home/ayush/Documents/data/qrel.txt /home/ayush/Documents/data/sample3.txt
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
- Done
- Done1
- Machine Learning 16 20001
- Program received signal SIGSEGV, Segmentation fault.
- 0x00007ffff792ad80 in TermGroup::as_group (this=0x626ed0,
- state=state@entry=0x7fffffffd2e0) at queryparser/queryparser.lemony:1586
- 1586 if (stopper && (*stopper)((*i)->name)) {
- (gdb) backtrace
- #0 0x00007ffff792ad80 in TermGroup::as_group (this=0x626ed0,
- state=state@entry=0x7fffffffd2e0) at queryparser/queryparser.lemony:1586
- #1 0x00007ffff792cc1e in yy_reduce (yypParser=yypParser@entry=0x626e30,
- yyruleno=37) at queryparser/queryparser.lemony:2116
- #2 0x00007ffff792dbdb in Parse (yypParser=yypParser@entry=0x626e30,
- yymajor=yymajor@entry=0, yyminor=yyminor@entry=0x0,
- state=state@entry=0x7fffffffd2e0)
- at queryparser/queryparser_internal.cc:3142
- #3 0x00007ffff792f44a in Xapian::QueryParser::Internal::parse_query (
- this=0x627060, qs="Machine Learning", flags=flags@entry=135,
- default_prefix="") at queryparser/queryparser.lemony:1390
- #4 0x00007ffff7925a54 in Xapian::QueryParser::parse_query (
- this=this@entry=0x7fffffffd5f0, query_string="Machine Learning",
- flags=flags@entry=135, default_prefix="") at queryparser/queryparser.cc:165
- #5 0x00007ffff7bca857 in Xapian::prepare_training_file (
- db_path="/home/ayush/Documents/data/db",
- queryfile="/home/ayush/Documents/data/query.txt",
- qrel_file="/home/ayush/Documents/data/qrel.txt",
- msetsize=msetsize@entry=10,
- filename="/home/ayush/Documents/data/sample3.txt", flist=...)
- at ranker/ranker.cc:277
- #6 0x00000000004013a9 in main (argc=<optimized out>, argv=<optimized out>)
- at bin/xapian-prepare-trainingfile.cc:108
- (gdb) frame 3
- #3 0x00007ffff792f44a in Xapian::QueryParser::Internal::parse_query (
- this=0x627060, qs="Machine Learning", flags=flags@entry=135,
- default_prefix="") at queryparser/queryparser.lemony:1390
- 1390 Parse(pParser, 0, NULL, &state);
- (gdb) print pParser
- $1 = {parser = 0x626e30}
- (gdb) print state
- $2 = {qpi = 0x627060, query = {internal = {px = 0x0}, static MatchNothing = {internal = {px = 0x0},
- static MatchNothing = <same as static member of an already seen type>, static MatchAll = {internal = {px = 0x614c20},
- static MatchNothing = <same as static member of an already seen type>,
- static MatchAll = <same as static member of an already seen type>}},
- static MatchAll = <same as static member of an already seen type>}, error = 0x0, flags = 135}
Add Comment
Please, Sign In to add comment