in reply to realloc(): invalid pointer

Might be a perl bug or a compiler (prerelease gcc) bug.

You can try disabling malloc consistency checks in the environment:

$ export MALLOC_CHECK_=0
That won't fix any bugs, however. The checks are there for a good reason.

I'd suggest installing a stable compiler (say, gcc-4.8.4) and recompiling your perl from source.

Replies are listed 'Best First'.
Re^2: realloc(): invalid pointer
by ChrisDennis (Sexton) on Mar 11, 2015 at 18:48 UTC
    Thanks for the suggestion. Exporting MALLOC_CHECK_=0 sounds dangerous, so I tried it :).

    The realloc() error disappeared, and the process got a lot further, although some of the dependencies failed for other reasons.

    Perhaps I should uninstall everything Perl-related and start again.

      Aha! The reason the dependencies failed was 'Out of memory'.

      I'll keep playing and report back.