{"id":104,"date":"2009-05-18T18:11:20","date_gmt":"2009-05-18T07:11:20","guid":{"rendered":"http:\/\/blog.mozilla.org\/nnethercote\/?p=104"},"modified":"2009-05-19T11:42:04","modified_gmt":"2009-05-19T00:42:04","slug":"valgrind-mac-os-x-update-may-18-2009","status":"publish","type":"post","link":"https:\/\/blog.mozilla.org\/nnethercote\/2009\/05\/18\/valgrind-mac-os-x-update-may-18-2009\/","title":{"rendered":"Valgrind + Mac OS X update (May 18, 2009)"},"content":{"rendered":"<p>It\u2019s time for the May update on the progress of the Mac OS X port of Valgrind. In the last month, 133 commits have been made to the DARWIN branch by Julian Seward and myself.<\/p>\n<p>Here are the current (as of r9898) values of the metrics<a href=\"http:\/\/blog.mozilla.org\/nnethercote\/2009\/04\/17\/valgrind-mac-os-x-update-april-17-2009\/\"> I have been using<\/a> as a means of tracking progress.<\/p>\n<ul>\n<li>The number of regression test failures on Mac was<strong> <\/strong><strong>418\/128\/43\/0<\/strong>. It&#8217;s now <strong>421\/102\/15\/0<\/strong>.\u00a0 I.e. the number of failures went from <strong>171<\/strong> to <strong>117<\/strong>.\u00a0 If we ignore the tools Helgrind, DRD and exp-Ptrcheck (which are not widely used and still mostly broken on the branch) the number of failures dropped from <strong>50<\/strong> to <strong>13<\/strong>.\u00a0 That&#8217;s a similar number to what we get on some Linux systems, and we&#8217;re in real diminishing-returns territory &#8212; the failing tests are all testing very obscure things.\u00a0 So we can basically declare victory on that front.<\/li>\n<li>The number of \u201cFIXME\u201d-style marker comments that indicate something in the code that needs to be fixed was <strong>274<\/strong>.\u00a0 It&#8217;s now <strong>260<\/strong>.\u00a0 Furthermore, the method I used last month to count &#8220;FIXME&#8221;-style comments was flawed, so the number has actually gone down by more than 14;\u00a0 the comparison next month will be reliable.\u00a0 But a lot of these comments are for very obscure things that won&#8217;t need to be fixed even before a release, so you shouldn&#8217;t be worried by the high number!<\/li>\n<\/ul>\n<p>Functionality improvements from the last month are as follows.<\/p>\n<ul>\n<li>Some extra system calls are handled.<\/li>\n<li>Some more signal-handling improvements.<\/li>\n<li>Some debug info reading improvements.<\/li>\n<li>File descriptor tracking (&#8211;track-fds) now works.<\/li>\n<li>The &#8211;auto-run-dsymutil option was added.\u00a0 When used, it makes Valgrind run dsymutil to generate debug info for any files that need it.<\/li>\n<li>Helgrind sort of works;\u00a0 some of its tests pass.\u00a0 But it&#8217;s still probably not usable.<\/li>\n<\/ul>\n<p>Things are going well enough that we should be ready to merge the branch to the trunk soon!\u00a0 That will be a significant milestone, and will make life easier as I won&#8217;t have to maintain the branch in parallel with the trunk.\u00a0 I&#8217;m currently going through the branch\/trunk differences carefully in order to get ready for the merged, with luck it will happen by the end of this week.<\/p>\n<p><strong>Update, March 19:<\/strong> fixed some HTML tags.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It\u2019s time for the May update on the progress of the Mac OS X port of Valgrind. In the last month, 133 commits have been made to the DARWIN branch by Julian Seward and myself. Here are the current (as of r9898) values of the metrics I have been using as a means of tracking [&hellip;]<\/p>\n","protected":false},"author":139,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[487,484],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/posts\/104"}],"collection":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/users\/139"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/comments?post=104"}],"version-history":[{"count":0,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/posts\/104\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/media?parent=104"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/categories?post=104"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.mozilla.org\/nnethercote\/wp-json\/wp\/v2\/tags?post=104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}