hi thomas,

This should be fixed in 5.2.x CVS already. Can you try on your system(s)
(which?) and report back to us?

   bottom line
       522pre2 looks OK!
       53x-cvs, tho, has some issues ...

richard.


here's are the latest details:

case (1)

        5.2.2pre2 on OSX 10.4.2
        +++ unsetenv MACOSX_DEPLOYMENT_TARGET
        +++ echo "#undef ICMPSTAT_SYMBOL" >> include/net-snmp/system/darwin7.h

        autoconf
        configure ...
        make
        make install
        /.../sbin/snmpd -v
                NET-SNMP version:  5.2.2.pre2
                Web:               http://www.net-snmp.org/
                Email:             [email protected]
        make test
                Summary: 46 / 46 succeeded.

        all OK.


case (2)

5.2.2pre2 on OSX 10.4.2
+++ unsetenv MACOSX_DEPLOYMENT_TARGET
--- echo "#undef ICMPSTAT_SYMBOL" >> include/net-snmp/system/darwin7.h

        autoconf
        configure ...

                ---------------------------------------------------------
                                        Net-SNMP configuration summary:
                ---------------------------------------------------------

                  SNMP Versions Supported:    1 2c 3
                  Net-SNMP Version:           5.2.2.0.2
                  Building for:               darwin8
                  Network transport support:  UDP TCP Unix Callback
                  SNMPv3 Security Modules:    usm
Agent MIB code: snmpv3mibs mibII/snmp_mib mibII/system_mib mibII/sysORTable mibII/vacm_vars utilities/execute agentx disman/event-mib smux
                  SNMP Perl modules:          building -- embeddable
                  Embedded perl support:      enabled
                  Authentication support:     MD5 SHA1
                  Encryption support:         DES AES

                ---------------------------------------------------------

        make
        make install
        /.../sbin/snmpd -v
                NET-SNMP version:  5.2.2.pre2
                Web:               http://www.net-snmp.org/
                Email:             [email protected]
        make test
                Summary: 46 / 46 succeeded.

        all OK.

hmmm ...

        echo "#undef ICMPSTAT_SYMBOL" >> include/net-snmp/system/darwin7.h

no longer seems to be req'd.  allrighty then!


case (3)

9/28/05 12:45:42
cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/net-snmp co -d net-snmp-cvs -P net-snmp
+++ unsetenv MACOSX_DEPLOYMENT_TARGET
--- echo "#undef ICMPSTAT_SYMBOL" >> include/net-snmp/system/darwin7.h

        autoconf
        configure ...

                ---------------------------------------------------------
                                        Net-SNMP configuration summary:
                ---------------------------------------------------------

                  SNMP Versions Supported:    1 2c 3
                  Net-SNMP Version:           5.3.dev
                  Building for:               darwin8
                  Network transport support:  UDP TCP Unix Callback
                  SNMPv3 Security Modules:    usm
Agent MIB code: snmpv3mibs mibII/snmp_mib mibII/system_mib mibII/sysORTable mibII/vacm_vars utilities/execute agentx disman/event-mib smux
                  SNMP Perl modules:          building -- embeddable
                  Embedded perl support:      enabled
                  Authentication support:     MD5 SHA1
                  Encryption support:         DES AES

                ---------------------------------------------------------

        make
        make install
        /.../sbin/snmpd -v
                NET-SNMP version:  5.3.dev
                Web:               http://www.net-snmp.org/
                Email:             [email protected]


        make test

                1:testing SNMPv1 support...(no pid file(s) found)FAIL
                2:testing SNMPv2c get of system.sysUpTime.0...(no pid file(s) 
found)FAIL
                3:testing SNMPv2c getnext of system.sysUpTime...(no pid file(s) 
found)FAIL
                ...

repeated failures result in crash reports.  here's the test#1 output:


------ CRASH REPORT ----------
Date/Time:      2005-09-28 13:17:32.902 -0700
OS Version:     10.4.2 (Build 8C46)
Report Version: 3

Command: snmpd
Path:    /usr/ports/net-snmp/net-snmp-cvs/agent/.libs/snmpd
Parent:  launchd [1]

Version: ??? (???)

PID:    4953
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

Thread 0 Crashed:
0   libSystem.B.dylib           0x900031e8 strlen + 8
1 libnetsnmpagent.10.dylib 0x00356478 netsnmp_iquery_session + 136 (iquery.c:145) 2 libnetsnmpagent.10.dylib 0x00356568 netsnmp_iquery_user_session + 60 (iquery.c:116) 3 libnetsnmpagent.10.dylib 0x0035659c _init_default_iquery_session + 32 (iquery.c:53) 4 libnetsnmp.10.0.0.dylib 0x0044fae4 snmp_call_callbacks + 448 (callback.c:211)
5   snmpd                       0x00003774 main + 4196 (snmpd.c:898)
6   snmpd                       0x00001c80 _start + 344 (crt.c:272)
7   snmpd                       0x00001b24 start + 60

Thread 0 crashed with PPC Thread State 64:
srr0: 0x00000000900031e8 srr1: 0x000000000200f030 vrsave: 0x0000000000000000 cr: 0x24004422 xer: 0x0000000000000004 lr: 0x0000000000356478 ctr: 0x00000000900031e0 r0: 0x0000000000356478 r1: 0x00000000bfffc710 r2: 0x00000000a00039a0 r3: 0x0000000000000000 r4: 0x00000000bfffc7b4 r5: 0x000000000000000d r6: 0x000000000000005a r7: 0x00000000ffffffff r8: 0x0000000000000003 r9: 0x0000000000000000 r10: 0x000000000120073f r11: 0x000000000035f514 r12: 0x00000000900031e0 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000 r16: 0x0000000000000000 r17: 0x0000000000000000 r18: 0x0000000000000000 r19: 0x0000000000000000 r20: 0x0000000000471d70 r21: 0x0000000000470ef0 r22: 0x0000000000471c84 r23: 0x0000000000000003 r24: 0x0000000000000003 r25: 0x0000000000000002 r26: 0x0000000000000003 r27: 0x0000000000000000 r28: 0x00000000bfffc7a8 r29: 0x0000000001140084 r30: 0x0000000001140010 r31: 0x00000000003563f8

Binary Images Description:
0x1000 - 0x6fff snmpd /usr/ports/net-snmp/net-snmp-cvs/agent/.libs/snmpd 0x205000 - 0x2b3fff libdb-4.3.dylib /usr/local/DarkMatter/berkeley-db/lib/libdb-4.3.dylib 0x2cd000 - 0x2ebfff libnetsnmpmibs.10.dylib /usr/ports/net-snmp/net-snmp-cvs/agent/.libs/libnetsnmpmibs.10.dylib 0x330000 - 0x35efff libnetsnmpagent.10.dylib /usr/ports/net-snmp/net-snmp-cvs/agent/.libs/libnetsnmpagent.10.dylib 0x3a5000 - 0x3b9fff libnetsnmphelpers.10.dylib /usr/ports/net-snmp/net-snmp-cvs/agent/helpers/.libs/libnetsnmphelpers.10.dylib 0x410000 - 0x474fff libnetsnmp.10.0.0.dylib /Volumes/OWC_Tools/projects/ports/net-snmp/net-snmp-cvs/snmplib/.libs/libnetsnmp.10.0.0.dylib 0x530000 - 0x5fbfff libcrypto.0.9.7.dylib /usr/local/ssl/lib/libcrypto.0.9.7.dylib 0x659000 - 0x762fff libperl.dylib /usr/local/DarkMatter/perl_libs/privlib/darwin-thread-multi-2level/CORE/libperl.dylib 0xa000000 - 0xa0a3fff com.tcltk.tcllibrary 8.5a3 /Library/Frameworks/Tcl.framework/Versions/8.5/Tcl
0x8fe00000 - 0x8fe51fff dyld 43.1       /usr/lib/dyld
0x90000000 - 0x901a6fff libSystem.B.dylib       /usr/lib/libSystem.B.dylib
0x901fe000 - 0x90202fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib 0x90280000 - 0x90359fff com.apple.CoreFoundation 6.4.3 (368.12) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x9084c000 - 0x9094efff libicucore.A.dylib      /usr/lib/libicucore.A.dylib
0x909a8000 - 0x90a2cfff libobjc.A.dylib         /usr/lib/libobjc.A.dylib
0x90ae4000 - 0x90af6fff libauto.dylib   /usr/lib/libauto.dylib
0x91d34000 - 0x91d54fff libmx.A.dylib   /usr/lib/libmx.A.dylib
0x93615000 - 0x9361dfff libgcc_s.1.dylib        /usr/lib/libgcc_s.1.dylib
0x9e398000 - 0x9e3a8fff libwrap.7.dylib         /usr/lib/libwrap.7.dylib



richard

Attachment: pgp63YwB5kh1N.pgp
Description: PGP signature

Reply via email to