[Xapian-tickets] [Xapian] #305: xapian-compact crash while compacting a spelling table

Xapian nobody at xapian.org
Fri Oct 17 16:16:40 BST 2008


#305: xapian-compact  crash while compacting a spelling table
-------------------------------+--------------------------------------------
 Reporter:  charliejuggler     |        Owner:  olly 
     Type:  defect             |       Status:  new  
 Priority:  normal             |    Milestone:       
Component:  Other              |      Version:  1.0.8
 Severity:  normal             |   Resolution:       
 Keywords:                     |    Blockedby:       
 Platform:  Microsoft Windows  |     Blocking:       
-------------------------------+--------------------------------------------

Comment(by charliejuggler):

 I've narrowed this down to line 413 of xapian-compact.cc:
 412:    string key = cur->current_key;
 413:    if (pq.top()->current_key > key) {

 key looks like it's being set properly, it's 'Bho', but the subsequent
 line segfaults. I have a debug IDE so I can set instrumentation pretty
 easily, but since pq is a vector I'm not sure what's best here...

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



More information about the Xapian-tickets mailing list