[Bug 729130] New: iostat dumps core when called as user with -N
https://bugzilla.novell.com/show_bug.cgi?id=729130 https://bugzilla.novell.com/show_bug.cgi?id=729130#c0 Summary: iostat dumps core when called as user with -N Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: i586 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Jan.Hebler@Kabeldeutschland.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 When one call iostat as an common user i.e. not root and set the Option -N iostat dumps core. Reproducible: Always Steps to Reproduce: 1. start iostat -N as common user 2. 3. Actual Results: jan@jan-netbook:~> iostat -N Linux 3.1.0-1.1-desktop (jan-netbook.hebler.de) 11/09/11 _i686_ (2 CPU) *** buffer overflow detected ***: iostat terminated ======= Backtrace: ========= /lib/libc.so.6(__fortify_fail+0x40)[0xb77827b0] /lib/libc.so.6(+0xe9687)[0xb7780687] /lib/libc.so.6(+0xe89bd)[0xb777f9bd] iostat[0x804a6af] iostat[0x804b620] iostat[0x80494c6] /lib/libc.so.6(__libc_start_main+0xf3)[0xb76b0003] iostat[0x8049569] ======= Memory map: ======== 08048000-08055000 r-xp 00000000 fd:08 131212 /usr/bin/iostat 08055000-08056000 r--p 0000c000 fd:08 131212 /usr/bin/iostat 08056000-08057000 rw-p 0000d000 fd:08 131212 /usr/bin/iostat 08057000-08078000 rw-p 00000000 00:00 0 [heap] b7662000-b767e000 r-xp 00000000 fd:07 5954 /lib/libgcc_s.so.1 b767e000-b767f000 r--p 0001b000 fd:07 5954 /lib/libgcc_s.so.1 b767f000-b7680000 rw-p 0001c000 fd:07 5954 /lib/libgcc_s.so.1 b7696000-b7697000 rw-p 00000000 00:00 0 b7697000-b77fd000 r-xp 00000000 fd:07 61 /lib/libc-2.14.1.so b77fd000-b77ff000 r--p 00165000 fd:07 61 /lib/libc-2.14.1.so b77ff000-b7800000 rw-p 00167000 fd:07 61 /lib/libc-2.14.1.so b7800000-b7803000 rw-p 00000000 00:00 0 b7817000-b781a000 rw-p 00000000 00:00 0 b781a000-b7839000 r-xp 00000000 fd:07 54 /lib/ld-2.14.1.so b7839000-b783a000 r--p 0001f000 fd:07 54 /lib/ld-2.14.1.so b783a000-b783b000 rw-p 00020000 fd:07 54 /lib/ld-2.14.1.so bf914000-bf935000 rw-p 00000000 00:00 0 [stack] ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso] Abgebrochen jan@jan-netbook:~> Expected Results: jan-netbook:/dev/disk # iostat -N Linux 3.1.0-1.1-desktop (jan-netbook.hebler.de) 09.11.2011 _i686_ (2 CPU) avg-cpu: %user %nice %system %iowait %steal %idle 4,48 0,04 1,41 0,81 0,00 93,26 Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn sda 0,74 4,52 13,42 783360 2325081 system-swap 0,00 0,01 0,00 1188 0 system-shared 0,04 0,11 0,12 18407 21295 system-s114home 0,00 0,00 0,00 704 0 system-s114root 0,00 0,00 0,00 704 0 system-s114usr 0,00 0,00 0,00 704 0 system-s114var 0,00 0,00 0,00 704 0 system-s121home 0,72 0,70 11,70 120812 2027684 system-s121root 0,05 0,26 0,15 44757 25716 system-s121usr 0,21 2,89 0,37 500629 64472 system-s121var 0,19 0,53 1,07 91176 185912 jan-netbook:/dev/disk # -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=729130 https://bugzilla.novell.com/show_bug.cgi?id=729130#c1 Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |Jan.Hebler@Kabeldeutschland | |.de --- Comment #1 from Andreas Jaeger <aj@suse.com> 2011-11-09 08:09:19 UTC --- Works fine on both my x86_64 and i686 systems as normal user: $ iostat -N Linux 3.1.0-1.1-desktop (byrd) 11/09/2011 _x86_64_ (8 CPU) avg-cpu: %user %nice %system %iowait %steal %idle 1.15 0.00 0.44 0.12 0.00 98.29 Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn sda 2.00 30.32 32.15 2482643 2632906 sdb 0.12 1.07 3.11 87785 255004 Are you're running factory? Please test 12.1 first and tell us: rpm -qi sysstat -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=729130 https://bugzilla.novell.com/show_bug.cgi?id=729130#c2 Jan Hebler <Jan.Hebler@Kabeldeutschland.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|Jan.Hebler@Kabeldeutschland | |.de | --- Comment #2 from Jan Hebler <Jan.Hebler@Kabeldeutschland.de> 2011-11-09 10:34:20 UTC --- Im running 12.1, not factory. Here is the output of rpm -qi sysstat jan@jan-netbook:~> rpm -qi sysstat Name : sysstat Version : 10.0.2 Release : 20.18.2 Architecture: i586 Install Date: Mo 07 Nov 2011 08:35:54 CET Group : System/Monitoring Size : 929695 License : GNU General Public License version 2 or later (GPL v2 or later) Signature : RSA/SHA256, Sa 29 Okt 2011 19:29:21 CEST, Key ID b88b2fd43dbdc284 Source RPM : sysstat-10.0.2-20.18.2.src.rpm Build Date : Sa 29 Okt 2011 19:28:46 CEST Build Host : build30 Relocations : (not relocatable) Packager : http://bugs.opensuse.org Vendor : openSUSE URL : http://pagesperso-orange.fr/sebastien.godard/ Summary : Sar and Iostat Commands for Linux Description : Sar and Iostat commands for Linux. The sar command collects and reports system activity information. The iostat command reports CPU statistics and I/O statistics for TTY devices and disks. The information collected by sar and iostat can be saved in a binary file for future inspection. Both commands now support SMP machines when displaying CPU utilization. Distribution: openSUSE 12.1 jan@jan-netbook:~> I think the Difference is that you have no Volume-Manager -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=729130 https://bugzilla.novell.com/show_bug.cgi?id=729130#c3 Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |puzel@suse.com |ovo.novell.com | --- Comment #3 from Andreas Jaeger <aj@suse.com> 2011-11-09 10:45:35 UTC --- Ah, the volume manager. Ok, let's assign it on then ;) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=729130 https://bugzilla.novell.com/show_bug.cgi?id=729130#c4 Petr Uzel <puzel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High Status|NEW |ASSIGNED Status Whiteboard| |sysstat --- Comment #4 from Petr Uzel <puzel@suse.com> 2011-11-09 11:57:21 UTC --- I can reproduce and I'm working on it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=729130 https://bugzilla.novell.com/show_bug.cgi?id=729130#c5 --- Comment #5 from Petr Uzel <puzel@suse.com> 2011-11-09 12:29:52 UTC --- Created an attachment (id=461165) --> (http://bugzilla.novell.com/attachment.cgi?id=461165) fix -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=729130 https://bugzilla.novell.com/show_bug.cgi?id=729130#c6 Petr Uzel <puzel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #6 from Petr Uzel <puzel@suse.com> 2011-11-09 12:30:44 UTC --- Thanks for the report. Submitted to Factory / 12.1. Closing. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=729130 https://bugzilla.novell.com/show_bug.cgi?id=729130#c7 --- Comment #7 from Bernhard Wiedemann <bwiedemann@suse.com> 2011-11-09 14:00:08 CET --- This is an autogenerated message for OBS integration: This bug (729130) was mentioned in https://build.opensuse.org/request/show/90804 Factory / sysstat -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com