[AGENT++] R: pure virtual method called

Michele Marcon M.Marcon at riello-ups.com
Fri Feb 18 15:45:19 CET 2011




Michele Marcon
Centro Ricerche
RPS SpA
Viale Europa, 7
37045 Legnago (VR)
Tel. +39 0442 635811 - Fax. +39 0442 635934 - Mobile: +39 335 1233317
Skype Id:  - VoIp:
E-mail: M.Marcon at riello-ups.com
Web: http://www.riello-ups.com
 -----------------------------------------------------------------------------------------------------
Per favore non stampare questo messaggio se proprio non è necessario
Please consider the environment before printing this e-mail
-----------------------------------------------------------------------------------------------------
Chi riceve il presente messaggio e` tenuto a verificare se lo stesso non gli sia pervenuto per errore. In tal caso e` pregato di avvisare immediatamente il mittente e, tenuto conto delle responsabilita` connesse all'indebito utilizzo e/o divulgazione del messaggio e/o delle informazioni in esso contenute, voglia cancellare l'originale e distruggere le varie copie o stampe.

The receiver of this message is required to check if he/she has received it erroneously. If so, the receiver is requested to immediately inform the sender and - in consideration of the responsibilities arising from undue use and/or disclosure of the message and/or the information contained therein - destroy the original message and any copy or printout thereof.

-----Messaggio originale-----

Da: agentpp-bounces at agentpp.org [mailto:agentpp-bounces at agentpp.org] Per conto di Jochen Katz
Inviato: mercoledì 16 febbraio 2011 22.48
A: agentpp at agentpp.org
Oggetto: Re: [AGENT++] pure virtual method called

Hi,

> BTW, I also have a segmentation fault when I add an v1 trap
> receiver.
>
> pure virtual method called terminate called without an active
> exception Aborted

to help you to analyze this, a GDB backtrace of the stack when the
segmentation fault or the exception occrs is needed.

Regards,
  Jochen
_______________________________________________
AGENTPP mailing list
AGENTPP at agentpp.org
http://lists.agentpp.org/mailman/listinfo/agentpp


Hi,
this error appears when the code is cross-compiled for ARM and running on a ARM9 CPU.
If compiled for i386 it doesn't produce the error and works correctly!


Here is the gdb output for ARM (with the error). The error appears when sending a snmpv1 trap, around mib->notify()



LD_LIBRARY_PATH=.:
Command-line: /arm/gcc/bin/arm-linux-gdb -nx -fullname  -quiet -args bin/Arm-Debug/temp
Working dir : /root/Desktop/TEST/SNMP_Agent/temp/
(gdb)
> set prompt >>>>>>cb_gdb:
>>>>>>cb_gdb:
> show version
GNU gdb 6.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-linux".
>>>>>>cb_gdb:
> set confirm off
>>>>>>cb_gdb:
> set width 0
>>>>>>cb_gdb:
> set height 0
>>>>>>cb_gdb:
> set breakpoint pending on
>>>>>>cb_gdb:
> set print asm-demangle on
>>>>>>cb_gdb:
> set unwindonsignal on
>>>>>>cb_gdb:
> set disassembly-flavor intel
Undefined item: "intel".
Use 'set arm disassembly'.
>>>>>>cb_gdb:
> directory /root/Desktop/TEST/SNMP_Agent/temp/
>>>>>>cb_gdb:
> break "/root/Desktop/TEST/SNMP_Agent/temp/agent.cpp:348"
Breakpoint 1 at 0x12c68: file agent.cpp, line 348.
>>>>>>cb_gdb:
> break "/mnt/hda1/sorgenti_snmpv3_last_release/snmp++/src/uxsnmp.cpp:2290"
No source file named /mnt/hda1/sorgenti_snmpv3_last_release/snmp++/src/uxsnmp.cpp.
Breakpoint 2 ("/mnt/hda1/sorgenti_snmpv3_last_release/snmp++/src/uxsnmp.cpp:2290) pending.
>>>>>>cb_gdb:
> break "/mnt/hda1/sorgenti_snmpv3_last_release/agent++/src/threads.cpp:635"
No source file named /mnt/hda1/sorgenti_snmpv3_last_release/agent++/src/threads.cpp.
Breakpoint 3 ("/mnt/hda1/sorgenti_snmpv3_last_release/agent++/src/threads.cpp:635) pending.
>>>>>>cb_gdb:
> break "/mnt/hda1/sorgenti_snmpv3_last_release/agent++/src/snmp_request.cpp:382"
No source file named /mnt/hda1/sorgenti_snmpv3_last_release/agent++/src/snmp_request.cpp.
Breakpoint 4 ("/mnt/hda1/sorgenti_snmpv3_last_release/agent++/src/snmp_request.cpp:382) pending.
>>>>>>cb_gdb:
> break "/mnt/hda1/sorgenti_snmpv3_last_release/agent++/src/mib.cpp:3389"
No source file named /mnt/hda1/sorgenti_snmpv3_last_release/agent++/src/mib.cpp.
Breakpoint 5 ("/mnt/hda1/sorgenti_snmpv3_last_release/agent++/src/mib.cpp:3389) pending.
>>>>>>cb_gdb:
> run
Don't know how to run.  Try "help target".
>>>>>>cb_gdb:
> target remote 10.1.10.99:1234
0x40000880 in ?? ()
>>>>>>cb_gdb:
> bt 30
Cannot access memory at address 0x0
#0  0x40000880 in ?? ()
>>>>>>cb_gdb:
> cont
Breakpoint 1, main (argc=1, argv=0xbeb04bf4) at agent.cpp:348
/root/Desktop/TEST/SNMP_Agent/temp/agent.cpp:348:10578:beg:0x12c68
>>>>>>cb_gdb:
> bt 30
#0  main (argc=1, argv=0xbeb04bf4) at agent.cpp:348
>>>>>>cb_gdb:
> x/32xb 0x401060
Cannot access memory at address 0x401060
0x401060:       >>>>>>cb_gdb:
> info threads
  1 Thread 5948  main (argc=1, argv=0xbeb04bf4) at agent.cpp:348
>>>>>>cb_gdb:
> info threads
  1 Thread 5948  main (argc=1, argv=0xbeb04bf4) at agent.cpp:348
>>>>>>cb_gdb:
> next
/root/Desktop/TEST/SNMP_Agent/temp/agent.cpp:352:10639:beg:0x12ca0
>>>>>>cb_gdb:
> bt 30
#0  main (argc=1, argv=0xbeb04bf4) at agent.cpp:352
>>>>>>cb_gdb:
> x/32xb 0x401060
Cannot access memory at address 0x401060
0x401060:       >>>>>>cb_gdb:
> info threads
  1 Thread 5948  main (argc=1, argv=0xbeb04bf4) at agent.cpp:352
>>>>>>cb_gdb:
> info threads
  1 Thread 5948  main (argc=1, argv=0xbeb04bf4) at agent.cpp:352
>>>>>>cb_gdb:
> next
/root/Desktop/TEST/SNMP_Agent/temp/agent.cpp:353:10669:beg:0x12ce8
>>>>>>cb_gdb:
> bt 30
#0  main (argc=1, argv=0xbeb04bf4) at agent.cpp:353
>>>>>>cb_gdb:
> x/32xb 0x401060
Cannot access memory at address 0x401060
0x401060:       >>>>>>cb_gdb:
> info threads
  1 Thread 5948  main (argc=1, argv=0xbeb04bf4) at agent.cpp:353
>>>>>>cb_gdb:
> info threads
  1 Thread 5948  main (argc=1, argv=0xbeb04bf4) at agent.cpp:353
>>>>>>cb_gdb:
> next
/root/Desktop/TEST/SNMP_Agent/temp/agent.cpp:356:10732:beg:0x12d5c
>>>>>>cb_gdb:
> bt 30
#0  main (argc=1, argv=0xbeb04bf4) at agent.cpp:356
>>>>>>cb_gdb:
> x/32xb 0x401060
Cannot access memory at address 0x401060
0x401060:       >>>>>>cb_gdb:
> info threads
  1 Thread 5948  main (argc=1, argv=0xbeb04bf4) at agent.cpp:356
>>>>>>cb_gdb:
> info threads
  1 Thread 5948  main (argc=1, argv=0xbeb04bf4) at agent.cpp:356
>>>>>>cb_gdb:
> next
/root/Desktop/TEST/SNMP_Agent/temp/agent.cpp:357:10765:beg:0x12e2c
>>>>>>cb_gdb:
> bt 30
#0  main (argc=1, argv=0xbeb04bf4) at agent.cpp:357
>>>>>>cb_gdb:
> x/32xb 0x401060
Cannot access memory at address 0x401060
0x401060:       >>>>>>cb_gdb:
> info threads
  1 Thread 5948  main (argc=1, argv=0xbeb04bf4) at agent.cpp:357
>>>>>>cb_gdb:
> info threads
  1 Thread 5948  main (argc=1, argv=0xbeb04bf4) at agent.cpp:357
>>>>>>cb_gdb:
> next
/root/Desktop/TEST/SNMP_Agent/temp/agent.cpp:369:11200:beg:0x12f70
>>>>>>cb_gdb:
> bt 30
Cannot access memory at address 0x0
#0  $a () at agent.cpp:369
#1  0x40213394 in ?? ()
>>>>>>cb_gdb:
> x/32xb 0x401060
Cannot access memory at address 0x401060
0x401060:       >>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:369
>>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:369
>>>>>>cb_gdb:
> step
OctetStr (this=0xbeb03890, str=0x1afc74 "new") at octet.cpp:89
/mnt/hda1/sorgenti_snmpv3_last_release/snmp++/src/octet.cpp:89:3554:beg:0x16fbd4
>>>>>>cb_gdb:
> bt 30
#0  OctetStr (this=0xbeb03890, str=0x1afc74 "new") at octet.cpp:89
#1  0x00012f9c in $a () at agent.cpp:369
#2  0x00012f9c in $a () at agent.cpp:369
>>>>>>cb_gdb:
> x/32xb 0x401060
Cannot access memory at address 0x401060
0x401060:       >>>>>>cb_gdb:
> info threads
  1 Thread 5948  OctetStr (this=0xbeb03890, str=0x1afc74 "new") at octet.cpp:89
>>>>>>cb_gdb:
> info threads
  1 Thread 5948  OctetStr (this=0xbeb03890, str=0x1afc74 "new") at octet.cpp:89
>>>>>>cb_gdb:
> finish
0x00012f9c in $a () at agent.cpp:369
/root/Desktop/TEST/SNMP_Agent/temp/agent.cpp:369:11200:beg:0x12f9c
>>>>>>cb_gdb:
> bt 30
#0  0x00012f9c in $a () at agent.cpp:369
#1  0x4031d178 in ?? ()
>>>>>>cb_gdb:
> x/32xb 0x401060
Cannot access memory at address 0x401060
0x401060:       >>>>>>cb_gdb:
> info threads
  1 Thread 5948  0x00012f9c in $a () at agent.cpp:369
>>>>>>cb_gdb:
> info threads
  1 Thread 5948  0x00012f9c in $a () at agent.cpp:369
>>>>>>cb_gdb:
> next
/root/Desktop/TEST/SNMP_Agent/temp/agent.cpp:371:11314:beg:0x13100
>>>>>>cb_gdb:
> bt 30
Cannot access memory at address 0x0
#0  $a () at agent.cpp:371
#1  0x0016e3e4 in ~OctetStr (this=0x4030f000) at octet.cpp:177
#2  0x40213394 in ?? ()
>>>>>>cb_gdb:
> x/32xb 0x401060
Cannot access memory at address 0x401060
0x401060:       >>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:371
>>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:371
>>>>>>cb_gdb:
> next
/root/Desktop/TEST/SNMP_Agent/temp/agent.cpp:373:11430:beg:0x13280
>>>>>>cb_gdb:
> bt 30
#0  $a () at agent.cpp:373
#1  0x0016e3e4 in ~OctetStr (this=0x4030f000) at octet.cpp:177
Cannot access memory at address 0x0
#2  0x40213394 in ?? ()
>>>>>>cb_gdb:
> x/32xb 0x401060
Cannot access memory at address 0x401060
0x401060:       >>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:373
>>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:373
>>>>>>cb_gdb:
> next
/root/Desktop/TEST/SNMP_Agent/temp/agent.cpp:375:11546:beg:0x13410
>>>>>>cb_gdb:
> bt 30
Cannot access memory at address 0x0
#0  $a () at agent.cpp:375
#1  0x0016e3e4 in ~OctetStr (this=0x4030f000) at octet.cpp:177
#2  0x40213394 in ?? ()
>>>>>>cb_gdb:
> x/32xb 0x401060
Cannot access memory at address 0x401060
0x401060:       >>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:375
>>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:375
>>>>>>cb_gdb:
> next
/root/Desktop/TEST/SNMP_Agent/temp/agent.cpp:377:11664:beg:0x135a0
>>>>>>cb_gdb:
> bt 30
Cannot access memory at address 0x0
#0  $a () at agent.cpp:377
#1  0x0016e3e4 in ~OctetStr (this=0x4030f000) at octet.cpp:177
#2  0x40213394 in ?? ()
>>>>>>cb_gdb:
> x/32xb 0x401060
Cannot access memory at address 0x401060
0x401060:       >>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:377
>>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:377
>>>>>>cb_gdb:
> next
/root/Desktop/TEST/SNMP_Agent/temp/agent.cpp:379:11785:beg:0x13730
>>>>>>cb_gdb:
> bt 30
Cannot access memory at address 0x0
#0  $a () at agent.cpp:379
#1  0x0016e3e4 in ~OctetStr (this=0x4030f000) at octet.cpp:177
#2  0x40213394 in ?? ()
>>>>>>cb_gdb:
> x/32xb 0x401060
Cannot access memory at address 0x401060
0x401060:       >>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:379
>>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:379
>>>>>>cb_gdb:
> next
/root/Desktop/TEST/SNMP_Agent/temp/agent.cpp:381:11898:beg:0x138c0
>>>>>>cb_gdb:
> bt 30
Cannot access memory at address 0x0
#0  $a () at agent.cpp:381
#1  0x0016e3e4 in ~OctetStr (this=0x4030f000) at octet.cpp:177
#2  0x40213394 in ?? ()
>>>>>>cb_gdb:
> x/32xb 0x401060
Cannot access memory at address 0x401060
0x401060:       >>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:381
>>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:381
>>>>>>cb_gdb:
> next
/root/Desktop/TEST/SNMP_Agent/temp/agent.cpp:383:12018:beg:0x13a50
>>>>>>cb_gdb:
> bt 30
#0  $a () at agent.cpp:383
#1  0x0016e3e4 in ~OctetStr (this=0x4030f000) at octet.cpp:177
Cannot access memory at address 0x0
#2  0x40213394 in ?? ()
>>>>>>cb_gdb:
> x/32xb 0x401060
Cannot access memory at address 0x401060
0x401060:       >>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:383
>>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:383
>>>>>>cb_gdb:
> next
/root/Desktop/TEST/SNMP_Agent/temp/agent.cpp:385:12141:beg:0x13bd0
>>>>>>cb_gdb:
> bt 30
Cannot access memory at address 0x0
#0  $a () at agent.cpp:385
#1  0x0016e3e4 in ~OctetStr (this=0x4030f000) at octet.cpp:177
#2  0x40213394 in ?? ()
>>>>>>cb_gdb:
> x/32xb 0x401060
Cannot access memory at address 0x401060
0x401060:       >>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:385
>>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:385
>>>>>>cb_gdb:
> next
/root/Desktop/TEST/SNMP_Agent/temp/agent.cpp:387:12258:beg:0x13d60
>>>>>>cb_gdb:
> bt 30
#0  $a () at agent.cpp:387
#1  0x0016e3e4 in ~OctetStr (this=0x4030f000) at octet.cpp:177
#2  0x40213394 in ?? ()
Cannot access memory at address 0x0
>>>>>>cb_gdb:
> x/32xb 0x401060
Cannot access memory at address 0x401060
0x401060:       >>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:387
>>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:387
>>>>>>cb_gdb:
> next
/root/Desktop/TEST/SNMP_Agent/temp/agent.cpp:389:12376:beg:0x13ee0
>>>>>>cb_gdb:
> bt 30
#0  $a () at agent.cpp:389
#1  0x0016e3e4 in ~OctetStr (this=0x4030f000) at octet.cpp:177
Cannot access memory at address 0x0
#2  0x40213394 in ?? ()
>>>>>>cb_gdb:
> x/32xb 0x401060
Cannot access memory at address 0x401060
0x401060:       >>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:389
>>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:389
>>>>>>cb_gdb:
> next
/root/Desktop/TEST/SNMP_Agent/temp/agent.cpp:391:12494:beg:0x14070
>>>>>>cb_gdb:
> bt 30
Cannot access memory at address 0x0
#0  $a () at agent.cpp:391
#1  0x0016e3e4 in ~OctetStr (this=0x4030f000) at octet.cpp:177
#2  0x40213394 in ?? ()
>>>>>>cb_gdb:
> x/32xb 0x401060
Cannot access memory at address 0x401060
0x401060:       >>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:391
>>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:391
>>>>>>cb_gdb:
> next
/root/Desktop/TEST/SNMP_Agent/temp/agent.cpp:422:13644:beg:0x141f0
>>>>>>cb_gdb:
> bt 30
Cannot access memory at address 0x0
#0  $a () at agent.cpp:422
#1  0x0016e3e4 in ~OctetStr (this=0x4030f000) at octet.cpp:177
#2  0x40213394 in ?? ()
>>>>>>cb_gdb:
> x/32xb 0x401060
Cannot access memory at address 0x401060
0x401060:       >>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:422
>>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:422
>>>>>>cb_gdb:
> next
/root/Desktop/TEST/SNMP_Agent/temp/agent.cpp:427:13818:beg:0x14598
>>>>>>cb_gdb:
> bt 30
Cannot access memory at address 0x0
#0  $a () at agent.cpp:427
#1  0x0016e3e4 in ~OctetStr (this=0x4030f000) at octet.cpp:177
#2  0x40213394 in ?? ()
>>>>>>cb_gdb:
> x/32xb 0x401060
Cannot access memory at address 0x401060
0x401060:       >>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:427
>>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:427
>>>>>>cb_gdb:
> break "/root/Desktop/TEST/SNMP_Agent/temp/agent.cpp:524"
Breakpoint 6 at 0x17b34: file agent.cpp, line 524.
>>>>>>cb_gdb:
> cont
Breakpoint 6, $a () at agent.cpp:524
/root/Desktop/TEST/SNMP_Agent/temp/agent.cpp:524:17601:beg:0x17b34
>>>>>>cb_gdb:
> bt 30
Cannot access memory at address 0x0
#0  $a () at agent.cpp:524
#1  0x0016e3e4 in ~OctetStr (this=0x4030f000) at octet.cpp:177
#2  0x40213394 in ?? ()
>>>>>>cb_gdb:
> x/32xb 0x401060
Cannot access memory at address 0x401060
0x401060:       >>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:524
>>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:524
>>>>>>cb_gdb:
> break "/root/Desktop/TEST/SNMP_Agent/temp/agent.cpp:537"
Breakpoint 7 at 0x17e18: file agent.cpp, line 537.
>>>>>>cb_gdb:
> cont
Breakpoint 7, $a () at agent.cpp:538
/root/Desktop/TEST/SNMP_Agent/temp/agent.cpp:538:18016:beg:0x17e18
>>>>>>cb_gdb:
> bt 30
#0  $a () at agent.cpp:538
#1  0x0016e3e4 in ~OctetStr (this=0x4030f000) at octet.cpp:177
#2  0x40213394 in ?? ()
Cannot access memory at address 0x0
>>>>>>cb_gdb:
> x/32xb 0x401060
Cannot access memory at address 0x401060
0x401060:       >>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:538
>>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:538
>>>>>>cb_gdb:
> delete breakpoints 6
>>>>>>cb_gdb:
> break "/root/Desktop/TEST/SNMP_Agent/temp/agent.cpp:551"
Breakpoint 8 at 0x182d8: file agent.cpp, line 551.
>>>>>>cb_gdb:
> delete breakpoints 8
>>>>>>cb_gdb:
> break "/root/Desktop/TEST/SNMP_Agent/temp/agent.cpp:552"
Breakpoint 9 at 0x18308: file agent.cpp, line 552.
>>>>>>cb_gdb:
> cont
Breakpoint 9, $a () at agent.cpp:552
/root/Desktop/TEST/SNMP_Agent/temp/agent.cpp:552:18381:beg:0x18308
>>>>>>cb_gdb:
> bt 30
#0  $a () at agent.cpp:552
#1  0x4031d178 in ?? ()
>>>>>>cb_gdb:
> x/32xb 0x401060
Cannot access memory at address 0x401060
0x401060:       >>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:552
>>>>>>cb_gdb:
> info threads
  1 Thread 5948  $a () at agent.cpp:552
>>>>>>cb_gdb:
> delete breakpoints 7
>>>>>>cb_gdb:
> break "/root/Desktop/TEST/SNMP_Agent/temp/agent.cpp:554"
Breakpoint 10 at 0x184bc: file agent.cpp, line 554.
>>>>>>cb_gdb:
> info locals
status = 0
snmp = {<Snmp> = {<SnmpSynchronized> = {_vptr.SnmpSynchronized = 0x1aff00, _mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __kind = 0, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}}, __size = '\0' <repeats 23 times>, __align = 0}}, iv_snmp_session = 3, listen_address = {<Address> = {<SnmpSyntax> = {_vptr.SnmpSyntax = 0x1c5758, smival = {syntax = 64, value = {sNumber = 4, uNumber = 4, hNumber = {hipart = 4, lopart = 3199219254}, string = {len = 4, ptr = 0xbeb03636 ""}, oid = {len = 4, ptr = 0xbeb03636}, empty = 4 '\004'}}}, addr_changed = false, valid_flag = true, address_buffer = '\0' <repeats 49 times>, static syscall_mutex = {_vptr.SnmpSynchronized = 0x1c698c, _mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __kind = 0, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}}, __size = '\0' <repeats 23 times>, __align = 0}}}, output_buffer = "0.0.0.0", '\0' <repeats 72 times>, iv_friendly_name = '\0' <repeats 79 times>, iv_friendly_name_status = 0, ip_version = version_ipv4, have_ipv6_scope = false}, current_rid = 26823, notifycallback = 0, notifycallback_data = 0x0, eventListHolder = 0x1d8698, m_bThreadRunning = false, m_iPollTimeOut = 1000, m_hThread = 0}, <No data fields>}
snmpEngineBoots = 151
engineId = {<SnmpSyntax> = {_vptr.SnmpSyntax = 0x1c68cc, smival = {syntax = 4, value = {sNumber = 12, uNumber = 12, hNumber = {hipart = 12, lopart = 1938488}, string = {len = 12, ptr = 0x1d9438 "\200"}, oid = {len = 12, ptr = 0x1d9438}, empty = 12 '\f'}}
}, output_buffer = 0x1d8a98 "  80 00 13 70 05 45 4B 32 35 30 00 A1", ' ' <repeats 16 times>, "...p.EK250..\n", output_buffer_len = 73, m_changed = false, output_last_type = OutputHexAndClear, output_last_np_char = 46 '.', output_last_function = OutputFunctionHex, validity = true, static hex_output_type = OutputHexAndClear, static nonprintable_char = 46 '.', static linefeed_chars = "\n\000"}
stat = -1401
v3mp = (v3MP *) 0x1d8ae8
vacm = (class Agentpp::Vacm *) 0x1f5d08
co = {<SnmpSyntax> = {_vptr.SnmpSyntax = 0x1c68cc, smival = {syntax = 4, value = {sNumber = 6, uNumber = 6, hNumber = {hipart = 6, lopart = 2063600}, string = {len = 6, ptr = 0x1f7cf0 "publicctedew\021"}, oid = {len = 6, ptr = 0x1f7cf0}, empty = 6 '\006'}}}, output_buffer = 0x0, output_buffer_len = 0, m_changed = true, output_last_type = OutputHexAndClear, output_last_np_char = 0 '\0', output_last_function = OutputFunctionDefault, validity = true, static hex_output_type = OutputHexAndClear
, static nonprintable_char = 46 '.', static linefeed_chars = "\n\000"}
row = (struct Agentpp::MibTableRow *) 0x2047f8
tag = {<SnmpSyntax> = {_vptr.SnmpSyntax = 0x1c68cc, smival = {syntax = 4, value = {sNumber = 22, uNumber = 22, hNumber = {hipart = 22, lopart = 2116952}, string = {len = 22, ptr = 0x204d58 "v1v2cPermittedManagers"}, oid = {len = 22, ptr = 0x204d58}, empty = 22 '\026'}}}, output_buffer = 0x0, output_buffer_len = 0, m_changed = true, output_last_type = OutputHexAndClear, output_last_np_char = 0 '\0', output_last_function = OutputFunctionDefault, validity = true
, static hex_output_type = OutputHexAndClear
, static nonprintable_char = 46 '.'
, static linefeed_chars = "\n\000"}
no = <incomplete type>
dest = {<IpAddress> = {<Address> = {<SnmpSyntax> = {_vptr.SnmpSyntax = 0x1c5700, smival = {syntax = 4, value = {sNumber = 6, uNumber = 6, hNumber = {hipart = 6, lopart = 3199218902}, string = {len = 6
, ptr = 0xbeb034d6 "\n\001\nn"}, oid = {len = 6, ptr = 0xbeb034d6}, empty = 6 '\006'}}}, addr_changed = true, valid_flag = true, address_buffer = "\n\001\nn\000<repeats 43 times>
, static syscall_mutex = {_vptr.SnmpSynchronized = 0x1c698c, _mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __kind = 0, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}}, __size = '\0' <repeats 23 times>, __align = 0}}}, output_buffer = '\0' <repeats 79 times>, iv_friendly_name = '\0' <repeats 79 times>, iv_friendly_name_status = 0, ip_version = version_ipv4, have_ipv6_scope = false}, output_buffer = '\0' <repeats 79 times>, sep = 47 '/'}
dest1 = {<IpAddress> = {<Address> = {<SnmpSyntax> = {_vptr.SnmpSyntax = 0x1c5700, smival = {syntax = 4, value = {sNumber = 6, uNumber = 6, hNumber = {hipart = 6, lopart = 3199218582}, string = {len = 6, ptr = 0xbeb03396 "\n\001\nW"}, oid = {len = 6, ptr = 0xbeb03396}, empty = 6 '\006'}}}, addr_changed = true, valid_flag = true, address_buffer = "\n\001\nW\000<repeats 43 times>, static syscall_mutex = {_vptr.SnmpSynchronized = 0x1c698c, _mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __kind = 0, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}}, __size = '\0' <repeats 23 times>, __align = 0}}}, output_buffer = '\0' <repeats 79 times>, iv_friendly_name = '\0' <repeats 79 times>, iv_friendly_name_status = 0, ip_version = version_ipv4, have_ipv6_scope = false}, output_buffer = '\0' <repeats 79 times>, sep = 47 '/'}
vbs = (Agentpp::Vbx *) 0x0
coldOid = {<snmpTrapsOid> = {<Oid> = {<SnmpSyntax> = {_vptr.SnmpSyntax = 0x1aff88, smival = {syntax = 6, value = {sNumber = 10, uNumber = 10, hNumber = {hipart = 10, lopart = 2129912}, string = {len = 10, ptr = 0x207ff8 "\001"}, oid = {len = 10, ptr = 0x207ff8}, empty = 10 '\n'}}}, iv_str = 0x0, iv_part_str = 0x0, m_changed = true}, <No data fields>}, <No data fields>}
req = (class Agentpp::Request *) 0x0
shut = <incomplete type>
startup = <incomplete type>
reboot = <incomplete type>
>>>>>>cb_gdb:
> info args
argc = 1
argv = (char **) 0xbeb04bf4
>>>>>>cb_gdb:
> whatis dest
type = class UdpAddress
>>>>>>cb_gdb:
> output dest
{<IpAddress> = {<Address> = {<SnmpSyntax> = {_vptr.SnmpSyntax = 0x1c5700, smival = {syntax = 4, value = {sNumber = 6, uNumber = 6, hNumber = {hipart = 6, lopart = 3199218902}, string = {len = 6, ptr = 0xbeb034d6 "\n\001\nn"}, oid = {len = 6, ptr = 0xbeb034d6}, empty = 6 '\006'}}}, addr_changed = true, valid_flag = true, address_buffer = "\n\001\nn\000<repeats 43 times>, static syscall_mutex = {_vptr.SnmpSynchronized = 0x1c698c, _mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __kind = 0, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}}, __size = '\0' <repeats 23 times>, __align = 0}}}, output_buffer = '\0' <repeats 79 times>, iv_friendly_name = '\0' <repeats 79 times>, iv_friendly_name_status = 0, ip_version = version_ipv4, have_ipv6_scope = false}, output_buffer = '\0' <repeats 79 times>, sep = 47 '/'}>>>>>>cb_gdb:
> cont
Program received signal SIGSEGV, Segmentation fault.
0x4026b84c in ?? ()
>>>>>>cb_gdb:
> bt 30
#0  0x4026b84c in ?? ()
>>>>>>cb_gdb:







More information about the AGENTPP mailing list