[Nut-upsuser] megatec process die

Gabor Gombas gombasg at sztaki.hu
Wed Jul 2 08:43:48 UTC 2008


On Wed, Jul 02, 2008 at 11:35:27AM +0300, Ercan Istek wrote:

> Asking for UPS status [Q1]...
> Q1 => OK [(214.5 214.5 220.1 030 49.9 2.22 41.5 00000000]
> Calculated battery charge: 100.0%
> Asking for UPS status [Q1]...
> Q1 => OK [(214.5 214.5 220.1 030 49.9 2.22 41.5 0000000000000000]
> Calculated battery charge: 100.0%
> *** stack smashing detected ***: megatec terminated
> ======= Backtrace: =========
> /lib/libc.so.6(__fortify_fail+0x48)[0x9b6ce8]
> /lib/libc.so.6(__fortify_fail+0x0)[0x9b6ca0]
> megatec[0x804a71a]
> megatec[0x804d250]
> [0x871abe8]

The best way to debug this would be to rebuild nut with "-O0 -g" and
then run the driver under valgrind.

Gabor

-- 
     ---------------------------------------------------------
     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences
     ---------------------------------------------------------



More information about the Nut-upsuser mailing list