Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#47643 - [apcupsd] apcaccess crash with buffer overflow
Attached to Project:
Community Packages
Opened by Ruben Kelevra (RubenKelevra) - Wednesday, 06 January 2016, 10:27 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 06 January 2016, 17:34 GMT
Opened by Ruben Kelevra (RubenKelevra) - Wednesday, 06 January 2016, 10:27 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 06 January 2016, 17:34 GMT
|
DetailsDescription:
apctest crashes: [root@diti5 ruben]# apcaccess *** buffer overflow detected ***: apcaccess terminated ======= Backtrace: ========= /usr/lib/libc.so.6(+0x72055)[0x7f9f5a850055] /usr/lib/libc.so.6(__fortify_fail+0x37)[0x7f9f5a8d75d7] /usr/lib/libc.so.6(+0xf77a0)[0x7f9f5a8d57a0] /usr/lib/libc.so.6(+0xf9547)[0x7f9f5a8d7547] apcaccess[0x402bf2] apcaccess[0x402d9f] apcaccess[0x4016e0] /usr/lib/libc.so.6(__libc_start_main+0xf0)[0x7f9f5a7fe610] apcaccess[0x401a29] ======= Memory map: ======== 00400000-00406000 r-xp 00000000 08:13 68652 /usr/bin/apcaccess 00605000-00606000 r--p 00005000 08:13 68652 /usr/bin/apcaccess 00606000-00608000 rw-p 00006000 08:13 68652 /usr/bin/apcaccess 00c0b000-00c2c000 rw-p 00000000 00:00 0 [heap] 7f9f5a3b6000-7f9f5a3cc000 r-xp 00000000 08:13 3516 /usr/lib/libgcc_s.so.1 7f9f5a3cc000-7f9f5a5cb000 ---p 00016000 08:13 3516 /usr/lib/libgcc_s.so.1 7f9f5a5cb000-7f9f5a5cc000 rw-p 00015000 08:13 3516 /usr/lib/libgcc_s.so.1 7f9f5a5cc000-7f9f5a5d7000 r-xp 00000000 08:13 3269 /usr/lib/libnss_files-2.22.so 7f9f5a5d7000-7f9f5a7d6000 ---p 0000b000 08:13 3269 /usr/lib/libnss_files-2.22.so 7f9f5a7d6000-7f9f5a7d7000 r--p 0000a000 08:13 3269 /usr/lib/libnss_files-2.22.so 7f9f5a7d7000-7f9f5a7d8000 rw-p 0000b000 08:13 3269 /usr/lib/libnss_files-2.22.so 7f9f5a7d8000-7f9f5a7de000 rw-p 00000000 00:00 0 7f9f5a7de000-7f9f5a979000 r-xp 00000000 08:13 3224 /usr/lib/libc-2.22.so 7f9f5a979000-7f9f5ab78000 ---p 0019b000 08:13 3224 /usr/lib/libc-2.22.so 7f9f5ab78000-7f9f5ab7c000 r--p 0019a000 08:13 3224 /usr/lib/libc-2.22.so 7f9f5ab7c000-7f9f5ab7e000 rw-p 0019e000 08:13 3224 /usr/lib/libc-2.22.so 7f9f5ab7e000-7f9f5ab82000 rw-p 00000000 00:00 0 7f9f5ab82000-7f9f5aba4000 r-xp 00000000 08:13 3222 /usr/lib/ld-2.22.so 7f9f5ad5e000-7f9f5ad61000 rw-p 00000000 00:00 0 7f9f5ada2000-7f9f5ada3000 rw-p 00000000 00:00 0 7f9f5ada3000-7f9f5ada4000 r--p 00021000 08:13 3222 /usr/lib/ld-2.22.so 7f9f5ada4000-7f9f5ada5000 rw-p 00022000 08:13 3222 /usr/lib/ld-2.22.so 7f9f5ada5000-7f9f5ada6000 rw-p 00000000 00:00 0 7ffcc1139000-7ffcc115a000 rw-p 00000000 00:00 0 [stack] 7ffcc11f8000-7ffcc11fa000 r--p 00000000 00:00 0 [vvar] 7ffcc11fa000-7ffcc11fc000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] Abgebrochen (Speicherabzug geschrieben) Additional info: * package version(s) latest * config and/or log files etc. no manual config Steps to reproduce: connect apc usv, start apcaccess as root. crash. |
This task depends upon
Closed by Sergej Pupykin (sergej)
Wednesday, 06 January 2016, 17:34 GMT
Reason for closing: Upstream
Wednesday, 06 January 2016, 17:34 GMT
Reason for closing: Upstream
Moreover if you start apcupsd daemon it starts working.