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

iphoto crashes when exporting large images

I recently imported 136 photos from my Nikon camera. The images range in size from 9mb to 36mb. After editing them, I attempted to export them using medium quality and large size (jpegs). iPhoto crashed. I then reduced the number of images i exported from all 136 to 20 at a time. iPhoto crashed again. When I reduced the number to 5 at a time, i was able to successfully export all the images. Sometimes, depending on the individual size of images, I could export 10 at a time. I did an additional experiment by taking 20 images that crashed iPhoto when attempting to export. I changed the export options to low quality and small size and the export succeeded. I have also completely rebuilt the database to ensure corruption was not the problem.


I am hoping there will be a fix so I don't have to export 5 images at a time. Any other help would be greatly appreciated.

iPhoto '11, OS X Mountain Lion (10.8.3)

Posted on May 13, 2013 3:59 PM

Reply
14 replies

May 14, 2013 5:22 PM in response to LarryHN

Here is the crash. I took a quick look and thread five said it crashed because it was unable to allocate memory. So I included thread 5 below.


{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf370

{\fonttbl\f0\fswiss\fcharset0 Helvetica;}

{\colortbl;\red255\green255\blue255;}

\margl1440\margr1440\vieww14460\viewh21260\viewkind0

\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx792 0\tx8640\pardirnatural


\f0\fs24 \cf0 Process: iPhoto [1264]\

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

Identifier: com.apple.iPhoto\

Version: 9.4.3 (9.4.3)\

Build Info: iPhotoProject-720091000000000~1\

App Item ID: 408981381\

App External ID: 15017489\

Code Type: X86 (Native)\

Parent Process: launchd [212]\

User ID: 501\

\

Date/Time: 2013-05-11 15:19:09.903 -0700\

OS Version: Mac OS X 10.8.3 (12D78)\

Report Version: 10\

\

Interval Since Last Report: 7727 sec\

Crashes Since Last Report: 1\

Per-App Interval Since Last Report: 2266 sec\

Per-App Crashes Since Last Report: 1\

Anonymous UUID: A3A9AFA9-D7BC-7009-31CC-4C1ACCE8D6B4\

\

Crashed Thread: 5\

\

Exception Type: EXC_BAD_ACCESS (SIGSEGV)\

Exception Codes: KERN_INVALID_ADDRESS at 0x00000000ffffffff\

\

VM Regions Near 0xffffffff:\

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

\

\

Thread 5 Crashed:\

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

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

2 com.apple.CoreImage 0x9015263b fe_bitmap_init_(fe_bitmap_struct*, int, int, unsigned long, unsigned long, unsigned long, FEFormat) + 112\

3 com.apple.CoreImage 0x901525c0 fe_bitmap_init(fe_bitmap_struct*, unsigned long, unsigned long, unsigned long, FEFormat) + 84\

4 com.apple.CoreImage 0x9015410d FETiledBitmap::assembleBitmap(fe_bitmap_struct&, FEFormat const&, CGRect const&, CGRect&, FETiledBitmapToken_s*&) + 777\

5 com.apple.CoreImage 0x902192c8 -[FEOpenCLContext(Buffer) _textureForBitmap:bounds:target:wrapMode:filterMode:buffer:] + 641\

6 com.apple.CoreImage 0x9021ac18 -[FEContext(Texture) textureForBitmap:bounds:target:wrapMode:filterMode:buffer:] + 351\

7 com.apple.CoreImage 0x9011dbcf -[FEBufferImage _createTextureWithContext:bounds:target:wrapMode:filterMode:buffer:] + 307\

8 com.apple.CoreImage 0x90123116 -[FEImage(Internal) createTextureWithContext:bounds:target:wrapMode:filterMode:buffer:] + 294\

9 com.apple.CoreImage 0x90140673 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**) + 461\

10 com.apple.CoreImage 0x90141112 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 0x90146347 FETreeNode::createTexture(FETreeContext*, unsigned int, unsigned int, bool, bool, FETreeTexture*, unsigned int) + 885\

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

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

14 com.apple.CoreImage 0x90145fb3 FETreeNode::renderTexture(void*, CGRect, FEFormat, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 69\

15 com.apple.CoreImage 0x90140793 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\

16 com.apple.CoreImage 0x90141112 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\

17 com.apple.CoreImage 0x90146347 FETreeNode::createTexture(FETreeContext*, unsigned int, unsigned int, bool, bool, FETreeTexture*, unsigned int) + 885\

18 com.apple.CoreImage 0x90146d54 FEImageOrUnaryTreeNode::render2(FETreeContext*, FEShape const*, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 876\

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

20 com.apple.CoreImage 0x901492ad FECropTreeNode::render2(FETreeContext*, FEShape const*, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 181\

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

22 com.apple.CoreImage 0x90145fb3 FETreeNode::renderTexture(void*, CGRect, FEFormat, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 69\

23 com.apple.CoreImage 0x90140793 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\

24 com.apple.CoreImage 0x90141112 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\

25 com.apple.CoreImage 0x90146347 FETreeNode::createTexture(FETreeContext*, unsigned int, unsigned int, bool, bool, FETreeTexture*, unsigned int) + 885\

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

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

28 com.apple.CoreImage 0x90149510 FEDivTreeNode::render2(FETreeContext*, FEShape const*, void (*)(FEContext*, void*, FEFormat), void (*)(FEContext*, void*), void*) + 522\

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

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

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

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

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

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

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

36 com.apple.CoreImage 0x90122ae0 -[FEImage getBitmap:withContext:origin:transform:colorSpace:] + 1442\

37 com.apple.CoreImage 0x901229f5 -[FEImage getBitmap:withContext:origin:transform:colorSpace:] + 1207\

38 com.apple.CoreImage 0x900d4407 -[CIContextImpl render:toBitmap:rowBytes:bounds:format:colorSpace:] + 353\

39 com.apple.CoreImage 0x900d32fb -[CIContext render:toBitmap:rowBytes:bounds:format:colorSpace:] + 93\

40 com.apple.geode 0x010d3f74 -[DGQuartzContext renderImage:toBuffer:bpr:fromRect:inRect:context:] + 1744\

41 com.apple.geode 0x0105f1b3 -[DGContext renderImage:toBuffer:bpr:fromRect:inRect:purpose:] + 541\

42 com.apple.geode 0x0105ef8e -[DGContext renderImage:toBuffer:bpr:fromRect:purpose:] + 131\

43 com.apple.geode 0x01077694 -[DGRenderFactory renderRequest:intoPageRef:skipThreadCheck:] + 5429\

44 com.apple.geode 0x01078129 -[DGRenderFactory renderHandler:] + 197\

45 libobjc.A.dylib 0x97c795d3 -[NSObject performSelector:withObject:] + 70\

46 com.apple.proxtcore 0x01fcfe59 -[XTSubscription postMessage:] + 191\

47 com.apple.proxtcore 0x01fcf71f -[XTDistributor distributeMessage:] + 681\

48 com.apple.proxtcore 0x01fcef42 -[XTThread handleMessage:] + 515\

49 com.apple.proxtcore 0x01fcdb2f -[XTThread run:] + 434\

50 com.apple.Foundation 0x980ed7c8 -[NSThread main] + 45\

51 com.apple.Foundation 0x980ed74b __NSThread__main__ + 1396\

52 libsystem_c.dylib 0x92d355b7 _pthread_start + 344\

53 libsystem_c.dylib 0x92d1fd4e thread_start + 34\

\

Sep 21, 2013 12:01 PM in response to cbmcn

HI, I got the same issue. the workaround is to copy the photos to your desktop only then move those to a folder or external sd card/drive. That seems to work. If I try to export or drag and drop the photos to a new folder or sdcard it crashes after 5 photos.


I got a similar error log as above.


Maybe the library is corrupted?? I didn't get the error before but recently I've been trying to export the photos out of the library to an sd card .. then it asked me to recreate the thumbnail images.. then the crash started to occur.


Any suggestions,


-Wil

Sep 21, 2013 12:15 PM in response to wilpowr2k

That original post makes no mention of SD cards or the location exported to. In your case the problem is most likely related to the format of the card you were exporting to. Given that iPhoto can export to a folder on the desktop, that's the obvious suspicion. Most of these devices are formatted one of the MS-DOS FAT formats and these have a strict limit on the number of items that can be on the top level of the volume. Putting the files into a folder sidesteps this.

Sep 21, 2013 4:55 PM in response to cbmcn

Hi Terrence,


I just did a test.


I export to the desktop by dragging the file from iPhoto to a folder on the desktop.

Then I move those files to the SD card.


It seems to be more consistent now and works. I guess you're right, it doesn't seem to work as well when I go directly to the SD card. However, it does take a while for it to export. I guess the files are in RAW and it has to convert them to JPEG.


Thanks for your input nevertheless.



Is there a way to tell it to export RAW (original files ) rather then converting them to JPEG?


Thanks,


-Wil

Sep 22, 2013 2:06 AM in response to cbmcn

Hi Terrence and Larry,


Yes, the export does allow more options.


On a side note, I wonder if you guys can point me to a thread or know the answer to another dilema of mine.


I'm having trouble with getting audio with Adobe Flash content web courses running in Safari.

I tried changing the MIDI settings to 44100 khz at 16 bit channels. but doesn't seem to work. My

Flash is up todate. The video shows up but just no sound. I'm able to view flash content from youtube.com

ok.


Don't know why the flash content from online course won't work.


I also try the same site on firefox, IE, and Google Chrome.. doesn't seem to resolve the audio issue.

I'm guessing there's some setting in the web content that controls the audio I should look into??


Thanks,


-Wil

iphoto crashes when exporting large images

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