[exim] segv error with starttls in 4.62 on OSX 10.4.7

Top Page
Delete this message
Reply to this message
Author: Ian Eiloart
Date:  
To: exim-users
Subject: [exim] segv error with starttls in 4.62 on OSX 10.4.7
Hi,

I've built exim 4.62 on Mac OSX 10.4.7, and get a segmentation fault after
it reads my ssl certificate on "STARTTLS". Any ideas?

sivits-74 % exim -bV
Exim version 4.62 #1 built 23-May-2006 16:07:19
Copyright (c) University of Cambridge 2006
Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (September 6, 2005)
Support for: crypteq OpenSSL Content_Scanning Old_Demime
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dsearch
ldap ldapdn ldapm passwd
Authenticators: cram_md5 plaintext spa
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
Configuration file is /opt/local/etc/exim/exim.conf


Here's the end of my trace:

12869 exim-4.62-1 NAMI "/dev/urandom"
12869 exim-4.62-1 RET open 3
12869 exim-4.62-1 CALL fstat(0x3,0xbfffec14)
12869 exim-4.62-1 RET fstat 0
12869 exim-4.62-1 CALL select(0x4,0xbfffeb94,0,0,0xbfffeb6c)
12869 exim-4.62-1 RET select 1
12869 exim-4.62-1 CALL read(0x3,0xbfffeb74,0x20)
12869 exim-4.62-1 GIO fd 3 read 32 bytes

"\^NB\M^BZ\M-3\M-<Bu\M^K\^D\M-d\M^Gs\^V\r\M-e\M-cu\M-h\M-8\^Z\M-t\^OJO\M-o\M-<\M-(\M-p\M-P\a\M-N"
 12869 exim-4.62-1 RET   read 32/0x20
 12869 exim-4.62-1 CALL  close(0x3)
 12869 exim-4.62-1 RET   close 0
 12869 exim-4.62-1 CALL  getuid
 12869 exim-4.62-1 RET   getuid 25450/0x636a
 12869 exim-4.62-1 CALL  open(0x1802b38,0,0x1b6)
 12869 exim-4.62-1 NAMI 
"/opt/local/etc/exim/sslcerts/smtp.sussex.ac.uk.crt"
 12869 exim-4.62-1 RET   open 3
 12869 exim-4.62-1 CALL  fstat(0x3,0xbfffe868)
 12869 exim-4.62-1 RET   fstat 0
 12869 exim-4.62-1 CALL  read(0x3,0x1812400,0x1000)
 12869 exim-4.62-1 GIO   fd 3 read 1225 bytes
       "-----BEGIN CERTIFICATE-----
        MIIDWzCCAsSgAwIBAgIDP+p/MA0GCSqGSIb3DQEBBAUAMIHOMQswCQYDVQQGEwJa
        QTEVMBMGA1UECBMMV2VzdGVybiBDYXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xHTAb
        BgNVBAoTFFRoYXd0ZSBDb25zdWx0aW5nIGNjMSgwJgYDVQQLEx9DZXJ0aWZpY2F0
        aW9uIFNlcnZpY2VzIERpdmlzaW9uMSEwHwYDVQQDExhUaGF3dGUgUHJlbWl1bSBT
        ZXJ2ZXIgQ0ExKDAmBgkqhkiG9w0BCQEWGXByZW1pdW0tc2VydmVyQHRoYXd0ZS5j
        b20wHhcNMDUwOTE0MTExNDI0WhcNMDYxMDAxMTU1MzA2WjBtMQswCQYDVQQGEwJH
        QjEQMA4GA1UECBMHRW5nbGFuZDERMA8GA1UEBxMIQnJpZ2h0b24xHTAbBgNVBAoT
        FFVuaXZlcnNpdHkgb2YgU3Vzc2V4MRowGAYDVQQDExFzbXRwLnN1c3NleC5hYy51
        azCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAsWwUf3+kIAf6qT9b5GEOU0xj
        XZ3HFG5Fl+jP+lUglXDar6xzNKo++KjxhnQqsyby7diuVyAHAX5TmCcSYUnR9RH+
        d1bjgqNkKR+T5Hd6zkE6CpwgEVf8t33qD8aiO5ME+rtUmGUfULXxf/j/MlImtV4S
        Cf+mLuMDs7xImut5Hw0CAwEAAaOBpjCBozAdBgNVHSUEFjAUBggrBgEFBQcDAQYI
        KwYBBQUHAwIwQAYDVR0fBDkwNzA1oDOgMYYvaHR0cDovL2NybC50aGF3dGUuY29t
        L1RoYXd0ZVByZW1pdW1TZXJ2ZXJDQS5jcmwwMgYIKwYBBQUHAQEEJjAkMCIGCCsG
        AQUFBzABhhZodHRwOi8vb2NzcC50aGF3dGUuY29tMAwGA1UdEwEB/wQCMAAwDQYJ
        KoZIhvcNAQEEBQADgYEAiv0Df4ZxD5O3qgSdzJx2W4KFhb2wTrOzdOz0XOSHj/+0
        LjuY+RwD7EYWpDVciN61wHtlAerja6StwIpCnKRBKVHYJADZmPW04IzPIWckxj14
        0YEgdCZR+rRSJLbOOffQRlxdeHDVPO2iPFu5vNJ1gjHIJbaMEXFVzy94prAUSvs=
        -----END CERTIFICATE-----


       "
 12869 exim-4.62-1 RET   read 1225/0x4c9
 12869 exim-4.62-1 PSIG  SIGSEGV SIG_DFL
 #----- this is the parent process, now:
 12849 exim-4.62-1 RET   select -1 errno 4 Interrupted system call
 12849 exim-4.62-1 PSIG  SIGCHLD caught handler=0x7dfc mask=0x0 code=0x0
 12849 exim-4.62-1 CALL  sigaction(0x14,0xbffff1e8,0)
 12849 exim-4.62-1 RET   sigaction 0
 12849 exim-4.62-1 CALL  sigreturn(0xbffff3d8,0x14)
 12849 exim-4.62-1 RET   sigreturn JUSTRETURN
 12849 exim-4.62-1 CALL  wait4(0xffffffff,0xbffff948,0x1,0)
 12849 exim-4.62-1 RET   wait4 12869/0x3245
 12849 exim-4.62-1 CALL  wait4(0xffffffff,0xbffff948,0x1,0)
 12849 exim-4.62-1 RET   wait4 -1 errno 10 No child processes
 12849 exim-4.62-1 CALL  sigaction(0x14,0xbffff8e8,0)
 12849 exim-4.62-1 RET   sigaction 0
 12849 exim-4.62-1 CALL  select(0x9,0xbffff9ec,0,0,0)



--
Ian Eiloart
IT Services, University of Sussex