[Xapian-tickets] [Xapian] #696: Segfault/OOM in git master

Xapian nobody at xapian.org
Mon Nov 23 00:16:08 GMT 2015


#696: Segfault/OOM in git master
-----------------------------------------------+---------------------------
 Reporter:  coventry                           |             Owner:
                                               |  richard
     Type:  defect                             |            Status:  new
 Priority:  normal                             |         Milestone:  1.3.x
Component:  Xapian-bindings (Python)           |           Version:  other
 Severity:  major                              |        Resolution:
 Keywords:  1.3.3 segfault git master 9c9213d  |        Blocked By:
 Blocking:                                     |  Operating System:  Linux
-----------------------------------------------+---------------------------

Comment (by olly):

 Interesting - `*hint` shouldn't be NULL at this point, as we check for
 that on the line before; `hint` shouldn't be NULL either, as it's just a
 pointer to a member of the object we call this from (and the stack shows
 it isn't).

 My guess is that the postlist pointed to by `*hint` ends up deleted at
 this point, though I've not yet managed to reproduce that.

 Can you print the variables involved, in gdb:

 {{{
 p hint
 p *hint
 p (*hint)->get_description()->c_str()
 p term->c_str()
 p *this
 }}}

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



More information about the Xapian-tickets mailing list