Bluehost.com Web Hosting $6.95

net-snmp function question

This is a discussion on net-snmp function question within the SNMP Users forums, part of the Networking and Network Related category; Hello all, The program works correctly if I run the asyncapp.c demo. http://www.net-snmp.org/tutorial/tut......


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-11-2006
Jonathan Shan
 
Posts: n/a
Default net-snmp function question

Hello all,

The program works correctly if I run the asyncapp.c demo.
http://www.net-snmp.org/tutorial/tut...app/index.html

When I change the code to generate hosts during runtime, the program gives
me strange errors whenever it invokes snmp-related functions in the
synchronous function block. I also commented out the asynchronous function
code.

The specific error is:

lookup 0x08048000 0x00000398 -> 0xb7e52000 0x000294b0 /1 snmp_sess_init
lookup 0x08048000 0x00000228 -> 0xb7d1a000 0x0006ded0 /1 strdup
lookup 0x08048000 0x000002c8 -> 0xb7e52000 0x00036520 /1 snmp_open
Segmentation fault




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 03:32 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0