[Nut-upsdev] NUT 2.2.2 start driver problem on Opensuse 11.1

Arnaud Quette arnaud.quette at free.fr
Mon Jan 26 14:03:40 UTC 2009


Hi Alexey,

2009/1/22 Alexey Korobeinikov <alexey at mgm.kiev.ua>

> Hi.
> I have a trouble starting NUT (driver victronups) version 2.2.2-67.1 (for
> OpenSuSe 11.1) with follow error:
>
> /usr/lib/ups/driver/victronups -a match500
> Network UPS Tools - GE/IMV/Victron UPS driver 0.1.9 (2.2.2)
>

the driver is faulty.
the difference with the version you compiled is the fortification flag...
you'll have to get a debuging sessions (possibly after installing NUT' debug
symbols).

I'll there give the hand to Opensuse guys...

cheers,
Arnaud


> *** stack smashing detected ***: /usr/lib/ups/driver/victronups terminated
> ======= Backtrace: =========
> /lib/libc.so.6(__fortify_fail+0x4b)[0xb7fce06b]
> /lib/libc.so.6(__fortify_fail+0x0)[0xb7fce020]
> /usr/lib/ups/driver/victronups[0x804a568]
> /usr/lib/ups/driver/victronups[0x804b29d]
> /lib/libc.so.6(__libc_start_main+0xe5)[0xb7efd705]
> /usr/lib/ups/driver/victronups[0x8049661]
> ======= Memory map: ========
> 08048000-08054000 r-xp 00000000 08:02
> 2553778    /usr/lib/ups/driver/victronups
> 08054000-08055000 r--p 0000b000 08:02
> 2553778    /usr/lib/ups/driver/victronups
> 08055000-08056000 rw-p 0000c000 08:02
> 2553778    /usr/lib/ups/driver/victronups
> 08056000-08077000 rw-p 08056000 00:00 0          [heap]
> b7e9c000-b7ea9000 r-xp 00000000 08:02 1733497    /lib/libgcc_s.so.1
> b7ea9000-b7eaa000 r--p 0000c000 08:02 1733497    /lib/libgcc_s.so.1
> b7eaa000-b7eab000 rw-p 0000d000 08:02 1733497    /lib/libgcc_s.so.1
> b7eab000-b7ec0000 r-xp 00000000 08:02 1733438    /lib/libnsl-2.9.so
> b7ec0000-b7ec1000 r--p 00014000 08:02 1733438    /lib/libnsl-2.9.so
> b7ec1000-b7ec2000 rw-p 00015000 08:02 1733438    /lib/libnsl-2.9.so
> b7ec2000-b7ec4000 rw-p b7ec2000 00:00 0
> b7ee6000-b7ee7000 rw-p b7ee6000 00:00 0
> b7ee7000-b803c000 r-xp 00000000 08:02 1733331    /lib/libc-2.9.so
> b803c000-b803e000 r--p 00155000 08:02 1733331    /lib/libc-2.9.so
> b803e000-b803f000 rw-p 00157000 08:02 1733331    /lib/libc-2.9.so
> b803f000-b8043000 rw-p b803f000 00:00 0
> b8044000-b804e000 r-xp 00000000 08:02 1733453    /lib/libnss_files-2.9.so
> b804e000-b804f000 r--p 00009000 08:02 1733453    /lib/libnss_files-2.9.so
> b804f000-b8050000 rw-p 0000a000 08:02 1733453    /lib/libnss_files-2.9.so
> b8050000-b8059000 r-xp 00000000 08:02 1733936    /lib/libnss_nis-2.9.so
> b8059000-b805a000 r--p 00008000 08:02 1733936    /lib/libnss_nis-2.9.so
> b805a000-b805b000 rw-p 00009000 08:02 1733936    /lib/libnss_nis-2.9.so
> b805b000-b8062000 r-xp 00000000 08:02 1733444    /lib/libnss_compat-2.9.so
> b8062000-b8063000 r--p 00006000 08:02 1733444    /lib/libnss_compat-2.9.so
> b8063000-b8064000 rw-p 00007000 08:02 1733444    /lib/libnss_compat-2.9.so
> b8064000-b8065000 rw-p b8064000 00:00 0
> b8065000-b8083000 r-xp 00000000 08:02 1734709    /lib/ld-2.9.so
> b8083000-b8084000 r--p 0001d000 08:02 1734709    /lib/ld-2.9.so
> b8084000-b8085000 rw-p 0001e000 08:02 1734709    /lib/ld-2.9.so
> bfa6f000-bfa84000 rw-p bffeb000 00:00 0          [stack]
> ffffe000-fffff000 r-xp 00000000 00:00 0          [vdso]
> Aborted
>
> And I have a compiled from source (nut-2.2.2) driver with same ups.config
> file
> with NO error (everything is fine)
> Why?
>
> Computer Pentium IV, motherboard AOpen AX4SPE-UN
> OS OpenSuSe 11.1
> Linux owl 2.6.27.7-9-pae #1 SMP 2008-12-04 18:10:04 +0100 i686 i686 i386
> GNU/Linux.
>
> Thank You.
> --
> Alexey
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20090126/4e45be40/attachment.htm 


More information about the Nut-upsdev mailing list