[Chicago-talk] Debugger with HTML::Treebuilder

Leland Johnson easyasy2k at gmail.com
Tue Sep 28 19:02:20 CDT 2004

Hmmm.... This is the second bug in Test::More I've encountered since
the start of the project. The first one was already reported and a
patch sent:
We don't need the patch though, since the test has since been changed.

Well, how do we go about reporting this? I suppose that tracking down
the problem would be the most favored solution, but that might be
hard, considering it dies during the debugger's quit sequence.

On Mon, 27 Sep 2004 16:24:23 -0500, Greg Fast <gdf at speakeasy.net> wrote:
> On Mon, 27 Sep 2004 14:48:20 -0500, Leland Johnson <easyasy2k at gmail.com> wrote:
> > I keep having to kill perl manually when I use the debugger on
> > t/tree.t I'm just doing `perl -dT t/tree.t` I'm pretty sure this has
> > something to do with HTML::TreeBuilder's recursive voodoo magic.
> >
> > Error:
> > *** malloc[7933]: Deallocation of a pointer not malloced: 0x8e1448;
> > This could be a double free(), or free() called with the middle of an
> > allocated block
> >
> > Any sugguestions?
> I've seen this too.  First, I think this is a problem specific to
> OSX.  Second, the problem appears to be in Test::More, not tree.t .
> Try this:
>   perl -MTest::More -de 0
> Quitting immediately causes the malloc error.
> --
> Greg Fast
> http://cken.chi.groogroo.com/~gdf/

Leland Johnson

More information about the Chicago-talk mailing list