search for: snmp_parse_oid

Displaying 7 results from an estimated 7 matches for "snmp_parse_oid".

2014 Feb 25
0
Arch Linux and Tripp Lite web snmp card issues.
...o CFLAGS=-g, but apparently it's CFLAGS=-O. Can you rebuild with "-g"? > (gdb) run -a tripplite -DD > Starting program: /usr/bin/snmp-ups -a tripplite -DD Actually, using "-DDD" might provide enough extra context (there is an upsdebugx(3, ...) right before one of the snmp_parse_oid() calls). But debugging symbols would be good, too. [...] > Program received signal SIGSEGV, Segmentation fault. > 0xb7da9470 in __strchr_sse2_bsf () from /usr/lib/libc.so.6 > (gdb) bt > #0 0xb7da9470 in __strchr_sse2_bsf () from /usr/lib/libc.so.6 > #1 0xb7f05758 in snmp_parse_oi...
2014 Feb 25
2
Arch Linux and Tripp Lite web snmp card issues.
....1.1.1.1.1.1.0 0.073209 load_mib2nut: trying classic method with 'delta_ups' mib Program received signal SIGSEGV, Segmentation fault. 0xb7da9470 in __strchr_sse2_bsf () from /usr/lib/libc.so.6 (gdb) bt #0 0xb7da9470 in __strchr_sse2_bsf () from /usr/lib/libc.so.6 #1 0xb7f05758 in snmp_parse_oid () from /usr/lib/libnetsnmp.so.30 #2 0x0804afd8 in ?? () #3 0x0804b261 in ?? () #4 0x0804bab6 in ?? () #5 0x0804be7b in ?? () #6 0x0804bfd2 in ?? () #7 0x08049fb4 in ?? () #8 0xb7d2f993 in __libc_start_main () from /usr/lib/libc.so.6 #9 0x0804a469 in ?? () On 2/24/2014 8:00 PM, Charle...
2014 Feb 25
2
Arch Linux and Tripp Lite web snmp card issues.
...g prior to make, but that didn't give me symbols on debug again. > >> (gdb) run -a tripplite -DD >> Starting program: /usr/bin/snmp-ups -a tripplite -DD > Actually, using "-DDD" might provide enough extra context (there is an upsdebugx(3, ...) right before one of the snmp_parse_oid() calls). But debugging symbols would be good, too. > > [...] GNU gdb (GDB) 7.6.2 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is...
2014 Feb 25
0
Arch Linux and Tripp Lite web snmp card issues.
...explicit NULL check in load_mib2nut()? The full stack trace is below: > Program received signal SIGSEGV, Segmentation fault. > 0xb7da9470 in __strchr_sse2_bsf () from /usr/lib/libc.so.6 > (gdb) bt > #0 0xb7da9470 in __strchr_sse2_bsf () from /usr/lib/libc.so.6 > #1 0xb7f05758 in snmp_parse_oid () from /usr/lib/libnetsnmp.so.30 > #2 0x0804afd8 in nut_snmp_walk () > #3 0x0804b261 in nut_snmp_get () > #4 0x0804bab6 in nut_snmp_get_str () > #5 0x0804be7b in load_mib2nut () > #6 0x0804bfd2 in upsdrv_initups () > #7 0x08049fb4 in main () -- Charles Lepple clepple at g...
2014 Feb 25
0
Arch Linux and Tripp Lite web snmp card issues.
On Feb 24, 2014, at 6:57 PM, Jason R Begley wrote: > Segmentation fault That's not good. If you crank up the debug level past 2, does it provide any more detail about where it crashed? (We'd only need the last few lines, if they are different.) I don't know how Arch Linux does debug symbols, so the dmesg output doesn't pinpoint which function in libc got bad data. Can you run
2014 Feb 25
3
Arch Linux and Tripp Lite web snmp card issues.
...? > > The full stack trace is below: > > > Program received signal SIGSEGV, Segmentation fault. > > 0xb7da9470 in __strchr_sse2_bsf () from /usr/lib/libc.so.6 > > (gdb) bt > > #0 0xb7da9470 in __strchr_sse2_bsf () from /usr/lib/libc.so.6 > > #1 0xb7f05758 in snmp_parse_oid () from /usr/lib/libnetsnmp.so.30 > > #2 0x0804afd8 in nut_snmp_walk () > > #3 0x0804b261 in nut_snmp_get () > > #4 0x0804bab6 in nut_snmp_get_str () > > #5 0x0804be7b in load_mib2nut () > > #6 0x0804bfd2 in upsdrv_initups () > > #7 0x08049fb4 in main ( &gt...
2014 Feb 24
2
Arch Linux and Tripp Lite web snmp card issues.
I have been working with NUT to get this working since upgrading to a web snmp card in a UPS. I keep getting seg faults when running snmp-ups also. Below is the output. kernel: [1365065.178230] snmp-ups[1940]: segfault at 0 ip b7555470 sp bf8d89e8 error 4 in libc-2.18.so[b74c2000+1a9000] Running: Arch i686 current Nut is current git Device is Tripp Lite SU2200XLa with WEBSNMPCARD running