There's more than one way to do things | |
PerlMonks |
Re: Random corrupted double-linked listby dave_the_m (Monsignor) |
on Feb 13, 2012 at 18:44 UTC ( [id://953516]=note: print w/replies, xml ) | Need Help?? |
Well, here are some random observations.
The backtrace in question shows that a destructor is being called during global destruction; that destructor is calling require - not illegal, but unusal; require is creating a string of some sort, and while trying to grow it, the system malloc detects some internal corruption. This usually means that something corrupted it earlier; either due to a bug in perl, or a bug in an XS module that was earlier loaded. Building with debugging symbols will get you line numbers and function arguments, while building with Configure -DDEBUGGING may trigger an earlier assertion. But if you're on a system that supports it, you'll be best off using valgrind to see what's happening. Finally, 5.10.1 is quite old; it may be that a bug is already fixed in 5.12.4 or 5.14.2. Dave
In Section
Seekers of Perl Wisdom
|
|