Mailinglist Archive: opensuse-bugs (10824 mails)

< Previous Next >
[Bug 549898] iostat -n aborts with stack smashing detected messages
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 29 Oct 2009 17:08:36 -0600
  • Message-id: <20091029230836.3FB71CC7CD@xxxxxxxxxxxxxxxxxxxxxx>
http://bugzilla.novell.com/show_bug.cgi?id=549898

User mvdv@xxxxxxxxxxx added comment
http://bugzilla.novell.com/show_bug.cgi?id=549898#c2





--- Comment #2 from Mark Van De Vyver <mvdv@xxxxxxxxxxx> 2009-10-29 17:08:34
MDT ---
Does the strace output below help?
Let me know if you want something else. HTH

# strace iostat -n
execve("/usr/bin/iostat", ["iostat", "-n"], [/* 61 vars */]) = 0
brk(0) = 0x8056000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb809f000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/mpi/gcc/openmpi/lib/tls/i686/sse2/libc.so.6", O_RDONLY) = -1
ENOENT (No such file or directory)
stat64("/usr/lib/mpi/gcc/openmpi/lib/tls/i686/sse2", 0xbfe9ab54) = -1 ENOENT
(No such file or directory)
open("/usr/lib/mpi/gcc/openmpi/lib/tls/i686/libc.so.6", O_RDONLY) = -1 ENOENT
(No such file or directory)
stat64("/usr/lib/mpi/gcc/openmpi/lib/tls/i686", 0xbfe9ab54) = -1 ENOENT (No
such file or directory)
open("/usr/lib/mpi/gcc/openmpi/lib/tls/sse2/libc.so.6", O_RDONLY) = -1 ENOENT
(No such file or directory)
stat64("/usr/lib/mpi/gcc/openmpi/lib/tls/sse2", 0xbfe9ab54) = -1 ENOENT (No
such file or directory)
open("/usr/lib/mpi/gcc/openmpi/lib/tls/libc.so.6", O_RDONLY) = -1 ENOENT (No
such file or directory)
stat64("/usr/lib/mpi/gcc/openmpi/lib/tls", 0xbfe9ab54) = -1 ENOENT (No such
file or directory)
open("/usr/lib/mpi/gcc/openmpi/lib/i686/sse2/libc.so.6", O_RDONLY) = -1 ENOENT
(No such file or directory)
stat64("/usr/lib/mpi/gcc/openmpi/lib/i686/sse2", 0xbfe9ab54) = -1 ENOENT (No
such file or directory)
open("/usr/lib/mpi/gcc/openmpi/lib/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No
such file or directory)
stat64("/usr/lib/mpi/gcc/openmpi/lib/i686", 0xbfe9ab54) = -1 ENOENT (No such
file or directory)
open("/usr/lib/mpi/gcc/openmpi/lib/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No
such file or directory)
stat64("/usr/lib/mpi/gcc/openmpi/lib/sse2", 0xbfe9ab54) = -1 ENOENT (No such
file or directory)
open("/usr/lib/mpi/gcc/openmpi/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such
file or directory)
stat64("/usr/lib/mpi/gcc/openmpi/lib", {st_mode=S_IFDIR|0755, st_size=4096,
..}) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=151467, ...}) = 0
mmap2(NULL, 151467, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb807a000
close(3) = 0
open("/lib/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`h\1\0004\0\0\0"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1419604, ...}) = 0
mmap2(NULL, 1422928, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7f1e000
fadvise64(3, 0, 1422928, POSIX_FADV_WILLNEED) = 0
mprotect(0xb8073000, 4096, PROT_NONE) = 0
mmap2(0xb8074000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x155) = 0xb8074000
mmap2(0xb8077000, 9808, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb8077000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f1d000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7f1d6c0, limit:1048575,
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0,
useable:1}) = 0
open("/dev/urandom", O_RDONLY) = 3
read(3, "\310\314&\204", 4) = 4
close(3) = 0
mprotect(0xb8074000, 8192, PROT_READ) = 0
mprotect(0x8054000, 4096, PROT_READ) = 0
mprotect(0xb80be000, 4096, PROT_READ) = 0
munmap(0xb807a000, 151467) = 0
brk(0) = 0x8056000
brk(0x8077000) = 0x8077000
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No
such file or directory)
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2512, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb809e000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2512
read(3, "", 4096) = 0
close(3) = 0
munmap(0xb809e000, 4096) = 0
open("/usr/lib/locale/en_US.UTF-8/LC_CTYPE", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/lib/locale/en_US.utf8/LC_CTYPE", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=256444, ...}) = 0
mmap2(NULL, 256444, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ede000
close(3) = 0
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=26048, ...}) = 0
mmap2(NULL, 26048, PROT_READ, MAP_SHARED, 3, 0) = 0xb8098000
close(3) = 0
open("/sys/devices/system/cpu",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
fcntl64(3, F_GETFD) = 0x1 (flags FD_CLOEXEC)
getdents64(3, /* 7 entries */, 4096) = 200
stat64("/sys/devices/system/cpu/cpu0", {st_mode=S_IFDIR|0755, st_size=0, ...})
= 0
getdents64(3, /* 0 entries */, 4096) = 0
close(3) = 0
open("/proc/diskstats", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb8097000
read(3, " 8 0 sda 433383 1803 136819"..., 1024) = 1024
read(3, " 32865 279024 365048 0 48664 402"..., 1024) = 651
read(3, "", 1024) = 0
close(3) = 0
munmap(0xb8097000, 4096) = 0
open("/proc/self/mountstats", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0400, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb8097000
read(3, "device rootfs mounted on / with "..., 1024) = 1024
read(3, "-fuse-daemon mounted on /home/mv"..., 1024) = 73
read(3, "", 1024) = 0
close(3) = 0
munmap(0xb8097000, 4096) = 0
open("/dev/tty", O_RDWR|O_NOCTTY|O_NONBLOCK) = 3
writev(3, [{"*** ", 4}, {"stack smashing detected", 23}, {" ***: ", 6},
{"iostat", 6}, {" terminated\n", 12}], 5*** stack smashing detected ***: iostat
terminated
) = 51
open("/usr/lib/mpi/gcc/openmpi/lib/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=151467, ...}) = 0
mmap2(NULL, 151467, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb7eb9000
close(4) = 0
open("/lib/libgcc_s.so.1", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\35\0\0004\0\0\0"...,
512) = 512
fstat64(4, {st_mode=S_IFREG|0755, st_size=54876, ...}) = 0
mmap2(NULL, 57864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) =
0xb7eaa000
fadvise64(4, 0, 57864, POSIX_FADV_WILLNEED) = 0
mmap2(0xb7eb7000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0xc) = 0xb7eb7000
close(4) = 0
mprotect(0xb7eb7000, 4096, PROT_READ) = 0
munmap(0xb7eb9000, 151467) = 0
write(3, "======= Backtrace: =========\n", 29======= Backtrace: =========
) = 29
writev(3, [{"/lib/libc.so.6", 14}, {"(", 1}, {"__fortify_fail", 14}, {"+0x",
3}, {"48", 2}, {")", 1}, {"[0x", 3}, {"b8004da8", 8}, {"]\n", 2}],
9/lib/libc.so.6(__fortify_fail+0x48)[0xb8004da8]
) = 48
writev(3, [{"/lib/libc.so.6", 14}, {"(", 1}, {"__fortify_fail", 14}, {"+0x",
3}, {"0", 1}, {")", 1}, {"[0x", 3}, {"b8004d60", 8}, {"]\n", 2}],
9/lib/libc.so.6(__fortify_fail+0x0)[0xb8004d60]
) = 47
writev(3, [{"iostat", 6}, {"[0x", 3}, {"80505c0", 7}, {"]\n", 2}],
4iostat[0x80505c0]
) = 18
writev(3, [{"iostat", 6}, {"[0x", 3}, {"804b805", 7}, {"]\n", 2}],
4iostat[0x804b805]
) = 18
writev(3, [{"iostat", 6}, {"[0x", 3}, {"804c42a", 7}, {"]\n", 2}],
4iostat[0x804c42a]
) = 18
writev(3, [{"/lib/libc.so.6", 14}, {"(", 1}, {"__libc_start_main", 17}, {"+0x",
3}, {"e5", 2}, {")", 1}, {"[0x", 3}, {"b7f34705", 8}, {"]\n", 2}],
9/lib/libc.so.6(__libc_start_main+0xe5)[0xb7f34705]
) = 51
writev(3, [{"iostat", 6}, {"[0x", 3}, {"8049011", 7}, {"]\n", 2}],
4iostat[0x8049011]
) = 18
write(3, "======= Memory map: ========\n", 29======= Memory map: ========
) = 29
open("/proc/self/maps", O_RDONLY) = 4
read(4, "08048000-08054000 r-xp 00000000 "..., 1024) = 1024
write(3, "08048000-08054000 r-xp 00000000 "..., 102408048000-08054000 r-xp
00000000 fd:06 673140 /usr/bin/iostat
08054000-08055000 r--p 0000b000 fd:06 673140 /usr/bin/iostat
08055000-08056000 rw-p 0000c000 fd:06 673140 /usr/bin/iostat
08056000-08077000 rw-p 08056000 00:00 0 [heap]
b7eaa000-b7eb7000 r-xp 00000000 fd:06 311400 /lib/libgcc_s.so.1
b7eb7000-b7eb8000 r--p 0000c000 fd:06 311400 /lib/libgcc_s.so.1
b7eb8000-b7eb9000 rw-p 0000d000 fd:06 311400 /lib/libgcc_s.so.1
b7ede000-b7f1d000 r--p 00000000 fd:06 553091
/usr/lib/locale/en_US.utf8/LC_CTYPE
b7f1d000-b7f1e000 rw-p b7f1d000 00:00 0
b7f1e000-b8073000 r-xp 00000000 fd:06 311705 /lib/libc-2.9.so
b8073000-b8074000 ---p 00155000 fd:06 311705 /lib/libc-2.9.so
b8074000-b8076000 r--p 00155000 fd:06 311705 /lib/libc-2.9.so
b8076000-b8077000 rw-p 00157000 fd:06 311705 /lib/libc-2.9.so
b8077000-b807a000 rw-p b8077000 00:00 0
b8098000-b809f000 r--s 00000000 fd:06 524619
/usr/lib/gconv/gconv-modules.cache
b809f000-b80a0000 rw-p b809f000 00:00 0
b80a0000-b80b) = 1024
read(4, "e000 r-xp 00000000 fd:06 311700 "..., 1024) = 292
write(3, "e000 r-xp 00000000 fd:06 311700 "..., 292e000 r-xp 00000000 fd:06
311700 /lib/ld-2.9.so
b80be000-b80bf000 r--p 0001d000 fd:06 311700 /lib/ld-2.9.so
b80bf000-b80c0000 rw-p 0001e000 fd:06 311700 /lib/ld-2.9.so
bfe87000-bfe9c000 rw-p bffeb000 00:00 0 [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]
) = 292
read(4, "", 1024) = 0
close(4) = 0
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
gettid() = 18678
tgkill(18678, 18678, SIGABRT) = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++

--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
References