On Tue, Aug 10, 2010 at 11:53:06AM +0200, Jan Schulz wrote:

>    > Do you get the same error outside of cron, by running, as root:
>    >
>    >   /usr/sbin/update-apt-xapian-index --update --quiet
>    Yes:
>    linus:/home/jan# /usr/sbin/update-apt-xapian-index --update --quiet
>    Traceback (most recent call last):
>      File "/usr/sbin/update-apt-xapian-index", line 102, in <module>
>        indexer.incrementalUpdate()
>      File "/usr/lib/pymodules/python2.6/axi/indexer.py", line 629, in
>    incrementalUpdate
>        self.updateIndex(dbpath)
>      File "/usr/lib/pymodules/python2.6/axi/indexer.py", line 594, in
>    updateIndex
>        unchanged, outdated, obsolete = self.compareCacheToDb(cache, db)
>      File "/usr/lib/pymodules/python2.6/axi/indexer.py", line 566, in
>    compareCacheToDb
>        for (idx, m) in enumerate(db.postlist("")):
>      File "/usr/lib/python2.6/dist-packages/xapian.py", line 5534, in next
>        self._iter.next()
>    RuntimeError: basic_string::assign
>    linus:/home/jan#

Hmm, still unreproducible to me :(

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.


Ciao,

Enrico

-- 
GPG key: 4096R/E7AD5568 2009-05-08 Enrico Zini <[email protected]>

Attachment: signature.asc
Description: Digital signature

Reply via email to