[Xapian-tickets] [Xapian] #455: "Value in posting list too large" error with 1.1.4 (chert and brass, not flint)

Xapian nobody at xapian.org
Tue Mar 9 03:26:48 GMT 2010


#455: "Value in posting list too large" error with 1.1.4 (chert and brass, not
flint)
---------------------------+------------------------------------------------
 Reporter:  tack           |       Owner:  olly 
     Type:  defect         |      Status:  new  
 Priority:  normal         |   Milestone:       
Component:  Backend-Chert  |     Version:  1.1.4
 Severity:  normal         |    Keywords:       
Blockedby:                 |    Platform:  All  
 Blocking:                 |  
---------------------------+------------------------------------------------

Comment(by tack):

 Trying to reduce my program to generate a testcase and now
 Enquire.get_mset() is segfaulting:

 {{{
 #0  0xb75d8a8b in getint2 (p=0x2000200 <Address 0x2000200 out of bounds>,
 c=9) at ./common/unaligned.h:50
 #1  0xb763abb8 in ChertTable::find_in_block (p=0x2000200 <Address
 0x2000200 out of bounds>, key=
       {p = 0x8aac772 "\a"}, leaf=false, c=105) at
 backends/chert/chert_table.cc:475
 #2  0xb7641bea in ChertTable::find (this=0x8aabee8, C_=0x8b88148) at
 backends/chert/chert_table.cc:509
 #3  0xb76168d0 in ChertCursor::find_entry (this=0x8b87fc0,
 key=@0xbf81f75c) at backends/chert/chert_cursor.cc:175
 #4  0xb76330c7 in ChertPostList::move_to_chunk_containing (this=0x8b88170,
 desired_did=1001)
     at backends/chert/chert_postlist.cc:846
 #5  0xb7633325 in ChertPostList::jump_to (this=0x8b88170,
 desired_did=1001) at backends/chert/chert_postlist.cc:971
 #6  0xb7633cec in ChertPostListTable::get_doclength (this=0x8aabee8,
 did=1001, db=@0xbf81f828)
     at backends/chert/chert_postlist.cc:68
 #7  0xb7619801 in ChertDatabase::get_doclength (this=0x8aabec0, did=1001)
 at backends/chert/chert_database.cc:797
 #8  0xb7619b41 in ChertWritableDatabase::get_doclength (this=0x8aabec0,
 did=1001)
     at backends/chert/chert_database.cc:1483
 #9  0xb762e722 in ChertPostList::get_doclength (this=0x95bc9b0) at
 backends/chert/chert_postlist.cc:726
 #10 0xb762d474 in ChertModifiedPostList::get_doclength (this=0x95bc9b0)
     at backends/chert/chert_modifiedpostlist.cc:68
 #11 0xb758548e in LeafPostList::get_weight (this=0x95bc9b0) at
 api/leafpostlist.cc:77
 #12 0xb76d65bc in MultiAndPostList::get_weight (this=0x95c8580) at
 matcher/multiandpostlist.cc:165
 #13 0xb76d0458 in SelectPostList::get_weight (this=0x95c86b8) at
 matcher/selectpostlist.h:52
 #14 0xb76d8161 in MultiMatch::get_mset (this=0xbf81fdf8, first=0,
 maxitems=5, check_at_least=5, mset=@0xbf81ff60,
     stats=@0xbf81fe60, mdecider=0x0, matchspy_legacy=0x0, sorter=0x0) at
 matcher/multimatch.cc:574
 #15 0xb759de0f in Xapian::Enquire::Internal::get_mset (this=0x95a3890,
 first=0, maxitems=5, check_at_least=0,
     rset=0x0, mdecider=0x0, matchspy_legacy=0x0) at api/omenquire.cc:670
 #16 0xb759df20 in Xapian::Enquire::get_mset (this=0x9234eb8, first=0,
 maxitems=5, check_at_least=0, rset=0x0,
     mdecider=0x0) at api/omenquire.cc:1034
 #17 0xb77ec257 in _wrap_Enquire_get_mset__SWIG_4 (nobjs=3,
 swig_obj=0xbf81ffc8) at modern/xapian_wrap.cc:22653
 #18 0xb77ed719 in _wrap_Enquire_get_mset (self=0x0, args=0x89f98c4) at
 modern/xapian_wrap.cc:22798
 #19 0x0805cb97 in PyObject_Call ()
 [...]
 }}}

-- 
Ticket URL: <http://trac.xapian.org/ticket/455#comment:3>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list