Jump to content
You must now use your email address to sign in [click for more info] ×

Crash when assigning ICC profile via keyboard shortcut


loukash

Recommended Posts

AP 1.8.6 App Store version on El Capitan
Steps to reproduce:

  1. Assign a keyboard shortcut to "Document > Assign ICC Profile" or "Document > Convert Format / ICC Profile"
  2. Open a document/image
  3. Use the keyboard shortcut to open "Assign ICC Profile" or "Convert Format / ICC Profile"
  4. Select a profile
  5. Confirm or cancel by clicking a button or Return
  6. Crash

It may work sometimes if you're lucky.
Double checked with clean preferences by removing ~/Library/Containers/com.seriflabs.affinityphoto/Data/Library – with same result.

No problems when selecting the respective items directly from the menu. (It's not something I'd use daily so that's an acceptable workaround…)

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib               	0x00007fff9bd2c4dd objc_msgSend + 29
1   com.apple.AppKit              	0x00007fff88f67718 -[NSTableView _drawContentsAtRow:column:withCellFrame:] + 50
2   com.apple.AppKit              	0x00007fff88f672d5 -[NSTableView drawRow:clipRect:] + 1678
3   com.apple.AppKit              	0x00007fff88f66a5f -[NSTableView drawRowIndexes:clipRect:] + 919
4   com.apple.AppKit              	0x00007fff88e665f3 -[NSTableView drawRect:] + 1480
5   com.apple.AppKit              	0x00007fff88e45c86 -[NSView _drawRect:clip:] + 3550
6   com.apple.AppKit              	0x00007fff88e43cf5 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 3136
7   com.apple.AppKit              	0x00007fff88e44785 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 5840
8   com.apple.AppKit              	0x00007fff88e44785 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 5840
9   com.apple.AppKit              	0x00007fff88e44785 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 5840
10  com.apple.AppKit              	0x00007fff88e44785 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 5840
11  com.apple.AppKit              	0x00007fff88e42be0 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 334
12  com.apple.AppKit              	0x00007fff88e40feb -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2449
13  com.apple.AppKit              	0x00007fff88e3c3f5 -[NSView displayIfNeeded] + 1950
14  com.apple.AppKit              	0x00007fff88e3bc3c -[NSWindow displayIfNeeded] + 232
15  com.apple.AppKit              	0x00007fff894c041b ___NSWindowGetDisplayCycleObserver_block_invoke6365 + 476
16  com.apple.AppKit              	0x00007fff88e3b5d6 __37+[NSDisplayCycle currentDisplayCycle]_block_invoke + 941
17  com.apple.QuartzCore          	0x00007fff9b626e59 CA::Transaction::run_commit_handlers(CATransactionPhase) + 85
18  com.apple.QuartzCore          	0x00007fff9b626314 CA::Context::commit_transaction(CA::Transaction*) + 160
19  com.apple.QuartzCore          	0x00007fff9b625fd4 CA::Transaction::commit() + 508
20  com.apple.QuartzCore          	0x00007fff9b631863 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 71
21  com.apple.CoreFoundation      	0x00007fff9c383fc7 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
22  com.apple.CoreFoundation      	0x00007fff9c383f37 __CFRunLoopDoObservers + 391
23  com.apple.CoreFoundation      	0x00007fff9c362e48 CFRunLoopRunSpecific + 328
24  com.apple.HIToolbox           	0x00007fff866e5935 RunCurrentEventLoopInMode + 235
25  com.apple.HIToolbox           	0x00007fff866e5677 ReceiveNextEventCommon + 184
26  com.apple.HIToolbox           	0x00007fff866e55af _BlockUntilNextEventMatchingListInModeWithFilter + 71
27  com.apple.AppKit              	0x00007fff88ce3df6 _DPSNextEvent + 1067
28  com.apple.AppKit              	0x00007fff88ce3226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
29  com.apple.AppKit              	0x00007fff88cd7d80 -[NSApplication run] + 682
30  com.apple.AppKit              	0x00007fff88ca1368 NSApplicationMain + 1176
31  com.seriflabs.affinityphoto   	0x0000000103d17984 0x103d16000 + 6532

 

MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2

Link to comment
Share on other sites

7 minutes ago, Gabe said:

I can't replicate this here

Can a "faulty" ICC profile affect it by some means? I've got quite a long list of printer and scanner profiles in /Library/ColorSync/Profiles and ~/Library/ColorSync/Profiles. Stuff like EPSON Perfection1240 dates as far back as 2001. (The scanner still works, being 20 years old!)

But then again, why would it crash only when invoking the window by keyboard shortcut?

1 minute ago, Gabe said:

Can you try the latest beta?

I don't want to install the betas on El Capitan at the moment, but I can try on another partition; especially Sierra & High Sierra being mostly unused and thus quite suitable for beta testing. I'll report back when I've done some testing over the weekend.

2 minutes ago, Gabe said:

Does it matter what keyboard shortcut you use? 

I thought so at first, having initially set ctrl-cmd-P (I think), but eventually I was getting the crash with any combination, cmd-5, cmd-6 etc.

 

MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2

Link to comment
Share on other sites

3 minutes ago, loukash said:

Can a "faulty" ICC profile affect it by some means?

Profile First Aid Log:

Quote

Checking 173 profiles...

[…]

Verify done. Found 96 bad profiles.

Ouch.

MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2

Link to comment
Share on other sites

3 hours ago, Gabe said:

I can't replicate this here. Can you try

AP 1.8.6 App Store version fresh install on Sierra:

Can't reproduce.
Hm.
Back to square one.

MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2

Link to comment
Share on other sites

Copied full ~/Library/Containers/com.seriflabs.affinityphoto preferences from El Capitan partition:
Can't reproduce.
So it's not corrupted preferences either.

MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2

Link to comment
Share on other sites

Back on El Capitan, MacBookPro 2012:
Removed all custom /Library/ColorSync/Profiles and launched AP using an almost virgin test account:
Crash.

Dug out MacBookPro 2008 with El Capitan that's been idle for at least two months now, AP 1.8.6, added keyboard shortcuts:
Crash.

Booted both MacBooks from more or less "virgin" Mountain Lion (!) partitions, launched AP, added shortcuts:
Crash.

So, as far as I can tell, it appears to affect pre-Sierra installations only.

Haven't tested High Sierra and Mojave yet, will do.

MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.