[Buildbot-devel] Step fails only under Buildbot

Pierre Tardy tardyp at gmail.com
Sat Mar 8 14:34:13 UTC 2014


valgrind also can help detect issues with pointers.

Pierre


On Sat, Mar 8, 2014 at 2:31 PM, Bob Hood <bhood2 at comcast.net> wrote:

> On 3/8/2014 6:23 AM, Dustin J. Mitchell wrote:
> >
> > Signal 11 can be really tricky to track down, too.  It might depend on
> > something as trivial as the length of an unrelated string that shifts the
> > memory allocation pattern slightly.
> >
> > If you can reliably reproduce it within the Buildbot environment, then
> > reproducing outside that environment may not provide you with much more
> > information.  Using debugging mallocs or adding debugging information as
> > others have suggested may be a better approach.  The risk is that even
> these
> > changes will make the failure go away.
> >
> > If that happens, fuzzing is also an option - running repeatedly with
> > randomized inputs until failure.
> >
>
> Hi, Dustin.
>
> I did as Stephen suggested, and added the GuardMalloc library to the
> execution.  It produced no actual diagnostic output (beyond the header that
> indicated its presence), but the step actually completed successfully with
> its
> inclusion.
>
> It does indeed "feel" like a pointer issue, however, as long as GuardMalloc
> gets me past the step, I can let the rest of the build complete while we
> try
> to track down the actual issue.
>
> Let me extend my thanks to everybody for their input on this problem.
>
>
> ------------------------------------------------------------------------------
> Subversion Kills Productivity. Get off Subversion & Make the Move to
> Perforce.
> With Perforce, you get hassle-free workflows. Merge that actually works.
> Faster operations. Version large binaries.  Built-in WAN optimization and
> the
> freedom to use Git, Perforce or both. Make the move to Perforce.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20140308/2064c437/attachment.html>


More information about the devel mailing list