Mandriva

Return to the main archive index.

Custom Search

Mandrake Linux Archives: cooker-amd64@linux-mandrake.com

Mandrake Linux: cooker-amd64@linux-mandrake.com


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


I do not know if it is related, but I noticed this after installing kernel-2.4.22.27mdk-1-1mdk.

ls -> Segmentation fault
ls [a-m]* -> works
ls [m-s]* -> works
ls [s-z]* -> works
ls [m-z]* -> Segmentation fault

ls [tab] -> Display all 749 possibilities? (y or n) (not a small directorty, but not overly big)
press Y and bash shows the full listing.


strace ls gives:

...
open("/usr/share/locale/en_US/LC_NUMERIC", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=59, ...}) = 0
mmap(NULL, 59, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2a95579000
close(3) = 0
open("/usr/share/locale/en_US/LC_CTYPE", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=178468, ...}) = 0
mmap(NULL, 178468, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2a9557b000
close(3) = 0
rt_sigaction(SIGTERM, {0x402338, [TERM], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGKILL, {0x402338, [KILL], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = -1 EINVAL (Invalid argument)
rt_sigaction(SIGSTOP, {0x402338, [STOP], SA_RESTART|0x4000000}, {SIG_DFL}, 8) = -1 EINVAL (Invalid argument)
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TIOCGWINSZ, {ws_row=51, ws_col=111, ws_xpixel=0, ws_ypixel=0}) = 0
open(".", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 3
fstat(3, {st_mode=S_IFDIR|0775, st_size=31488, ...}) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
getdents64(3, /* 92 entries */, 4096) = 4072
getdents64(3, /* 86 entries */, 4096) = 4088
getdents64(3, /* 91 entries */, 4096) = 4088
getdents64(3, /* 87 entries */, 4096) = 4064
getdents64(3, /* 88 entries */, 4096) = 4088
mmap(NULL, 143360, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a955a7000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++



bash-2.05b$ rpm -q -f /bin/ls coreutils-5.0-7.1.92mdk

Cheers,


Thomas


Date Index | Thread Index

Looking for a job?



Advertisement (via La Vignette)