Speech Synthesis crashes QC with large input text

4kb text file passed to Speech Synthesis via String From File. QC crashed when the file was finished being "read" they the speach synth. crash log follows:

Date/Time: 2007-07-15 21:05:47.670 -0400 OS Version: 10.4.10 (Build 8R2218) Report Version: 4

Command: Quartz Composer Path: /Developer/Applications/Graphics Tools/Quartz Composer.app/Contents/MacOS/Quartz Composer Parent: WindowServer [64]

Version: 2.1.1 (17.1) Build Version: 57 Project Name: QuartzComposerEditor Source Version: 170100

PID: 3743 Thread: 5

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

Thread 0: 0 libSystem.B.dylib 0x90009cd7 mach_msg_trap + 7 1 com.apple.CoreFoundation 0x9082d2b3 CFRunLoopRunSpecific + 2014 2 com.apple.CoreFoundation 0x9082cace CFRunLoopRunInMode + 61 3 com.apple.HIToolbox 0x92de18d8 RunCurrentEventLoopInMode + 285 4 com.apple.HIToolbox 0x92de0fe2 ReceiveNextEventCommon + 385 5 com.apple.HIToolbox 0x92de0e39 BlockUntilNextEventMatchingListInMode + 81 6 com.apple.AppKit 0x93287465 _DPSNextEvent + 572 7 com.apple.AppKit 0x93287056 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 137 8 com.apple.AppKit 0x93280ddb -[NSApplication run] + 512 9 ...apple.QuartzComposer.editor 0x0000298d 0x1000 + 6541 10 com.apple.AppKit 0x93274d2f NSApplicationMain + 573 11 ...apple.QuartzComposer.editor 0x00002296 0x1000 + 4758 12 ...apple.QuartzComposer.editor 0x0000b679 0x1000 + 42617

Thread 1: 0 libSystem.B.dylib 0x90009cd7 mach_msg_trap + 7 1 com.unsanity.ape 0xc0001cac __ape_agent + 307 2 libSystem.B.dylib 0x90024227 _pthread_body + 84

Thread 2: 0 libSystem.B.dylib 0x90009cd7 mach_msg_trap + 7 1 ...lagutin.audio_hijack.server 0x002bd3ca ah_serv_loop + 108 2 libSystem.B.dylib 0x90024227 _pthread_body + 84

Thread 3: 0 libSystem.B.dylib 0x900248c7 semaphore_wait_signal_trap + 7 1 com.apple.Foundation 0x9284926c -[NSConditionLock lockWhenCondition:] + 39 2 com.apple.AppKit 0x9335e270 -[NSUIHeartBeat _heartBeatThread:] + 377 3 com.apple.Foundation 0x927f32e0 forkThreadForFunction + 123 4 libSystem.B.dylib 0x90024227 _pthread_body + 84

Thread 4: 0 libSystem.B.dylib 0x90047dd7 semaphore_timedwait_signal_trap + 7 1 ...ple.CoreServices.CarbonCore 0x90cb8e11 MPWaitOnQueue + 198 2 ...thesis.MacinTalkSynthesizer 0x014f3229 MTBEWorker::WorkLoop(MTBEWorker*) + 235 3 ...thesis.MacinTalkSynthesizer 0x014f3397 MTBEWorkerStartMPTask + 17 4 ...ple.CoreServices.CarbonCore 0x90cb8c6c PrivateMPEntryPoint + 51 5 libSystem.B.dylib 0x90024227 _pthread_body + 84

Thread 5 Crashed: 0 libobjc.A.dylib 0x90a59380 objc_msgSend + 16 1 ...thesis.MacinTalkSynthesizer 0x01520c2a SpeechChannelManager::CallWordCallBackProc(unsigned long, unsigned short) + 82 2 ...thesis.MacinTalkSynthesizer 0x014ec241 MT3BEngineTask::Word(void) + 81 3 ...thesis.MacinTalkSynthesizer 0x014f333c MTBEWorker::WorkLoop(MTBEWorker) + 510 4 ...thesis.MacinTalkSynthesizer 0x014f3397 MTBEWorkerStartMPTask + 17 5 ...ple.CoreServices.CarbonCore 0x90cb8c6c PrivateMPEntryPoint + 51 6 libSystem.B.dylib 0x90024227 _pthread_body + 84

Thread 6: 0 libSystem.B.dylib 0x90037b57 mach_wait_until + 7 1 libSystem.B.dylib 0x9003a222 usleep + 82 2 ....speech.synthesis.framework 0x918e3742 PollChannelStatus + 38 3 libSystem.B.dylib 0x90024227 _pthread_body + 84

Thread 7: 0 libSystem.B.dylib 0x90009cd7 mach_msg_trap + 7 1 com.apple.CoreFoundation 0x9082d2b3 CFRunLoopRunSpecific + 2014 2 com.apple.CoreFoundation 0x9083e188 CFRunLoopRun + 60 3 com.apple.DVCPROHDMuxer 0x01600507 AVS::DestroyAVCDeviceController(AVS::AVCDeviceController*) + 285 4 libSystem.B.dylib 0x90024227 _pthread_body + 84

Thread 8: 0 libSystem.B.dylib 0x90009cd7 mach_msg_trap + 7 1 com.apple.CoreFoundation 0x9082d2b3 CFRunLoopRunSpecific + 2014 2 com.apple.CoreFoundation 0x9082cace CFRunLoopRunInMode + 61 3 com.apple.audio.CoreAudio 0x914618da HALRunLoop::OwnThread(void) + 158 4 com.apple.audio.CoreAudio 0x914616f5 CAPThread::Entry(CAPThread) + 93 5 libSystem.B.dylib 0x90024227 _pthread_body + 84

Thread 9: 0 libSystem.B.dylib 0x90047dd7 semaphore_timedwait_signal_trap + 7 1 com.apple.audio.CoreAudio 0x9146ea10 CAGuard::WaitFor(unsigned long long) + 212 2 com.apple.audio.CoreAudio 0x9146e932 CAGuard::WaitUntil(unsigned long long) + 66 3 com.apple.audio.CoreAudio 0x9146d3a2 HP_IOThread::WorkLoop() + 690 4 com.apple.audio.CoreAudio 0x9146d0e9 HP_IOThread::ThreadEntry(HP_IOThread) + 17 5 com.apple.audio.CoreAudio 0x914616f5 CAPThread::Entry(CAPThread) + 93 6 libSystem.B.dylib 0x90024227 _pthread_body + 84

Thread 5 crashed with X86 Thread State (32-bit): eax: 0x00000000 ebx: 0x9379465f ecx: 0x90a92374 edx: 0xa32895d8 edi: 0x16d04270 esi: 0x00000005 ebp: 0xb064fe08 esp: 0xb064fd98 ss: 0x0000001f efl: 0x00010206 eip: 0x90a59380 cs: 0x00000017 ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037

Binary Images Description: 0x1000 - 0x13fff com.apple.QuartzComposer.editor 2.1.1 (17.1) /Developer/Applications/Graphics Tools/Quartz Composer.app/Contents/MacOS/Quartz Composer 0x25000 - 0x25fff com.ksuther.chaxloader ??? (1.4.8) /Library/InputManagers/Chax/Chax.bundle/Contents/MacOS/Chax 0x2ba000 - 0x2c4fff alex_lagutin.audio_hijack.server 1.4.0 /Library/Application Enhancers/Instant Hijack Server.ape/Contents/MacOS/Instant Hijack Server 0x434000 - 0x4d3fff ch.rafz.naegeli.christoph.xvid_codec 0.x.x /Library/QuickTime/XviD_Codec-r58 (Intel).component/Contents/MacOS/XviD_Codec 0x589000 - 0x5fafff com.DivXInc.DivXDecoder 6.2.5 /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder 0x711000 - 0x712fff com.boinx.quartzcomposer.Line 1.0 (78) /Library/Graphics/Patches/BXLine.plugin/Contents/MacOS/BXLine 0x1008000 - 0x115afff ch.rafz.naegeli.christoph.ff_avi_importer 1.0 (0.0) /Library/QuickTime/AviImporter-r7 (Intel).component/Contents/MacOS/AviImporter 0x14e7000 - 0x1533fff com.apple.speech.synthesis.MacinTalkSynthesizer 3.4 /System/Library/Speech/Synthesizers/MacinTalk.SpeechSynthesizer/Contents/MacOS/MacinTalk 0x15ef000 - 0x1636fff com.apple.DVCPROHDMuxer 1.2 /Library/QuickTime/DVCPROHDMuxer.component/Contents/MacOS/DVCPROHDMuxer 0x162dc000 - 0x162f8fff GLDriver /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLDriver.bundle/GLDriver 0x16501000 - 0x1665afff GLEngine /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine 0x16686000 - 0x16874fff com.apple.ATIRadeonX1000GLDriver 1.4.56 (4.5.6) /System/Library/Extensions/ATIRadeonX1000GLDriver.bundle/Contents/MacOS/ATIRadeonX1000GLDriver 0x168b0000 - 0x168d4fff GLRendererFloat /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLRendererFloat.bundle/GLRendererFloat 0x1699e000 - 0x169b2fff com.apple.QuartzComposer.ExtraPatches 1.2.5 (32.23) /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzComposer.framework/Versions/A/Resources/ExtraPatches.plugin/Contents/MacOS/ExtraPatches 0x169d7000 - 0x169dafff net.kineme.AppleRemotePatch 0.1 /Library/Graphics/Patches/AppleRemotePatch.plugin/Contents/MacOS/AppleRemotePatch 0x169ea000 - 0x169ebfff com.boinx.quartzcomposer.SetStructureMember 1.0 (232) /Library/Graphics/Patches/BXSetStructureMember.plugin/Contents/MacOS/BXSetStructureMember 0x169f0000 - 0x169f2fff net.kineme.ImageDownloaderBlockingPatch 1.0 /Library/Graphics/Patches/ImageDownloaderBlockingPatch.plugin/Contents/MacOS/ImageDownloaderBlockingPatch 0x16a0d000 - 0x16a14fff net.kineme.quartzcomposerplugins 0.2 /Library/Graphics/Patches/Kineme.plugin/Contents/MacOS/Kineme 0x16a49000 - 0x16a4bfff com.qcplugins.qcplugins 1.0 (30) /Library/Graphics/Patches/qcplugins.plugin/Contents/MacOS/qcplugins 0x16a51000 - 0x16a52fff net.kineme.ShellCommandPatch 0.1 /Library/Graphics/Patches/ShellCommandPatch.plugin/Contents/MacOS/ShellCommandPatch 0x16a57000 - 0x16a58fff net.kineme.SpeechSynthesisPatch 0.1 /Library/Graphics/Patches/SpeechSynthesisPatch.plugin/Contents/MacOS/SpeechSynthesisPatch 0x16b2b000 - 0x16b33fff com.noiseindustries.Units 1.0.7 (kFxFactoryRepositoryVersion) /Library/Graphics/Image Units/Noise Industries Units.plugin/Contents/MacOS/Noise Industries Units 0x17dd2000 - 0x17e24fff com.apple.DVCPROHDAudio 1.2 /Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio 0x17eda000 - 0x17edffff com.apple.audio.AppleHDAHALPlugIn 1.3.2 (1.3.2a5) /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn 0x70000000 - 0x700fbfff com.apple.audio.units.Components 1.4.5 /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio 0x8fe00000 - 0x8fe4afff dyld 46.12 /usr/lib/dyld 0x90000000 - 0x90171fff libSystem.B.dylib /usr/lib/libSystem.B.dylib 0x901c1000 - 0x901c3fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib 0x901c5000 - 0x90202fff com.apple.CoreText 1.1.2 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText 0x90229000 - 0x902fffff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS 0x9031f000 - 0x90774fff com.apple.CoreGraphics 1.258.75 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics 0x9080b000 - 0x908d3fff com.apple.CoreFoundation 6.4.7 (368.28) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x90911000 - 0x90911fff com.apple.CoreServices 10.4 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices 0x90913000 - 0x90a07fff libicucore.A.dylib /usr/lib/libicucore.A.dylib 0x90a57000 - 0x90ad6fff libobjc.A.dylib /usr/lib/libobjc.A.dylib 0x90aff000 - 0x90b63fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib 0x90bd2000 - 0x90bd9fff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib 0x90bde000 - 0x90c51fff com.apple.framework.IOKit 1.4.8 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit 0x90c66000 - 0x90c78fff libauto.dylib /usr/lib/libauto.dylib 0x90c7e000 - 0x90f24fff com.apple.CoreServices.CarbonCore 682.26 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore 0x90f67000 - 0x90fcffff com.apple.CoreServices.OSServices 4.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices 0x91007000 - 0x91045fff com.apple.CFNetwork 129.20 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork 0x91058000 - 0x91068fff com.apple.WebServices 1.1.3 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServicesCore.framework/Versions/A/WebServicesCore 0x91073000 - 0x910f1fff com.apple.SearchKit 1.0.5 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit 0x91126000 - 0x91144fff com.apple.Metadata 10.4.4 (121.36) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata 0x91150000 - 0x9115efff libz.1.dylib /usr/lib/libz.1.dylib 0x91161000 - 0x91300fff com.apple.security 4.5.2 (29774) /System/Library/Frameworks/Security.framework/Versions/A/Security 0x913fe000 - 0x91406fff com.apple.DiskArbitration 2.1.1 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration 0x9140d000 - 0x91414fff libbsm.dylib /usr/lib/libbsm.dylib 0x91418000 - 0x9143efff com.apple.SystemConfiguration 1.8.6 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration 0x91450000 - 0x914c9fff com.apple.audio.CoreAudio 3.0.4 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio 0x91517000 - 0x91517fff com.apple.ApplicationServices 10.4 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices 0x91519000 - 0x91544fff com.apple.AE 314 (313) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE 0x91557000 - 0x9162bfff com.apple.ColorSync 4.4.9 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync 0x91666000 - 0x916e3fff com.apple.print.framework.PrintCore 4.6 (177.13) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore 0x91710000 - 0x917b9fff com.apple.QD 3.10.24 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD 0x917df000 - 0x9182afff com.apple.HIServices 1.5.2 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices 0x91849000 - 0x9185ffff com.apple.LangAnalysis 1.6.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis 0x9186b000 - 0x91885fff com.apple.FindByContent 1.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/FindByContent.framework/Versions/A/FindByContent 0x9188f000 - 0x918ccfff com.apple.LaunchServices 182 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices 0x918e0000 - 0x918ecfff com.apple.speech.synthesis.framework 3.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis 0x918f3000 - 0x91933fff com.apple.ImageIO.framework 1.5.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO 0x91946000 - 0x919f8fff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib 0x91a3e000 - 0x91a54fff libcups.2.dylib /usr/lib/libcups.2.dylib 0x91a59000 - 0x91a77fff libJPEG.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib 0x91a7c000 - 0x91adbfff libJP2.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib 0x91aed000 - 0x91af1fff libGIF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib 0x91af3000 - 0x91b79fff libRaw.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRaw.dylib 0x91b7d000 - 0x91bbafff libTIFF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib 0x91bc0000 - 0x91bdafff libPng.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib 0x91bdf000 - 0x91be1fff libRadiance.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib 0x91be3000 - 0x91cc1fff libxml2.2.dylib /usr/lib/libxml2.2.dylib 0x91cde000 - 0x91cdefff com.apple.Accelerate 1.3.1 (Accelerate 1.3.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate 0x91ce0000 - 0x91d6efff com.apple.vImage 2.5 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage 0x91d75000 - 0x91d75fff com.apple.Accelerate.vecLib 3.3.1 (vecLib 3.3.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib 0x91d77000 - 0x91dd0fff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib 0x91dd9000 - 0x91dfdfff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib 0x91e05000 - 0x9220efff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 0x92248000 - 0x925fcfff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib 0x92629000 - 0x92716fff libiconv.2.dylib /usr/lib/libiconv.2.dylib 0x92718000 - 0x92795fff com.apple.DesktopServices 1.3.6 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv 0x927d6000 - 0x92a06fff com.apple.Foundation 6.4.8 (567.29) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation 0x92b20000 - 0x92b37fff libGL.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib 0x92b42000 - 0x92b9afff libGLU.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib 0x92bae000 - 0x92baefff com.apple.Carbon 10.4 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon 0x92bb0000 - 0x92bc0fff com.apple.ImageCapture 3.0.4 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture 0x92bce000 - 0x92bd6fff com.apple.speech.recognition.framework 3.6 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition 0x92bdc000 - 0x92be1fff com.apple.securityhi 2.0.1 (24742) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI 0x92be7000 - 0x92c78fff com.apple.ink.framework 101.2.1 (71) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink 0x92c8c000 - 0x92c8ffff com.apple.help 1.0.3 (32.1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help 0x92c92000 - 0x92caffff com.apple.openscripting 1.2.5 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting 0x92cbf000 - 0x92cc5fff com.apple.print.framework.Print 5.2 (192.4) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print 0x92ccb000 - 0x92d2efff com.apple.htmlrendering 66.1 (1.1.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering 0x92d52000 - 0x92d93fff com.apple.NavigationServices 3.4.4 (3.4.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices 0x92dba000 - 0x92dc7fff com.apple.audio.SoundManager 3.9.1 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound 0x92dce000 - 0x92dd3fff com.apple.CommonPanels 1.2.3 (73) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels 0x92dd8000 - 0x930cdfff com.apple.HIToolbox 1.4.9 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox 0x931d3000 - 0x931defff com.apple.opengl 1.4.16 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL 0x931e3000 - 0x931fefff com.apple.DirectoryService.Framework 3.2 /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryService 0x9320f000 - 0x93210fff com.apple.ServerControl 10.3.0 /System/Library/PrivateFrameworks/ServerControl.framework/Versions/A/ServerControl 0x9326e000 - 0x9326efff com.apple.Cocoa 6.4 (???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa 0x93270000 - 0x93926fff com.apple.AppKit 6.4.8 (824.42) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x93ca7000 - 0x93d22fff com.apple.CoreData 91 (92.1) /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData 0x93d5b000 - 0x93e15fff com.apple.audio.toolbox.AudioToolbox 1.4.5 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox 0x93e58000 - 0x93e58fff com.apple.audio.units.AudioUnit 1.4.2 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit 0x93e5a000 - 0x9401bfff com.apple.QuartzCore 1.4.12 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore 0x94061000 - 0x940a2fff libsqlite3.0.dylib /usr/lib/libsqlite3.0.dylib 0x940aa000 - 0x940e4fff libGLImage.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib 0x940e9000 - 0x940fffff com.apple.CoreVideo 1.4 /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo 0x9410e000 - 0x9412ffff com.apple.framework.Admin 1.5.6 /System/Library/PrivateFrameworks/Admin.framework/Versions/A/Admin 0x94143000 - 0x94143fff com.apple.AFPDefines 3.1.3 /System/Library/PrivateFrameworks/AFPDefines.framework/Versions/A/AFPDefines 0x94197000 - 0x941d5fff com.apple.vmutils 4.0.2 (93.1) /System/Library/PrivateFrameworks/vmutils.framework/Versions/A/vmutils 0x9428f000 - 0x9429efff libCGATS.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib 0x942a5000 - 0x942b0fff libCSync.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib 0x942fc000 - 0x94316fff libRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib 0x9431c000 - 0x9461bfff com.apple.QuickTime 7.1.6 /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime 0x9479c000 - 0x948e2fff com.apple.AddressBook.framework 4.0.5 (487) /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook 0x9496e000 - 0x9497dfff com.apple.DSObjCWrappers.Framework 1.1 /System/Library/PrivateFrameworks/DSObjCWrappers.framework/Versions/A/DSObjCWrappers 0x94984000 - 0x949adfff com.apple.LDAPFramework 1.4.2 (69.1.1) /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP 0x949b3000 - 0x949c2fff libsasl2.2.dylib /usr/lib/libsasl2.2.dylib 0x949c6000 - 0x949ebfff libssl.0.9.7.dylib /usr/lib/libssl.0.9.7.dylib 0x949f7000 - 0x94a14fff libresolv.9.dylib /usr/lib/libresolv.9.dylib 0x95284000 - 0x95306fff com.apple.JavaScriptCore 418.3 /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore 0x95b10000 - 0x95b48fff com.apple.PDFKit 1.0.3 /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit.framework/Versions/A/PDFKit 0x9676d000 - 0x9677ffff com.apple.speech.SpeechDictionary 3.4 /System/Library/PrivateFrameworks/SpeechDictionary.framework/Versions/A/SpeechDictionary 0x9678f000 - 0x96794fff com.apple.JavaScriptGlue 418 /System/Library/PrivateFrameworks/JavaScriptGlue.framework/Versions/A/JavaScriptGlue 0x9679a000 - 0x967d0fff com.apple.audio.midi.CoreMIDI 1.5.1 (41) /System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI 0x96b9a000 - 0x96b9afff com.apple.vecLib 3.3.1 (vecLib 3.3.1) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib 0x97110000 - 0x971e7fff libGLProgrammability.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib 0x97202000 - 0x97203fff libGLSystem.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLSystem.dylib 0x97205000 - 0x9720afff com.apple.agl 2.5.9 (AGL-2.5.9) /System/Library/Frameworks/AGL.framework/Versions/A/AGL 0x97210000 - 0x97254fff com.apple.glut 3.3.9 (GLUT-3.3.9) /System/Library/Frameworks/GLUT.framework/Versions/A/GLUT 0x97bd4000 - 0x97cabfff com.apple.QuartzComposer 1.2.5 (32.23) /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzComposer.framework/Versions/A/QuartzComposer 0x97d34000 - 0x97d34fff com.apple.quartzframework 1.0 /System/Library/Frameworks/Quartz.framework/Versions/A/Quartz 0x98c59000 - 0x9992efff com.apple.QuickTimeComponents.component 7.1.6 /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTimeComponents 0x9a2ef000 - 0x9a2fafff com.apple.IMFramework 3.1.4 (429) /System/Library/Frameworks/InstantMessage.framework/Versions/A/InstantMessage 0x9a850000 - 0x9a887fff com.apple.Syndication 1.0.6 (54) /System/Library/PrivateFrameworks/Syndication.framework/Versions/A/Syndication 0xc0000000 - 0xc000efff com.unsanity.ape 2.0.2 /Library/Frameworks/ApplicationEnhancer.framework/Versions/A/ApplicationEnhancer

Model: MacBookPro1,1, BootROM MBP11.0055.B08, 2 processors, Intel Core Duo, 2.16 GHz, 2 GB Graphics: ATI Radeon X1600, ATY,RadeonX1600, PCIe, 256 MB Memory Module: BANK 0/DIMM0, 1 GB, DDR2 SDRAM, 667 MHz Memory Module: BANK 1/DIMM1, 1 GB, DDR2 SDRAM, 667 MHz AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x86), 1.1.8.5 Bluetooth: Version 1.9.0f8, 2 service, 0 devices, 1 incoming serial ports Network Service: Built-in Ethernet, Ethernet, en0 Network Service: Parallels Host-Guest, Ethernet, en2 Network Service: Parallels NAT, Ethernet, en3 Serial ATA Device: ST910021AS, 93.16 GB Parallel ATA Device: MATSHITADVD-R UJ-857 USB Device: Built-in iSight, Micron, Up to 480 Mb/sec, 500 mA USB Device: Apple Internal Keyboard / Trackpad, Apple Computer, Up to 12 Mb/sec, 500 mA USB Device: Bluetooth USB Host Controller, Apple, Inc., Up to 12 Mb/sec, 500 mA USB Device: IR Receiver, Apple Computer, Inc., Up to 12 Mb/sec, 500 mA FireWire Device: LaCie Hard Drive FireWire+, LaCie Group SA, Up to 400 Mb/sec

cwright's picture
More information

Does it crash it every time? Is it any 4kb text file, or one in particular?

I just fed it 4k of lorem ipsum, and it performed fine. 600 words, 7 paragraphs, 4096 bytes.

Output was obtained by both String With File and Shell Command Patch "cat ipsum4kCrashText.txt" stuff. Neither seemed to crash.

Any other hints about what was going on? (9 threads seems like a non-trivial use :)

cwright's picture
Reproduced it

Ok, got it to happen too. Mine had a different backtrace though:

Thread 2 Crashed: 0 ...thesis.MacinTalkSynthesizer 0x15db00a9 MEOWReader::MEOWReader[in-charge](void const*, char) + 29 1 ...thesis.MacinTalkSynthesizer 0x15d9264c MTBEPhraseProcessor::Create(VoiceDescription const&, void const*, MTBEPh raseParam const&) + 86 2 ...thesis.MacinTalkSynthesizer 0x15d8dc31 MT3BEngineTask::ParseNextPhrase(void) + 1083 3 ...thesis.MacinTalkSynthesizer 0x15d95062 MTBEWorker::WorkLoop(MTBEWorker) + 510 4 ...thesis.MacinTalkSynthesizer 0x15d950bd MTBEWorkerStartMPTask + 17 5 ...ple.CoreServices.CarbonCore 0x903ddc6c PrivateMPEntryPoint + 51 6 libSystem.B.dylib 0x90024227 _pthread_body + 84

As a side note, it looks like the speech engine spawns many threads, so 9 isn't really too crazy.

Going to investigate this more, thanks for noticing it. If you find a way to trigger it more dependably, please clue me in:)

cwright's picture
further inspection

Ok, I've reproduced it without needing a huge text corpus. Simply hook up an LFO to the trigger, and put in 1 word of text. eventually (after 5-10 minutes?) it'll crash.

For me, the backtrace is always

Thread 2 Crashed: 0 ...thesis.MacinTalkSynthesizer 0x162320a9 MEOWReader::MEOWReader[in-charge](void const*, char) + 29 1 ...thesis.MacinTalkSynthesizer 0x1621464c MTBEPhraseProcessor::Create(VoiceDescription const&, void const*, MTBEPhraseParam const&) + 86 2 ...thesis.MacinTalkSynthesizer 0x1620fc31 MT3BEngineTask::ParseNextPhrase(void) + 1083 3 ...thesis.MacinTalkSynthesizer 0x16217062 MTBEWorker::WorkLoop(MTBEWorker) + 510 4 ...thesis.MacinTalkSynthesizer 0x162170bd MTBEWorkerStartMPTask + 17 5 ...ple.CoreServices.CarbonCore 0x903ddc6c PrivateMPEntryPoint + 51 6 libSystem.B.dylib 0x90024227 _pthread_body + 84

which is not where mrphoton's was. Never the less, it's in a similar location.

Watching the memory usage as its running, and it seems to continually increase. This indicates a memory leak of some kind. Still checking this out.

in the system log, the message "Speech Synthesis can't map voice file (12)" always happens when setVoice is called, and it crashes immediately afterwards. The return value for setVoice does not indicate a failure, which is troubling.

cwright's picture
Got it!

Ok, found out the problem! NSSpeechSynthesizer is a leaky class, meaning creating and destroying the class repeatedly eventually exhausts memory and causes weird problems. I've worked around this in the development branch, expect a 0.3 release sometime in the next 48 hours to resolve this publicly. Thank you mrphoton for noting this bug :)

smokris's picture
Fixed in v0.3

The above should be fixed with v0.3, released today --- http://kineme.net/QuartzComposerPatches/SpeechSynthesisPatch/0.3