[Xapian-tickets] [Xapian] #604: Document.get_data() seems to leak (from Python)

Xapian nobody at xapian.org
Mon Oct 15 06:24:11 BST 2012


#604: Document.get_data() seems to leak (from Python)
--------------------------------------+-------------------------------------
 Reporter:  agilezebra                |       Owner:  richard
     Type:  defect                    |      Status:  new    
 Priority:  normal                    |   Milestone:         
Component:  Xapian-bindings (Python)  |     Version:  1.2.12 
 Severity:  major                     |    Keywords:         
Blockedby:                            |    Platform:  Linux  
 Blocking:                            |  
--------------------------------------+-------------------------------------

Comment(by olly):

 I rewrote the testcase in C++ and it shows the same behaviour.  However,
 running under valgrind like so:

 {{{
 GLIBCXX_FORCE_NEW=1 valgrind --leak-check=yes ./get_data_test tmp.db
 }}}

 reports:

 {{{
 ==12366== All heap blocks were freed -- no leaks are possible
 }}}

 So it's not losing references to this memory.  I wonder if it's due to
 heap fragmentation.

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



More information about the Xapian-tickets mailing list