in reply to /usr/bin/perl: double free or corruption

this is perl, v5.10.1

You don't show your code, but the first suggestion I have is to upgrade your Perl to the latest version, which handles threads better. Otherwise, post an example of some threaded code which causes the error. One needs to be careful with threads regarding thread safety, it sounds like you are trying to share an object improperly across threads.


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh
  • Comment on Re: /usr/bin/perl: double free or corruption

Replies are listed 'Best First'.
Re^2: /usr/bin/perl: double free or corruption
by sagarika (Novice) on Sep 09, 2011 at 05:03 UTC

    Hey Thank you for comment/suggestion.

    Yes. It would be definitely like "trying to share an object improperly across threads . as I am new to perl threads and have had more than a bit hard time to understand that.

    I can definitely share the code if you say.

    Also, I am running Linux mint - which uses Synaptic Package manager for softwares managements; and Synaptic does let me mark perl for upgrade.

      Hi, Currently I face same issue like you. So, can you tell me how to solve this issue ?