Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2018-06-24 23:29 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.