Valgrind as init
Scott James Remnant
scott at netsplit.com
Wed Jun 8 20:39:08 UTC 2011
The problem with valgrind is the same as the general problem with gdb; init
needs to be pid 1, and these processes then can't trace it/emulate it.
Scott
On Wed, Jun 8, 2011 at 12:19 PM, Evan Huus <eapache at gmail.com> wrote:
> After the discussion recently around running static code analysis on
> upstart, my mind automatically went to the other analysis tool I use
> the most: valgrind.
>
> A quick google reveals [1], which suggests it doesn't work
> out-of-the-box, but I'm not familiar enough with valgrind's internals
> to know how fatal or fixable that problem actually is.
>
> If anyone else has tried this I'd love to know. If not then I might
> see if I can find the time to take a look.
>
> Cheers,
> Evan
>
> [1]
> http://stackoverflow.com/questions/3887723/upstart-init-is-leaking-memory-how-do-you-debug-it
>
> --
> upstart-devel mailing list
> upstart-devel at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/upstart-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/upstart-devel/attachments/20110608/3d45d257/attachment-0001.html>
More information about the upstart-devel
mailing list