8 Replies Latest reply: May 18, 2009 10:00 AM by Toolgrrl
Toolgrrl Level 1 Level 1 (0 points)
When I try to import images into iPhoto from Image Capture, iPhoto quits unexpectedly. Unfortunately, this is also happening in Preview and Photoshop CS2. Here is the report:
"Process: iPhoto [955]
Path: /Applications/iPhoto.app/Contents/MacOS/iPhoto
Identifier: com.apple.iPhoto
Version: 6.0.6 (6.0.6)
Build Info: iPhotoProject-3220000~4
Code Type: X86 (Native)
Parent Process: launchd [159]

Interval Since Last Report: 619 sec
Crashes Since Last Report: 1
Per-App Interval Since Last Report: 19 sec
Per-App Crashes Since Last Report: 1

Date/Time: 2009-05-18 08:29:34.056 -0500
OS Version: Mac OS X 10.5.7 (9J61)
Report Version: 6
Anonymous UUID: 0162D105-253F-4AB3-A4D5-268E5C259A68

Exception Type: EXCBADACCESS (SIGSEGV)
Exception Codes: KERNINVALIDADDRESS at 0x00000000103e7018
Crashed Thread: 8

Thread 0:
0 libSystem.B.dylib 0xffff0ba1 __memcpy + 1025 (cpu_capabilities.h:246)
1 com.apple.coreui 0x95048084 CUIElement::LoadFromArtFile(unsigned char const*) + 340
2 com.apple.coreui 0x9504863e CUIElement::Load(_QSIContext**, CUIContext const*, long, long, long) + 106
3 com.apple.coreui 0x95028667 CUIRenderer::DrawSlider(CUIContext const*) + 983
4 com.apple.coreui 0x95034eea CUIRenderer::Draw(CGRect, CGContext*, __CFDictionary const*, __CFDictionary const**) + 3946
5 com.apple.AppKit 0x9532800e sliderCelldrawWithFrame_inView_shouldDrawBar + 825
6 com.apple.AppKit 0x95327cd3 -[NSSliderCell drawWithFrame:inView:] + 56
7 com.apple.iPhoto 0x00191210 0x1000 + 1638928
8 com.apple.AppKit 0x950c74a7 -[NSControl drawRect:] + 378
9 com.apple.AppKit 0x9515b22c -[NSView _drawRect:clip:] + 3853
10 com.apple.AppKit 0x95159d23 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1050
11 com.apple.AppKit 0x95158679 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 759
12 com.apple.AppKit 0x951594d3 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 4433
13 com.apple.AppKit 0x951594d3 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 4433
14 com.apple.AppKit 0x951594d3 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 4433
15 com.apple.AppKit 0x95240929 -[NSNextStepFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 340
16 com.apple.AppKit 0x95154adf -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 3090
17 com.apple.AppKit 0x950954b3 -[NSView displayIfNeeded] + 933
18 com.apple.AppKit 0x95095061 -[NSWindow displayIfNeeded] + 189
19 com.apple.AppKit 0x95094e84 _handleWindowNeedsDisplay + 436
20 com.apple.CoreFoundation 0x90907942 __CFRunLoopDoObservers + 466
21 com.apple.CoreFoundation 0x90908c9c CFRunLoopRunSpecific + 844
22 com.apple.CoreFoundation 0x90909c78 CFRunLoopRunInMode + 88
23 com.apple.HIToolbox 0x940dd28c RunCurrentEventLoopInMode + 283
24 com.apple.HIToolbox 0x940dd0a5 ReceiveNextEventCommon + 374
25 com.apple.HIToolbox 0x940dcf19 BlockUntilNextEventMatchingListInMode + 106
26 com.apple.AppKit 0x95092d0d _DPSNextEvent + 657
27 com.apple.AppKit 0x950925c0 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
28 com.apple.AppKit 0x9508b5fb -[NSApplication run] + 795
29 com.apple.AppKit 0x95058834 NSApplicationMain + 574
30 com.apple.iPhoto 0x0000ae06 0x1000 + 40454
31 com.apple.iPhoto 0x0000ad21 0x1000 + 40225

Thread 1:
0 libSystem.B.dylib 0x94b4b46e _semwaitsignal + 10
1 libSystem.B.dylib 0x94b75dcd pthreadcondwait$UNIX2003 + 73
2 com.apple.AppKit 0x9507d805 -[NSViewHierarchyLock lockForReadingWithExceptionHandler:] + 246
3 com.apple.AppKit 0x95155ece -[NSWindow _copyAcquiredViewHierarchyLock] + 87
4 com.apple.AppKit 0x950f8f7c -[NSUIHeartBeat _heartBeatThread:] + 1357
5 com.apple.Foundation 0x9000de0d -[NSThread main] + 45
6 com.apple.Foundation 0x9000d9b4 _NSThread__main_ + 308
7 libSystem.B.dylib 0x94b75155 pthreadstart + 321
8 libSystem.B.dylib 0x94b75012 thread_start + 34

Thread 2:
0 libSystem.B.dylib 0x94b4b46e _semwaitsignal + 10
1 libSystem.B.dylib 0x94b75dcd pthreadcondwait$UNIX2003 + 73
2 com.apple.QuartzCore 0x90374a09 fefragmentthread + 54
3 libSystem.B.dylib 0x94b75155 pthreadstart + 321
4 libSystem.B.dylib 0x94b75012 thread_start + 34

Thread 3:
0 libSystem.B.dylib 0x94b936fa select$DARWIN_EXTSN + 10
1 libSystem.B.dylib 0x94b75155 pthreadstart + 321
2 libSystem.B.dylib 0x94b75012 thread_start + 34

Thread 4:
0 libSystem.B.dylib 0x94b67f9a read$UNIX2003 + 10
1 com.apple.CoreFoundation 0x9095f526 CFURLCreateDataAndPropertiesFromResource + 166
2 com.apple.CoreFoundation 0x908bcd68 CFBundleCopyLocalizedString + 376
3 com.apple.Foundation 0x9002c2c0 -[NSBundle localizedStringForKey:value:table:] + 96
4 com.apple.iPhoto 0x0026785b 0x1000 + 2517083
5 com.apple.iPhoto 0x00190181 0x1000 + 1634689
6 com.apple.iPhoto 0x0019049a 0x1000 + 1635482
7 com.apple.Foundation 0x9000de0d -[NSThread main] + 45
8 com.apple.Foundation 0x9000d9b4 _NSThread__main_ + 308
9 libSystem.B.dylib 0x94b75155 pthreadstart + 321
10 libSystem.B.dylib 0x94b75012 thread_start + 34

Thread 5:
0 libSystem.B.dylib 0x94b67e5a getdirentries + 10
1 libSystem.B.dylib 0x94b67d94 readdir + 70
2 com.apple.CoreFoundation 0x908ba271 _CFBundleCopyDirectoryContentsAtPath + 1409
3 com.apple.CoreFoundation 0x908bd240 _CFBundleTryOnePreferredLprojNameInDirectory + 240
4 com.apple.CoreFoundation 0x908beb03 _CFBundleAddPreferredLprojNamesInDirectory + 739
5 com.apple.CoreFoundation 0x908ac980 _CFBundleGetLanguageSearchList + 160
6 com.apple.CoreFoundation 0x908bc6dc CFBundleCopyResourceURL + 28
7 com.apple.CoreFoundation 0x908ab144 CFBundleGetLocalInfoDictionary + 84
8 com.apple.CoreFoundation 0x908ab268 CFBundleGetValueForInfoDictionaryKey + 56
9 com.apple.MediaBrowser 0x3e661f4e -[MediaGrabberiTunes _loadMusicThreaded] + 725
10 com.apple.Foundation 0x9000de0d -[NSThread main] + 45
11 com.apple.Foundation 0x9000d9b4 _NSThread__main_ + 308
12 libSystem.B.dylib 0x94b75155 pthreadstart + 321
13 libSystem.B.dylib 0x94b75012 thread_start + 34

Thread 6:
0 libSystem.B.dylib 0x94b861fa pread$UNIX2003 + 10
1 ...ple.CoreServices.CarbonCore 0x93e0890d PBReadForkSync + 131
2 ...ple.CoreServices.CarbonCore 0x93e09dbd FSReadFork + 59
3 com.apple.Foundation 0x900e1537 _NSCopyForkUsingBuffer + 359
4 com.apple.Foundation 0x900e11f3 -[NSFileManager _newReplicatePath:ref:atPath:ref:operation:fileMap:handler:] + 3427
5 com.apple.Foundation 0x900e0483 -[NSFileManager _replicatePath:atPath:operation:fileMap:handler:] + 675
6 com.apple.Foundation 0x900e01c2 -[NSFileManager copyPath:toPath:handler:] + 242
7 com.apple.iPhoto 0x001401cd 0x1000 + 1307085
8 com.apple.iPhoto 0x000d8604 0x1000 + 882180
9 com.apple.iPhoto 0x0022c973 0x1000 + 2275699
10 libSystem.B.dylib 0x94b75155 pthreadstart + 321
11 libSystem.B.dylib 0x94b75012 thread_start + 34

Thread 7:
0 libSystem.B.dylib 0x94b861fa pread$UNIX2003 + 10
1 ...ple.CoreServices.CarbonCore 0x93e0890d PBReadForkSync + 131
2 ...ple.CoreServices.CarbonCore 0x93e09dbd FSReadFork + 59
3 com.apple.iPhoto 0x002de4b2 0x1000 + 3003570
4 com.apple.iPhoto 0x00094def 0x1000 + 605679
5 com.apple.iPhoto 0x00095db2 0x1000 + 609714
6 com.apple.Foundation 0x9000de0d -[NSThread main] + 45
7 com.apple.Foundation 0x9000d9b4 _NSThread__main_ + 308
8 libSystem.B.dylib 0x94b75155 pthreadstart + 321
9 libSystem.B.dylib 0x94b75012 thread_start + 34

Thread 8 Crashed:
0 com.apple.ColorSync 0x91eb59cc CMMPrivateTagToProfile::MakeProfile(CMMTag*, CMMConversionType*, CMMMemMgr&) + 688
1 com.apple.ColorSync 0x91eb48cf CMMProfileInfoContainer::CountAndProcessAATags(CMMProfile*, CMMPrivateTagToProfile*, CMMProfileInfoContainer*, CMMMemMgr&) + 131
2 com.apple.ColorSync 0x91eb55f4 CMMProfileInfoContainer::CMMProfileInfoContainer(unsigned long, CMMProfile*, CMMMemMgr&) + 90
3 com.apple.ColorSync 0x91eb4842 CMMProfileInfoContainer::ProfileIsAContainer(CMMProfileInfo&, CMMMemMgr&) + 118
4 com.apple.ColorSync 0x91eb34cc CMMProfileInfoContainer::CMMProfileInfoContainer(NCMConcatProfileSet*, CMMMemMgr&) + 582
5 com.apple.ColorSync 0x91eb21a6 DoConcatColorWorld + 328
6 com.apple.ColorSync 0x91eb1f25 CMM_ConcatColorWorld + 195
7 com.apple.ColorSync 0x91eb1ad9 NCWConcatColorWorld + 1135
8 libCSync.A.dylib 0x909fd2c2 create + 806
9 libCSync.A.dylib 0x909fc347 getInfo + 645
10 libCSync.A.dylib 0x909fc6da CMSValidateProfile + 560
11 com.apple.CoreGraphics 0x95a7cddf CGCMSInterfaceValidateProfile + 27
12 com.apple.CoreGraphics 0x95a7cdbf CGCMSUtilsValidateProfile + 24
13 com.apple.CoreGraphics 0x95aded3d CGColorSpaceCreateWithICCData + 56
14 com.apple.CoreGraphics 0x95c078ed CGColorSpaceCreateWithICCProfile + 33
15 com.apple.ImageIO.framework 0x93ba8f7a CGColorSpaceCacheCreateColorSpace + 399
16 com.apple.ImageIO.framework 0x93ab62f4 initImageTIFF + 3190
17 com.apple.ImageIO.framework 0x93ab5679 _CGImagePluginInitTIFF + 19
18 com.apple.ImageIO.framework 0x93aaf1be makeImagePlus + 503
19 com.apple.ImageIO.framework 0x93aaeb7e CGImageSourceCreateImageAtIndex + 123
20 com.apple.iPhoto 0x001bdddb 0x1000 + 1822171
21 com.apple.iPhoto 0x001bb59d 0x1000 + 1811869
22 com.apple.iPhoto 0x0012d527 0x1000 + 1230119
23 com.apple.iPhoto 0x0012a2fc 0x1000 + 1217276
24 com.apple.iPhoto 0x0012a4b2 0x1000 + 1217714
25 com.apple.iPhoto 0x000d4935 0x1000 + 866613
26 com.apple.iPhoto 0x0022c973 0x1000 + 2275699
27 libSystem.B.dylib 0x94b75155 pthreadstart + 321
28 libSystem.B.dylib 0x94b75012 thread_start + 34

Thread 8 crashed with X86 Thread State (32-bit):
eax: 0x00000001 ebx: 0x91eb573f ecx: 0xb03dfb0c edx: 0x94b4db00
edi: 0x12948dc0 esi: 0x103e7010 ebp: 0xb03dfcd8 esp: 0xb03dfb80
ss: 0x0000001f efl: 0x00010286 eip: 0x91eb59cc cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x0000001f gs: 0x00000037
cr2: 0x103e7018"

I'm beginning to think it is my Colorsync profiles. When I go to Colorsync's Profile First Aid, I try to repair problems it finds & this is the message I get:

"Searching for profiles...
Checking 72 profiles...
/Library/ColorSync/Profiles/EPSON Stylus Photo RX500
Tag 'dmnd': Tag size is not correct. Could not be fixed.
/Library/ColorSync/Profiles/EPSON Stylus Photo RX500 TPU
Tag 'dmnd': Tag size is not correct. Could not be fixed.
/Library/ColorSync/Profiles/EW-CIE RGB
Tag 'desc': Tag size is not correct. Could not be fixed.
/Library/ColorSync/Profiles/EW-SMPTE
Tag 'desc': Tag size is not correct. Could not be fixed.
/Library/ColorSync/Profiles/EW-sRGB
Tag 'dmnd': Tag size is not correct. Could not be fixed.
/Library/Application Support/Adobe/Color/Profiles/Recommended/CoatedFOGRA27.icc
Tag 'desc': Tag size is not correct.
The file is locked. Could not be fixed.
Repair done - 0 out of 6 profiles fixed."

So how can I repair these profiles? Am I correct in assuming the profiles are the culprit? Any help would be much appreciated!

MacBook Pro, Mac OS X (10.5.7), 2.16 GHz Intel Core 2 Duo
  • 1. Re: Iphoto crashes when importing files...
    Terence Devlin Level 10 Level 10 (123,735 points)
    It certainly looks like ColorSync is the culprit. Let's try a test:

    Create a new Library: Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Create Library' and import a few pics, see if that works okay. Post back with the results.

    Regards

    TD
  • 2. Re: Iphoto crashes when importing files...
    Toolgrrl Level 1 Level 1 (0 points)
    I followed your instructions & it crashed again. I created the test library on my desktop. I only tried to import a file I scanned using Image Capture, should I try others? Do you want to see the crash report?
  • 3. Re: Iphoto crashes when importing files...
    Terence Devlin Level 10 Level 10 (123,735 points)
    Can you compare the Crash Reports: See above it tells you which thread crashed:

    Exception Type: EXCBADACCESS (SIGSEGV)
    Exception Codes: KERNINVALIDADDRESS at 0x00000000103e7018
    *Crashed Thread: 8*


    And Thread 8 runs:

    Thread 8 Crashed:
    0 com.apple.ColorSync 0x91eb59cc CMMPrivateTagToProfile::MakeProfile(CMMTag*, CMMConversionType*, CMMMemMgr&) + 688
    1 com.apple.ColorSync 0x91eb48cf CMMProfileInfoContainer::CountAndProcessAATags(CMMProfile*, CMMPrivateTagToProfile*, CMMProfileInfoContainer*, CMMMemMgr&) + 131
    2 com.apple.ColorSync 0x91eb55f4 CMMProfileInfoContainer::CMMProfileInfoContainer(unsigned long, CMMProfile*, CMMMemMgr&) + 90


    etc.

    The Thread Number may well be different, but does the Crashed Thread also reference Color Sync?

    Regards

    TD
  • 4. Re: Iphoto crashes when importing files...
    Toolgrrl Level 1 Level 1 (0 points)
    Yup, different thread, but it looks very similar:

    "Exception Type: EXCBADACCESS (SIGSEGV)
    Exception Codes: KERNINVALIDADDRESS at 0x000000000f9d1018
    Crashed Thread: 10"

    "Thread 10 Crashed:
    0 com.apple.ColorSync 0x91eb59cc CMMPrivateTagToProfile::MakeProfile(CMMTag*, CMMConversionType*, CMMMemMgr&) + 688
    1 com.apple.ColorSync 0x91eb48cf CMMProfileInfoContainer::CountAndProcessAATags(CMMProfile*, CMMPrivateTagToProfile*, CMMProfileInfoContainer*, CMMMemMgr&) + 131
    2 com.apple.ColorSync 0x91eb55f4 CMMProfileInfoContainer::CMMProfileInfoContainer(unsigned long, CMMProfile*, CMMMemMgr&) + 90
    3 com.apple.ColorSync 0x91eb4842 CMMProfileInfoContainer::ProfileIsAContainer(CMMProfileInfo&, CMMMemMgr&) + 118
    4 com.apple.ColorSync 0x91eb34cc CMMProfileInfoContainer::CMMProfileInfoContainer(NCMConcatProfileSet*, CMMMemMgr&) + 582
    5 com.apple.ColorSync 0x91eb21a6 DoConcatColorWorld + 328
    6 com.apple.ColorSync 0x91eb1f25 CMM_ConcatColorWorld + 195
    7 com.apple.ColorSync 0x91eb1ad9 NCWConcatColorWorld + 1135
    8 libCSync.A.dylib 0x909fd2c2 create + 806
    9 libCSync.A.dylib 0x909fc347 getInfo + 645
    10 libCSync.A.dylib 0x909fc6da CMSValidateProfile + 560
    11 com.apple.CoreGraphics 0x95a7cddf CGCMSInterfaceValidateProfile + 27
    12 com.apple.CoreGraphics 0x95a7cdbf CGCMSUtilsValidateProfile + 24
    13 com.apple.CoreGraphics 0x95aded3d CGColorSpaceCreateWithICCData + 56
    14 com.apple.CoreGraphics 0x95c078ed CGColorSpaceCreateWithICCProfile + 33
    15 com.apple.ImageIO.framework 0x93ba8f7a CGColorSpaceCacheCreateColorSpace + 399
    16 com.apple.ImageIO.framework 0x93adefa2 initImageJPEG + 2181
    17 com.apple.ImageIO.framework 0x93ade712 _CGImagePluginInitJPEG + 65
    18 com.apple.ImageIO.framework 0x93b195ae CGImageSourceCreateThumbnailAtIndex + 846
    19 com.apple.AppKit 0x952ee0b3 -[NSNavFBENode _calculatePreviewThumbnailImageWithMaxSize:isThumbnail:] + 961
    20 com.apple.AppKit 0x952edcec -[NSNavFBENode thumbnailImageWithSize:] + 56
    21 com.apple.AppKit 0x952eda31 +[NSNavFBENodePreviewHelper _subthreadComputePreviewThumbnailImages] + 579
    22 com.apple.Foundation 0x9000de0d -[NSThread main] + 45
    23 com.apple.Foundation 0x9000d9b4 _NSThread__main_ + 308
    24 libSystem.B.dylib 0x94b75155 pthreadstart + 321
    25 libSystem.B.dylib 0x94b75012 thread_start + 34"
  • 5. Re: Iphoto crashes when importing files...
    Terence Devlin Level 10 Level 10 (123,735 points)
    Certainly looks like a ColorSync issue, though I'm not sure how to progress from here. Do these files have ColorSync profiles attached to them already, and if so, which ones?

    Regards

    TD
  • 6. Re: Iphoto crashes when importing files...
    Toolgrrl Level 1 Level 1 (0 points)
    I would assume it has a Colorsync profile that was created when it was scanned in using Image Capture, but I don't know how to check. And how can I change the profile that Image Capture uses? Is there any way to repair the profiles that are messed up?

    Thanks for your help!
  • 7. Re: Iphoto crashes when importing files...
    Terence Devlin Level 10 Level 10 (123,735 points)
    Open any of the images in Preview and with the Tools menu / Inspector you can find out the color profile of the images.

    Regards

    TD
  • 8. Re: Iphoto crashes when importing files...
    Toolgrrl Level 1 Level 1 (0 points)
    Haha! That's the thing: Preview also crashes when I try opening these particular files. In fact, if I "get info" in Finder with one of these images, and I click on the "Preview" button, Finder seems to temporarily crash.

    Fortunately, I've just fixed my Epson scanner so I can scan from "Epson Scan" & not have to rely on Image Capture. So this may be a non-issue now. But I would like to repair those Colorsync profiles so that I don't have problems in the future. Any ideas?