LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-15-2008, 12:48 PM   #1
Manjunath1847
Member
 
Registered: Mar 2007
Posts: 44

Rep: Reputation: 16
ASNMP (ACE-SNMP) crashes sometimes in multi threaded mode


We are using ACE SNMP library libasnmp.so version 5.2 to perform SNMP operation from a C++ code. Sometime our module crashes when freeing up ASNMP objects. It crashes sometimes and not always. We are using the ASNMP in multithreaded environment, where we have 50 threads, each thread instantiate ASNMP objects to perform SNMP operation on different devices in parallel. Not sure is there any issue with our code or with ACE SNMP library. Is anyone seen such issues with ACE ASNMP?
This is the stack trace when it crashes.

#0 0x54858950 in ?? ()
#1 0xb629ec49 in Vb::~Vb () from /usr/local/mysftw/libasnmp.so.5.4.0
#2 0xb629a065 in Pdu::~Pdu () from /usr/local/mysftw/libasnmp.so.5.4.0
#3 0xb62f5104 in ~ACESnmpMgr (this=0xad7fb20) at ACESnmpMgr.cpp:36
#4 0xb62f437a in ACEMgrClose (session=0xa5bb030) at ACESnmp.cpp:81
#5 0xb62f3c1f in MyMgrClose (session=0xad7fb20) at MySnmp.cpp:32
#6 0xb621c09d in MySnmp::CloseSession (this=0xb04ffdd4) at MyACESnmp.cpp:36

Thanks in advance.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wget: Multi-Threaded downloading wwnexc Linux - Networking 8 05-15-2010 08:40 PM
apache: running multi-threaded or multi fork? Swakoo Linux - General 1 03-20-2008 07:18 AM
How to debug a multi-threaded program? nalsrayatko Programming 4 11-29-2007 01:57 PM
multi-threaded sliding window mjl3434 Programming 2 10-24-2005 04:16 PM
Multi-Threaded C pragti Programming 1 06-01-2004 10:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration