[AGENT++] R: pure virtual method called

Michele Marcon M.Marcon at riello-ups.com
Mon Feb 28 11:24:45 CET 2011


Hi,
I'm following up the "other" problem highlighted below (I'm running on a linux busybox ARM device).

After some test, we found that this problem disappears if I comment the following line from agent++.h:

//#define AGENTPP_USE_THREAD_POOL

This apparently solves our problem, but we would like to know more about this. Are we removing important functionality by disabling this? What should we expect to happen? Should we be more careful about something?

Thanks.



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 Michele Marcon
Inviato: mercoledì 16 febbraio 2011 9.34
A: agentpp at agentpp.org
Oggetto: [AGENT++] pure virtual method called


Hi,
I'm running my agent but after a while I get an error (I'm running latest version of agentpp).

Here you can see the agentpp log of the last successful snmpget (which includes a few varbinds); and then a snmpget that triggers an error.


19700101.07:26:25: 13751: (2)EVENT  : RequestList: request received (id)(siz)(           fro)(ver)(com)(type): (579), (12), (10.1.10.110/1384), (SNMPv1), (public), (160)
19700101.07:26:25: 13751: (2)INFO   : snmpCommunityEntry: found v3 info for (com           munity)(security_name)(tag): (public), (v1v2cPermittedManagers)
19700101.07:26:25: 13751: (3)EVENT  : RequestList: received v1/v2c request (FOUN           D)(community)(cid)(cname)(filter_tag): : (TRUE), (public), (  80 00 13 70 05 45            4B 32 35 30 00 A1                ...p.EK250..
), (), (v1v2cPermittedManagers)
19700101.07:26:25: 13751: (2)EVENT  : Agent: starting thread execution (pduTyp           e)(subrequests): (160), (12)
19700101.07:26:25: 13751: (2)EVENT  : Mib: process request: get request, oid: (9           9), (1.3.6.1.2.1.33.1.4.4.1.5.1), (1.3.6.1.2.1.33.1.4.4.1.5.2), (1.3.6.1.2.1.33.           1.4.4.1.5.3), (1.3.6.1.2.1.33.1.3.3.1.3.1), (1.3.6.1.2.1.33.1.3.3.1.3.2), (1.3.6           .1.2.1.33.1.3.3.1.3.3), (1.3.6.1.2.1.33.1.3.3.1.2.1), (1.3.6.1.2.1.33.1.4.4.1.2.           1), (1.3.6.1.2.1.33.1.4.4.1.2.2), (1.3.6.1.2.1.33.1.4.4.1.2.3), (1.3.6.1.2.1.33.           1.4.2.0), (1.3.6.1.2.1.33.1.2.5.0)
19700101.07:26:25: 13751: (3)EVENT  : Mib: process subrequest: get request, oid:            (99), (1.3.6.1.2.1.33.1.4.4.1.5.1)
19700101.07:26:25: 13751: (3)EVENT  : RequestList: finished subrequest (ind)(oid           )(val)(syn): (0), (1.3.6.1.2.1.33.1.4.4.1.5.1), (0), (2)
19700101.07:26:25: 13751: (3)EVENT  : Mib: process subrequest: get request, oid:            (99), (1.3.6.1.2.1.33.1.4.4.1.5.2)
19700101.07:26:25: 13751: (3)EVENT  : RequestList: finished subrequest (ind)(oid           )(val)(syn): (1), (1.3.6.1.2.1.33.1.4.4.1.5.2), (0), (2)
19700101.07:26:25: 13751: (3)EVENT  : Mib: process subrequest: get request, oid:            (99), (1.3.6.1.2.1.33.1.4.4.1.5.3)
19700101.07:26:25: 13751: (3)EVENT  : RequestList: finished subrequest (ind)(oid           )(val)(syn): (2), (1.3.6.1.2.1.33.1.4.4.1.5.3), (0), (2)
19700101.07:26:25: 13751: (3)EVENT  : Mib: process subrequest: get request, oid:            (99), (1.3.6.1.2.1.33.1.3.3.1.3.1)
19700101.07:26:25: 13751: (3)EVENT  : RequestList: finished subrequest (ind)(oid           )(val)(syn): (3), (1.3.6.1.2.1.33.1.3.3.1.3.1), (228), (2)
19700101.07:26:25: 13751: (3)EVENT  : Mib: process subrequest: get request, oid:            (99), (1.3.6.1.2.1.33.1.3.3.1.3.2)
19700101.07:26:25: 13751: (3)EVENT  : RequestList: finished subrequest (ind)(oid           )(val)(syn): (4), (1.3.6.1.2.1.33.1.3.3.1.3.2), (0), (2)
19700101.07:26:25: 13751: (3)EVENT  : Mib: process subrequest: get request, oid:            (99), (1.3.6.1.2.1.33.1.3.3.1.3.3)
19700101.07:26:25: 13751: (3)EVENT  : RequestList: finished subrequest (ind)(oid           )(val)(syn): (5), (1.3.6.1.2.1.33.1.3.3.1.3.3), (0), (2)
19700101.07:26:25: 13751: (3)EVENT  : Mib: process subrequest: get request, oid:            (99), (1.3.6.1.2.1.33.1.3.3.1.2.1)
19700101.07:26:25: 13751: (3)EVENT  : RequestList: finished subrequest (ind)(oid           )(val)(syn): (6), (1.3.6.1.2.1.33.1.3.3.1.2.1), (499), (2)
19700101.07:26:25: 13751: (3)EVENT  : Mib: process subrequest: get request, oid:            (99), (1.3.6.1.2.1.33.1.4.4.1.2.1)
19700101.07:26:25: 13751: (3)EVENT  : RequestList: finished subrequest (ind)(oid           )(val)(syn): (7), (1.3.6.1.2.1.33.1.4.4.1.2.1), (204), (2)
19700101.07:26:25: 13751: (3)EVENT  : Mib: process subrequest: get request, oid:            (99), (1.3.6.1.2.1.33.1.4.4.1.2.2)
19700101.07:26:25: 13751: (3)EVENT  : RequestList: finished subrequest (ind)(oid           )(val)(syn): (8), (1.3.6.1.2.1.33.1.4.4.1.2.2), (0), (2)
19700101.07:26:25: 13751: (3)EVENT  : Mib: process subrequest: get request, oid:            (99), (1.3.6.1.2.1.33.1.4.4.1.2.3)
19700101.07:26:25: 13751: (3)EVENT  : RequestList: finished subrequest (ind)(oid           )(val)(syn): (9), (1.3.6.1.2.1.33.1.4.4.1.2.3), (0), (2)
19700101.07:26:25: 13751: (3)EVENT  : Mib: process subrequest: get request, oid:            (99), (1.3.6.1.2.1.33.1.4.2.0)
19700101.07:26:25: 13751: (3)EVENT  : RequestList: finished subrequest (ind)(oid           )(val)(syn): (10), (1.3.6.1.2.1.33.1.4.2.0), (499), (2)
19700101.07:26:25: 13751: (3)EVENT  : Mib: process subrequest: get request, oid:            (99), (1.3.6.1.2.1.33.1.2.5.0)
19700101.07:26:25: 13751: (3)EVENT  : RequestList: finished subrequest (ind)(oid           )(val)(syn): (11), (1.3.6.1.2.1.33.1.2.5.0), (1224), (2)
19700101.07:26:25: 13751: (2)EVENT  : RequestList: request answered (rid)(tid)(t           o)(err)(send)(sz): (579), (99), (10.1.10.110/1384), (0), (0), (12)
19700101.07:26:25: 13751: (2)EVENT  : Agent: finished thread execution
19700101.07:26:28: 13751: (2)EVENT  : RequestList: request received (id)(siz)(           fro)(ver)(com)(type): (580), (12), (10.1.10.110/1385), (SNMPv1), (public), (160)
19700101.07:26:28: 13751: (2)INFO   : snmpCommunityEntry: found v3 info for (com           munity)(security_name)(tag): (public), (v1v2cPermittedManagers)
19700101.07:26:28: 13751: (3)EVENT  : RequestList: received v1/v2c request (FOUN           D)(community)(cid)(cname)(filter_tag): : (TRUE), (public), (  80 00 13 70 05 45            4B 32 35 30 00 A1                ...p.EK250..
), (), (v1v2cPermittedManagers)
19700101.07:26:28: 13751: (2)EVENT  : Agent: starting thread execution (pduType           )(subrequests): (160), (12)
19700101.07:26:28: 13751: (2)EVENT  : Mib: process request: get request, oid: (1           00), (1.3.6.1.2.1.33.1.4.4.1.5.1), (1.3.6.1.2.1.33.1.4.4.1.5.2), (1.3.6.1.2.1.33           .1.4.4.1.5.3), (1.3.6.1.2.1.33.1.3.3.1.3.1), (1.3.6.1.2.1.33.1.3.3.1.3.2), (1.3.           6.1.2.1.33.1.3.3.1.3.3), (1.3.6.1.2.1.33.1.3.3.1.2.1), (1.3.6.1.2.1.33.1.4.4.1.2           .1), (1.3.6.1.2.1.33.1.4.4.1.2.2), (1.3.6.1.2.1.33.1.4.4.1.2.3), (1.3.6.1.2.1.33           .1.4.2.0), (1.3.6.1.2.1.33.1.2.5.0)
19700101.07:26:28: 13751: (3)EVENT  : Mib: process subrequest: get request, oid:            (100), (1.3.6.1.2.1.33.1.4.4.1.5.1)
pure virtual method called
terminate called without an active exception
Aborted








More information about the AGENTPP mailing list