[Bug 383156] [NEW] iostat stack overflow

DragonK dragonk at gmail.com
Wed Jun 3 14:17:18 BST 2009


Public bug reported:

It seems that (in my Ubuntu Jaunty) running "iostat -d -k -N -x -n 1"
triggers the stack smashing protection:

*** stack smashing detected ***: iostat terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7fe1da8]
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x0)[0xb7fe1d60]
iostat[0x8050c80]
iostat[0x804b845]
iostat[0x804c46a]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7efa775]
iostat[0x8048fd1]
======= Memory map: ========
08048000-08054000 r-xp 00000000 fc:05 334021     /usr/bin/iostat
08054000-08055000 r--p 0000b000 fc:05 334021     /usr/bin/iostat
08055000-08056000 rw-p 0000c000 fc:05 334021     /usr/bin/iostat
0972e000-0974f000 rw-p 0972e000 00:00 0          [heap]
b7ea4000-b7ee3000 r--p 00000000 fc:05 7816       /usr/lib/locale/en_US.utf8/LC_CTYPE
b7ee3000-b7ee4000 rw-p b7ee3000 00:00 0 
b7ee4000-b8040000 r-xp 00000000 fc:05 9337       /lib/tls/i686/cmov/libc-2.9.so
b8040000-b8041000 ---p 0015c000 fc:05 9337       /lib/tls/i686/cmov/libc-2.9.so
b8041000-b8043000 r--p 0015c000 fc:05 9337       /lib/tls/i686/cmov/libc-2.9.so
b8043000-b8044000 rw-p 0015e000 fc:05 9337       /lib/tls/i686/cmov/libc-2.9.so
b8044000-b8047000 rw-p b8044000 00:00 0 
b804a000-b8057000 r-xp 00000000 fc:05 9327       /lib/libgcc_s.so.1
b8057000-b8058000 r--p 0000c000 fc:05 9327       /lib/libgcc_s.so.1
b8058000-b8059000 rw-p 0000d000 fc:05 9327       /lib/libgcc_s.so.1
b8059000-b805a000 r--p 00000000 fc:05 9942       /usr/lib/locale/en_US.utf8/LC_NUMERIC
b805a000-b805b000 r--p 00000000 fc:05 14157      /usr/lib/locale/en_US.utf8/LC_TIME
b805b000-b8062000 r--s 00000000 fc:05 9299       /usr/lib/gconv/gconv-modules.cache
b8062000-b8063000 r--p 00000000 fc:05 10060      /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
b8063000-b8065000 rw-p b8063000 00:00 0 
b8065000-b8066000 r-xp b8065000 00:00 0          [vdso]
b8066000-b8082000 r-xp 00000000 fc:05 168225     /lib/ld-2.9.so
b8082000-b8083000 r--p 0001b000 fc:05 168225     /lib/ld-2.9.so
b8083000-b8084000 rw-p 0001c000 fc:05 168225     /lib/ld-2.9.so
bfc6e000-bfc83000 rw-p bffeb000 00:00 0          [stack]


% dpkg -s sysstat
Package: sysstat
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 1008
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Architecture: i386
Version: 8.1.7-1
Depends: libc6 (>= 2.4), debconf (>= 0.5) | debconf-2.0, ucf (>= 2.003), lsb-base (>= 3.0-6), bzip2
Recommends: cron
Suggests: isag
Conflicts: atsar (<< 1.5-3)
Conffiles:
 /etc/sysstat/sysstat.ioconf c3e4e67529e0732144888e4b30256fa8
 /etc/sysstat/sysstat e52dbe02e5da26d9be965373676e9355
 /etc/init.d/sysstat 590bb8cfc0e522713b1a13724783e4e6
 /etc/cron.daily/sysstat 4e5aa59f38b520c5a45d3fdc7cdec46c
 /etc/cron.d/sysstat fd33f8da0b7e539c4f3e2946aa22b269
Description: sar, iostat and mpstat - system performance tools for Linux
 The sysstat package contains the following system performance tools:
  * sar - collects and reports system activity information;
  * iostat - reports CPU utilization and I/O statistics for disks;
  * mpstat - reports global and per-processor statistics;
  * pidstat - reports statistics for Linux tasks (processes);
  * sadf - displays data collected by sar in various formats.
 .
 The statistics reported by sar concern I/O transfer rates,
 paging activity, process-related activities, interrupts,
 network activity, memory and swap space utilization, CPU
 utilization, kernel activities and TTY statistics, among
 others. Both UP and SMP machines are fully supported.
Original-Maintainer: Robert Luberda <robert at debian.org>
Homepage: http://pagesperso-orange.fr/sebastien.godard/

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

-- 
iostat stack overflow
https://bugs.launchpad.net/bugs/383156
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to sysstat in ubuntu.



More information about the Ubuntu-server-bugs mailing list