|No such thing as a small change|
Re: Segmenation Fault in IO::Uncompress:Bunzip2by BrowserUk (Pope)
|on Apr 09, 2013 at 19:57 UTC||Need Help??|
It sounds very much like that one line is very, very long. Hence the attempt to search it for a newline is overrunning some internal buffer.
As you say Perl can process the decompress file line by line, you should pass it (the decompressed copy) through a Perl script that checks the length of the lines and inserts one or more newlines if they are over some reasonable length. Then you can recompress it.
Perhaps as a first pass, you could print out any line(s) that are greater than the maximum you might reasonably expect and that way determine whether there isn't some obvious way of 'wrapping' them such that they make sense.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.