[Chicago-talk] Debugger with HTML::Treebuilder

Greg Fast gdf at speakeasy.net
Mon Sep 27 16:24:23 CDT 2004


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/


More information about the Chicago-talk mailing list