[Bug 394703] [NEW] iostat -xn crashes with stack smashing

stek79 stefano.doni at gmail.com
Thu Jul 2 12:57:13 UTC 2009


Public bug reported:

Binary package hint: sysstat

Hi,
    just tried iostat -xn command on Jaunty and got the following output:

$ iostat -xn 
*** stack smashing detected ***: iostat terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7f5fda8]
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x0)[0xb7f5fd60]
iostat[0x8050c80]
iostat[0x804b845]
iostat[0x804c46a]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7e78775]
iostat[0x8048fd1]
======= Memory map: ========
08048000-08054000 r-xp 00000000 08:01 277633     /usr/bin/iostat
08054000-08055000 r--p 0000b000 08:01 277633     /usr/bin/iostat
08055000-08056000 rw-p 0000c000 08:01 277633     /usr/bin/iostat
08bf7000-08c18000 rw-p 08bf7000 00:00 0          [heap]
b7e06000-b7e13000 r-xp 00000000 08:01 57029      /lib/libgcc_s.so.1
b7e13000-b7e14000 r--p 0000c000 08:01 57029      /lib/libgcc_s.so.1
b7e14000-b7e15000 rw-p 0000d000 08:01 57029      /lib/libgcc_s.so.1
b7e22000-b7e61000 r--p 00000000 08:01 301740     /usr/lib/locale/en_US.utf8/LC_CTYPE
b7e61000-b7e62000 rw-p b7e61000 00:00 0 
b7e62000-b7fbe000 r-xp 00000000 08:01 74306      /lib/tls/i686/cmov/libc-2.9.so
b7fbe000-b7fbf000 ---p 0015c000 08:01 74306      /lib/tls/i686/cmov/libc-2.9.so
b7fbf000-b7fc1000 r--p 0015c000 08:01 74306      /lib/tls/i686/cmov/libc-2.9.so
b7fc1000-b7fc2000 rw-p 0015e000 08:01 74306      /lib/tls/i686/cmov/libc-2.9.so
b7fc2000-b7fc5000 rw-p b7fc2000 00:00 0 
b7fc8000-b7fc9000 r--p 00000000 08:01 303382     /usr/lib/locale/en_US.utf8/LC_NUMERIC
b7fc9000-b7fca000 r--p 00000000 08:01 302210     /usr/lib/locale/en_US.utf8/LC_TIME
b7fca000-b7fd1000 r--s 00000000 08:01 294004     /usr/lib/gconv/gconv-modules.cache
b7fd1000-b7fd2000 r--p 00000000 08:01 303295     /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
b7fd2000-b7fd4000 rw-p b7fd2000 00:00 0 
b7fd4000-b7fd5000 r-xp b7fd4000 00:00 0          [vdso]
b7fd5000-b7ff1000 r-xp 00000000 08:01 57540      /lib/ld-2.9.so
b7ff1000-b7ff2000 r--p 0001b000 08:01 57540      /lib/ld-2.9.so
b7ff2000-b7ff3000 rw-p 0001c000 08:01 57540      /lib/ld-2.9.so
bfcde000-bfcf3000 rw-p bffeb000 00:00 0          [stack]
Aborted

The problem seems to be the -n option, since -x alone works correctly.

Expected output would be of course the measurement of disk subsystem.
What I got is the crash report above.

# lsb_release -rd
Description:	Ubuntu 9.04
Release:	9.04

# apt-cache policy sysstat
sysstat:
  Installed: 8.1.7-1
  Candidate: 8.1.7-1
  Version table:
 *** 8.1.7-1 0
        500 http://it.archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

** Affects: sysstat (Ubuntu)
     Importance: Undecided
         Status: New

-- 
iostat -xn crashes with stack smashing
https://bugs.launchpad.net/bugs/394703
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list