Jump to content

Photo 1.10.5 on macOS 12 crashes immediately upon launch


Recommended Posts

I recently decided to give Affinity some more support and bought Designer and Photo from their web store. I already owned Publisher from the web store but had Designer and Photo from the Mac App Store. When I installed Designer everything installed and ran fine. I was able to complete the registration and verification.

Unfortunate the same did not happen with Photo. I copied the downloaded file to the Applications directory. When I launched it, I got the open downloaded Apple prompt and immediately upon clicking to confirm... crash and log is posted. I have attached three such log files that came from my different attempts to install it.

Steps I took were to drag the downloaded copy over the fresh installed copy.

Move the  broken app to the trash and re-install.

Then I tried re-downloading to a different folder on Macintosh HD, and installing from there.

I suspect something went wrong with the conversion from Apple Store to Affinity Store versions, but I don't know how to read these logs. I did go and verify my fonts as suggested elsewhere in this forum, but they all check out OKAY.

Any help would be greatly appreciated.

Affinity Photo-2022-05-25-113529.ips Affinity Photo-2022-05-25-114450.ips Affinity Photo-2022-05-25-115346.ips

Link to comment
Share on other sites

After performing a sybolication of your IPS files one can see that liblibkernel.dylib cores when trying to find/access some replacement font! - Aka ...

...
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   liblibkernel.dylib                       0x10fb879b1 Kernel::FontMap::GetReplacement(Kernel::Font const&) const + 65
1   liblibkernel.dylib                       0x10fa308c4 Kernel::FontCache::GetBestFontMatch(Kernel::Font const&, Kernel::FontMatchType) const + 388
2   liblibkernel.dylib                       0x10fa0066b Kernel::GetClosestAvailableFont(Kernel::Font const&, Kernel::FontMatchType) + 59

...

and it's always the same "font replacement related sort of crash" on your system!

 

The symbolized contents of one of your *.IPS-files ...

Quote

Process:               Affinity Photo [8236]
Path:                  /Applications/Affinity Photo.app/Contents/MacOS/Affinity Photo
Identifier:            com.seriflabs.affinityphoto
Version:               1.10.5 (1.10.5)

Code Type:             X86-64
Parent Process:        launchd [1]
User ID:               502

Date/Time:             2022-05-25 11:44:50.5619 -0400
OS Version:            macOS 12.4 (21F79)
Report Version:        12
Bridge OS Version:     6.5 (19P5071)
Anonymous UUID:        B34EE3C7-A541-6BC8-C801-C43668A1ABD8

Sleep/Wake UUID:       3481D89B-6B8C-42EA-9C0F-603DD98B7BB8

Time Awake Since Boot: 12000 seconds
Time Since Wake:       2486 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000008
Exception Codes:       0x0000000000000001, 0x0000000000000008
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace SIGNAL, Segmentation fault: 11
Terminating Process:   exc handler [8236]

VM Region Info: 0x8 is not in any region.  Bytes before following region: 140737487159288
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      VM_ALLOCATE              7fffffedc000-7fffffedd000 [    4K] r-x/r-x SM=ALI  

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   liblibkernel.dylib                       0x10fb879b1 Kernel::FontMap::GetReplacement(Kernel::Font const&) const + 65
1   liblibkernel.dylib                       0x10fa308c4 Kernel::FontCache::GetBestFontMatch(Kernel::Font const&, Kernel::FontMatchType) const + 388
2   liblibkernel.dylib                       0x10fa0066b Kernel::GetClosestAvailableFont(Kernel::Font const&, Kernel::FontMatchType) + 59

3   libcocoaui                               0x111647a4d -[Application initialiseBackend] + 3341
4   libcocoaui                               0x110fab872 -[ApplicationDelegate applicationWillFinishLaunching:] + 178
5   CoreFoundation                        0x7ff81aec975c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
6   CoreFoundation                        0x7ff81af66b52 ___CFXRegistrationPost_block_invoke + 49
7   CoreFoundation                        0x7ff81af66ad0 _CFXRegistrationPost + 496
8   CoreFoundation                        0x7ff81ae9b398 _CFXNotificationPost + 735
9   Foundation                            0x7ff81bcdf80e -[NSNotificationCenter postNotificationName:object:userInfo:] + 82
10  AppKit                                0x7ff81d90220f -[NSApplication finishLaunching] + 327
11  AppKit                                0x7ff81d901e19 -[NSApplication run] + 250
12  AppKit                                0x7ff81d8d5ee7 NSApplicationMain + 817
13  dyld                                     0x1102d151e start + 462

Thread 1:
0   libsystem_pthread.dylib               0x7ff81ae08f48 start_wqthread

Thread 2:
0   libsystem_pthread.dylib               0x7ff81ae08f48 start_wqthread

Thread 3:
0   libsystem_pthread.dylib               0x7ff81ae08f48 start_wqthread


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x00000109573718  rbx: 0x007ff7b69f9c08  rcx: 0x000000ffffffff  rdx: 0x007ff7b69f9c08
  rdi: 0x007ff7b69f9570  rsi: 0000000000000000  rbp: 0x007ff7b69f9540  rsp: 0x007ff7b69f94d0
   r8: 0x0000000002cfbb   r9: 0xffffffff00000000  r10: 0x007ff85c52f0e8  r11: 0x0000010fc802c0
  r12: 0x007ff7b69f9c08  r13: 0000000000000000  r14: 0x007ff7b69f9570  r15: 0x0000010fc7dcf0
  rip: 0x0000010fb879b1  rfl: 0x00000000010202  cr2: 0x00000000000008
 
Logical CPU:     12
Error Code:      0x00000004 (no mapping for user data read)
Trap Number:     14

Thread 0 instruction stream:
  89 f7 48 89 de e8 95 97-e7 ff b0 01 5b 41 5c 41  ..H.........[A\A
  5e 41 5f 5d c3 66 2e 0f-1f 84 00 00 00 00 00 55  ^A_].f.........U
  48 89 e5 41 57 41 56 41-55 41 54 53 48 83 ec 48  H..AWAVAUATSH..H
  49 89 d4 49 89 f5 49 89-fe 48 8b 05 0f 1b 0e 00  I..I..I..H......
  48 8b 00 48 89 45 d0 e8-e3 78 ea ff 48 89 45 98  H..H.E...x..H.E.
  4c 89 f7 e8 f7 86 e7 ff-41 c7 46 28 ff ff ff 7f  L.......A.F(....
 [49]8b 5d 08 4d 8b 7d 10-4c 39 fb 75 3b 48 8b 05  I.].M.}.L9.u;H..
    <==
  db 1a 0e 00 48 8b 00 48-3b 45 d0 0f 85 f2 00 00  ....H..H;E......
  00 4c 89 f0 48 83 c4 48-5b 41 5c 41 5d 41 5e 41  .L..H..H[A\A]A^A
  5f 5d c3 66 2e 0f 1f 84-00 00 00 00 00 66 90 48  _].f.........f.H
  83 c3 50 49 39 df 74 c5-48 8b 3b 8b 77 08 48 83  ..PI9.t.H.;.w.H.
  c7 10 49 8b 14 24 8b 4a-08 48 83 c2 10 e8 47 47  ..I..$.J.H....GG


Binary Images:
       0x10f9fd000 -        0x10fc68fff liblibkernel.dylib (*) <ed412629-b6bf-3d21-8b68-c1af0e8978f9> /Applications/Affinity Photo.app/Contents/Frameworks/liblibkernel.dylib
       0x110384000 -        0x11220ffff com.seriflabs.libcocoaui (1.0) <1c257d8a-6ed9-3cab-b3c5-e2950ede9fcb> /Applications/Affinity Photo.app/Contents/Frameworks/libcocoaui.framework/Versions/A/libcocoaui
    0x7ff81ae54000 -     0x7ff81b356fff com.apple.CoreFoundation (6.9) <f8e45ef9-9fd2-3331-bb1b-703d5dacdaf1> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7ff81bcd6000 -     0x7ff81c092fff com.apple.Foundation (6.9) <ceb9e591-a1ad-3ebc-ab8d-410f4ff96307> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7ff81d8d2000 -     0x7ff81e760fff com.apple.AppKit (6.9) <832ad371-d3b8-3061-b4e2-1c4e0cffce0b> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
       0x1102cc000 -        0x110337fff dyld (*) <b70ce1ec-b902-3852-8268-05de00bfa8d5> /usr/lib/dyld
    0x7ff81ae07000 -     0x7ff81ae12fff libsystem_pthread.dylib (*) <bc574849-1aae-31e7-b350-916dda999d97> /usr/lib/system/libsystem_pthread.dylib
                 0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    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: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=2.1G resident=0K(0%) swapped_out_or_unallocated=2.1G(100%)
Writable regions: Total=1.6G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.6G(100%)

                                VIRTUAL   REGION
REGION TYPE                        SIZE    COUNT (non-coalesced)
===========                     =======  =======
Activity Tracing                   256K        1
CG image                            16K        3
ColorSync                          208K       23
CoreServices                       132K        1
CoreUI image data                    8K        2
Foundation                          16K        1
Kernel Alloc Once                    8K        1
MALLOC                           319.3M       51
MALLOC guard page                   48K       10
MALLOC_MEDIUM (reserved)         952.0M        8         reserved VM address space (unallocated)
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
ObjC additional data                15K        1
STACK GUARD                       56.0M        4
Stack                             9752K        4
VM_ALLOCATE                         20K        5
__CTF                               756        1
__DATA                            48.3M      541
__DATA_CONST                      30.9M      314
__DATA_DIRTY                      1819K      206
__FONT_DATA                          4K        1
__LINKEDIT                       968.4M       58
__TEXT                             1.1G      547
__UNICODE                          592K        1
dyld private memory               2304K        3
mapped file                      943.2M      477
shared memory                     1280K       16
===========                     =======  =======
TOTAL                              4.8G     2281
TOTAL, minus reserved VM space     3.5G     2281

 

 

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

I've tried several things to get this running. I launched Photo with the control key pressed and then left the first three options checked and added the las Clear Act Data. The app crashes immediately upon h]clicking the Clear button.

I tried it again and this repeated the above only adding the Reset Font Substitutions. Again, an immediate crash upon clicking the Clear button.

Restore the Apple Store version to the applications folder from Time Machine and it runs fine!

So this leads me to believe there is something wrong with:

1) My copy of the download (which I've downloaded twice and stored in different drives.

2) Photo has different install parameters than Designer and therefore file when trying to replace an Apple Store copy. (I say this because the exact procedure for updating the Apple Store copy of Designer with the Affinity Store copy worked flawlessly.)

Link to comment
Share on other sites

Dependent on the origin of the respective Mac based Affinity app (aka where bought from), the Affinity apps use different storage locations for their user data settings.

These are ...

----------

macOS:

  • Affinity Store version
    • Affinity Photo: ~/Library/Application Support/Affinity Photo/user/
    • Affinity Designer: ~/Library/Application Support/Affinity Designer/user/
    • Affinity Publisher: ~/Library/Application Support/Affinity Publisher/user/
       
  • Mac App Store version: 
    • Affinity Photo: ~/Library/Containers/com.seriflabs.affinityphoto/Data/Library/Application Support/user/
    • Affinity Designer: ~/Library/Containers/com.seriflabs.affinitydesigner/Data/Library/Application Support/user/
    • Affinity Publisher: ~/Library/Containers/com.seriflabs.affinitypublisher/Data/Library/Application Support/user/
       
  • Mac App Store version ( Big Sur ) :
    • Affinity Photo: ~/Library/Containers/Affinity Photo/Data/Library/Application Support/user/
    • Affinity Designer: ~/Library/Containers/Affinity Designer/Data/Library/Application Support/user/
    • Affinity Publisher: ~/Library/Containers/Affinity Publisher/Data/Library/Application Support/user/

----------

So in your case under MacOS Monterey the path for APh from the Serif AppStore to look after would then probably be ...

-->   ~/Library/Application Support/Affinity Photo/user/

... and according to the crash reports it would have to do with font replacements and thus IMHO with ...

 

Quote

 

Reset Font Replacements
This will delete font replacements specified when opening files that contain fonts that are not installed. Replacement fonts are automatically selected the next time you open a file missing the same font.

These settings are stored in: font_map.dat  If you have no font replacements this file will not exist )

Please note: This is different from Preferences > Misc > Reset Fonts. This option forces Affinity to Reload/Repopulate fonts listed in the app. This can be useful when using 3rd Party apps to load fonts.

 

... thus I would check there first if a such a file exists under the above shown path ...

-->  font_map.dat  If you have no font replacements this file will not exist )

Further AFAIK, you would need to have a valid license key for AffinityStore app versions in contrast to Apple AppStore app versions.

 

See also related:

 

 

 

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Link to comment
Share on other sites

  • Staff

Hi Joe_G
Welcome to the forums :)

I'm sorry to hear that the app is crashing when you try and open it, I can see you have emailed one of our tech support agents Gareth in his latest response he asked if you have tried V_kyrs latest suggestion above hopefully this will solve your issue. If not please continue to reply to Gareth to avoid any confusion in the future.

Thanks
C

Please tag me using @ in your reply so I can be sure to respond ASAP.

Link to comment
Share on other sites

  • 3 weeks later...

I've tried resetting ALL user settings, then deleting the AppStore version. After installing the AffinityStore version aPhoto will not launch. It either crashes with an crash log or just bounces in the dock then disappears. I gone through all the storage locations listed in a previous post and repeated this same replacement procedure - to no avail.

I'd rather not have Designer and Publisher be AffinityStore versions and be forced to use the AppStore Photo. It seems the next step is nuclear and format and re0-install macOS and all apps. (That seems a bit ridiculous and overkill.)

What am I missing?

To recap: I downloaded Designer from the AffinityStore and installed it over my AppStore version - all runs fine. I download Photo from the AffinityStore and install it over the AppStore version - CRASH. What is the difference between Designer and Photo that one installs and the other does not. Is there any instructions for totally removing the AppStore version? (I've tried repeatedly, obviously I'm missing something.)

Thank you to @V_kyrs for the help with directory locations.

Thank you all,

Joe

Link to comment
Share on other sites

  • 4 weeks later...

Okay, Sorry for going silent but I was unable to worry about this for a time.

Is there a good way to uninstall all the affinity apps? I have Publisher from the Affinity Store since beta tests. The Designer I have was from the Apple Store, but I installed the Affinity Store version over it (and it works fine). The Photo app I have was from the Apple Store with the Affinity store installed over the top. This one is giving me the problems and I had to restore the Apple Store app version from Time Machine to get it to run. Should I use a hybrid approach to @V_kyrs directory locations for each app and simply delete all those directories? 

Being on Monterey I cannot do an erase and install, like the old days, and would prefer to avoid that anyway.

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.