AFP548 Changing the world one server at a time.

10.4.4: TMDA -> procmail -> cyrus deliver -> lmtpd -> CRASH

Home › Forums › OS X Server and Client Discussion › Mail › 10.4.4: TMDA -> procmail -> cyrus deliver -> lmtpd -> CRASH

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #365364
    Ironwolf
    Participant

    I seem to be having the same unresolved problem as a couple of other posters here and here.

    I hope someone can help me with this issue– perhaps someone can at least try duplicating the problem on a 10.4.4 or 10.4.5 system?

    Since upgrading to Server 10.4.4 (and 10.4.5 today) I have been completely unable to use procmail to route mail through cyrus/bin/deliver. It appears that lmtpd is crashing. My procmail file is quite simple:

    :0 w
    | /usr/bin/cyrus/bin/deliver -e -a ironwolf -m user/ironwolf

    It is invoked by TMDA when it wants to pass mail to my personal inbox. What ends up happening is deliver invokes lmtpd (through master I expect) and then lmtpd crashes, sending an error back which causes the message to wind up in the postfix deferred queue.

    I’m pretty sure neither TMDA nor procmail has anything to do with the problem, because I was able to duplicate the crash from the command line by creating a dummy message and invoking:

    $ /usr/bin/cyrus/bin/deliver -e -a ironwolf -m user/ironwolf < testmessage

    system.log contains the following:

    Feb 17 14:23:10 arc master[1675]: process 1698 exited, signaled to death by 10
    Feb 17 14:23:10 arc crashdump[1734]: lmtp crashed
    Feb 17 14:23:10 arc crashdump[1734]: crash report written to: /Library/Logs/CrashReported/lmtpd.crash.log

    And /Library/Logs/CrashReporter/lmtpd.crash.log contains the following:

    Host Name: arc
    Date/Time: 2006-02-17 14:31:49.606 -0800
    OS Version: 10.4.5 (Build 8H14)
    Report Version: 4

    Command: lmtpd
    Path: /usr/bin/cyrus/bin/lmtpd
    Parent: master [1675]

    Version: ??? (???)

    PID: 1829
    Thread: 0

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

    Thread 0 Crashed:
    0 libSystem.B.dylib 0x90002fc8 strlen + 8
    1 lmtpd 0x0001846c 0x1000 + 95340
    2 lmtpd 0x00006960 0x1000 + 22880
    3 lmtpd 0x00007bd4 0x1000 + 27604
    4 lmtpd 0x00003be4 0x1000 + 11236
    5 lmtpd 0x00003950 0x1000 + 10576
    6 lmtpd 0x000024c0 0x1000 + 5312
    7 lmtpd 0x00002364 0x1000 + 4964

    Thread 0 crashed with PPC Thread State 64:
    srr0: 0x0000000090002fc8 srr1: 0x100000000200d030 vrsave: 0x0000000000000000
    cr: 0x42002222 xer: 0x0000000000000000 lr: 0x000000000001846c ctr: 0x0000000090002fc0
    r0: 0x000000000001846c r1: 0x00000000bfffd0f0 r2: 0x0000000000000001 r3: 0x0000000000000000
    r4: 0x0000000000000000 r5: 0x0000000000000000 r6: 0xffffffff80808080 r7: 0xffffffffffffffff
    r8: 0x0000000000402ee2 r9: 0x0000000000000000 r10: 0x0000000000000001 r11: 0x000000000016c4dc
    r12: 0x0000000090002fc0 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000
    r16: 0x0000000000166b48 r17: 0x00000000bfffeb1c r18: 0x00000000bfffebb0 r19: 0x00000000000047d8
    r20: 0x000000000016d3b0 r21: 0x0000000000166418 r22: 0x0000000000000000 r23: 0x0000000000166418
    r24: 0x0000000000000000 r25: 0x00000000004031d0 r26: 0x0000000000166418 r27: 0x0000000000000000
    r28: 0x0000000000000000 r29: 0x000000000016d3b0 r30: 0x0000000000000000 r31: 0x0000000000018404

    Binary Images Description:
    0x1000 - 0x167fff lmtpd /usr/bin/cyrus/bin/lmtpd
    0x1af000 - 0x1b1fff apop.so /usr/lib/sasl2/apop.so
    0x1b4000 - 0x1bcfff digestmd5WebDAV.so /usr/lib/sasl2/digestmd5WebDAV.so
    0x1bf000 - 0x1c1fff libanonymous.2.so /usr/lib/sasl2/libanonymous.2.so
    0x1c4000 - 0x1c6fff libcrammd5.2.so /usr/lib/sasl2/libcrammd5.2.so
    0x1c9000 - 0x1d2fff libdigestmd5.2.so /usr/lib/sasl2/libdigestmd5.2.so
    0x1d5000 - 0x1d8fff libgssapiv2.2.so /usr/lib/sasl2/libgssapiv2.2.so
    0x1db000 - 0x1ddfff login.so /usr/lib/sasl2/login.so
    0x1e0000 - 0x1e5fff libntlm.so /usr/lib/sasl2/libntlm.so
    0x1e8000 - 0x1f0fff libotp.2.so /usr/lib/sasl2/libotp.2.so
    0x1f9000 - 0x1fbfff libplain.2.so /usr/lib/sasl2/libplain.2.so
    0x3a7000 - 0x3aafff mschapv2.so /usr/lib/sasl2/mschapv2.so
    0x3ad000 - 0x3b6fff pwauxprop.so /usr/lib/sasl2/pwauxprop.so
    0x3ba000 - 0x3bcfff shadow_auxprop.so /usr/lib/sasl2/shadow_auxprop.so
    0x3bf000 - 0x3c2fff smb_lm.so /usr/lib/sasl2/smb_lm.so
    0x3c5000 - 0x3c8fff smb_nt.so /usr/lib/sasl2/smb_nt.so
    0x3cb000 - 0x3cefff smb_ntlmv2.so /usr/lib/sasl2/smb_ntlmv2.so
    0x505000 - 0x585fff dhx.so /usr/lib/sasl2/dhx.so
    0x8fe00000 - 0x8fe54fff dyld 44.2 /usr/lib/dyld
    0x90000000 - 0x901b3fff libSystem.B.dylib /usr/lib/libSystem.B.dylib
    0x9020b000 - 0x9020ffff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
    0x9073a000 - 0x90813fff com.apple.CoreFoundation 6.4.4 (368.25) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x9085c000 - 0x9085cfff com.apple.CoreServices 10.4 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x9085e000 - 0x90960fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
    0x909ba000 - 0x90a3efff libobjc.A.dylib /usr/lib/libobjc.A.dylib
    0x90a68000 - 0x90ad6fff com.apple.framework.IOKit 1.4.1 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x90aed000 - 0x90afffff libauto.dylib /usr/lib/libauto.dylib
    0x90b06000 - 0x90ddefff com.apple.CoreServices.CarbonCore 681.3 (671.2) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
    0x90e44000 - 0x90ec4fff com.apple.CoreServices.OSServices 4.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
    0x90f0e000 - 0x90f4ffff com.apple.CFNetwork 10.4.4 (129.9) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
    0x90f64000 - 0x90f7cfff com.apple.WebServices 1.1.2 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore
    0x90f8c000 - 0x9100dfff com.apple.SearchKit 1.0.5 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
    0x91053000 - 0x9107dfff com.apple.Metadata 10.4.4 (121.34) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
    0x9108e000 - 0x9109cfff libz.1.dylib /usr/lib/libz.1.dylib
    0x9109f000 - 0x91262fff com.apple.security 4.3 (25966) /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x91365000 - 0x9136efff com.apple.DiskArbitration 2.1 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x91375000 - 0x9139cfff com.apple.SystemConfiguration 1.8.2 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
    0x913af000 - 0x913b7fff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
    0x913bc000 - 0x913dcfff libmx.A.dylib /usr/lib/libmx.A.dylib
    0x919c4000 - 0x91a8cfff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib
    0x935f6000 - 0x93617fff com.apple.DirectoryService.Framework 3.0 /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryService
    0x94a9d000 - 0x94aadfff libsasl2.2.dylib /usr/lib/libsasl2.2.dylib
    0x94ab1000 - 0x94ae0fff libssl.0.9.7.dylib /usr/lib/libssl.0.9.7.dylib
    0x94af0000 - 0x94b0dfff libresolv.9.dylib /usr/lib/libresolv.9.dylib
    0x95012000 - 0x95139fff edu.mit.Kerberos 5.5.20 /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
    0x96055000 - 0x96077fff com.apple.DirectoryService.PasswordServerFramework 1.4 /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordServer
    0x9b270000 - 0x9b280fff libwrap.7.dylib /usr/lib/libwrap.7.dylib

    #365366
    clamor
    Participant

    I ran in to the same Problem with OSX Server 10.4.5

    #365374
    Ironwolf
    Participant

    I have been able to successfully work around this crash by replacing the binary /usr/bin/cyrus/bin/lmtpd with one from a different Mac running Server 10.4.2. Only been running it for a couple hours now, but things seem to be working smoothly again. I’ve filed a bug report with Apple about this (#4450793).

    #366529
    Anonymous
    Guest

    could someone post a link to a 10.4.s copy of /usr/bin/cyrus/bin/lmtpd ?

    we are on 10.4.6 and have the same problem.

    thanks, simon

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.