Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#5867 - /bin/ls: Segmentation fault

Attached to Project: Arch Linux
Opened by Vitaly (mutronix) - Tuesday, 21 November 2006, 11:35 GMT
Last edited by Roman Kyrylych (Romashka) - Wednesday, 22 November 2006, 20:17 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Critical
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

alias ls='ls --color=auto' causes /bin/ls segfaults in some directories.

Egg:

$ pwd
/var/abs/local
$ ls
Segmentation fault
$ cd ..
$ ls
PKGBUILD.proto devel kernels network x11
base editors lib office x11-drivers
community extra local system x11-libs
daemons install.proto multimedia unstable
$ cd ..
$ ls
abs cache db ftp local log ntop run spool tmp
backup chroot empty lib lock mail opt service state www
$ cd ..
$ ls
Segmentation fault
$ pwd
/
$ alias ls
alias ls='ls --color=auto'
$ unalias ls
$ ls
bin dev home lib64 mnt proc sbin tmp var
boot etc lib lost+found opt root sys usr
$

Both i686 and x86_64 systems affected.

Temperary solution: unalias ls, comment this alias in .bashrc's
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Wednesday, 22 November 2006, 20:19 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in coreutils-6.5-2
Comment by soda (archfr) - Tuesday, 21 November 2006, 12:11 GMT
i have the same problem on scsi partitions
Comment by Anthony (ality) - Tuesday, 21 November 2006, 21:21 GMT
I'm also seeing the problem on i686. By massaging the patch from [1] into
[2], I was able to get it working correctly again. I seriously doubt that
bash aliases have anything to do with this problem but you never know
with GNU crap.

1. http://lists.gnu.org/archive/html/bug-coreutils/2006-11/msg00157.html
2. http://pbrane.org/files/rand/coreutils-idcache.patch

P.S
Sorry for not attaching the patch directly. I'm really busy right now
and it was just easier to paste a link.
Comment by soda (archfr) - Tuesday, 21 November 2006, 21:26 GMT
better way --> pacman -Syu
upgrade coreutils-6.5.2 available ;)
Comment by Anthony (ality) - Tuesday, 21 November 2006, 21:28 GMT
Haha. I should've checked before posting my comment.
Thanks soda. :)

Loading...