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 (Pilgrim)
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]
[LanX]: -> AFK o/
[Discipulus]: bye bye

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2018-03-22 21:23 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (286 votes). Check out past polls.