On 06.11.2010 17:14, Enrico Zini wrote:
I asked Xapian upstreams, and they'd like to see a C++ backtrace. It
should be obtainable in this way:

# gdb --args python /usr/sbin/update-apt-xapian-index --update --quiet
(gdb) catch throw
(gdb) run
[it will stop just before throwing the exception]
(gdb) where

The "where" command should print the C++ backtrace.

linus:/home/jan# gdb --args python /usr/sbin/update-apt-xapian-index --update --quiet
GNU gdb (GDB) 7.2-debian
Copyright (C) 2010 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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/python...(no debugging symbols found)...done.
(gdb) catch throw
Function "__cxa_throw" not defined.
Catchpoint 1 (throw)
(gdb) run
Starting program: /usr/bin/python /usr/sbin/update-apt-xapian-index --update --quiet
[Thread debugging using libthread_db enabled]
Catchpoint 1 (exception thrown), 0xb750d515 in __cxa_throw ()
   from /usr/lib/libstdc++.so.6
(gdb) where
#0  0xb750d515 in __cxa_throw () from /usr/lib/libstdc++.so.6
#1  0xb74a3eef in std::__throw_length_error(char const*) ()
   from /usr/lib/libstdc++.so.6
#2 0xb74e9d82 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(char const*, unsigned int) () from /usr/lib/libstdc++.so.6 #3 0xb7622f7b in FlintCursor::get_key(std::basic_string<char, std::char_traits<char>, std::allocator<char> >*) const () from /usr/lib/libxapian.so.22
#4  0xb7623c7f in FlintCursor::next() () from /usr/lib/libxapian.so.22
#5  0xb761ed55 in ?? () from /usr/lib/libxapian.so.22
#6  0xb758f7ab in Xapian::PostingIterator::operator++() ()
   from /usr/lib/libxapian.so.22
#7 0xb7752e17 in ?? () from /usr/lib/python2.6/dist-packages/xapian/_xapian.so
#8  0x080e1968 in PyEval_EvalFrameEx ()
#9  0x080e2507 in PyEval_EvalCodeEx ()
#10 0x0816b80c in ?? ()
#11 0x0806232a in PyObject_Call ()
#12 0x0806a311 in ?? ()
#13 0x0806232a in PyObject_Call ()
#14 0x080b14d3 in ?? ()
#15 0x080b16d9 in ?? ()
#16 0x08169041 in ?? ()
#17 0x080dce2c in PyEval_EvalFrameEx ()
#18 0x080e18b0 in PyEval_EvalFrameEx ()
---Type <return> to continue, or q <return> to quit---

Hope you can do something with this, I've no idea whats happening here :-)

Greetings,

Jan





--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to