Hello Juan,

I am experiencing the same problems that were reported in the closed bug
report http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=397513, except that
i am experiencing it with a different group of programs which are also from
coreutils, namely su, tar, ping6, stty.

I am following Jim Meyering's instructions to run with a different locale

env LC_ALL=C /bin/su

but I still have the same segfault

mmap2(0xb7f4c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_
DENYWRITE, 3, 0x1) = 0xb7f4c000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or
directory)
open("/lib/tls/libc.so.6", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240O\1"..., 512) =
512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1245488, ...}) = 0
mmap2(NULL, 1251484, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7e18000
mmap2(0xb7f40000, 28672, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x128) = 0xb7f40000
mmap2(0xb7f47000, 10396, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f47000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or
directory)
open("/lib/tls/libdl.so.2", O_RDONLY)   = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\f\0"..., 512) =
512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9592, ...}) = 0
mmap2(NULL, 12404, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7e14000
mmap2(0xb7e16000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7e16000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7e13000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7e12000
mprotect(0xb7f40000, 20480, PROT_READ)  = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7e126c0, limit:1048575,
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1,
seg_not_present:0, useable:1}) = 0
munmap(0xb7f83000, 28788)               = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 4251 detached

The common theme to all of these seg faults seems to be that it is freeing
(via munmap) memory that hasn't been allocated. But I am unsure how to
further diagnose this problem.

dev:/var/log# uname -a
Linux dev.omnitrans-interational.com 2.6.14-2-k7-smp #1 SMP Tue Nov 15
00:28:07 CET 2005 i686 GNU/Linux

coreutils:
  Installed: 5.97-5.3
  Candidate: 5.97-5.3
  Version table:
 *** 5.97-5.3 0
        500 http://ftp.debian.org stable/main Packages
        100 /var/lib/dpkg/status

Regards,
Jamie Cook, PhD

Reply via email to