Package: atop
Version: 1.23-1+squeeze1
Severity: minor

If the partition where the process accounting file,
/var/run/atop/atop.acct is located, is close to full (98%, depending on
kernel settings), the kernel stops writing process accounting entries.
(Log message in kern.log: "Process accounting paused")

Subsequently, acctvers(fd) in acctproc.c fails reading a version number
from the accounting file, and doesn't initialize the acctrecsz variable.

This, in turn, leads to a division by zero in acctprocnt(void):
"atop[4631] trap divide error ip:4060a8 sp:7fffd6992c90 error:0 in 
atop[400000+1c000]"

Set severity to minor, as this only happens under unusual circumstances
and it's trivial to work around using the ATOPACCT variable (according
to the man page - not verified).

-- System Information:
Debian Release: 6.0.5
  APT prefers stable
  APT policy: (989, 'stable'), (501, 'stable-updates'), (500, 'testing'), (99, 
'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.5.3-smapi-x61s-amd64-00007-g0f81c3f (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages atop depends on:
ii  libc6                   2.11.3-3         Embedded GNU C Library: Shared lib
ii  libncurses5             5.7+20100313-5   shared libraries for terminal hand
ii  logrotate               3.7.8-6          Log rotation utility
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

atop recommends no packages.

atop suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to