[BusyBox 0002434]: Segmentation fault ls -l, ps

bugs at busybox.net bugs at busybox.net
Thu May 1 16:15:18 UTC 2008


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=2434 
====================================================================== 
Reported By:                fingar
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   2434
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             03-06-2008 02:19 PST
Last Modified:              05-01-2008 09:15 PDT
====================================================================== 
Summary:                    Segmentation fault ls -l, ps
Description: 
I am running Busybox 1.9.1 on Linux 2.6.21.3. I am using codesourcery
compiler arm-none-linux-gnueabi and running on AT91SAM9260.

When I run ls -l or ps I get segmentation fault. I have tracked the
problem down to get_cached_username in libbb/procps.c but I can't get any
further.

I don't know if it is a problem with my /etc/passwd file or something in
Busybox.

Any help would be appreciated
====================================================================== 

---------------------------------------------------------------------- 
 kienvtran - 05-01-08 09:15  
---------------------------------------------------------------------- 
Ran into the exact same problem on the same HW/SW platform.  Attached is a
fix in the form of an updated libbb/bb_pwd.c source file. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-06-08 02:19  fingar         New Issue                                    
03-06-08 02:19  fingar         Status                   new => assigned     
03-06-08 02:19  fingar         Assigned To               => BusyBox         
05-01-08 09:15  kienvtran      Note Added: 0007334                          
======================================================================




More information about the busybox-cvs mailing list