NetBSD-Bugs archive

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

bin/48480: vi seg-fault



>Number:         48480
>Category:       bin
>Synopsis:       seg-fault in vi(1) on certain files
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 25 05:30:00 +0000 2013
>Originator:     Paul Goyette
>Release:        NetBSD 6.99.28
>Organization:
-------------------------------------------------------------------------
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer |                          | pgoyette at netbsd.org  |
-------------------------------------------------------------------------
>Environment:
        
        
System: NetBSD screamer.whooppee.com 6.99.28 NetBSD 6.99.28 (WHOOPPEE (shared) 
2013-12-14 23:34:52) #13: Sat Dec 14 16:05:43 PST 2013 
paul%screamer.whooppee.com@localhost:/build/netbsd-local/obj/amd64/sys/arch/amd64/compile/WHOOPPEE
 amd64
Architecture: x86_64
Machine: amd64
>Description:
        
For some reason, vi(1) will seg-fault on certain input files.  In 
particular, the .html files generated by atf automated build-and-test 
will cause this problem.  

The backtrace looks like this:

Core was generated by `vi'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f7ff6cfede3 in __rec_vpipe () from /usr/lib/libc.so.12
(gdb) bt
#0  0x00007f7ff6cfede3 in __rec_vpipe () from /usr/lib/libc.so.12
#1  0x00007f7ff6cfe6e2 in __rec_open () from /usr/lib/libc.so.12
#2  0x000000000044c245 in db_init ()
#3  0x0000000000422086 in file_init ()
#4  0x000000000042694c in editor ()
#5  0x000000000040660a in main ()


>How-To-Repeat:
The files that are known to generate this problem are rather large (on 
the order of 1MB) so I have NOT included or attached one here.  You can 
retrieve a sample file from

        http://www.whooppee.com/amd64-results/Y2013_11/5970_1_atf.html

Just retrieve the file and then run vi on it.
        
>Fix:
Unknown.
        

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index