-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Package: atop
Version: 1.27.3-1
Severity: normal
I do not know since when it started but since some time I get more and
more floating point exceptions when starting it on the console or "trap
divide error" when rotated via cron.
The trap error from log is:
traps: atop[28297] trap divide error ip:407b9a sp:7fff857869b8 error:0 in atop[400000+29000]
... and on the console just a "floating point exception".
The error do not happen every time and often atop TUI start with the
second or subsequent start. But it happen that often that I believe in a
more important bug.
- -- System Information:
Debian Release: 8.0
APT prefers unstable
APT policy: (800, 'unstable'), (110, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.18.6 (SMP w/8 CPU cores)
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) (ignored: LC_ALL set to de_DE)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages atop depends on:
ii libc6 2.19-15
ii libncurses5 5.9+20140913-1+b1
ii libtinfo5 5.9+20140913-1+b1
ii lsb-base 4.1+Debian13+nmu1
ii zlib1g 1:1.2.8.dfsg-2+b1
Versions of packages atop recommends:
ii cron 3.0pl1-127
atop suggests no packages.
- -- Configuration Files:
/etc/cron.d/atop changed:
0 0 * * * root /usr/sbin/invoke-rc.d atop _cron
/etc/default/atop changed:
INTERVAL=600
LOGPATH="/var/log/atop"
OUTFILE="$LOGPATH/daily.log"
START_DAEMON="no"
/etc/init.d/atop changed:
PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="atop system monitor"
NAME=atop
DAEMON=/usr/bin/atop
WRAPPER=/usr/share/atop/atop.wrapper
INTERVAL=600 # interval 10 minutes
LOGPATH="/var/log/atop"
OUTFILE=$LOGPATH/daily.log
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
[ -x $DAEMON ] || exit 0
START_DAEMON="yes"
[ -r /etc/default/$NAME ] && . /etc/default/$NAME
. /lib/init/vars.sh
. /lib/lsb/init-functions
CURDAY=$(date +%Y%m%d)
DAEMON_ARGS="-a -w $LOGPATH/atop_$CURDAY $INTERVAL"
do_start()
{
# Return
# 0 if daemon has been started
# 1 if daemon was already running
# 2 if daemon could not be started
start-stop-daemon --start --background --quiet \
--pidfile $PIDFILE \
--test --startas $WRAPPER > /dev/null \
|| return 1
start-stop-daemon --start --background --quiet \
--pidfile $PIDFILE --make-pidfile \
--startas $WRAPPER -- $DAEMON $OUTFILE \
$DAEMON_ARGS \
|| return 2
}
do_stop()
{
# Return
# 0 if daemon has been stopped
# 1 if daemon was already stopped
# 2 if daemon could not be stopped
# other if a failure occurred
start-stop-daemon --stop --quiet --retry=USR2/30/KILL/5 --pidfile $PIDFILE --name $NAME
RETVAL="$?"
[ "$RETVAL" = 2 ] && return 2
rm -f $PIDFILE
return "$RETVAL"
}
case "$1" in
start)
if [ "x$START_DAEMON" = "xyes" ]
then
[ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC " "$NAME"
do_start
case "$?" in
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
esac
fi
;;
stop)
[ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
do_stop
case "$?" in
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
esac
;;
status)
status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
;;
restart|force-reload|_cron)
[ "$1" = "_cron" ] && VERBOSE="no"
[ "$VERBOSE" != no ] && log_daemon_msg "Restarting $DESC" "$NAME"
do_stop
case "$?" in
0|1)
do_start
case "$?" in
0) [ "$VERBOSE" != no ] && log_end_msg 0
[ "$1" = "_cron" ] && sleep 3 && find $LOGPATH -name 'atop_*' -mtime +28 -exec rm {} \;
;;
1) [ "$VERBOSE" != no ] && log_end_msg 1 ;; # Old process is still running
*) [ "$VERBOSE" != no ] && log_end_msg 1 ;; # Failed to start
esac
;;
*)
# Failed to stop
[ "$VERBOSE" != no ] && log_end_msg 1
;;
esac
;;
*)
echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2
exit 1
;;
esac
exit 0
- -- no debconf information
- --
Klaus Ethgen
http://www.ethgen.ch/
pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <Kl...@Ethgen.de>
Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQGcBAEBCgAGBQJU4wDNAAoJEKZ8CrGAGfasPJ0L+wUNJSw8XlJdy0b3ZZe6f7+v
3Sv3Uy+zELAB2C9GdAYvz5tWdKybBgM+/YUFj5k63Jgpmpj0hhObLBGxV2Ifcele
RhHiAEpOO8raIkB33skATNruRl21NdyDj1l+YBjnpmHqWy5RVMiVbeyvPXyHt59/
udNfADzrkatRPfuLG3UiaHSI4ghc5+jwRCfsaBUYMCj0m069+JQ9TjALGmPouI9H
jwLjGM5WNUAUJ5t9fmvXH1F5GdYI6hhSX2BhUfTfzjlCWaQrNQrzPUIn0k6RZL0W
RS/N3TRyd8zdxPjUNfrvbvn9Y7NkO/48cfyLnj9YIRdlrtmE3VXt/aZse0GhWgKN
DRlujNCzalwde0jFUGn8dN2nHAFgilrYljvIvNxHz5GE/kPI7XAd/p3w6BI5GhVj
iBdlJdxVfJj0r3ux4h5HKF5S5dr7hUZFO2fvHKbns1miESWsejVQn+NiJcD6FYVe
GX9Swq5ud+/N+5+erHwsx4g5hW1vQ0jDGdqZJJYZzQ==
=Ertj
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to
debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listm...@lists.debian.org