Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Iphoto Crash - Can't allocate memory

Iphoto crashes and issues error report. When re-opening Iphoto, get a message stating "Inconsistencies Found - Repair Database". Cycle repeats over and over again.


Review of error reports shows failure due to "CoreImage_crashed_because_it_could_not_allocate_memory(void const*) + 17"


Why is CorelImage crashing and what can I do about it?


Running on a MacMini, OSX 10.8.2, 2GB main memory, Iphoto version 9.4.2


Error report follows:


Process: iPhoto [2837]

Path: /Applications/iPhoto.app/Contents/MacOS/iPhoto

Identifier: com.apple.iPhoto

Version: 9.4.2 (9.4.2)

Build Info: iPhotoProject-710042000000000~2

App Item ID: 408981381

App External ID: 11723545

Code Type: X86 (Native)

Parent Process: launchd [159]

User ID: 501


Date/Time: 2012-12-19 09:01:10.554 -0500

OS Version: Mac OS X 10.8.2 (12C60)

Report Version: 10


Interval Since Last Report: 48318 sec

Crashes Since Last Report: 3

Per-App Interval Since Last Report: 2360 sec

Per-App Crashes Since Last Report: 3


Crashed Thread: 13 Dispatch queue: Face Detection


Exception Type: EXC_BAD_ACCESS (SIGSEGV)

Exception Codes: KERN_INVALID_ADDRESS at 0x00000000ffffffff


VM Regions Near 0xffffffff:

--> shared memory 00000000ffffb000-00000000ffffc000 [ 4K] r-x/r-x SM=SHM


Thread 0:: Dispatch queue: com.apple.main-thread

0 libFontParser.dylib 0x9784f19f TTrueTypeFontHandler::RenderGlyph(unsigned short, TTrueTypeQuadOutlineContext&, unsigned int) const + 91

1 libFontParser.dylib 0x9784f13e TTrueTypeFontHandler::ParseOutline(unsigned short, TTrueTypeQuadOutlineContext&) const + 40

2 libFontParser.dylib 0x9784f0ff TTrueTypeFontHandler::GetOutlinePath(unsigned short, TGlyphOutlineBatch const&) const + 69

3 libFontParser.dylib 0x9784edb3 FPFontCopyGlyphPath + 147

4 libCGXType.A.dylib 0x9560a9da create_path_for_glyph + 40

5 libCGXType.A.dylib 0x9560a97c xt_path_builder_create_path_for_glyph + 302

6 libCGXType.A.dylib 0x9560a792 create_glyph_path + 40

7 com.apple.CoreGraphics 0x983eab43 CGFontCreateGlyphPath + 51

8 com.apple.CoreGraphics 0x983e9c2e CGFontCreateGlyphBitmap8 + 394

9 com.apple.CoreGraphics 0x983e9a76 CGFontCreateGlyphBitmap + 174

10 com.apple.CoreGraphics 0x983e9681 CGGlyphLockLockGlyphBitmaps + 1391

11 libRIP.A.dylib 0x962a92fc ripc_DrawGlyphs + 1904

12 com.apple.CoreGraphics 0x98749c5a draw_glyphs + 633

13 com.apple.CoreGraphics 0x983e77f4 CGContextShowGlyphsWithAdvances + 515

14 com.apple.CoreText 0x942d8033 CTFontDrawGlyphsWithAdvances + 109

15 com.apple.CoreText 0x942d7f08 TRun::DrawGlyphs(CGContext*, CFRange) const + 246

16 com.apple.CoreText 0x942d78bd TLine::DrawGlyphs(CGContext*) const + 209

17 com.apple.CoreText 0x942d77e7 CTLineDraw + 35

18 com.apple.QuartzCore 0x92035783 -[CATextLayer _drawLine:inContext:atPoint:] + 55

19 com.apple.QuartzCore 0x92035747 drawLine(objc_object*, void*, CGPoint, __CTLine const*) + 68

20 com.apple.QuartzCore 0x9203502c -[CATextLayer _applyLinesToFunction:info:] + 965

21 com.apple.QuartzCore 0x92034c43 -[CATextLayer drawInContext:] + 307

22 com.apple.iLifeKit 0x0229333a -[IPKQuantizedTextLayer drawInContext:] + 73

23 com.apple.QuartzCore 0x92155b5f backing_callback(CGContext*, void*) + 88

24 com.apple.QuartzCore 0x92056bbd CABackingStoreUpdate_ + 3241

25 com.apple.QuartzCore 0x92055943 CA::Layer::display_() + 1369

26 com.apple.QuartzCore 0x920553e4 -[CALayer _display] + 20

27 com.apple.QuartzCore 0x920553c5 CA::Layer::display() + 221

28 com.apple.QuartzCore 0x920552e3 -[CALayer display] + 20

29 com.apple.QuartzCore 0x9205520b CA::Layer::display_if_needed(CA::Transaction*) + 673

30 com.apple.QuartzCore 0x92054a84 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 38

31 com.apple.QuartzCore 0x92049cfa CA::Context::commit_transaction(CA::Transaction*) + 338

32 com.apple.QuartzCore 0x92049a70 CA::Transaction::commit() + 362

33 com.apple.QuartzCore 0x9204987d CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 67

34 com.apple.CoreFoundation 0x96fa6dfe __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 30

35 com.apple.CoreFoundation 0x96fa6d3d __CFRunLoopDoObservers + 381

36 com.apple.CoreFoundation 0x96f80655 CFRunLoopRunSpecific + 405

37 com.apple.CoreFoundation 0x96f804ab CFRunLoopRunInMode + 123

38 com.apple.HIToolbox 0x9449315a RunCurrentEventLoopInMode + 242

39 com.apple.HIToolbox 0x94492ec9 ReceiveNextEventCommon + 374

40 com.apple.HIToolbox 0x94492d44 BlockUntilNextEventMatchingListInMode + 88

41 com.apple.AppKit 0x9642da3a _DPSNextEvent + 724

42 com.apple.AppKit 0x9642d26c -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 119

43 com.apple.AppKit 0x964236cc -[NSApplication run] + 855

44 com.apple.AppKit 0x963c66f6 NSApplicationMain + 1053

45 com.apple.iPhoto 0x00068c99 0x59000 + 64665

46 com.apple.iPhoto 0x000682e5 0x59000 + 62181


Thread 1:: Dispatch queue: com.apple.libdispatch-manager

0 libsystem_kernel.dylib 0x9001bc02 __select_nocancel + 10

1 libdispatch.dylib 0x942aca08 _dispatch_mgr_invoke + 376

2 libdispatch.dylib 0x942ac7a9 _dispatch_mgr_thread + 53


Thread 2:

0 libsystem_kernel.dylib 0x9001b8e2 __psynch_cvwait + 10

1 libsystem_c.dylib 0x988ad289 _pthread_cond_wait + 938

2 libsystem_c.dylib 0x988ad512 pthread_cond_timedwait_relative_np + 47

3 com.apple.Foundation 0x9a1703c6 -[NSCondition waitUntilDate:] + 404

4 com.apple.Foundation 0x9a1701ed -[NSConditionLock lockWhenCondition:beforeDate:] + 282

5 com.apple.Foundation 0x9a175740 -[NSConditionLock lockWhenCondition:] + 69

6 com.apple.proxtcore 0x0200ae12 -[XTMsgQueue waitForMessage] + 47

7 com.apple.proxtcore 0x02009efa -[XTThread run:] + 412

8 com.apple.Foundation 0x9a1421d8 -[NSThread main] + 45

9 com.apple.Foundation 0x9a14215b __NSThread__main__ + 1396

10 libsystem_c.dylib 0x988a8557 _pthread_start + 344

11 libsystem_c.dylib 0x98892cee thread_start + 34


Thread 3:

0 libsystem_kernel.dylib 0x9001b8e2 __psynch_cvwait + 10

1 libsystem_c.dylib 0x988ad289 _pthread_cond_wait + 938

2 libsystem_c.dylib 0x988ad512 pthread_cond_timedwait_relative_np + 47

3 com.apple.Foundation 0x9a1703c6 -[NSCondition waitUntilDate:] + 404

4 com.apple.Foundation 0x9a1701ed -[NSConditionLock lockWhenCondition:beforeDate:] + 282

5 com.apple.Foundation 0x9a175740 -[NSConditionLock lockWhenCondition:] + 69

6 com.apple.proxtcore 0x0200ae12 -[XTMsgQueue waitForMessage] + 47

7 com.apple.proxtcore 0x02009efa -[XTThread run:] + 412

8 com.apple.Foundation 0x9a1421d8 -[NSThread main] + 45

9 com.apple.Foundation 0x9a14215b __NSThread__main__ + 1396

10 libsystem_c.dylib 0x988a8557 _pthread_start + 344

11 libsystem_c.dylib 0x98892cee thread_start + 34


Thread 4:

0 libsystem_kernel.dylib 0x9001b8e2 __psynch_cvwait + 10

1 libsystem_c.dylib 0x988ad289 _pthread_cond_wait + 938

2 libsystem_c.dylib 0x988ad512 pthread_cond_timedwait_relative_np + 47

3 com.apple.Foundation 0x9a1703c6 -[NSCondition waitUntilDate:] + 404

4 com.apple.Foundation 0x9a1701ed -[NSConditionLock lockWhenCondition:beforeDate:] + 282

5 com.apple.Foundation 0x9a175740 -[NSConditionLock lockWhenCondition:] + 69

6 com.apple.proxtcore 0x0200ae12 -[XTMsgQueue waitForMessage] + 47

7 com.apple.proxtcore 0x02009efa -[XTThread run:] + 412

8 com.apple.Foundation 0x9a1421d8 -[NSThread main] + 45

9 com.apple.Foundation 0x9a14215b __NSThread__main__ + 1396

10 libsystem_c.dylib 0x988a8557 _pthread_start + 344

11 libsystem_c.dylib 0x98892cee thread_start + 34


Thread 5:

0 libsystem_kernel.dylib 0x9001b8e2 __psynch_cvwait + 10

1 libsystem_c.dylib 0x988ad289 _pthread_cond_wait + 938

2 libsystem_c.dylib 0x988ad512 pthread_cond_timedwait_relative_np + 47

3 com.apple.Foundation 0x9a1703c6 -[NSCondition waitUntilDate:] + 404

4 com.apple.Foundation 0x9a1701ed -[NSConditionLock lockWhenCondition:beforeDate:] + 282

5 com.apple.Foundation 0x9a175740 -[NSConditionLock lockWhenCondition:] + 69

6 com.apple.proxtcore 0x0200ae12 -[XTMsgQueue waitForMessage] + 47

7 com.apple.proxtcore 0x02009efa -[XTThread run:] + 412

8 com.apple.Foundation 0x9a1421d8 -[NSThread main] + 45

9 com.apple.Foundation 0x9a14215b __NSThread__main__ + 1396

10 libsystem_c.dylib 0x988a8557 _pthread_start + 344

11 libsystem_c.dylib 0x98892cee thread_start + 34


Thread 6:

0 libsystem_kernel.dylib 0x9001b8e2 __psynch_cvwait + 10

1 libsystem_c.dylib 0x988ad289 _pthread_cond_wait + 938

2 libsystem_c.dylib 0x988ad512 pthread_cond_timedwait_relative_np + 47

3 com.apple.Foundation 0x9a1703c6 -[NSCondition waitUntilDate:] + 404

4 com.apple.Foundation 0x9a1701ed -[NSConditionLock lockWhenCondition:beforeDate:] + 282

5 com.apple.Foundation 0x9a175740 -[NSConditionLock lockWhenCondition:] + 69

6 com.apple.proxtcore 0x0200ae12 -[XTMsgQueue waitForMessage] + 47

7 com.apple.proxtcore 0x02009efa -[XTThread run:] + 412

8 com.apple.Foundation 0x9a1421d8 -[NSThread main] + 45

9 com.apple.Foundation 0x9a14215b __NSThread__main__ + 1396

10 libsystem_c.dylib 0x988a8557 _pthread_start + 344

11 libsystem_c.dylib 0x98892cee thread_start + 34


Thread 7:

0 libsystem_kernel.dylib 0x9001b8e2 __psynch_cvwait + 10

1 libsystem_c.dylib 0x988ad289 _pthread_cond_wait + 938

2 libsystem_c.dylib 0x988ad512 pthread_cond_timedwait_relative_np + 47

3 com.apple.Foundation 0x9a1703c6 -[NSCondition waitUntilDate:] + 404

4 com.apple.Foundation 0x9a1701ed -[NSConditionLock lockWhenCondition:beforeDate:] + 282

5 com.apple.Foundation 0x9a175740 -[NSConditionLock lockWhenCondition:] + 69

6 com.apple.proxtcore 0x0200ae12 -[XTMsgQueue waitForMessage] + 47

7 com.apple.proxtcore 0x02009efa -[XTThread run:] + 412

8 com.apple.Foundation 0x9a1421d8 -[NSThread main] + 45

9 com.apple.Foundation 0x9a14215b __NSThread__main__ + 1396

10 libsystem_c.dylib 0x988a8557 _pthread_start + 344

11 libsystem_c.dylib 0x98892cee thread_start + 34


Thread 8:

0 libsystem_kernel.dylib 0x9001b8e2 __psynch_cvwait + 10

1 libsystem_c.dylib 0x988ad289 _pthread_cond_wait + 938

2 libsystem_c.dylib 0x988ad512 pthread_cond_timedwait_relative_np + 47

3 com.apple.Foundation 0x9a1703c6 -[NSCondition waitUntilDate:] + 404

4 com.apple.Foundation 0x9a1701ed -[NSConditionLock lockWhenCondition:beforeDate:] + 282

5 com.apple.Foundation 0x9a175740 -[NSConditionLock lockWhenCondition:] + 69

6 com.apple.proxtcore 0x0200ae12 -[XTMsgQueue waitForMessage] + 47

7 com.apple.proxtcore 0x02009efa -[XTThread run:] + 412

8 com.apple.Foundation 0x9a1421d8 -[NSThread main] + 45

9 com.apple.Foundation 0x9a14215b __NSThread__main__ + 1396

10 libsystem_c.dylib 0x988a8557 _pthread_start + 344

11 libsystem_c.dylib 0x98892cee thread_start + 34


Thread 9:

0 libsystem_kernel.dylib 0x9001b8e2 __psynch_cvwait + 10

1 libsystem_c.dylib 0x988ad289 _pthread_cond_wait + 938

2 libsystem_c.dylib 0x988ad512 pthread_cond_timedwait_relative_np + 47

3 com.apple.Foundation 0x9a1703c6 -[NSCondition waitUntilDate:] + 404

4 com.apple.Foundation 0x9a1701ed -[NSConditionLock lockWhenCondition:beforeDate:] + 282

5 com.apple.Foundation 0x9a175740 -[NSConditionLock lockWhenCondition:] + 69

6 com.apple.RedRock 0x0265a48f -[RKAsyncImageRenderer _backgroundRenderThread:] + 173

7 libobjc.A.dylib 0x94e17586 -[NSObject performSelector:] + 62

8 com.apple.proxtcore 0x02013df9 -[XTThreadSendOnlyDetached _detachedMessageHandler:] + 167

9 libobjc.A.dylib 0x94e175d3 -[NSObject performSelector:withObject:] + 70

10 com.apple.proxtcore 0x0200c22c -[XTSubscription postMessage:] + 191

11 com.apple.proxtcore 0x0200baef -[XTDistributor distributeMessage:] + 681

12 com.apple.proxtcore 0x0200b313 -[XTThread handleMessage:] + 515

13 com.apple.proxtcore 0x02009f10 -[XTThread run:] + 434

14 com.apple.Foundation 0x9a1421d8 -[NSThread main] + 45

15 com.apple.Foundation 0x9a14215b __NSThread__main__ + 1396

16 libsystem_c.dylib 0x988a8557 _pthread_start + 344

17 libsystem_c.dylib 0x98892cee thread_start + 34


Thread 10:

0 libsystem_kernel.dylib 0x9001ae9a __accept + 10

1 com.apple.iPhoto 0x0045124d 0x59000 + 4162125

2 com.apple.iPhoto 0x0049b651 0x59000 + 4466257

3 com.apple.iPhoto 0x0049b5be 0x59000 + 4466110

4 libsystem_c.dylib 0x988a8557 _pthread_start + 344

5 libsystem_c.dylib 0x98892cee thread_start + 34


Thread 11:: CVDisplayLink

0 libsystem_kernel.dylib 0x9001b8e2 __psynch_cvwait + 10

1 libsystem_c.dylib 0x988ad220 _pthread_cond_wait + 833

2 libsystem_c.dylib 0x989330a1 pthread_cond_wait$UNIX2003 + 71

3 com.apple.CoreVideo 0x99fe016d CVDisplayLink::runIOThread() + 903

4 com.apple.CoreVideo 0x99fdfdce startIOThread(void*) + 160

5 libsystem_c.dylib 0x988a8557 _pthread_start + 344

6 libsystem_c.dylib 0x98892cee thread_start + 34


Thread 12:: Dispatch queue: com.apple.Mercury.KDatabaseMgr

0 libsystem_kernel.dylib 0x9001c69e __fsync + 10

1 com.apple.iLifeSQLAccess 0x020e69ab unixSync + 69

2 com.apple.iLifeSQLAccess 0x020e688f syncJournal + 399

3 com.apple.iLifeSQLAccess 0x020e6674 sqlite3PagerCommitPhaseOne + 1156

4 com.apple.iLifeSQLAccess 0x020d2d2c sqlite3BtreeCommitPhaseOne + 701

5 com.apple.iLifeSQLAccess 0x020d23ca sqlite3VdbeHalt + 1073

6 com.apple.iLifeSQLAccess 0x020d1b00 sqlite3VdbeExec + 38690

7 com.apple.iLifeSQLAccess 0x020c80d2 sqlite3_step + 2439

8 com.apple.iLifeSQLAccess 0x020e89e0 -[HgKPreparedSql updateWithArgs:] + 255

9 com.apple.iLifeSQLAccess 0x02144cc4 __50-[HgKDatabaseManager commitAndBeginNewTransaction]_block_invoke_0 + 55

10 com.apple.iLifeSQLAccess 0x02145fc4 -[HgKDatabaseManager _dispatch_sync_if_needed_suspend:withBlock:] + 274

11 com.apple.iLifeSQLAccess 0x02145e70 -[HgKDatabaseManager dispatch_sync_if_needed:] + 48

12 com.apple.iLifeSQLAccess 0x02107a6e -[HgKDatabaseManager commitAndBeginNewTransaction] + 344

13 com.apple.iLifeSQLAccess 0x02144eaf __60-[HgKDatabaseManager backgroundCommitAndBeginNewTransaction]_block_invoke_0 + 36

14 libdispatch.dylib 0x942adf8f _dispatch_call_block_and_release + 15

15 libdispatch.dylib 0x942a9c82 _dispatch_client_callout + 46

16 libdispatch.dylib 0x942ab160 _dispatch_queue_drain + 206

17 libdispatch.dylib 0x942aaffa _dispatch_queue_invoke + 50

18 libdispatch.dylib 0x942ab12c _dispatch_queue_drain + 154

19 libdispatch.dylib 0x942aaffa _dispatch_queue_invoke + 50

20 libdispatch.dylib 0x942aaecb _dispatch_worker_thread2 + 230

21 libsystem_c.dylib 0x988aae12 _pthread_wqthread + 441

22 libsystem_c.dylib 0x98892cca start_wqthread + 30


Thread 13 Crashed:: Dispatch queue: Face Detection

0 com.apple.CoreImage 0x99556205 CoreImage_crashed_because_it_could_not_allocate_memory(void const*) + 17

1 com.apple.CoreImage 0x99556090 FEVirtualMemory::allocate(unsigned long&, signed char&, FEVirtualMemoryUsage) + 288

2 com.apple.CoreImage 0x99407f67 fe_buffer_activate(FEContext*, unsigned int) + 489

3 com.apple.CoreImage 0x99407cea -[FEBuffer beginRenderForContext:textureTarget:warpMode:flipped:flags:] + 164

4 com.apple.CoreImage 0x994443dd FETexture::renderSetup(FEContext*, FEFormat) + 205

5 com.apple.CoreImage 0x9944430b FETexture::textureRenderSetup(FEContext*, void*, FEFormat) + 37

6 com.apple.CoreImage 0x9944d444 FEDivTreeNode::render2(FETreeContext*, FEShape const*, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 462

7 com.apple.CoreImage 0x99449d5b FETreeNode::render_(FETreeContext*, FEShape const*, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 151

8 com.apple.CoreImage 0x99449f23 FETreeNode::renderTexture(void*, CGRect, FEFormat, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 69

9 com.apple.CoreImage 0x99444703 FETexture::retainTextureObject(FETextureCache*, FEContext*, unsigned int, void*, void (*)(void*, CGRect, FEFormat, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*), CGRect const*, bool, fe_texture_object_struct**) + 749

10 com.apple.CoreImage 0x99445082 FETexture::newTexture(FEContext*, fe_texture_params_struct const*, void*, void (*)(void*, CGRect, FEFormat, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*), fe_texture_object_struct**) + 996

11 com.apple.CoreImage 0x9944a2b7 FETreeNode::createTexture(FETreeContext*, unsigned int, unsigned int, bool, bool, FETreeTexture*, unsigned int) + 885

12 com.apple.CoreImage 0x9944c76d FEApplyTreeNode::render2(FETreeContext*, FEShape const*, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 719

13 com.apple.CoreImage 0x99449d5b FETreeNode::render_(FETreeContext*, FEShape const*, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 151

14 com.apple.CoreImage 0x9944d76f FETreeNode::render(FETreeContext*, FEShape const&, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 97

15 com.apple.CoreImage 0x9944d708 FETreeContext::render(FETreeNode*, FEShape const&, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 52

16 com.apple.CoreImage 0x99450e57 FETreeContext::renderTree(FETreeNode*, FEShape const&, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 185

17 com.apple.CoreImage 0x994511a7 FETreeContext::renderImage_(FEImage*, CGRect, FEShape const*, CGAffineTransform, CGColorSpace*, FEFormat, bool, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 785

18 com.apple.CoreImage 0x994514f0 FETreeContext::renderImage(FEImage*, CGRect, FEShape const*, CGAffineTransform, CGColorSpace*, FEFormat, bool, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 356

19 com.apple.CoreImage 0x994271ac -[FEImage(Internal) _renderWithContext:bounds:transform:colorSpace:format:premultiplied:setupCallba ck:finishCallback:callbackData:] + 268

20 com.apple.CoreImage 0x99426c4a -[FEImage renderToContext:bounds:transform:destinationFormat:colorSpace:] + 171

21 com.apple.CoreImage 0x993d0ef1 renderImage(FEContext*, CGRect, CGAffineTransform, unsigned int, void*) + 119

22 com.apple.CoreImage 0x993d0c1a -[CIBitmapContextImpl renderWithBounds:matrix:function:info:] + 290

23 com.apple.CoreImage 0x993d0e72 -[CIBitmapContextImpl render:] + 223

24 com.apple.CoreImage 0x993d6b29 -[CIContext drawImage:inRect:fromRect:] + 1427

25 com.apple.iLifeFaceRecognition 0x013dea3a -[FaceRecognitionManager _fastMakeGrayCGImageOfMaxDimensionUsingCI:fromCGImage:rawData:] + 981

26 com.apple.iLifeFaceRecognition 0x013dc6d5 -[FaceRecognitionManager _detectFacesInCGImage:ofPhoto:withUserInfo:maxDimension:options:delegate:contex t:] + 357

27 com.apple.iLifeFaceRecognition 0x013dc4b6 -[FaceRecognitionManager detectFacesInPhoto:userInfo:options:delegate:context:] + 259

28 com.apple.RedRock 0x026c61a8 -[RKFaceDetectionWorker detectFacesForMaster:aggressive:] + 1287

29 com.apple.iPhoto 0x00787c62 0x59000 + 7531618

30 com.apple.RedRock 0x028de5c0 -[RKFaceDetectionWorker performJob:forWorkOrder:] + 437

31 com.apple.proxtcore 0x020456e5 -[XTWorker performJob:] + 117

32 libobjc.A.dylib 0x94e175d3 -[NSObject performSelector:withObject:] + 70

33 com.apple.proxtcore 0x0200c22c -[XTSubscription postMessage:] + 191

34 com.apple.proxtcore 0x0200baef -[XTDistributor distributeMessage:] + 681

35 com.apple.proxtcore 0x0200b313 -[XTThread handleMessage:] + 515

36 com.apple.proxtcore 0x0202a55d __42-[XTDispatchMsgQueue triggerDispatchQueue]_block_invoke_0 + 176

37 libdispatch.dylib 0x942adf8f _dispatch_call_block_and_release + 15

38 libdispatch.dylib 0x942a9c82 _dispatch_client_callout + 46

39 libdispatch.dylib 0x942ab160 _dispatch_queue_drain + 206

40 libdispatch.dylib 0x942aaffa _dispatch_queue_invoke + 50

41 libdispatch.dylib 0x942aaecb _dispatch_worker_thread2 + 230

42 libsystem_c.dylib 0x988aae12 _pthread_wqthread + 441

43 libsystem_c.dylib 0x98892cca start_wqthread + 30


Thread 14:

0 libsystem_kernel.dylib 0x9001b8e2 __psynch_cvwait + 10

1 libsystem_c.dylib 0x988ad220 _pthread_cond_wait + 833

2 libsystem_c.dylib 0x989330a1 pthread_cond_wait$UNIX2003 + 71

3 com.apple.Foundation 0x9a140734 -[NSCondition wait] + 274

4 com.apple.iPhoto 0x000aaa64 0x59000 + 334436

5 com.apple.iPhoto 0x000aa672 0x59000 + 333426

6 com.apple.CoreFoundation 0x96fd6d6d __invoking___ + 29

7 com.apple.CoreFoundation 0x96fd6ca7 -[NSInvocation invoke] + 279

8 com.apple.RedRock 0x0267685b -[RKInvoker _invokeTarget:] + 33

9 com.apple.RedRock 0x026875f4 -[RKInvoker _invokeTargetWithPool:] + 68

10 libobjc.A.dylib 0x94e175d3 -[NSObject performSelector:withObject:] + 70

11 com.apple.proxtcore 0x02013df9 -[XTThreadSendOnlyDetached _detachedMessageHandler:] + 167

12 libobjc.A.dylib 0x94e175d3 -[NSObject performSelector:withObject:] + 70

13 com.apple.proxtcore 0x0200c22c -[XTSubscription postMessage:] + 191

14 com.apple.proxtcore 0x0200baef -[XTDistributor distributeMessage:] + 681

15 com.apple.proxtcore 0x0200b313 -[XTThread handleMessage:] + 515

16 com.apple.proxtcore 0x02009f10 -[XTThread run:] + 434

17 com.apple.Foundation 0x9a1421d8 -[NSThread main] + 45

18 com.apple.Foundation 0x9a14215b __NSThread__main__ + 1396

19 libsystem_c.dylib 0x988a8557 _pthread_start + 344

20 libsystem_c.dylib 0x98892cee thread_start + 34


Thread 15:

0 libsystem_kernel.dylib 0x9001c0ee __workq_kernreturn + 10

1 libsystem_c.dylib 0x988ab04c _pthread_workq_return + 45

2 libsystem_c.dylib 0x988aae19 _pthread_wqthread + 448

3 libsystem_c.dylib 0x98892cca start_wqthread + 30


Thread 16:: Dispatch queue: NSPersistentUI I/O

0 libsystem_kernel.dylib 0x9001d466 __writev + 10

1 com.apple.AppKit 0x965f2f05 __45-[NSPersistentUIManager writeRecords:toFile:]_block_invoke_0 + 34

2 com.apple.AppKit 0x965f2a49 -[NSPersistentUIManager writeRecords:toFile:] + 481

3 com.apple.AppKit 0x965f1354 -[NSPersistentUIManager writeRecords:withWindowInfos:flushingStaleData:] + 259

4 com.apple.AppKit 0x96bf5c3b __block_global_2 + 146

5 com.apple.AppKit 0x96c00b75 my_io_execute_passive_block + 67

6 libdispatch.dylib 0x942a9c82 _dispatch_client_callout + 46

7 libdispatch.dylib 0x942ab160 _dispatch_queue_drain + 206

8 libdispatch.dylib 0x942aaffa _dispatch_queue_invoke + 50

9 libdispatch.dylib 0x942aaecb _dispatch_worker_thread2 + 230

10 libsystem_c.dylib 0x988aae12 _pthread_wqthread + 441

11 libsystem_c.dylib 0x98892cca start_wqthread + 30


Thread 17:

0 libsystem_kernel.dylib 0x9001c0ee __workq_kernreturn + 10

1 libsystem_c.dylib 0x988ab04c _pthread_workq_return + 45

2 libsystem_c.dylib 0x988aae19 _pthread_wqthread + 448

3 libsystem_c.dylib 0x98892cca start_wqthread + 30


Thread 18:

0 libsystem_kernel.dylib 0x9001c0ee __workq_kernreturn + 10

1 libsystem_c.dylib 0x988ab04c _pthread_workq_return + 45

2 libsystem_c.dylib 0x988aae19 _pthread_wqthread + 448

3 libsystem_c.dylib 0x98892cca start_wqthread + 30


Thread 13 crashed with X86 Thread State (32-bit):

eax: 0x995561ff ebx: 0xb038b92a ecx: 0xffffffff edx: 0x00000100

edi: 0xb038b910 esi: 0x99555f7e ebp: 0xb038b838 esp: 0xb038b830

ss: 0x00000023 efl: 0x00010246 eip: 0x99556205 cs: 0x0000001b

ds: 0x00000023 es: 0x00000023 fs: 0x00000023 gs: 0x0000000f

cr2: 0xffffffff

Logical CPU: 0

ple.CorePDF (2.0 - 2) <6B5BF755-F336-359C-9A99-F006F61442CF> /System/Library/PrivateFrameworks/CorePDF.framework/Versions/A/CorePDF


External Modification Summary:

Calls made by other processes targeting this process:

task_for_pid: 2

thread_create: 0

thread_set_state: 0

Calls made by this process:

task_for_pid: 0

thread_create: 0

thread_set_state: 0

Calls made by all processes on this machine:

task_for_pid: 2132

thread_create: 0

thread_set_state: 0


VM Region Summary:

ReadOnly portion of Libraries: Total=273.6M resident=64.8M(24%) swapped_out_or_unallocated=208.9M(76%)

Writable regions: Total=3.1G written=1.5G(48%) resident=977.1M(31%) swapped_out=592.9M(19%) unallocated=2.1G(69%)


REGION TYPE VIRTUAL

=========== =======

ATS (font support) 32.0M

CG backing stores 4040K

CG image 160K

CG raster data 176K

CG shared images 1184K

CoreAnimation 6552K

CoreServices 1200K

Foundation (reserved) 1.5G reserved VM address space (unallocated)

IOKit 23.4M

MALLOC 1.5G

MALLOC guard page 48K

MALLOC_LARGE (reserved) 2848K reserved VM address space (unallocated)

Memory tag=240 4K

Memory tag=242 12K

Memory tag=249 156K

Memory tag=35 1740K

OpenCL 20K

OpenGL GLSL 896K

SQLite page cache 288K

Stack 88.1M

VM_ALLOCATE 19.1M

__DATA 16.2M

__DATA/__OBJC 484K

__IMAGE 528K

__IMPORT 16K

__LINKEDIT 49.2M

__OBJC 6172K

__OBJC/__DATA 88K

__PAGEZERO 4K

__TEXT 224.4M

__UNICODE 544K

mapped file 223.8M

shared memory 952K

=========== =======

TOTAL 3.7G

TOTAL, minus reserved VM space 2.2G


Model: Macmini4,1, BootROM MM41.0042.B03, 2 processors, Intel Core 2 Duo, 2.4 GHz, 2 GB, SMC 1.65f2

Graphics: NVIDIA GeForce 320M, NVIDIA GeForce 320M, PCI, 256 MB

Memory Module: BANK 0/DIMM0, 1 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142323837334648532D4346382020

Memory Module: BANK 1/DIMM0, 1 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142323837334648532D4346382020

AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x93), Broadcom BCM43xx 1.0 (5.106.98.81.22)

Bluetooth: Version 4.0.9f33 10885, 2 service, 18 devices, 1 incoming serial ports

Network Service: AirPort, AirPort, en1

Serial ATA Device: TOSHIBA MK5055GSXF, 500.11 GB

Serial ATA Device: OPTIARC DVD RW AD-5680H

USB Device: BRCM2070 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x06600000 / 3

USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8218, 0x06630000 / 6

USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x06500000 / 2

Posted on Dec 19, 2012 10:07 AM

Reply
10 replies

Dec 20, 2012 5:10 AM in response to Yer_Man

I backed up the iPhoto Libary folder and did a Rebuild. No change in problem, with the same error message.


I then took the backup copy of the Iphoto Library and loaded onto my son's Macbook Pro (OS X version 10.8.2, Iphoto version 9.4.2). Again, iPhoto crashes - same error message:

CoreImage_crashed_because_it_could_not_allocate_memory(void const*) + 17



This is the error report for the specific thread that crashed on the Macbook Pro:


Thread 16 Crashed:: Dispatch queue: Face Detection

0 com.apple.CoreImage 0x94fb5205 CoreImage_crashed_because_it_could_not_allocate_memory(void const*) + 17

1 com.apple.CoreImage 0x94fb5090 FEVirtualMemory::allocate(unsigned long&, signed char&, FEVirtualMemoryUsage) + 288

2 com.apple.CoreImage 0x94e66f67 fe_buffer_activate(FEContext*, unsigned int) + 489

3 com.apple.CoreImage 0x94e66cea -[FEBuffer beginRenderForContext:textureTarget:warpMode:flipped:flags:] + 164

4 com.apple.CoreImage 0x94ea33dd FETexture::renderSetup(FEContext*, FEFormat) + 205

5 com.apple.CoreImage 0x94ea330b FETexture::textureRenderSetup(FEContext*, void*, FEFormat) + 37

6 com.apple.CoreImage 0x94eac444 FEDivTreeNode::render2(FETreeContext*, FEShape const*, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 462

7 com.apple.CoreImage 0x94ea8d5b FETreeNode::render_(FETreeContext*, FEShape const*, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 151

8 com.apple.CoreImage 0x94ea8f23 FETreeNode::renderTexture(void*, CGRect, FEFormat, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 69

9 com.apple.CoreImage 0x94ea3703 FETexture::retainTextureObject(FETextureCache*, FEContext*, unsigned int, void*, void (*)(void*, CGRect, FEFormat, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*), CGRect const*, bool, fe_texture_object_struct**) + 749

10 com.apple.CoreImage 0x94ea4082 FETexture::newTexture(FEContext*, fe_texture_params_struct const*, void*, void (*)(void*, CGRect, FEFormat, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*), fe_texture_object_struct**) + 996

11 com.apple.CoreImage 0x94ea92b7 FETreeNode::createTexture(FETreeContext*, unsigned int, unsigned int, bool, bool, FETreeTexture*, unsigned int) + 885

12 com.apple.CoreImage 0x94eab76d FEApplyTreeNode::render2(FETreeContext*, FEShape const*, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 719

13 com.apple.CoreImage 0x94ea8d5b FETreeNode::render_(FETreeContext*, FEShape const*, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 151

14 com.apple.CoreImage 0x94eac76f FETreeNode::render(FETreeContext*, FEShape const&, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 97

15 com.apple.CoreImage 0x94eac708 FETreeContext::render(FETreeNode*, FEShape const&, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 52

16 com.apple.CoreImage 0x94eafe57 FETreeContext::renderTree(FETreeNode*, FEShape const&, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 185


End of message

Dec 20, 2012 11:43 AM in response to Applewood

Download iPhoto Library Manager and use its rebuild function. (In Library Manager it's the FIle -> Rebuild command)



This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.



Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.

Dec 28, 2012 9:22 PM in response to Yer_Man

The problem is resolved.


I called Apple Support for help. I knew that all my hardware and software was outside the warranty period and that I would have to pay for the help. But it was only $19.00 for 30-days of help on this problem. And they nailed it.


Recently, I scanned some old family photos. I am not a photography or computer expert, so I experimented with resolution and pixel density settings during the scanning process. In the course of this experimenting, a couple of wallet-sized photos were scanned and captured in files greater than 100 MB. Yep - megabytes. Iphoto facial scanning, apparently, works in memory and it choked while trying to process a couple of 100MB faces.


It was the Apple Support people who, after eliminating other possibiities, requested some file data, instructed me on how to extract it, reviewed it and identified the file size issue.


After deleting the offending JPEG files from Iphoto, the problem went away and did not return. Iphoto has worked fine for more than a week. So that was clearly the problem.


I did not lose any data. I rescanned the problem photos at a resolution consistent with that used by my camera and a file size comparable to my camera. The Iphoto library remained intact and I didn't have to purchase any new software or download any freeware. The support staff at Apple were very patient and persistent in working through my problem. I'm not employed by Apple, don't have relatives employed by Apple, and I don't own the stock. But I recommend people give the Iphoto support group a try before buying new software or mangling their libraries.

Feb 12, 2013 3:39 PM in response to Applewood

You are a life saver !!!

I've had a crashing library for ages and couldn't find the solution, that was before I stumbled across your posting. After reading it I suddenly remembered one of my photos was a scanned picture where I'd obviously set the detailing too high resulting in an excessive large file size. Although perfectly viewable and ok to load into iphoto, iphoto would then crash while trying to find 'faces' but there was no easily identifiable error message. Anyway I found the photo, removed it manually from the library (using Finder) and clicked on iphoto and all loaded perfectly. Can't tell you how many hours wasted trying to find solution so very grateful you posted this.

Mar 30, 2013 6:27 AM in response to oregonpinot

Apple Support can walk you through how to do this. It involves using the Terminal App (which comes with OSX) and typing in some commands to product at txt-formatted report. To me, it was worth the $20 support fee to solve this problem.


One other possible solution, if you have the disk space and the time, is to export your entire library to a separate folder on your MAC. This will leave your library intact. Once in a folder, choose to view the folder contents as a "List" and click on the "Size" column header. The contents in the folder will sort by file size. Again, all this leaves your iPhoto Library intact. If you have large photo files, you can then go back to the iPhoto Library and delete the offending pictures.

Iphoto Crash - Can't allocate memory

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.