segfault with xapian 1.3.1

David Bremner david at tethera.net
Thu Sep 5 18:22:42 PDT 2013


David Bremner <david at tethera.net> writes:

>
> I managed to duplicate this problem on Debian testing by rebuilding
> Olly's packages (https://launchpad.net/~ojwb/+archive/xapian-1.3) for
> sid and running the following script in the ./test subdirectory

Olly wrote on  IRC:

> bremner: ok, 1.2 explicitly no-oped skip_to() on an iterator at_end on
> trunk that code has been rewritten without that explicit check, and
> the iterator internals are NULL then i think restoring the check is
> reasonable, though I'm not sure if we actually promise that's defined
> behaviour if you want to work with 1.3.1, then checking against the
> end iterator before calling skip_to() will work for any version

So, now we know what to fix.

d


More information about the notmuch mailing list