in reply to Make Perl use real malloc

Whether the analysis seems sound or not, I'd probably not want to return to v5.004. If you configured perl with -DDEBUGGING, and you chose to use the perl malloc, then try this script:
#!/usr/bin/perl use strict; use warnings; warn('!'); do 'lib/auto/POSIX/autosplit.ix'; warn('!!! "after"');
Run it like this:
perl -Dm script.pl
I ran it with -Dm, but if you want other options, run it with -D for a complete list of options.