[Xapian-discuss] Xapian::DatabaseModifiedError
Markus Wörle
mrks at mrks.de
Sun Jun 7 19:24:08 BST 2009
Am 01.06.2009 um 22:16 schrieb Jim Spath:
> Hi,
>
> We recently started running into the Xapian::DatabaseModifiedError
> problem under Perl (ticket #284), due to a change in the way we update
> our database.
>
> I noticed that newer versions of Xapian are supposed to deal with this
> problem (ticket #284), so we upgraded to 1.0.12.
>
> I now am able to properly trap the error, most of the time, by using
> eval and checking $@ to see if it matches "revision being read has
> been
> discarded".
>
> The problem is that every once in a while I still see a segfault:
>
> terminate called after throwing an instance of
> 'Xapian::DatabaseModifiedError'
> Aborted
>
> I have been unable to determine why the segfaults still sometimes
> occur
> ... any suggestions?
I think there is at least one try/catch missing in the XS bindings.
see http://trac.xapian.org/ticket/284#comment:19
Regards
mrks
More information about the Xapian-discuss
mailing list