Click here to get back home

Threads - "Attempt to free non-existent shared string"

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Threads - "Attempt to free non-existent shared string" MoshiachNow 11-12-2006
Posted by MoshiachNow on November 12, 2006, 5:38 am
Please log in for more thread options
>>
>> [snip]
>>
>> > if I print "$1\n",
>> > the file prints just fine. But, if I do something like print "$1 after
>> > \n", the whole output is messed up. If I print "before $1\n", nothing
>> > prints at all. If I print "before $1 after\n", only after prints.
>>
>> not really sure, but could be a rogue "\r" in $1,


> There
> is a rogue carriage return (0xd) in the string

> Is there something I can do to deal with this
> situation?


Repair the corrupted file:

perl -p -i -e 'tr/\r//d' bad_file


--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas

Similar ThreadsPosted
5.10 threads :: shared message December 20, 2007, 11:00 am
threads::shared and nested hash September 18, 2007, 9:31 am
simple threads::shared code causes crash, any ideas? September 8, 2005, 9:05 pm
Can't locate object method "first" via package "attempt" (perhaps you forgot to load "attempt"?) at .... June 19, 2005, 3:56 pm
List::MoreUtils::each_arrayref: "semi-panic: attempt to dup freed string" February 24, 2006, 7:37 pm
((((((((((((((FREE)()((((SEX STIL FUCKING STILL FREE((((((((((()()()()()(WORLD SEX STILL FREE SEX(((((((((((((( November 2, 2007, 4:06 am
Webcool24.com : Biggest worldwide Asian free Video multi language web , Travel, Sports, Racing cars , Massages techniques, Games , Fashions, Jokes , Top models , Free online IT learning , 5000 links, 250 free online TV , 50000 music video, nice la August 15, 2007, 8:58 am
Avoid long timeout on DNS lookup of nonexistent host? January 25, 2005, 10:31 am
How to catch refs to nonexistent sub names at compilation time ? August 10, 2008, 3:20 am
INTO FREE COMPUTER GEAR? FREE SAMSUNG 17" LCD Monitor NO TRICKS-NO SCAM-NO PURCHASE! February 22, 2005, 2:57 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap