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

Xapian nobody at xapian.org
Fri Oct 17 17:03:38 BST 2008


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

Comment(by richard):

 Some more detail, for posterity:

 Checking that empty() on a priority_queue() returns false is a
 precondition for calling top(), but the failure to do this wasn't causing
 a visible problem on (at least) Linux, because top() was returning the
 item which _used_ to be at the top of the priority queue.  However, this
 was causing Linux to use the less efficient code path for multiple
 databases, which checks if the tag needs to be merged with others.

 On windows, calling top() on the empty priority_queue was causing an
 immediate segfault.

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



More information about the Xapian-tickets mailing list