Bug 517757 - iostat -n causes stack smashing
Summary: iostat -n causes stack smashing
Alias: None
Product: Fedora
Classification: Fedora
Component: sysstat
Version: 12
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Ivana Varekova
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: 517758
TreeView+ depends on / blocked
Reported: 2009-08-16 19:50 UTC by Steve Dickson
Modified: 2012-08-08 13:19 UTC (History)
1 user (show)

Fixed In Version: 9.0.4-5.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 517758 545931 (view as bug list)
Last Closed: 2010-01-04 21:21:02 UTC
Type: ---

Attachments (Terms of Use)
Patch that fixes the problem (1020 bytes, text/plain)
2009-08-16 19:51 UTC, Steve Dickson
no flags Details

Description Steve Dickson 2009-08-16 19:50:24 UTC
Description of problem:
When the '-n' flag given (to show NFS mounts) the command
crashes with a stack smashing detected

Version-Release number of selected component (if applicable):

How reproducible:
type 'iostat -n'

Steps to Reproduce:
Actual results:
*** stack smashing detected ***: iostat terminated
======= Backtrace: =========
======= Memory map: ========
00665000-0068f000 r-xp 00000000 fd:00 264662     /lib/libgcc_s-4.4.0-20090506.so.1
0068f000-00690000 rw-p 00029000 fd:00 264662     /lib/libgcc_s-4.4.0-20090506.so.1
00b1c000-00b3c000 r-xp 00000000 fd:00 262268     /lib/ld-2.10.1.so
00b3c000-00b3d000 r--p 0001f000 fd:00 262268     /lib/ld-2.10.1.so
00b3d000-00b3e000 rw-p 00020000 fd:00 262268     /lib/ld-2.10.1.so
00b40000-00cab000 r-xp 00000000 fd:00 262397     /lib/libc-2.10.1.so
00cab000-00cac000 ---p 0016b000 fd:00 262397     /lib/libc-2.10.1.so
00cac000-00cae000 r--p 0016b000 fd:00 262397     /lib/libc-2.10.1.so
00cae000-00caf000 rw-p 0016d000 fd:00 262397     /lib/libc-2.10.1.so
00caf000-00cb2000 rw-p 00caf000 00:00 0 
00fb0000-00fb1000 r-xp 00fb0000 00:00 0          [vdso]
08048000-08050000 r-xp 00000000 fd:01 1431245    /usr/bin/iostat
08050000-08051000 rw-p 00008000 fd:01 1431245    /usr/bin/iostat
0965f000-09680000 rw-p 0965f000 00:00 0          [heap]
b7d7e000-b7d7f000 r--p 024c6000 fd:01 1886787    /usr/lib/locale/locale-archive
b7d7f000-b7dbb000 r--p 0246d000 fd:01 1886787    /usr/lib/locale/locale-archive
b7dbb000-b7fbb000 r--p 00000000 fd:01 1886787    /usr/lib/locale/locale-archive
b7fbb000-b7fbd000 rw-p b7fbb000 00:00 0 
bf929000-bf93e000 rw-p bffeb000 00:00 0          [stack]
Aborted (core dumped)

Expected results:
Normal output... 

Additional info:

Comment 1 Steve Dickson 2009-08-16 19:51:46 UTC
Created attachment 357586 [details]
Patch that fixes the problem

Comment 3 Bug Zapper 2009-11-16 11:29:58 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:

Comment 4 Fedora Update System 2009-12-11 09:55:31 UTC
sysstat-9.0.4-5.fc12 has been submitted as an update for Fedora 12.

Comment 5 Fedora Update System 2009-12-16 01:19:17 UTC
sysstat-9.0.4-5.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update sysstat'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-13225

Comment 6 Fedora Update System 2010-01-04 21:20:56 UTC
sysstat-9.0.4-5.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.