From: SourceForge.net <no...@so...> - 2003-07-01 10:13:52
|
Bugs item #761870, was opened at 2003-06-27 15:34 Message generated for change (Comment added) made by jbpn You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=761870&group_id=12694 Category: agent Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: net-snmp-5.0.8 segfault on AIX 5.1 Initial Comment: I configured net-snmp with all the default options, compiling it with vacpp 6.0. The problem is that i get a seg fault when i try and run the snmpd agent. Here is the gdb output: This GDB was configured as "powerpc-ibm-aix5.1.0.0"... Core was generated by `snmpd'. Program terminated with signal 11, Segmentation fault. #0 0xd2a61230 in netsnmp_ds_set_boolean () (gdb) bt #0 0xd2a61230 in netsnmp_ds_set_boolean () #1 0xd2a64154 in init_agent (app=0x20000b6c) at snmp_vars.c:224 #2 0x10001308 in main (argc=5, argv=0x2ff22c2c) at snmpd.c:843 #3 0x100001dc in __start () (gdb) so, i added to the netsnmp_ds_set_boolean() method in default_store.c to print out the values of storeid, which, and value and got: #./snmpd -f the storerd is 1 the which is 3 the value is 0 the storerd is 1 the which is 1 the value is 0 Segmentation fault (core dumped) This occurs with every version of the code that i've tried, and it has occured on all 3 different aix 5.1 boxes that i have. Thanks, mark sullivan mar...@na... ---------------------------------------------------------------------- >Comment By: John Naylon (jbpn) Date: 2003-07-01 11:13 Message: Logged In: YES user_id=93926 Hmmm. This is very puzzling. Can you try building the package statically? This has been rumoured to fix AIX builds before, and it would be interesting to verify it. Pass the following option to configure: ./configure --enable-shared=no ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=761870&group_id=12694 |