Hi, I am testing with net-snmp V5.4.4 on Mac OS X
$ agent/snmpd -v NET-SNMP version: 5.4.4 Web: http://www.net-snmp.org/ Email: [email protected] $ sw_vers ProductName: Mac OS X ProductVersion: 10.5.8 BuildVersion: 9L30 gcc --version gcc (MacPorts gcc47 4.7.1_2) 4.7.1 I build with this configuration and it always crashes after a view seconds: export MIBDIRS=${PWD}/mibs /configure --cache-file="config.cache" \ --prefix=/opt/local \ --with-cflags="-I/opt/local/include" \ --with-ldflags="-L/opt/local/lib" \ --with-defaults \ --disable-snmpv1 \ --without-rpm \ --without-perl-modules \ --without-python-modules \ --without-kmem-usage \ --with-out-mib-modules="mibII/icmp host/hr_swrun" \ --with-out-mib-modules="host ucd-snmp/diskio" \ --with-out-mib-modules="disman/event disman/schedule" \ --disable-deprecated \ --enable-ipv6 \ --with-transports="TCPIPv6 UDPIPv6" \ --with-mib-modules="agentx notification notification-log-mib target ucd-snmp/proxy examples" \ --enable-developer \ make make test ### without errors. sudo rm -f ./snmpd.conf sudo ./agent/snmpd -Lf ./snmpd.log -p ${PWD}/snmpd.pid -C \ '--view all included .1 80' \ '--rwuser clausklein noAuthNoPriv -V all "*"' \ '--createUser=clausklein SHA "---none---" AES "---none---"' \ --persistentDir="${PWD}" \ -c ./snmpd.conf -C --defSecurityModel=usm \ -f .... Segmentation fault claus-kleins-macbook-pro:build clausklein$ tail snmpd.log trace: netsnmp_c64_check32_and_update(): /Users/clausklein/Workspace/c/ net-snmp-5.4.4/snmplib/int64.c, 350: c64: 32 bit check failed trace: netsnmp_c64_check_for_32bit_wrap(): /Users/clausklein/Workspace/ c/net-snmp-5.4.4/snmplib/int64.c, 272: 9:c64:check_wrap: check wrap 0xab67f.0xab67f 0xab681.0xab681 trace: netsnmp_c64_check32_and_update(): /Users/clausklein/Workspace/c/ net-snmp-5.4.4/snmplib/int64.c, 350: c64: 32 bit check failed trace: netsnmp_c64_check_for_32bit_wrap(): /Users/clausklein/Workspace/ c/net-snmp-5.4.4/snmplib/int64.c, 272: 9:c64:check_wrap: check wrap 0x173a.0x173a 0x173a.0x173a trace: netsnmp_c64_check_for_32bit_wrap(): /Users/clausklein/Workspace/ c/net-snmp-5.4.4/snmplib/int64.c, 279: 9:c64:check_wrap: no wrap # (gdb) where #0 0x8fe18c02 in __dyld_misaligned_stack_error () #1 0x0018552a in debug_is_token_registered () #2 0x0017fe92 in u64UpdateCounter () #3 0x0018031c in netsnmp_c64_check32_and_update () #4 0x000ed19d in netsnmp_access_interface_entry_update_stats () #5 0x000ed532 in netsnmp_access_interface_entry_copy () #6 0x000f27d1 in _check_interface_entry_for_updates () #7 0x001b183f in netsnmp_binary_array_for_each () #8 0x001b1d7c in _ba_for_each () #9 0x000f2ba4 in ifTable_container_load () #10 0x000f1b47 in _cache_load () #11 0x0007ef6f in _cache_load () #12 0x0007e222 in _timer_reload () #13 0x001924c6 in run_alarms () #14 0x00004cde in receive () #15 0x000044b4 in main () Can anyone please help? Thanks in advance Best Regards Claus ------------------------------------------------------------------------------ How fast is your code? 3 out of 4 devs don\\\'t know how their code performs in production. Find out how slow your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219672;13503038;z? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
