[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: slapd crash with KERN_INVALID_ADDRESS



--On Thursday, August 30, 2007 2:21 PM -0700 Howard Chu <hyc@symas.com> wrote:

Quanah Gibson-Mount wrote:
Using OpenLDAP 2.3.37, on MAC OS X.  Any thoughts on what may cause
that?  I was thinking a bad memory chip.

The string "KERN_INVALID_ADDRESS" doesn't occur anywhere in the OpenLDAP code. You ought to know better than this - provide the full, actual output of an error message if you want to talk about the error.

It is most likely a platform issue, but without context, no MacOS experts
would be able to help you either.

Host Name: eagle Date/Time: 2007-08-30 10:36:56.769 -0500 OS Version: 10.4.10 (Build 8R2218b) Report Version: 4

Command: slapd
Path:    /opt/zimbra/openldap/libexec/slapd
Parent:  launchd [1]

Version: ??? (???)

PID:    22635
Thread: 15

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0x154ffffc

Thread 0:
0   libSystem.B.dylib   0x9002c358 semaphore_wait_trap + 8
1   libSystem.B.dylib   0x9005fb78 pthread_join + 444
2   slapd               0x00012c2c slapd_daemon + 180 (daemon.c:2659)
3   slapd               0x00003e44 main + 4248 (main.c:859)
4   slapd               0x0000237c _start + 344 (crt.c:272)
5   slapd               0x00002220 start + 60

Thread 1:
0   libSystem.B.dylib   0x9001f6cc select + 12
1   slapd               0x00012170 slapd_daemon_task + 2688 (daemon.c:2174)
2   libSystem.B.dylib   0x9002bbe8 _pthread_body + 96

Thread 2:
0 libSystem.B.dylib 0x9002c288 semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x900312d0 pthread_cond_wait + 484
2 slapd 0x000eaab4 ldap_int_thread_pool_wrapper + 468 (tpool.c:490)
3 libSystem.B.dylib 0x9002bbe8 _pthread_body + 96


Thread 3:
0 libSystem.B.dylib 0x9002c288 semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x900312d0 pthread_cond_wait + 484
2 slapd 0x000eaab4 ldap_int_thread_pool_wrapper + 468 (tpool.c:490)
3 libSystem.B.dylib 0x9002bbe8 _pthread_body + 96


Thread 4:
0 libSystem.B.dylib 0x9002c288 semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x900312d0 pthread_cond_wait + 484
2 slapd 0x000eaab4 ldap_int_thread_pool_wrapper + 468 (tpool.c:490)
3 libSystem.B.dylib 0x9002bbe8 _pthread_body + 96


Thread 5:
0 libSystem.B.dylib 0x9002c288 semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x900312d0 pthread_cond_wait + 484
2 slapd 0x000eaab4 ldap_int_thread_pool_wrapper + 468 (tpool.c:490)
3 libSystem.B.dylib 0x9002bbe8 _pthread_body + 96


Thread 6:
0 libSystem.B.dylib 0x9002c288 semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x900312d0 pthread_cond_wait + 484
2 slapd 0x000eaab4 ldap_int_thread_pool_wrapper + 468 (tpool.c:490)
3 libSystem.B.dylib 0x9002bbe8 _pthread_body + 96


Thread 7:
0 libSystem.B.dylib 0x9002c288 semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x900312d0 pthread_cond_wait + 484
2 slapd 0x000eaab4 ldap_int_thread_pool_wrapper + 468 (tpool.c:490)
3 libSystem.B.dylib 0x9002bbe8 _pthread_body + 96


Thread 8:
0 libSystem.B.dylib 0x9002c288 semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x900312d0 pthread_cond_wait + 484
2 slapd 0x000eaab4 ldap_int_thread_pool_wrapper + 468 (tpool.c:490)
3 libSystem.B.dylib 0x9002bbe8 _pthread_body + 96


Thread 9:
0 libSystem.B.dylib 0x9002c288 semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x900312d0 pthread_cond_wait + 484
2 slapd 0x000eaab4 ldap_int_thread_pool_wrapper + 468 (tpool.c:490)
3 libSystem.B.dylib 0x9002bbe8 _pthread_body + 96


Thread 10:
0 libSystem.B.dylib 0x9002c288 semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x900312d0 pthread_cond_wait + 484
2 slapd 0x000eaab4 ldap_int_thread_pool_wrapper + 468 (tpool.c:490)
3 libSystem.B.dylib 0x9002bbe8 _pthread_body + 96


Thread 11:
0 libSystem.B.dylib 0x9002c288 semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x900312d0 pthread_cond_wait + 484
2 slapd 0x000eaab4 ldap_int_thread_pool_wrapper + 468 (tpool.c:490)
3 libSystem.B.dylib 0x9002bbe8 _pthread_body + 96


Thread 12:
0 libSystem.B.dylib 0x9002c288 semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x900312d0 pthread_cond_wait + 484
2 slapd 0x000eaab4 ldap_int_thread_pool_wrapper + 468 (tpool.c:490)
3 libSystem.B.dylib 0x9002bbe8 _pthread_body + 96


Thread 13:
0 libSystem.B.dylib 0x9002c288 semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x900312d0 pthread_cond_wait + 484
2 slapd 0x000eaab4 ldap_int_thread_pool_wrapper + 468 (tpool.c:490)
3 libSystem.B.dylib 0x9002bbe8 _pthread_body + 96


Thread 14:
0 libSystem.B.dylib 0x9002c288 semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x900312d0 pthread_cond_wait + 484
2 slapd 0x000eaab4 ldap_int_thread_pool_wrapper + 468 (tpool.c:490)
3 libSystem.B.dylib 0x9002bbe8 _pthread_body + 96


Thread 15 Crashed:
0 slapd 0x0002d4f0 slap_mods_check + 2292 (modify.c:919)
1 slapd 0x0006575c do_syncrep2 + 5588 (syncrepl.c:1559)
2 slapd 0x00066de8 do_syncrepl + 2160 (syncrepl.c:1090)
3 slapd 0x00017b80 connection_read_thread + 2916 (connection.c:1263)
4 slapd 0x000eaa38 ldap_int_thread_pool_wrapper + 344 (tpool.c:480)
5 libSystem.B.dylib 0x9002bbe8 _pthread_body + 96


Thread 16:
0 libSystem.B.dylib 0x9002c288 semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x900312d0 pthread_cond_wait + 484
2 slapd 0x000eaab4 ldap_int_thread_pool_wrapper + 468 (tpool.c:490)
3 libSystem.B.dylib 0x9002bbe8 _pthread_body + 96


Thread 17:
0 libSystem.B.dylib 0x9002c288 semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x900312d0 pthread_cond_wait + 484
2 slapd 0x000eaab4 ldap_int_thread_pool_wrapper + 468 (tpool.c:490)
3 libSystem.B.dylib 0x9002bbe8 _pthread_body + 96



Thread 15 crashed with PPC Thread State 64:
srr0: 0x000000000002d4f0 srr1: 0x100000000200f030 vrsave: 0x0000000000000000
cr: 0x24004412 xer: 0x0000000000000000 lr: 0x000000000002d15c ctr: 0x0000000000000000
r0: 0x00000000fffffffc r1: 0x00000000f3c0e190 r2: 0x0000000000000000 r3: 0x0000000015500000
r4: 0x0000000000000000 r5: 0x0000000000000016 r6: 0x000000000000010e r7: 0x0000000013f0dd60
r8: 0x00000000f3c0e1cc r9: 0x00000000f3c0e3b4 r10: 0x0000000015600000 r11: 0x00000000019f2f50
r12: 0x0000000090002fd8 r13: 0x00000000f3c0e1cc r14: 0x00000000f3c0e3b4 r15: 0x0000000000000001
r16: 0x0000000015500000 r17: 0x0000000015500004 r18: 0x0000000000000004 r19: 0x0000000015500008
r20: 0xffffffffffffffff r21: 0x0000000000000000 r22: 0x0000000000000001 r23: 0x0000000000000000
r24: 0x000000001450fc30 r25: 0x0000000013f0dd60 r26: 0x0000000000000002 r27: 0x0000000000000001
r28: 0x00000000fffffffc r29: 0x00000001154ffffc r30: 0x0000000000000000 r31: 0x000000000002cc10


Binary Images Description:
0x1000 - 0x207fff slapd /opt/zimbra/openldap/libexec/slapd
0xc12000 - 0xc25fff libsasl2.2.dylib /opt/zimbra/cyrus-sasl-2.1.22.3/lib/libsasl2.2.dylib
0xc5a000 - 0xc5cfff libanonymous.2.0.22.so /opt/zimbra/cyrus-sasl-2.1.22.3/lib/sasl2/libanonymous.2.0.22.so
0xc67000 - 0xc6afff libcrammd5.2.0.22.so /opt/zimbra/cyrus-sasl-2.1.22.3/lib/sasl2/libcrammd5.2.0.22.so
0xc76000 - 0xc7ffff libdigestmd5.2.0.22.so /opt/zimbra/cyrus-sasl-2.1.22.3/lib/sasl2/libdigestmd5.2.0.22.so
0xc95000 - 0xc9afff libgssapiv2.2.0.22.so /opt/zimbra/cyrus-sasl-2.1.22.3/lib/sasl2/libgssapiv2.2.0.22.so
0xca9000 - 0xcabfff liblogin.2.0.22.so /opt/zimbra/cyrus-sasl-2.1.22.3/lib/sasl2/liblogin.2.0.22.so
0xcb6000 - 0xcbefff libotp.2.0.22.so /opt/zimbra/cyrus-sasl-2.1.22.3/lib/sasl2/libotp.2.0.22.so
0xcd3000 - 0xcd5fff libplain.2.0.22.so /opt/zimbra/cyrus-sasl-2.1.22.3/lib/sasl2/libplain.2.0.22.so
0x8fe00000 - 0x8fe50fff dyld 46.12 /usr/lib/dyld
0x90000000 - 0x901c0fff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x90218000 - 0x9021dfff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
0x907e6000 - 0x908bdfff com.apple.CoreFoundation 6.4.7 (368.28) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x90904000 - 0x90904fff com.apple.CoreServices 10.4 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x90906000 - 0x90a0ffff libicucore.A.dylib /usr/lib/libicucore.A.dylib
0x90a60000 - 0x90ae3fff libobjc.A.dylib /usr/lib/libobjc.A.dylib
0x90b0c000 - 0x90b7efff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib
0x90bf1000 - 0x90bfcfff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
0x90c01000 - 0x90c76fff com.apple.framework.IOKit 1.4.8 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90c8c000 - 0x90ca0fff libauto.dylib /usr/lib/libauto.dylib
0x90ca6000 - 0x90f71fff com.apple.CoreServices.CarbonCore 682.26 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x90fce000 - 0x91047fff com.apple.CoreServices.OSServices 4.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x9108a000 - 0x910cbfff com.apple.CFNetwork 129.20 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x910df000 - 0x910f3fff com.apple.WebServices 1.1.3 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore
0x910ff000 - 0x91190fff com.apple.SearchKit 1.0.5 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x911cc000 - 0x911ecfff com.apple.Metadata 10.4.4 (121.36) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x911f9000 - 0x91208fff libz.1.dylib /usr/lib/libz.1.dylib
0x9120b000 - 0x913c0fff com.apple.security 4.5.2 (29774) /System/Library/Frameworks/Security.framework/Versions/A/Security
0x914bd000 - 0x914c6fff com.apple.DiskArbitration 2.1.1 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x914cd000 - 0x914d5fff libbsm.dylib /usr/lib/libbsm.dylib
0x914d9000 - 0x91501fff com.apple.SystemConfiguration 1.8.6 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x91a72000 - 0x91b35fff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib
0x9456e000 - 0x94590fff libmx.A.dylib /usr/lib/libmx.A.dylib
0x94ece000 - 0x94efafff libssl.0.9.7.dylib /usr/lib/libssl.0.9.7.dylib
0x94f09000 - 0x94f27fff libresolv.9.dylib /usr/lib/libresolv.9.dylib
0x950e6000 - 0x951c0fff edu.mit.Kerberos 5.5.24 /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x9605a000 - 0x9606afff libpam.1.dylib /usr/lib/libpam.1.dylib



--Quanah


--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration