[Xapian-tickets] [Xapian] #713: valgrind leak checking false positives on OS X (was: Tests in OS X fail)

Xapian nobody at xapian.org
Fri Apr 1 01:55:35 BST 2016


#713: valgrind leak checking false positives on OS X
------------------------+-------------------------------
 Reporter:  Kronuz      |             Owner:  olly
     Type:  defect      |            Status:  reopened
 Priority:  normal      |         Milestone:
Component:  Test Suite  |           Version:  git master
 Severity:  normal      |        Resolution:
 Keywords:              |        Blocked By:
 Blocking:              |  Operating System:  Mac OS X
------------------------+-------------------------------
Changes (by olly):

 * status:  closed => reopened
 * resolution:  invalid =>


Comment:

 The most recent valgrind release seems to be 3.11.0:

 http://valgrind.org/docs/manual/dist.news.html

 which apparently has '''preliminary''' support for OS X 10.11:

 > There is also preliminary support for X86/MacOSX 10.11, AMD64/MacOSX
 10.11 and TILEGX/Linux.

 So perhaps problems are to be expected.

 My guess is that the suppressions file probably needs to be updated for
 each OS X release - this blog post talks about needing to create your own
 for 10.10:

 http://kalapun.com/posts/checking-c-code-with-valgrind-on-yosemite/

 I think it's worth having an open ticket for the issue that valgrind leak
 checking can give false positives on recent OS X versions - it's something
 we should at least document, and ideally workaround - e.g. by providing a
 suppressions file (if there's one in valgrind's VCS we can probably just
 use that), or by disabling leak checking automatically.

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



More information about the Xapian-tickets mailing list