NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/48480: vi seg-fault



The following reply was made to PR bin/48480; it has been noted by GNATS.

From: Paul Goyette <paul%whooppee.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: christos%netbsd.org@localhost, wiz%netbsd.org@localhost
Subject: Re: bin/48480: vi seg-fault
Date: Wed, 25 Dec 2013 08:49:05 -0800 (PST)

   This message is in MIME format.  The first part should be readable text,
   while the remaining parts are likely unreadable without MIME-aware tools.
 
 --0-1762168367-1387990145=:5556
 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
 
 On Wed, 25 Dec 2013, Paul Goyette wrote:
 
 > I've managed to narrow this down a little bit.  The first six lines of the 
 > sample file I provided have lengths of 22, 2225, 138, 149, 162, and 832805 
 > (!) bytes.
 >
 > Removing all but line #6 failes.  So I am suspecting that there might be a 
 > problem due to the extremely long line...
 
 Additionally, even though line #2 is relatively short, vi still fails to 
 handle it properly.  It displays a couple of large chunks of the text as 
 "^@" (ie, NUL) characters.  Using hexdump, I have verified that these 
 NUL characters are not part of the input file.
 
 I have attached the 2215-character input file as well as a cat-and-paste 
 of the display output.
 
 --0-1762168367-1387990145=:5556
 Content-Type: APPLICATION/octet-stream; name=vi-fail.input
 Content-Transfer-Encoding: BASE64
 Content-ID: <Pine.NEB.4.64.1312250849050.5556%screamer.whooppee.com@localhost>
 Content-Description: 
 Content-Disposition: attachment; filename=vi-fail.input
 
 PGh0bWwgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGh0bWwiPjxo
 ZWFkPjxtZXRhIGh0dHAtZXF1aXY9IkNvbnRlbnQtVHlwZSIgY29udGVudD0i
 dGV4dC9odG1sOyBjaGFyc2V0PWlzby04ODU5LTEiLz48bGluayByZWw9InN0
 eWxlc2hlZXQiIHR5cGU9InRleHQvY3NzIiBocmVmPSJ0ZXN0cy1yZXN1bHRz
 LmNzcyIvPjx0aXRsZT5BVE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GQ+PC90cj48dHIgY2xhc3M9ImVudHJ5Ij48dGQ+PHA+Um9vdDwv
 cD48L3RkPjx0ZD48cD4vdXNyL3Rlc3RzPC9wPjwvdGQ+PC90cj48dHIgY2xh
 c3M9ImVudHJ5Ij48dGQ+PHA+VGVzdCBwcm9ncmFtczwvcD48L3RkPjx0ZCBj
 bGFzcz0ibnVtZXJpYyI+PHA+NTc2PC9wPjwvdGQ+PC90cj48dHIgY2xhc3M9
 ImVudHJ5Ij48dGQ+PHA+Qm9ndXMgdGVzdCBwcm9ncmFtczwvcD48L3RkPjx0
 ZCBjbGFzcz0ibnVtZXJpYyI+PHA+MDwvcD48L3RkPjwvdHI+PHRyIGNsYXNz
 PSJlbnRyeSI+PHRkPjxwPlRlc3QgY2FzZXM8L3A+PC90ZD48dGQgY2xhc3M9
 Im51bWVyaWMiPjxwPjM3MTk8L3A+PC90ZD48L3RyPjx0ciBjbGFzcz0iZW50
 cnkiPjx0ZD48cD5QYXNzZWQgdGVzdCBjYXNlczwvcD48L3RkPjx0ZCBjbGFz
 cz0ibnVtZXJpYyI+PHA+MzU2MTwvcD48L3RkPjwvdHI+PHRyIGNsYXNzPSJl
 bnRyeSI+PHRkPjxwPjxhIGhyZWY9IiNmYWlsZWQtdGNzLXN1bW1hcnkiPkZh
 aWxlZCB0ZXN0Cg==
 
 --0-1762168367-1387990145=:5556
 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=vi-fail.display
 Content-Transfer-Encoding: BASE64
 Content-ID: <Pine.NEB.4.64.1312250849051.5556%screamer.whooppee.com@localhost>
 Content-Description: 
 Content-Disposition: attachment; filename=vi-fail.display
 
 PGh0bWwgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGh0bWwiPjxo
 ZWFkPjxtZXRhIGh0dHAtZXF1aXY9IkNvbnRlbnQtVHlwZSINCiBjb250ZW50
 PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9aXNvLTg4NTktMSIvPjxsaW5rIHJlbD0i
 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