tags #778598 moreinfo
thanks

Can you please re-check with 2.2.3 from experimental?

Greetings
Marc

On Sun, Aug 23, 2015 at 01:36:52PM +0200, Jakob Haufe wrote:
> From: Jakob Haufe <su...@sur5r.net>
> Subject: Bug#778598: atop sometimes fails with a floating point exception
>  or a trap exception
> To: Klaus Ethgen <kl...@ethgen.de>, 778...@bugs.debian.org
> Reply-To: Jakob Haufe <su...@sur5r.net>, 778...@bugs.debian.org
> Date: Sun, 23 Aug 2015 13:36:52 +0200
> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.28; x86_64-pc-linux-gnu)
> 
> Hi,
> 
> I stumbled across this as well and I rebuild atop with nostrip which gave me
> this backtrace:
> 
> ----SNIP----
> /tmp/atop-dbg/atop-1.27.3$ gdb /usr/bin/atop 
> /var/lib/coredumps/atop.1440280803/core
> Reading symbols from /usr/bin/atop...done.
> [New LWP 27858]
> Core was generated by `/usr/bin/atop -a -w /var/log/atop/atop_20150823 600'.
> Program terminated with signal SIGFPE, Arithmetic exception.
> #0  0x0000000000407662 in acctprocnt () at acctproc.c:571
>       
> warning: Source file is more recent than executable.
> 571             return (statacc.st_size - acctsize) / acctrecsz;
> gdb $ bt full
> #0  0x0000000000407662 in acctprocnt () at acctproc.c:571
>         statacc = {
>           st_dev = 18,
>           st_ino = 996486,
>           st_nlink = 1,
>           st_mode = 33152,
>           st_uid = 0,
>           st_gid = 0,
>           __pad0 = 0,
>           st_rdev = 0,
>           st_size = 0,
>           st_blksize = 4096,
>           st_blocks = 0,
>           st_atim = {
>             tv_sec = 1440280803,
>             tv_nsec = 90171947
>           },
>           st_mtim = {
>             tv_sec = 1440280803,
>             tv_nsec = 89171920
>           },
>           st_ctim = {
>             tv_sec = 1440280803,
>             tv_nsec = 89171920
>           },
>           __glibc_reserved = {0, 0, 0}
>         }
> #1  0x0000000000403242 in engine () at atop.c:829
>         lastcmd = <optimized out>
>         nactproc = 4285065470
>         totslpi = -1613224016
>         devsstat = 0x7fb47489d010
>         curpact = 0x7fb474867010
>         curpexit = <optimized out>
>         devtstat = <optimized out>
>         ntask = 280
>         sigact = {
>           __sigaction_handler = {
>             sa_handler = 0x403890 <getalarm>,
>             sa_sigaction = 0x403890 <getalarm>
>           },
>           sa_mask = {
>             __val = {0 <repeats 16 times>}
>           },
>           sa_flags = 0,
>           sa_restorer = 0x0
>         }
>         devpstat = <optimized out>
>         nexit = <optimized out>
>         ndeviat = <optimized out>
>         totproc = 1
>         totrun = 0
>         totslpu = 32767
>         totzombie = 1954458716
>         presstat = 0x7fb474981010
>         curplen = 298
>         i = <optimized out>
>         noverflow = <optimized out>
>         hlpsstat = 0x7fb474981010
>         j = <optimized out>
>         timelimit = 0
>         cursstat = 0x7fb47490f010
> #2  main (argc=<optimized out>, argv=<optimized out>) at atop.c:659
>         i = <optimized out>
>         c = <optimized out>
>         p = <optimized out>
>         rlim = {
>           rlim_cur = 18446744073709551615,
>           rlim_max = 18446744073709551615
>         }
> gdb $ print acctrecsz
> $1 = 0
> ----SNIP----
> 
> This is a global variable in acctproc.c. Unfortunately, I didn't have the
> time to investigate this yet.
> 
> Cheers,
> sur5r
> 
> -- 
> ceterum censeo microsoftem esse delendam.


-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421

Reply via email to