ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-xml
perl-xml
Re: Bad free() error
by $Bill Luebkert other posts by this author
Dec 4 2004 6:46PM messages near this date
view in the new Beta List Site
Re: Bad free() error | Re: Bad free() error
Marc Lambrichs wrote:
>  I've got a bad_free error on my hands. If I'm not mistaken, my module 
>  wants to free some memory space that's already been freed, right?
>  What can I do to find the exact variable that we're talking about here?
>  What does the "2912" in the following line mean?
>  
>  [Sat Dec  4 18:59:20 2004] (eval 2912): freeing transformation dictionnary
>  [Sat Dec  4 18:59:20 2004] (eval 2912): Bad free() ignored (PERL_CORE) 
>  at /var/www/general/lib/perl/Melange/Control.pm line
>  165.

I believe that's the 'eval sequence number' (which I hope I'm interpreting
correctly) would make it the 2912 th eval encountered in the file.

Explanation for second error:

    Bad free() ignored
        (S malloc) An internal routine called free() on something that had never
        been malloc()ed in the first place. Mandatory, but can be disabled by
        setting environment variable "PERL_BADFREE" to 0.

        This message can be seen quite often with DB_File on systems with "hard"
        dynamic linking, like "AIX" and "OS/2". It is a bug of "Berkeley DB"
        which is left unnoticed if "DB" uses *forgiving* system malloc().

-- 
  ,-/-  __      _  _         $Bill Luebkert    Mailto:dbecoll@[...].net
 (_/   /  )    // //       DBE Collectibles    Mailto:dbe@[...].com
  / ) /--<  o // //      Castle of Medieval Myth & Magic http://www.todbe.com/
-/-' /___/_<_</_</_    http://dbecoll.tripod.com/ (My Perl/Lakers stuff)
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Marc Lambrichs
Marc Lambrichs
$Bill Luebkert
Marc Lambrichs
Petr Pajas
Marc Lambrichs

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved