Messages in this thread | | | From | Peter Englmaier <> | Subject | PROBLEM: Wrong entry in file '/proc/stat' causes 'kpm' (from KDE) to crash | Date | Thu, 18 Mar 1999 21:26:35 -0500 (EST) |
| |
Hello,
here is my first bug report:
[1.] One line summary of the problem: Wrong entry in file '/proc/stat' causes 'kpm' (from KDE) to crash
[2.] Full description of the problem/report: After upgrading to 2.2.3-ac1 the process manger 'kpm' from KDE crashed when started. With 'strace' I found out, that this happens when /proc/stat is read in. Comparison between /proc/stat revealed that the format of the 'intr' entry has changed (possibly causing a buffer overflow in kpm). While 'kpm' should be able to handle this, it appears to me that the 'intr' entry should not contain so many entries ether. The problem is still in 2.2.3-ac3.
Contents of /proc/stat in 2.2.1-ac1: cpu 153618 810 26469 6556492 disk 65671 10 0 0 disk_rio 38821 10 0 0 disk_wio 26850 0 0 0 disk_rblk 76975 34 0 0 disk_wblk 54252 0 0 0 page 233536 126410 swap 397 1513 intr 8880707 6737389 89504 0 1672989 3 1923 0 29 3 146453 3 0 167514 1 64891 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ctxt 9848696 btime 921738963 processes 8236
Contents of /proc/stat in 2.2.3-ac3: cpu 4876 4 1340 60281 disk 5843 0 0 0 disk_rio 4829 0 0 0 disk_wio 1014 0 0 0 disk_rblk 9629 0 0 0 disk_wblk 2028 0 0 0 page 38106 2676 swap 1 0 intr 77156 66501 3347 0 4 3 360 0 3 1 4 3 0 1107 1 5818 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ctxt 171441 btime 921808678 processes 697
[3.] Keywords (i.e., modules, networking, kernel): proc filesystem
[4.] Kernel version (from /proc/version): 2.2.3-ac1
[6.] A small shell script or example program which triggers the problem (if possible) kpm version 1.3 from the KDE desktop version 1.1
[7.] Environment [7.1.] Software (add the output of the ver_linux script here) Kernel modules 2.1.121 Gnu C 2.7.2.3 Binutils 2.9.1.0.15 Linux C Library 2.0.7 Dynamic linker ldd (GNU libc) 2.0.7 Linux C++ Library 2.8.0 Procps 1.2.9 Mount 2.8a Net-tools (1999-01-01) Kbd 0.96 Sh-utils 1.16 [7.2.] Processor information (from /proc/cpuinfo): processor : 0 vendor_id : GenuineIntel cpu family : 5 model : 8 model name : Mobile Pentium MMX stepping : 1 cpu MHz : 267.278174 fdiv_bug : no hlt_bug : no sep_bug : no f00f_bug : yes fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr mce cx8 mmx bogomips : 532.48 [7.3.] Module information (from /proc/modules): ide-cd 20796 0 (autoclean) cdrom 11544 0 (autoclean) [ide-cd] isofs 17096 0 (autoclean) ppp 17712 2 (autoclean) slhc 4136 1 (autoclean) [ppp] serial_cs 3504 0 (unused) autofs 8776 1 (autoclean) nfs 28636 1 (autoclean) lockd 27832 1 (autoclean) [nfs] sunrpc 47888 1 (autoclean) [nfs lockd] pcnet_cs 6928 0 8390 5564 0 [pcnet_cs] ds 5460 2 [serial_cs pcnet_cs] i82365 20532 2 pcmcia_core 35380 0 [serial_cs pcnet_cs ds i82365] nls_iso8859-1 2024 1 (autoclean) nls_cp437 3548 1 (autoclean) vfat 11304 1 (autoclean) fat 23640 1 (autoclean) [vfat] opl3 10244 0 (autoclean) opl3sa2 3412 0 ad1848 14276 0 [opl3sa2] mpu401 17628 0 [opl3sa2] sound 54516 0 [opl3 opl3sa2 ad1848 mpu401] soundcore 2084 7 [sound]
That's it! Best Wishes Peter Englmaier
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |