It’s time for the June update on the progress of the Mac OS X port of Valgrind.
Progress has been good: the DARWIN branch has been merged to the trunk. With that having happened, we’re now in sight of an actual release (3.5.0) containing Mac OS X support. There’s some polishing and bug-fixing — both for Mac OS X and in general — to be done before that happens, but hopefully we’ll release 3.5.0 in early August. That will be before Snow Leopard comes out; another release may be necessary afterwards, but we want to get this code released sooner rather than later.
One interesting problem we encountered was some users were having Valgrind abort with a SIGTRAP extremely early. It was very mysterious, and none of the developers were able to reproduce it. Turns out that a program called Instant Hijack by a company called Rogue Amoeba was the cause of the problem. Both Valgrind and Instant Hijack do some stuff with dyld, and apparently Instant Hijack’s stuff is a bit dodgy. Turns out there’s an easy workaround, which involves temporarily disabling Instant Hijack. This was reported by a Rogue Amoeba developer, fortunately he tried Valgrind himself, had the same SIGTRAP abort, found the bug report, and realised what the problem was. If it wasn’t for him, we’d still be scratching our heads!
In the meantime, keep reporting any problems you have, in particular any unimplemented syscall wrappers — a number have been added lately but there are still more to be done. Please report problems via Bugzilla rather than in comments on this blog, as bugzilla reports are more likely to be acted upon. Thanks!