FS#43764 - glibc-2.21-1-i686 "ls -l" segfault

Attached to Project: Arch Linux
Opened by Patrick Hammes (chronos) - Tuesday, 10 February 2015, 10:18 GMT
Last edited by Allan McRae (Allan) - Tuesday, 10 February 2015, 11:46 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture i686
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

With recent glibc-2.21-1-i686 "ls -l" command causes segfault, see dmesg log below.
Downgraded to libc-2.20-6-i686 fixed it.

Additional info:

Filesystem is ext4.

$ uname -a
Linux archp3 3.18.6-1-ARCH #1 SMP PREEMPT Sat Feb 7 08:59:29 CET 2015 i686 GNU/Linux

$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 8
model name : Pentium III (Coppermine)
stepping : 10
microcode : 0x1
cpu MHz : 994.478
cache size : 256 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 mmx fxsr sse
bugs :
bogomips : 1989.82
clflush size : 32
cache_alignment : 32
address sizes : 36 bits physical, 32 bits virtual
power management:

$ pacman -Qi coreutils | grep Version
Version : 8.23-1

Steps to reproduce:

Every ls -l (alone and w/ more options) gives segfault

dmesg snippet:

[ 1923.715975] ls[10459]: segfault at 0 ip b7598f9c sp bfcefcb0 error 6 in libc-2.21.so[b7520000+1b2000]
[ 1924.689433] ls[10541]: segfault at 0 ip b7575f9c sp bfc112e0 error 6 in libc-2.21.so[b74fd000+1b2000]
[ 1925.632601] ls[10678]: segfault at 0 ip b763ef9c sp bfc34d20 error 6 in libc-2.21.so[b75c6000+1b2000]
[ 1926.686121] ls[10758]: segfault at 0 ip b75f9f9c sp bff39530 error 6 in libc-2.21.so[b7581000+1b2000]
[ 1927.675127] ls[10859]: segfault at 0 ip b7608f9c sp bfb95ee0 error 6 in libc-2.21.so[b7590000+1b2000]
[ 1928.642628] ls[10936]: segfault at 0 ip b7654f9c sp bf8aac80 error 6 in libc-2.21.so[b75dc000+1b2000]
[ 1929.649391] ls[11013]: segfault at 0 ip b7610f9c sp bf83f330 error 6 in libc-2.21.so[b7598000+1b2000]
[ 1930.685435] ls[11114]: segfault at 0 ip b764af9c sp bf9c85f0 error 6 in libc-2.21.so[b75d2000+1b2000]
[ 1931.672351] ls[11195]: segfault at 0 ip b75bff9c sp bfc12840 error 6 in libc-2.21.so[b7547000+1b2000]
[ 1932.652833] ls[11272]: segfault at 0 ip b7580f9c sp bfa991d0 error 6 in libc-2.21.so[b7508000+1b2000]
[ 1933.655199] ls[11352]: segfault at 0 ip b75a5f9c sp bfd749e0 error 6 in libc-2.21.so[b752d000+1b2000]
[ 1934.570370] ls[11442]: segfault at 0 ip b759cf9c sp bff041f0 error 6 in libc-2.21.so[b7524000+1b2000]
[ 1935.171752] ls[11518]: segfault at 0 ip b7659f9c sp bfce2bd0 error 6 in libc-2.21.so[b75e1000+1b2000]
[ 1935.955514] ls[11612]: segfault at 0 ip b7646f9c sp bfda6eb0 error 6 in libc-2.21.so[b75ce000+1b2000]
[ 1936.862761] ls[11706]: segfault at 0 ip b7645f9c sp bfebc250 error 6 in libc-2.21.so[b75cd000+1b2000]
[ 1937.827338] ls[11784]: segfault at 0 ip b7623f9c sp bffc2cf0 error 6 in libc-2.21.so[b75ab000+1b2000]
[ 1966.396971] ls[11957]: segfault at 4 ip b7586f9c sp bfc59ac0 error 6 in libc-2.21.so[b750e000+1b2000]
[ 1989.448019] ls[11972]: segfault at 4 ip b75c7fa4 sp bff808a0 error 6 in libc-2.21.so[b754f000+1b2000]
[ 1993.455361] dir[11977]: segfault at 4 ip b7628fa4 sp bfde0ef0 error 6 in libc-2.21.so[b75b0000+1b2000]
[ 1995.055829] ls[11979]: segfault at 4 ip b7571f9c sp bf8b9dc0 error 6 in libc-2.21.so[b74f9000+1b2000]
[ 1998.444369] ls[11981]: segfault at 4 ip b763afac sp bfaaffb0 error 6 in libc-2.21.so[b75c2000+1b2000]
[ 2023.881449] ls[12008]: segfault at 4 ip b7598f9c sp bf888e30 error 6 in libc-2.21.so[b7520000+1b2000]
[ 2091.630725] ls[12089]: segfault at 4 ip b7628f9c sp bfa23b80 error 6 in libc-2.21.so[b75b0000+1b2000]
[ 2096.558415] ls[12093]: segfault at 4 ip b7647f9c sp bfca6c80 error 6 in libc-2.21.so[b75cf000+1b2000]
[ 2097.606367] ls[12095]: segfault at 4 ip b7576f9c sp bf8d09d0 error 6 in libc-2.21.so[b74fe000+1b2000]
[ 2102.899981] ls[12098]: segfault at 4 ip b75c5f9c sp bfc1fb00 error 6 in libc-2.21.so[b754d000+1b2000]
This task depends upon

Closed by  Allan McRae (Allan)
Tuesday, 10 February 2015, 11:46 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#43753 
Comment by Patrick Hammes (chronos) - Tuesday, 10 February 2015, 10:32 GMT
of course it is glibc-2.20-6-i686, not libc...
attached logs
Comment by Karol Błażewicz (karol) - Tuesday, 10 February 2015, 10:47 GMT
Same as  FS#43753 ?
Comment by Patrick Hammes (chronos) - Tuesday, 10 February 2015, 10:49 GMT
yep, seems so. could be merged.

Loading...