Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Segmenation Fault in IO::Uncompress:Bunzip2

by pmqs (Monk)
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

Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2016-10-23 20:53 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (302 votes). Check out past polls.