Beefy Boxes and Bandwidth Generously Provided by pair Networks Russ
Welcome to the Monastery
 
PerlMonks  

Re: Segmenation Fault in IO::Uncompress:Bunzip2

by pmqs (Scribe)
on Apr 09, 2013 at 19:51 UTC ( #1027827=note: print w/ replies, xml ) Need Help??


in reply to Segmenation Fault in IO::Uncompress:Bunzip2

If you can read the uncompressed version ok, can you find out how long the corrupt line is?


Comment on Re: Segmenation Fault in IO::Uncompress:Bunzip2
Re^2: Segmenation Fault in IO::Uncompress:Bunzip2
by megaframe (Novice) on Apr 09, 2013 at 20:08 UTC

    It doesn't actually dump to the screen perl open handler seems to be doing some magic that other programs can't seem to do. I know the exact line so I tried doing head -n 44816 FILE.txt | tail -n 1 and the whole thing stalls with 100% cpu usage. (Uncompressed file is 2GB and 500k+ lines btw)

    Contents of the line seem to be really messed up, but I'm finding a lot of these corruptions and I need to just try and get past them back to the real content.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1027827]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2014-04-17 02:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (437 votes), past polls