Bug#622591: crash in ChertVersion::create

Joey Hess joeyh at debian.org
Wed Apr 13 08:36:41 UTC 2011


Package: libsearch-xapian-perl
Version: 1.2.3.0-1
Severity: normal

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.

(gdb)  r /usr/bin/ikiwiki -setup ikiwiki.setup
Starting program: /usr/bin/perl /usr/bin/ikiwiki -setup ikiwiki.setup
[Thread debugging using libthread_db enabled]
successfully generated /home/b-joeytest99/public_html/ikiwiki.cgi
successfully generated /home/b-joeytest99/source.git/hooks/post-update

Breakpoint 2, ChertVersion::create (this=0x22d5940)
    at ../backends/chert/chert_version.cc:65
65	../backends/chert/chert_version.cc: No such file or directory.
	in ../backends/chert/chert_version.cc
(gdb) c
Continuing.

Breakpoint 1, ChertVersion::create (this=0x22d5940)
    at ../backends/chert/chert_version.cc:73
73	in ../backends/chert/chert_version.cc
(gdb) p uuid
$6 = '\000' <repeats 15 times>
(gdb) p &uuid
$7 = (unsigned char (*)[16]) 0x22d5948
(gdb) s
65	in ../backends/chert/chert_version.cc
(gdb) p uuid
$8 = '\000' <repeats 15 times>
(gdb) s
66	in ../backends/chert/chert_version.cc
(gdb) s
67	in ../backends/chert/chert_version.cc
(gdb) s
66	in ../backends/chert/chert_version.cc
(gdb) s
65	in ../backends/chert/chert_version.cc
(gdb) s
68	in ../backends/chert/chert_version.cc
(gdb) s
73	in ../backends/chert/chert_version.cc
(gdb) s
69	in ../backends/chert/chert_version.cc
(gdb) s
70	in ../backends/chert/chert_version.cc
(gdb) s
71	in ../backends/chert/chert_version.cc
(gdb) s
73	in ../backends/chert/chert_version.cc
(gdb) p uuid
$9 = '\000' <repeats 15 times>
(gdb) s

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
#4  0x00007fffefd4d12e in ChertDatabase (this=0x22d5920, 
    chert_dir=<value optimized out>, action=<value optimized out>, 
    block_size=<value optimized out>)
    at ../backends/chert/chert_database.cc:171
#5  0x00007fffefd4d509 in ChertWritableDatabase (this=0x7ffff7fed010, dir=..., 
    action=4, block_size=-147021724)
    at ../backends/chert/chert_database.cc:1015
#6  0x00007fffefd05d7f in WritableDatabase (this=0x7b52e0, path=..., action=1)
    at ../backends/dbfactory.cc:480
#7  0x00007ffff00be2de in XS_Search__Xapian__WritableDatabase_new1 ()
   from /usr/lib/perl5/auto/Search/Xapian/Xapian.so
#8  0x00007ffff7b1d5f5 in Perl_pp_entersub () from /usr/lib/libperl.so.5.10
#9  0x00007ffff7b1bb36 in Perl_runops_standard () from /usr/lib/libperl.so.5.10
#10 0x00007ffff7ac051c in perl_run () from /usr/lib/libperl.so.5.10
#11 0x0000000000400d3c in main ()



More information about the pkg-perl-maintainers mailing list