Re: Core dump generated in snmp_alarm.c

2024-01-03 Thread Wes Hardaker via Net-snmp-coders
Venkateswarlu K writes: > We are using net-snmp version 5.7.3 in our ARM based Access Point. Recently we > are observing snmp core in snmp_alarm.c file with below bt. Based on the image, we'd need to see in a debugger what the 'a' structure looks like. I'm not sure how the alarm stack got corru

Re: Core dump generated in snmp_alarm.c

2023-10-12 Thread Venkateswarlu K
Can someone help me with this ? Thanks, Venkateswarlu On Tue, Oct 10, 2023 at 2:07 PM Venkateswarlu K wrote: > Hi All, > > We are using net-snmp version 5.7.3 in our ARM based Access Point. > Recently we are observing snmp core in snmp_alarm.c file with below bt. > > Reading symbols from > /

Re: Core dump with net-snmp-5.8

2019-04-11 Thread Anders Wallin
gt; >>> was already introduced in 5.8) to report this "retries exceeded" >>>> >>> state, and use it in snmp_client." >>>> >>> >>>> >>> I think the problem is really about shutting down the agentx >>>> connection >>&

Re: Core dump with net-snmp-5.8

2019-04-10 Thread Josef Ridky
"Masayoshi Mizuma" | Cc: "Josef Ridky" , "Net-SNMP Coders" | Sent: Tuesday, April 9, 2019 12:54:09 PM | Subject: Re: Core dump with net-snmp-5.8 | | Now it works fine! | | thx | Anders Wallin | | | On Tue, Apr 9, 2019 at 2:26 AM Masayoshi Mizuma | wrote: | | > Hi

Re: Core dump with net-snmp-5.8

2019-04-10 Thread Sam Tannous
not be crashed with the agentofdead code >>> >>> >>> >>> Can you please try this? >>> >>> >>> >>> Regards >>> >>> Anders Wallin >>> >>> >>> >>> >>> >&

Re: Core dump with net-snmp-5.8

2019-04-09 Thread Sam Tannous
snmp_agent: end of handle_snmp_packet, asp = 0x56207e165240 >> >>>> | > agentx/master: callback resend >> >>>> | > agentx/master: callback resend >> >>>> | > agentx/master: timeout on session 0x56207dfd5400 req=0x1c9 >> >>>>

Re: Core dump with net-snmp-5.8

2019-04-09 Thread Anders Wallin
gt;>> sp->s_errno = errno; > >>>> snmp_set_detail(strerror(errno)); > >>>> -if (rp->callback) > >>>> +/*if (rp->callback) > >>>> rp->callback(NETSNMP_CALLBACK_OP_SEND_FAILED, sp, >

Re: Core dump with net-snmp-5.8

2019-04-08 Thread Masayoshi Mizuma
CK_OP_SEND_FAILED, sp, >>>> - rp->pdu->reqid, rp->pdu, rp->cb_data); >>>> + rp->pdu->reqid, rp->pdu, rp->cb_data);*/ >>>> return -1; >>>> } else { >>>> netsnmp_

Re: Core dump with net-snmp-5.8

2019-04-08 Thread Anders Wallin
> snmp_agent: REMOVE session == 0x56207e118f00 > >> | > snmp_agent: agent_session 0x56207e118f00 released > >> | > snmp_agent: processing delegated request, asp = 0x56207e11b540 > >> | > snmp_agent: canceling next walk for asp 0x56207e11b540 > >> | > sn

Re: Core dump with net-snmp-5.8

2019-04-08 Thread Masayoshi Mizuma
- rp->pdu->reqid, rp->pdu, rp->cb_data); >> + rp->pdu->reqid, rp->pdu, rp->cb_data);*/ >> } >> return 0; >> } >> >> Without them, all works as expected. >> >&

RE: Core dump with net-snmp-5.8

2019-04-05 Thread Matsumoto, Shogo
3.6.1.4.1.9 -Ona Regards, Shogo Matsumoto From: Anders Wallin [mailto:[email protected]] Sent: Thursday, April 4, 2019 8:37 PM To: [email protected]<mailto:[email protected]> Cc: [email protected]<mailto:[email protected]

Re: Core dump with net-snmp-5.8

2019-04-04 Thread Anders Wallin
I will check, but it will be tomorrow I don't know how I read the code last time, I was referring to the wrong commit where the code was introduced, it was introduced with "commit b7b50bbac7f21a924149d03da26ff0a44b25ec60 Author: VMwareDev Randy Date: Mon Jun 22 22:20:43 2015 -0400 snmp_send

Re: Core dump with net-snmp-5.8

2019-04-04 Thread Matsumoto, Shogo
Hi, The issue also occurs with the following patches. NEWS: snmplib: PATCH: 1349: Fix perl/other crash against bad SNMPv3 0001-agentx-logging-to-late-responses.patch 0002-agentx-do-not-shut-down-all-sessions-when-one-sessio.patch The issue occurs with the following patch (2914) too but I

Re: Core dump with net-snmp-5.8

2019-04-03 Thread Anders Wallin
rp->pdu->reqid, rp->pdu, rp->cb_data); > + rp->pdu->reqid, rp->pdu, rp->cb_data);*/ > } > return 0; > } > > Without them, all works as expected. > > Josef Ridky > Software Engineer > Core S

Re: Core dump with net-snmp-5.8

2019-04-03 Thread Josef Ridky
uot;Josef Ridky" | Cc: "net-snmp-coders" | Sent: Tuesday, April 2, 2019 6:27:54 PM | Subject: Re: Core dump with net-snmp-5.8 | | Hi Josef, | I can reproduce the issue using the master branch, I will take a look at it | later tonight or tomorrow | | Regards | Anders Wallin | |

Re: Core dump with net-snmp-5.8

2019-04-02 Thread Anders Wallin
ange race condition. > > Regards > > Josef Ridky > Software Engineer > Core Services Team > Red Hat Czech, s.r.o. > > - Original Message - > | From: "Anders Wallin" > | To: "Josef Ridky" > | Cc: "net-snmp-coders" > | Se

Re: Core dump with net-snmp-5.8

2019-04-02 Thread Josef Ridky
allin" | To: "Josef Ridky" | Cc: "net-snmp-coders" | Sent: Tuesday, April 2, 2019 1:46:40 PM | Subject: Re: Core dump with net-snmp-5.8 | | Hi Josef, | | I think it's the same issue as https://sourceforge.net/p/net-snmp/bugs/2914/ | (where I also posted the solutio

Re: Core dump with net-snmp-5.8

2019-04-02 Thread Anders Wallin
Hi Josef, I think it's the same issue as https://sourceforge.net/p/net-snmp/bugs/2914/ (where I also posted the solution) Regards Anders Wallin On Tue, Apr 2, 2019 at 12:43 PM Josef Ridky wrote: > Hi, > > recently, I have hit to an issue in net-snmp-5.8, that is connected to the > bug report [

Re: Core dump on Sun 5.10 in udpTable.c

2014-04-22 Thread Niels Baggesen
Den 31-03-2014 16:05, Brian Platt skrev: > Cores being created on a Sun O/S 5.10 server: > > Below is info that maybe helpful. If a different version should be used > please advise. What version of Net-SNMP? You might want to try the 5.7.3 pre-release, which is supposed to fix problems with (to

Re: core dump while agentx subagent destroy a row with rowstatus

2010-11-03 Thread Robert Story
On Wed, 3 Nov 2010 18:34:58 +0100 Claus wrote: CK> It happens while de-allocate an index of a shared table which was CK> never allocated. CK> The core dump does not ocure every time, its depends on the agentx CK> traffic so far, CK> but the session times out and the subagent mib vars are never

Re: core dump while agentx subagent destroy a row with rowstatus

2010-11-03 Thread Claus Klein
It happens while de-allocate an index of a shared table which was never allocated. The core dump does not ocure every time, its depends on the agentx traffic so far, but the session times out and the subagent mib vars are never seen. Who has written this agentx code? There seems a general pr

Re: core dump while agentx subagent destroy a row with rowstatus

2010-11-03 Thread Robert Story
On Thu, 28 Oct 2010 20:43:21 +0200 Claus wrote: CK> I am working with net-snmp as master agent and a subagent which CK> register a private MIB with a table. CK> CK> First I create a row with set the RowStatus = createAndGo, set the CK> row object (in my example a DisplayString). CK> Than I d

Re: Core dump

2009-04-28 Thread Dave Shield
2009/4/28 inyaven sakarai : > # gdb /usr/local/sbin/snmpd ./core.snmpd.20701 > BACKTRACE > (gdb) bt > #0  0xfed31d50 in strlen () from /usr/lib/libc.so.1 > #1  0xff26bdfc in var_hrswinst () from /usr/local/lib/libnetsnmpmibs.so.15 [snip] It's a bit difficult to be sure what's gone wrong with t

Re: Core dump

2009-04-28 Thread inyaven sakarai
-- On Mon, 4/27/09, Wes Hardaker wrote: This output though better than nothing is still a bit confusing.  Any chance you could run your core file through a real debugging analysis like GDB.      Dear Wes,   Thank you very much for your assistance. As per your request, I am submitting the debugg

Re: Core dump

2009-04-27 Thread Wes Hardaker
> On Mon, 27 Apr 2009 02:59:52 -0700 (PDT), inyaven sakarai > said: is>  fed31d50 strlen   (ffbff070, ffbfee70, ffbfee6c, 0, ffbfee68, ffbfee64) + 50 is>  ff30dadc netsnmp_old_api_helper (30, 125980, 1d4c70, 1891f0, ffbff070, 0) + 234 This output though better than nothing is still a

Re: core dump in netsnmp_check_outstanding_agent_requests

2006-06-03 Thread Thomas Anders
Fong Tsui wrote: > I am running into a core dump in > netsnmp_check_outstanding_agent_requests(). > It is v5.0.9 and on Linux. The 5.0.x branch is about to be EOLed. Can you reproduce this with 5.0.11.rc1? Updating to a current branch (5.3.1.pre3 etc.) is recommended. +Thomas ___

Re: core dump in snmp_timeout()

2005-11-07 Thread Robert Story
On Fri, 04 Nov 2005 16:41:24 -0500 Haizhu wrote: HL> I am using net-snmp 5.2.8, and my applicaiton runs on linux. There is no such release. HL> snmp_timeout() does not take any parameters, I don't really know what it HL> is doing underneath, I don't have any particular request to send. The stack

RE: core dump in snmp_timeout()

2005-11-04 Thread Bruce Shaw
>I am using net-snmp 5.2.8, and my applicaiton runs on linux. Did I miss something? I thought we were debating releasing 5.2.2. This communication is intended for the use of the recipient to which it is addressed, and may contain confidential, personal and or privileged information. Please cont

Re: core dump in snmp_timeout()

2005-11-04 Thread Haizhu Liu
urceforge.net To: "Haizhu Liu" <[EMAIL PROTECTED]> CC: [email protected] Subject: Re: core dump in snmp_timeout() Date: Fri, 4 Nov 2005 14:06:05 -0500 On Mon, 31 Oct 2005 16:34:25 -0500 Haizhu wrote: HL> My application core dumped at HL> HL> (gdb) where

Re: core dump in snmp_timeout()

2005-11-04 Thread Robert Story
On Mon, 31 Oct 2005 16:34:25 -0500 Haizhu wrote: HL> My application core dumped at HL> HL> (gdb) where HL> #0 0x40075036 in snmp_resend_request () from /usr/lib/libnetsnmp.so.5 HL> #1 0x40075647 in snmp_sess_timeout () from /usr/lib/libnetsnmp.so.5 HL> #2 0x40074f88 in snmp_timeout () from /usr

Re: Core dump in parsing identifier with MacAddress

2005-08-23 Thread Dave Shield
On Fri, 2005-08-19 at 17:23 -0400, Stefan Raab wrote: > My MIB (CISCO-DOT11-ASSOCIATIONS) has the following index definition: > Everytime I try and use this MIB I get a core dump I've just tried running a command over this MIB, and it works fine. What exactly do you mean by "using this MIB"? Wha