[AGENT++] Segfault in AgentX subagent

MATTY, Steven [UK] steven.matty at airbus.com
Tue Jan 23 09:27:50 CET 2018


Hi,

I appreciate the lack of useful info here, but I'm seeing a semi-regular segfault in a SubAgent which typically happens when another SubAgent is starting up.
The backtrace from gdb is here, unfortunately there aren't any useful symbol info so I can't inspect variables, locals etc. I guess I'm emailing this in the hope
someone has had a similar experience! We're running 32-bit 'buildroot' Linux, kernel 3.16.1

Thread 1 (Thread 0xb5931b40 (LWP 1857)):
#0  0xb6870d63 in Snmp_pp::Pdu::operator=(Snmp_pp::Pdu const&) () from /opt/Platform/ThirdParty/lib/libsnmp++.so.33
#1  0xb686bf0c in Snmp_pp::Pdu::Pdu(Snmp_pp::Pdu const&) () from /opt/Platform/ThirdParty/lib/libsnmp++.so.33
#2  0xb67f7a9a in Agentpp::Pdux::Pdux(Agentpp::Pdux const&) () from /opt/Platform/ThirdParty/lib/libagent++.so.40
#3  0xb674de6b in Agentpp::AgentXPdu::AgentXPdu(Agentpp::AgentXPdu const&) () from /opt/Platform/ThirdParty/lib/libagentx++.so.20
#4  0xb6754a8b in Agentpp::AgentXRequestList::answer(Agentpp::Request*) () from /opt/Platform/ThirdParty/lib/libagentx++.so.20
#5  0xb67f6edc in Agentpp::Mib::finalize(Agentpp::Request*) () from /opt/Platform/ThirdParty/lib/libagent++.so.40
#6  0xb677349f in Agentpp::SubAgentXMib::do_process_request(Agentpp::Request*) () from /opt/Platform/ThirdParty/lib/libagentx++.so.20
#7  0xb6816b9a in Agentpp::MibTask::run() () from /opt/Platform/ThirdParty/lib/libagent++.so.40
#8  0xb6815d4d in Agentpp::TaskManager::run() () from /opt/Platform/ThirdParty/lib/libagent++.so.40
#9  0xb68151a7 in Agentpp::thread_starter(void*) () from /opt/Platform/ThirdParty/lib/libagent++.so.40
#10 0xb63d10b5 in start_thread () from /lib/libpthread.so.0
#11 0xb631979e in clone () from /lib/libc.so.6

Thanks,

Steve

This email (including any attachments) may contain confidential and/or privileged information or information otherwise protected from disclosure. If you are not the intended recipient, please notify the sender immediately, do not copy this message or any attachments and do not use it for any purpose or disclose its content to any person, but delete this message and any attachments from your system. Airbus Defence and Space Limited disclaims any and all liability if this email transmission was virus corrupted, altered or falsified.
-o-
Emails to Airbus Defence and Space Limited may be processed, recorded and monitored outside the UK.
-o-
Airbus Defence and Space Limited, Registered in England and Wales No. 2449259
Registered Office: Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, England


More information about the AGENTPP mailing list