I'm getting a similar problem on 10.5.7. I'm also getting crashes when trying to select my M-Box Micro as the output in Pd..
Process: mds [21]
Path: /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Support/mds
Identifier: mds
Version: (???)
Code Type: X86 (Native)
Parent Process: launchd [1]
Date/Time: 2008-09-23 14:48:39.862 +1000
OS Version: Mac OS X 10.5.4 (9E17)
Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread: 18
Application Specific Information:
/SourceCache/Spotlight/Spotlight-398.18/index/ContentIndex/CIMerging.c:1958: failed assertion 'changes->docIds[0].count==0'
(Error) IndexStore in SIStoreDirytySDBChunks:Error storing dirty sdb pages: 30
Thread 0:
0 libSystem.B.dylib 0x95fb84a6 mach_msg_trap + 10
1 libSystem.B.dylib 0x95fbfc9c mach_msg + 72
2 com.apple.CoreFoundation 0x92bda0ce CFRunLoopRunSpecific + 1790
3 com.apple.CoreFoundation 0x92bdacf8 CFRunLoopRunInMode + 88
4 mds 0x00058504 0x1000 + 357636
5 mds 0x0000e6c3 0x1000 + 54979
6 mds 0x00005956 0x1000 + 18774
Thread 1:
0 libSystem.B.dylib 0x95fb84a6 mach_msg_trap + 10
1 libSystem.B.dylib 0x95fbfc9c mach_msg + 72
2 com.apple.CoreFoundation 0x92bda0ce CFRunLoopRunSpecific + 1790
3 com.apple.CoreFoundation 0x92bdacf8 CFRunLoopRunInMode + 88
4 mds 0x00058504 0x1000 + 357636
5 mds 0x0000d61d 0x1000 + 50717
6 mds 0x000582d2 0x1000 + 357074
7 com.apple.Foundation 0x9631bf1d -[NSThread main] + 45
8 com.apple.Foundation 0x9631bac4 __NSThread__main__ + 308
9 libSystem.B.dylib 0x95fe96f5 _pthread_start + 321
10 libSystem.B.dylib 0x95fe95b2 thread_start + 34
Thread 2:
0 libSystem.B.dylib 0x95fb84a6 mach_msg_trap + 10
1 libSystem.B.dylib 0x95fbfc9c mach_msg + 72
2 com.apple.CoreFoundation 0x92bda0ce CFRunLoopRunSpecific + 1790
3 com.apple.CoreFoundation 0x92bdacf8 CFRunLoopRunInMode + 88
4 mds 0x00058504 0x1000 + 357636
5 mds 0x0000d640 0x1000 + 50752
6 mds 0x000582d2 0x1000 + 357074
7 com.apple.Foundation 0x9631bf1d -[NSThread main] + 45
8 com.apple.Foundation 0x9631bac4 __NSThread__main__ + 308
9 libSystem.B.dylib 0x95fe96f5 _pthread_start + 321
10 libSystem.B.dylib 0x95fe95b2 thread_start + 34
Thread 3:
0 libSystem.B.dylib 0x95fb84a6 mach_msg_trap + 10
1 libSystem.B.dylib 0x95fbfc9c mach_msg + 72
2 com.apple.CoreFoundation 0x92bda0ce CFRunLoopRunSpecific + 1790
3 com.apple.CoreFoundation 0x92bdacf8 CFRunLoopRunInMode + 88
4 mds 0x00058504 0x1000 + 357636
5 mds 0x0000d663 0x1000 + 50787
6 mds 0x000582d2 0x1000 + 357074
7 com.apple.Foundation 0x9631bf1d -[NSThread main] + 45
8 com.apple.Foundation 0x9631bac4 __NSThread__main__ + 308
9 libSystem.B.dylib 0x95fe96f5 _pthread_start + 321
10 libSystem.B.dylib 0x95fe95b2 thread_start + 34
Thread 4:
0 libSystem.B.dylib 0x95fb84a6 mach_msg_trap + 10
1 libSystem.B.dylib 0x95fbfc9c mach_msg + 72
2 com.apple.CoreFoundation 0x92bda0ce CFRunLoopRunSpecific + 1790
3 com.apple.CoreFoundation 0x92bdacf8 CFRunLoopRunInMode + 88
4 mds 0x00058504 0x1000 + 357636
5 mds 0x0000d686 0x1000 + 50822
6 mds 0x000582d2 0x1000 + 357074
7 com.apple.Foundation 0x9631bf1d -[NSThread main] + 45
8 com.apple.Foundation 0x9631bac4 __NSThread__main__ + 308
9 libSystem.B.dylib 0x95fe96f5 _pthread_start + 321
10 libSystem.B.dylib 0x95fe95b2 thread_start + 34
Thread 5:
0 libSystem.B.dylib 0x95fb84a6 mach_msg_trap + 10
1 libSystem.B.dylib 0x95fbfc9c mach_msg + 72
2 com.apple.CoreFoundation 0x92bda0ce CFRunLoopRunSpecific + 1790
3 com.apple.CoreFoundation 0x92bdacf8 CFRunLoopRunInMode + 88
4 mds 0x00058504 0x1000 + 357636
5 mds 0x0000d6a9 0x1000 + 50857
6 mds 0x000582d2 0x1000 + 357074
7 com.apple.Foundation 0x9631bf1d -[NSThread main] + 45
8 com.apple.Foundation 0x9631bac4 __NSThread__main__ + 308
9 libSystem.B.dylib 0x95fe96f5 _pthread_start + 321
10 libSystem.B.dylib 0x95fe95b2 thread_start + 34
Thread 6:
0 libSystem.B.dylib 0x95fbf68e __semwait_signal + 10
1 libSystem.B.dylib 0x960108e0 pthread_cond_timedwait$UNIX2003 + 72
2 mds 0x0000a3f7 0x1000 + 37879
3 libSystem.B.dylib 0x95fe96f5 _pthread_start + 321
4 libSystem.B.dylib 0x95fe95b2 thread_start + 34
Thread 7:
0 libSystem.B.dylib 0x95fdc1ba read$UNIX2003 + 10
1 libSystem.B.dylib 0x95fe96f5 _pthread_start + 321
2 libSystem.B.dylib 0x95fe95b2 thread_start + 34
Thread 8:
0 libSystem.B.dylib 0x95fe8f66 kevent + 10
1 libSystem.B.dylib 0x95fe96f5 _pthread_start + 321
2 libSystem.B.dylib 0x95fe95b2 thread_start + 34
Thread 9:
0 libSystem.B.dylib 0x95fb84a6 mach_msg_trap + 10
1 libSystem.B.dylib 0x95fbfc9c mach_msg + 72
2 com.apple.CoreFoundation 0x92bda0ce CFRunLoopRunSpecific + 1790
3 com.apple.CoreFoundation 0x92bdacf8 CFRunLoopRunInMode + 88
4 mds 0x00058504 0x1000 + 357636
5 mds 0x0008714c 0x1000 + 549196
6 mds 0x000582d2 0x1000 + 357074
7 com.apple.Foundation 0x9631bf1d -[NSThread main] + 45
8 com.apple.Foundation 0x9631bac4 __NSThread__main__ + 308
9 libSystem.B.dylib 0x95fe96f5 _pthread_start + 321
10 libSystem.B.dylib 0x95fe95b2 thread_start + 34
Thread 10:
0 libSystem.B.dylib 0x95fb84a6 mach_msg_trap + 10
1 libSystem.B.dylib 0x95fbfc9c mach_msg + 72
2 com.apple.CoreFoundation 0x92bda0ce CFRunLoopRunSpecific + 1790
3 com.apple.CoreFoundation 0x92bdacf8 CFRunLoopRunInMode + 88
4 mds 0x00058504 0x1000 + 357636
5 mds 0x00054157 0x1000 + 340311
6 mds 0x000582d2 0x1000 + 357074
7 com.apple.Foundation 0x9631bf1d -[NSThread main] + 45
8 com.apple.Foundation 0x9631bac4 __NSThread__main__ + 308
9 libSystem.B.dylib 0x95fe96f5 _pthread_start + 321
10 libSystem.B.dylib 0x95fe95b2 thread_start + 34
Thread 11:
0 libSystem.B.dylib 0x95fb84a6 mach_msg_trap + 10
1 libSystem.B.dylib 0x95fbfc9c mach_msg + 72
2 com.apple.CoreFoundation 0x92bda0ce CFRunLoopRunSpecific + 1790
3 com.apple.CoreFoundation 0x92bdacf8 CFRunLoopRunInMode + 88
4 mds 0x00058504 0x1000 + 357636
5 mds 0x00054157 0x1000 + 340311
6 mds 0x000582d2 0x1000 + 357074
7 com.apple.Foundation 0x9631bf1d -[NSThread main] + 45
8 com.apple.Foundation 0x9631bac4 __NSThread__main__ + 308
9 libSystem.B.dylib 0x95fe96f5 _pthread_start + 321
10 libSystem.B.dylib 0x95fe95b2 thread_start + 34
Thread 12:
0 libSystem.B.dylib 0x95fb84a6 mach_msg_trap + 10
1 libSystem.B.dylib 0x95fbfc9c mach_msg + 72
2 com.apple.CoreFoundation 0x92bda0ce CFRunLoopRunSpecific + 1790
3 com.apple.CoreFoundation 0x92bdacf8 CFRunLoopRunInMode + 88
4 mds 0x00058504 0x1000 + 357636
5 mds 0x00054157 0x1000 + 340311
6 mds 0x000582d2 0x1000 + 357074
7 com.apple.Foundation 0x9631bf1d -[NSThread main] + 45
8 com.apple.Foundation 0x9631bac4 __NSThread__main__ + 308
9 libSystem.B.dylib 0x95fe96f5 _pthread_start + 321
10 libSystem.B.dylib 0x95fe95b2 thread_start + 34
Thread 13:
0 libSystem.B.dylib 0x95fb84a6 mach_msg_trap + 10
1 libSystem.B.dylib 0x95fbfc9c mach_msg + 72
2 com.apple.spotlight.index 0x0022a3da _handleExceptions + 238
3 libSystem.B.dylib 0x95fe96f5 _pthread_start + 321
4 libSystem.B.dylib 0x95fe95b2 thread_start + 34
Thread 14:
0 libSystem.B.dylib 0x95fb84a6 mach_msg_trap + 10
1 libSystem.B.dylib 0x95fbfc9c mach_msg + 72
2 com.apple.CoreFoundation 0x92bda0ce CFRunLoopRunSpecific + 1790
3 com.apple.CoreFoundation 0x92bdacf8 CFRunLoopRunInMode + 88
4 mds 0x00058504 0x1000 + 357636
5 mds 0x000448f3 0x1000 + 276723
6 mds 0x000582d2 0x1000 + 357074
7 com.apple.Foundation 0x9631bf1d -[NSThread main] + 45
8 com.apple.Foundation 0x9631bac4 __NSThread__main__ + 308
9 libSystem.B.dylib 0x95fe96f5 _pthread_start + 321
10 libSystem.B.dylib 0x95fe95b2 thread_start + 34
Thread 15:
0 libSystem.B.dylib 0x95fb8506 semaphore_timedwait_signal_trap + 10
1 libSystem.B.dylib 0x95fea84f _pthread_cond_wait + 1244
2 libSystem.B.dylib 0x95fec0d3 pthread_cond_timedwait_relative_np + 47
3 com.apple.spotlight.index 0x0018b180 si_scheduler_run_waiting_timeout + 163
4 com.apple.spotlight.index 0x00176e50 runLoop + 77
5 com.apple.spotlight.index 0x00176f3c setattr_runLoop + 68
6 libSystem.B.dylib 0x95fe96f5 _pthread_start + 321
7 libSystem.B.dylib 0x95fe95b2 thread_start + 34
Thread 16:
0 libSystem.B.dylib 0x95fb8506 semaphore_timedwait_signal_trap + 10
1 libSystem.B.dylib 0x95fea84f _pthread_cond_wait + 1244
2 libSystem.B.dylib 0x95fec0d3 pthread_cond_timedwait_relative_np + 47
3 com.apple.spotlight.index 0x0018b180 si_scheduler_run_waiting_timeout + 163
4 com.apple.spotlight.index 0x00176e50 runLoop + 77
5 com.apple.spotlight.index 0x00176eaa query_runLoop + 30
6 libSystem.B.dylib 0x95fe96f5 _pthread_start + 321
7 libSystem.B.dylib 0x95fe95b2 thread_start + 34
Thread 17:
0 libSystem.B.dylib 0x95fb8506 semaphore_timedwait_signal_trap + 10
1 libSystem.B.dylib 0x95fea84f _pthread_cond_wait + 1244
2 libSystem.B.dylib 0x95fec0d3 pthread_cond_timedwait_relative_np + 47
3 com.apple.spotlight.index 0x0018b180 si_scheduler_run_waiting_timeout + 163
4 com.apple.spotlight.index 0x00176e50 runLoop + 77
5 com.apple.spotlight.index 0x0017705d flush_runLoop + 65
6 libSystem.B.dylib 0x95fe96f5 _pthread_start + 321
7 libSystem.B.dylib 0x95fe95b2 thread_start + 34
Thread 18 Crashed:
0 com.apple.spotlight.index 0x002370af _dead_beef + 11
1 com.apple.spotlight.index 0x002307c7 merge_checkAgainstUpdates + 181
2 com.apple.spotlight.index 0x00230a00 PayloadProcessDocIDRangeBitsReversed + 387
3 com.apple.spotlight.index 0x0020ef96 unpackPostingChunk + 422
4 com.apple.spotlight.index 0x0023517b mergeIndexData + 13180
5 com.apple.spotlight.index 0x001a0da6 _ContentIndexMergeIndexes + 128
6 com.apple.spotlight.index 0x001a0fe2 ContentIndexMergeIndexes + 248
7 com.apple.spotlight.index 0x0017ec59 OuterMerge + 1310
8 com.apple.spotlight.index 0x001806fe si_mergeIndex + 4007
9 com.apple.spotlight.index 0x0018aca9 si_work_queue_process + 643
10 com.apple.spotlight.index 0x0018af97 si_scheduler_once + 419
11 com.apple.spotlight.index 0x0018af97 si_scheduler_once + 419
12 com.apple.spotlight.index 0x0018b322 si_scheduler_run_waiting_timeout + 581
13 com.apple.spotlight.index 0x00176e50 runLoop + 77
14 com.apple.spotlight.index 0x00176fce compaction_runLoop + 68
15 libSystem.B.dylib 0x95fe96f5 _pthread_start + 321
16 libSystem.B.dylib 0x95fe95b2 thread_start + 34
Thread 18 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x00230733 ecx: 0x00000000 edx: 0x00000000
edi: 0x00000000 esi: 0x00000616 ebp: 0xb0991738 esp: 0xb0991730
ss: 0x0000001f efl: 0x00010286 eip: 0x002370af cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x0000001f gs: 0x00000037
cr2: 0x00000000
Binary Images:
0x1000 - 0xb9feb mds (???) <63f8cd1f41b3382ec7d38bb5f76a20c1> /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Support/mds
0xd7000 - 0xd8ffd com.apple.MDSChannel 1.0 (1.0) /System/Library/PrivateFrameworks/MDSChannel.framework/Versions/A/MDSChannel
0x14a000 - 0x25fff7 com.apple.spotlight.index 10.5.2 (398.18) <cc6d210e1fcd007cb427861ccd748e13> /System/Library/PrivateFrameworks/SpotlightIndex.framework/Versions/A/SpotlightIndex
0x6cf000 - 0x6d4ff7 libgermantok.dylib (???) <5608319ae54efad75bb8af543f67134f> /usr/lib/libgermantok.dylib
0x2bce000 - 0x2bceffd liblangid.dylib (???) <d1bba9ec9142b4eb33db9c24d504ac63> /usr/lib/liblangid.dylib
0x30bd000 - 0x31e4feb libmecab.1.0.0.dylib (???) <d42fb7fb40a58840dd30e4364635c245> /usr/lib/libmecab.1.0.0.dylib
0x8fe00000 - 0x8fe2da53 dyld 96.2 (???) <5013f43c4d2c33c9619011f103ec3238> /usr/lib/dyld
0x90291000 - 0x902a0ffe com.apple.DSObjCWrappers.Framework 1.2.1 (1.2.1) <43c5b91223501f917392f59fbf9d7ace> /System/Library/PrivateFrameworks/DSObjCWrappers.framework/Versions/A/DSObjCWrappers
0x90905000 - 0x9093cfff com.apple.SystemConfiguration 1.9.2 (1.9.2) <8b26ebf26a009a098484f1ed01ec499c> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x9093d000 - 0x9099affb libstdc++.6.dylib (???) <6106b1f2b0b303b06ae476253dbb5f3f> /usr/lib/libstdc++.6.dylib
0x9099b000 - 0x909e1fef com.apple.Metadata 10.5.2 (398.18) <adbb3a14e8f7da444e16d2fd61862771> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x909e2000 - 0x90ac3ff7 libxml2.2.dylib (???) <1baef3d4972ee789d8fa6c1fa44da45c> /usr/lib/libxml2.2.dylib
0x90aff000 - 0x90bf3ff4 libiconv.2.dylib (???) <3f183527811098bb7332f67a1f902bfd> /usr/lib/libiconv.2.dylib
0x90bf4000 - 0x90c7ffff com.apple.framework.IOKit 1.5.1 (???) <60cfc4b175c4ef60bb8e9036716a29f4> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x92417000 - 0x9254fff7 libicucore.A.dylib (???) <5031226ea28b371d8dfdbb32acfb48b5> /usr/lib/libicucore.A.dylib
0x92551000 - 0x9256fff3 com.apple.DirectoryService.Framework 3.5.4 (3.5.4) <fe27e80e1a9e86403fd9ed16dcfe4e11> /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryService
0x92570000 - 0x9264ffff libobjc.A.dylib (???) <99a9ad33ca07114848fdd7580968a572> /usr/lib/libobjc.A.dylib
0x92650000 - 0x9270afe3 com.apple.CoreServices.OSServices 226.5 (226.5) <7e10d25c615a39fe1ab4d48e24a3b555> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x92756000 - 0x92756ffa com.apple.CoreServices 32 (32) <2760719f7a81e8c2bdfd15b0939abc29> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x92b68000 - 0x92c9afff com.apple.CoreFoundation 6.5.3 (476.14) <7ef7f5db09ff6dd0135a6165872803cc> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x934e8000 - 0x93574ff7 com.apple.LaunchServices 289.2 (289.2) <3577886e3a6d56ee3949850c4fde76c9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x93de5000 - 0x93dfbfff com.apple.DictionaryServices 1.0.0 (1.0.0) <7e9ff586b5c9d02b09e2a5527d98524f> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x93e13000 - 0x93e3efe7 libauto.dylib (???) <2072d673706bbe463ed2426af57a28d7> /usr/lib/libauto.dylib
0x944dc000 - 0x944e4fff com.apple.DiskArbitration 2.2.1 (2.2.1) <42908e7ecc17a83cec4afef2850ec79e> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x94991000 - 0x94a13ff3 com.apple.CFNetwork 330.4 (330.4) <ce5b085df34a78b7f198aff9db5b52ec> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x94c22000 - 0x94df0fff com.apple.security 5.0.4 (34102) <f01d6cbd6a0f24f6c13952ed448e77d6> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x950cf000 - 0x950f3fff libxslt.1.dylib (???) <59399cc446ed903fd9479526ee9f116b> /usr/lib/libxslt.1.dylib
0x955da000 - 0x95609fe3 com.apple.AE 402.2 (402.2) <d0da935e781446faa4563e7a9c587cce> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x9563b000 - 0x956c2ff7 libsqlite3.0.dylib (???) <11311084bc4be9d4555dfac74fe7218a> /usr/lib/libsqlite3.0.dylib
0x9573a000 - 0x95741fe9 libgcc_s.1.dylib (???) <28a7cbc3a5ca2982d124668306f422d9> /usr/lib/libgcc_s.1.dylib
0x95ad9000 - 0x95ae7ffd libz.1.dylib (???) <545ca09467025f77131cfac09d8b9375> /usr/lib/libz.1.dylib
0x95e13000 - 0x95e92ff5 com.apple.SearchKit 1.2.0 (1.2.0) <5abfde5537969168b8a8743ccb9ec735> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x95fb7000 - 0x96117ff3 libSystem.B.dylib (???) <a12f397abf2285077b89bd726bff5b18> /usr/lib/libSystem.B.dylib
0x96311000 - 0x9658cfe7 com.apple.Foundation 6.5.5 (677.19) <bfd4ebea1a7739dd6b523f15dca01a37> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x9662a000 - 0x9662efff libmathCommon.A.dylib (???) /usr/lib/system/libmathCommon.A.dylib
0x96bec000 - 0x96bf3ffe libbsm.dylib (???) <5582985a86ea36504cca31788bccf963> /usr/lib/libbsm.dylib
0x96bf7000 - 0x96ed1ff3 com.apple.CoreServices.CarbonCore 786.6 (786.6) <bc7c12c84fe21ae2626bdd17070aaafa> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0xfffe8000 - 0xfffebfff libobjc.A.dylib (???) /usr/lib/libobjc.A.dylib
0xffff0000 - 0xffff1780 libSystem.B.dylib (???) /usr/lib/libSystem.B.dylib