[asterisk-dev] [Code Review] a "valgrind" command for live_ast

Paul Belanger reviewboard at asterisk.org
Wed Jul 6 12:40:24 CDT 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1109/#review3826
-----------------------------------------------------------

Ship it!


Used this a few week ago, good work.

Only addition for the future I'd like to see is redirecting Valgrind output to a log file.

- Paul


On Feb. 17, 2011, 9:27 a.m., Tzafrir Cohen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1109/
> -----------------------------------------------------------
> 
> (Updated Feb. 17, 2011, 9:27 a.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> I tried running a live_ast (contrib/scripts/live_ast) instance under valgrind. It did not seem to work well (it has exited immediately).
> 
> My workaround was to add an extra 'valgrind' command for live_ast to have valgrind run the asterisk executable directly, rather than have it run a wrapper shell script.
> 
> One problem there is that the parameters passed to valgrind need to be written in live/live.conf rather than be simply in the command-line.
> 
> 
> Diffs
> -----
> 
>   /trunk/contrib/scripts/live_ast 308202 
> 
> Diff: https://reviewboard.asterisk.org/r/1109/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Tzafrir
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110706/c668d0bb/attachment.htm>


More information about the asterisk-dev mailing list