AyushP123

gdb_result

May 21st, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.94 KB | None | 0 0
  1. 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
  2. GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
  3. Copyright (C) 2016 Free Software Foundation, Inc.
  4. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  5. This is free software: you are free to change and redistribute it.
  6. There is NO WARRANTY, to the extent permitted by law. Type "show copying"
  7. and "show warranty" for details.
  8. This GDB was configured as "x86_64-linux-gnu".
  9. Type "show configuration" for configuration details.
  10. For bug reporting instructions, please see:
  11. <http://www.gnu.org/software/gdb/bugs/>.
  12. Find the GDB manual and other documentation resources online at:
  13. <http://www.gnu.org/software/gdb/documentation/>.
  14. For help, type "help".
  15. Type "apropos word" to search for commands related to "word"...
  16. Reading symbols from /home/ayush/Desktop/xapian-patch/xapian/xapian-letor/bin/.libs/lt-xapian-prepare-trainingfile...done.
  17. (gdb) run
  18. 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
  19. [Thread debugging using libthread_db enabled]
  20. Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  21. Done
  22. Done1
  23. Machine Learning 16 20001
  24.  
  25. Program received signal SIGSEGV, Segmentation fault.
  26. 0x00007ffff792ad80 in TermGroup::as_group (this=0x626ed0,
  27. state=state@entry=0x7fffffffd2e0) at queryparser/queryparser.lemony:1586
  28. 1586 if (stopper && (*stopper)((*i)->name)) {
  29. (gdb) backtrace
  30. #0 0x00007ffff792ad80 in TermGroup::as_group (this=0x626ed0,
  31. state=state@entry=0x7fffffffd2e0) at queryparser/queryparser.lemony:1586
  32. #1 0x00007ffff792cc1e in yy_reduce (yypParser=yypParser@entry=0x626e30,
  33. yyruleno=37) at queryparser/queryparser.lemony:2116
  34. #2 0x00007ffff792dbdb in Parse (yypParser=yypParser@entry=0x626e30,
  35. yymajor=yymajor@entry=0, yyminor=yyminor@entry=0x0,
  36. state=state@entry=0x7fffffffd2e0)
  37. at queryparser/queryparser_internal.cc:3142
  38. #3 0x00007ffff792f44a in Xapian::QueryParser::Internal::parse_query (
  39. this=0x627060, qs="Machine Learning", flags=flags@entry=135,
  40. default_prefix="") at queryparser/queryparser.lemony:1390
  41. #4 0x00007ffff7925a54 in Xapian::QueryParser::parse_query (
  42. this=this@entry=0x7fffffffd5f0, query_string="Machine Learning",
  43. flags=flags@entry=135, default_prefix="") at queryparser/queryparser.cc:165
  44. #5 0x00007ffff7bca857 in Xapian::prepare_training_file (
  45. db_path="/home/ayush/Documents/data/db",
  46. queryfile="/home/ayush/Documents/data/query.txt",
  47. qrel_file="/home/ayush/Documents/data/qrel.txt",
  48. msetsize=msetsize@entry=10,
  49. filename="/home/ayush/Documents/data/sample3.txt", flist=...)
  50. at ranker/ranker.cc:277
  51. #6 0x00000000004013a9 in main (argc=<optimized out>, argv=<optimized out>)
  52. at bin/xapian-prepare-trainingfile.cc:108
  53. (gdb) frame 3
  54. #3 0x00007ffff792f44a in Xapian::QueryParser::Internal::parse_query (
  55. this=0x627060, qs="Machine Learning", flags=flags@entry=135,
  56. default_prefix="") at queryparser/queryparser.lemony:1390
  57. 1390 Parse(pParser, 0, NULL, &state);
  58. (gdb) print pParser
  59. $1 = {parser = 0x626e30}
  60. (gdb) print state
  61. $2 = {qpi = 0x627060, query = {internal = {px = 0x0}, static MatchNothing = {internal = {px = 0x0},
  62. static MatchNothing = <same as static member of an already seen type>, static MatchAll = {internal = {px = 0x614c20},
  63. static MatchNothing = <same as static member of an already seen type>,
  64. static MatchAll = <same as static member of an already seen type>}},
  65. static MatchAll = <same as static member of an already seen type>}, error = 0x0, flags = 135}
Add Comment
Please, Sign In to add comment