[BusyBox 0000474]: vi crashes often

bugs at busybox.net bugs at busybox.net
Mon Nov 28 18:12:42 UTC 2005


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=474 
====================================================================== 
Reported By:                gbaker386
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   474
Category:                   Other
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             10-06-2005 08:44 PDT
Last Modified:              11-28-2005 10:12 PST
====================================================================== 
Summary:                    vi crashes often
Description: 
I have been using BusyBox since version 0.6 and I have always noticed that
'vi' will crash while editing a file.  One of the guys I work with has
found a way to reproduce the crash every time.

Load VI on either a new file or a previously created one and then pres the
following keys:

iThis is a test.<ESC>7<Left>i<C-BS><C-BS>was<ESC>7<Left>x

Once you have pressed 'x' busybox will enter a system where it is causing
a Memory dump over and over until you login on another session and kil the
vi process.  

This problem was seen using kernel 2.4.20 (if that is of any importance)
====================================================================== 

---------------------------------------------------------------------- 
 gbaker386 - 10-06-05 08:45  
---------------------------------------------------------------------- 
We also saw the same problem while running with Linux kernel 2.6 

---------------------------------------------------------------------- 
 landley - 11-03-05 19:25  
---------------------------------------------------------------------- 
Cannot reproduce this on 1.1.0-pre1 under Ubuntu.

Rob 

---------------------------------------------------------------------- 
 gbaker386 - 11-23-05 14:08  
---------------------------------------------------------------------- 
This occurs on a bigendian box

Processor: ARM IXP1200

If needed I can attach the config we use when compiling busybox. 

---------------------------------------------------------------------- 
 gbaker386 - 11-23-05 14:14  
---------------------------------------------------------------------- 
We are running Busybox 1.01 and we downloaded this version ran it on Ubuntu
and found that it works.  So perhaps itis releated to the Big Endian or
Processor we are using. 

---------------------------------------------------------------------- 
 landley - 11-23-05 19:27  
---------------------------------------------------------------------- 
Ah, now that's quite possible.  I haven't personally got an arm system to
test it under, but I can try to scrounge up an arm distro to run under
qemu.  Won't be this week though.

Erik Andersen is really the vi maintainer and the guy with arm hardware. 
Emailing him directly might work here... 

---------------------------------------------------------------------- 
 pgf - 11-28-05 08:33  
---------------------------------------------------------------------- 
i can reproduce this on PPC.  i'll take a look at it. 

---------------------------------------------------------------------- 
 pgf - 11-28-05 10:12  
---------------------------------------------------------------------- 
Committed revision 12559. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-06-05 08:44  gbaker386      New Issue                                    
10-06-05 08:44  gbaker386      Status                   new => assigned     
10-06-05 08:44  gbaker386      Assigned To               => BusyBox         
10-06-05 08:45  gbaker386      Note Added: 0000605                          
11-03-05 19:25  landley        Note Added: 0000658                          
11-03-05 19:25  landley        Status                   assigned => feedback
11-03-05 19:25  landley        version                  1.01 => svn         
11-23-05 14:08  gbaker386      Note Added: 0000689                          
11-23-05 14:14  gbaker386      Note Added: 0000690                          
11-23-05 19:27  landley        Note Added: 0000692                          
11-28-05 08:33  pgf            Note Added: 0000702                          
11-28-05 10:12  pgf            Status                   feedback => closed  
11-28-05 10:12  pgf            Note Added: 0000703                          
======================================================================




More information about the busybox-cvs mailing list