Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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]
[choroba]: Most coffees? Depends on the country :-)
[choroba]: oh, you mean a cup with no water.
[Discipulus]: you are rigth, gory details but i remember from dunnowhere that concetrate caffein is more effective than brown water almost coffe..
[LanX]: prepared both kinds a 100 times and thinks the amount of grind code is about the same
Discipulus less effective i mean
[LanX]: (french press vs espresso cooker )
[LanX]: s/code/coffee/

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (10)
As of 2017-01-16 10:55 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (148 votes). Check out past polls.