Bug#622591: crash in ChertVersion::create

Olly Betts olly at survex.com
Wed Apr 13 11:14:02 UTC 2011


On Wed, Apr 13, 2011 at 04:36:41AM -0400, Joey Hess wrote:
> Package: libsearch-xapian-perl
> Version: 1.2.3.0-1
> Severity: normal

It seems likely this is in xapian-core, or as you say perhaps libuuid.
But I'll leave it for now rather than playing package tennis.

> I have a reproducible segfault in xapian, that seems to occur when the
> database is being first created, but oddly seems depenadnt on a 
> particular input corpus being indexed -- similar sites with other content
> don't crash.

That's odd, as the database is created before that.  Makes me wonder if
there's memory corruption involved.  I've never seen anything like this
before anyway.

> Program received signal SIGSEGV, Segmentation fault.
> 0x00007ffff0d46882 in ?? () from /lib/libuuid.so.1
> (gdb) bt
> #0  0x00007ffff0d46882 in ?? () from /lib/libuuid.so.1
> #1  0x00007ffff0d47729 in uuid_generate () from /lib/libuuid.so.1
> #2  0x00007fffefd71362 in ChertVersion::create (this=0x22d5940)
>     at ../backends/chert/chert_version.cc:73
> #3  0x00007fffefd45f7f in ChertDatabase::create_and_open_tables (
>     this=0x22d5920, block_size=0) at ../backends/chert/chert_database.cc:209

I don't have a lot of time to respond, as I'm off to the UK tomorrow,
but if you want to dig a bit more, I'd suggest running under valgrind
(assuming you're on a supported arch).

Cheers,
    Olly





More information about the pkg-perl-maintainers mailing list