Jump to content
davorin

Designer/Photo freezes when selecting font on macOS 10.13.6

Recommended Posts

EHLO (o;

Just installed a fresh copy of macOS 10.13.6 and reinstalled designer and photo from the app store..

Creating a new document, place some text, change font size, style works fine...

But as soon I click into the font menu the beach ball appears and rotates forever until I kill the designer or photo.

Anyone else experienced this? Didn't happen on 10.12.6 in the past.

Interestingly it freezes both applications.

 

Share this post


Link to post
Share on other sites

Hello Gabe

 

Actually there is no crash report as I have to kill either designer or photo...

In the hang report I see:

 

Quote

Date/Time:       2018-10-07 12:48:27 +0200
OS Version:      Mac OS X 10.13.6 (Build 17G65)
Architecture:    x86_64h
Report Version:  26

Data Source:     Stackshots

Command:         Affinity Designer
Path:            /Applications/Affinity Designer.app/Contents/MacOS/Affinity Designer
Identifier:      com.seriflabs.affinitydesigner
Version:         1.6.1 (1.6.7)
App Item ID:     824171161
App External ID: 826083165
Parent:          launchd [1]
PID:             11788

Event:           hang
Duration:        1.20s (process was unresponsive for 5 seconds before sampling)
Steps:           12 (100ms sampling interval)

Hardware model:  iMac14,2
Active cpus:     8
Boot args:       dart=0 

Time Awake Since Boot: 90000s


--------------------------------------------------
Timeline format: stacks are sorted chronologically
Use -i and -heavy to re-report with count sorting
--------------------------------------------------

Heaviest stack for the main thread of the target process:
  12  ??? (Affinity Designer + 5828) [0x1083e96c4]
  12  NSApplicationMain + 804 (AppKit + 23154) [0x7fff51a5fa72]
  12  -[NSApplication run] + 764 (AppKit + 223365) [0x7fff51a90885]
  12  -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044 (AppKit + 8224308) [0x7fff52231e34]
  12  _DPSNextEvent + 2085 (AppKit + 268915) [0x7fff51a9ba73]
  12  _BlockUntilNextEventMatchingListInModeWithFilter + 64 (HIToolbox + 194692) [0x7fff537ea884]
  12  ReceiveNextEventCommon + 366 (HIToolbox + 195087) [0x7fff537eaa0f]
  12  RunCurrentEventLoopInMode + 286 (HIToolbox + 195990) [0x7fff537ead96]
  12  CFRunLoopRunSpecific + 483 (CoreFoundation + 545107) [0x7fff54500153]
  12  __CFRunLoopRun + 1240 (CoreFoundation + 547000) [0x7fff545008b8]
  12  __CFRunLoopDoObservers + 527 (CoreFoundation + 668479) [0x7fff5451e33f]
  12  __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23 (CoreFoundation + 668695) [0x7fff5451e417]
  12  __65+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayRefresh]_block_invoke + 283 (AppKit + 9669234) [0x7fff52392a72]
  12  CA::Transaction::commit() + 487 (QuartzCore + 66757) [0x7fff5f8704c5]
  12  CA::Context::commit_transaction(CA::Transaction*) + 337 (QuartzCore + 67895) [0x7fff5f870937]
  12  CA::Layer::prepare_commit(CA::Transaction*) + 391 (QuartzCore + 73963) [0x7fff5f8720eb]
  12  CA::Render::prepare_image(CGImage*, CGColorSpace*, unsigned int, double) + 20 (QuartzCore + 142571) [0x7fff5f882ceb]
  12  CA::Render::copy_image(CGImage*, CGColorSpace*, unsigned int, double, double) + 519 (QuartzCore + 727861) [0x7fff5f911b35]
  12  CA::Render::create_image(CGImage*, CGColorSpace*, unsigned int, double) + 253 (QuartzCore + 716856) [0x7fff5f90f038]
  12  CA::Render::(anonymous namespace)::create_image_from_image_provider(CGImage*, CGImageProvider*, CGColorSpace*, unsigned int) + 633 (QuartzCore + 719982) [0x7fff5f90fc6e]
  12  CGImageProviderCopyImageBlockSetWithOptions + 137 (CoreGraphics + 112519) [0x7fff54939787]
  12  subImageProviderCopyImageBlockSet + 333 (CoreGraphics + 112910) [0x7fff5493990e]
  12  CGImageProviderCopyImageBlockSetWithOptions + 137 (CoreGraphics + 112519) [0x7fff54939787]
  12  __csiCompressImageProviderCopyImageBlockSetWithOptions + 1163 (CoreUI + 100200) [0x7fff68413768]
  12  -[_CSIRenditionBlockData expandCSIBitmapData:fromSlice:makeReadOnly:] + 1041 (CoreUI + 102973) [0x7fff6841423d]
  12  _dispatch_group_wait_slow + 151 (libdispatch.dylib + 28265) [0x7fff7c30ee69]
  12  semaphore_wait_trap + 10 (libsystem_kernel.dylib + 78406) [0x7fff7c48a246]
 *12  semaphore_wait_continue + 0 (kernel + 596880) [0xffffff8000291b90]


Process:         Affinity Designer [11788]
Path:            /Applications/Affinity Designer.app/Contents/MacOS/Affinity Designer
Architecture:    x86_64
Parent:          launchd [1]
UID:             501
Task size:       402.04 MB
CPU Time:        0.011s (15.1M cycles, 6.3M instructions, 2.39c/i)
Note:            Unresponsive for 5 seconds before sampling
Note:            2 idle work queue threads omitted
Dispatch Thread Soft Limit Reached:   64  (too many dispatch threads blocked in synchronous operations)

  Thread 0x8b14b            DispatchQueue 1           12 samples (1-12)         priority 47 (base 47)
  <process frontmost, thread QoS user interactive (requested user interactive), process unclamped, process received importance donation from WindowServer [187], IO tier 0>
  12  ??? (Affinity Designer + 5828) [0x1083e96c4] 1-12
    12  NSApplicationMain + 804 (AppKit + 23154) [0x7fff51a5fa72] 1-12
      12  -[NSApplication run] + 764 (AppKit + 223365) [0x7fff51a90885] 1-12
        12  -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044 (AppKit + 8224308) [0x7fff52231e34] 1-12
          12  _DPSNextEvent + 2085 (AppKit + 268915) [0x7fff51a9ba73] 1-12
            12  _BlockUntilNextEventMatchingListInModeWithFilter + 64 (HIToolbox + 194692) [0x7fff537ea884] 1-12
              12  ReceiveNextEventCommon + 366 (HIToolbox + 195087) [0x7fff537eaa0f] 1-12
                12  RunCurrentEventLoopInMode + 286 (HIToolbox + 195990) [0x7fff537ead96] 1-12
                  12  CFRunLoopRunSpecific + 483 (CoreFoundation + 545107) [0x7fff54500153] 1-12
                    12  __CFRunLoopRun + 1240 (CoreFoundation + 547000) [0x7fff545008b8] 1-12
                      12  __CFRunLoopDoObservers + 527 (CoreFoundation + 668479) [0x7fff5451e33f] 1-12
                        12  __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23 (CoreFoundation + 668695) [0x7fff5451e417] 1-12
                          12  __65+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayRefresh]_block_invoke + 283 (AppKit + 9669234) [0x7fff52392a72] 1-12
                            12  CA::Transaction::commit() + 487 (QuartzCore + 66757) [0x7fff5f8704c5] 1-12
                              12  CA::Context::commit_transaction(CA::Transaction*) + 337 (QuartzCore + 67895) [0x7fff5f870937] 1-12
                                12  CA::Layer::prepare_commit(CA::Transaction*) + 391 (QuartzCore + 73963) [0x7fff5f8720eb] 1-12
                                  12  CA::Render::prepare_image(CGImage*, CGColorSpace*, unsigned int, double) + 20 (QuartzCore + 142571) [0x7fff5f882ceb] 1-12
                                    12  CA::Render::copy_image(CGImage*, CGColorSpace*, unsigned int, double, double) + 519 (QuartzCore + 727861) [0x7fff5f911b35] 1-12
                                      12  CA::Render::create_image(CGImage*, CGColorSpace*, unsigned int, double) + 253 (QuartzCore + 716856) [0x7fff5f90f038] 1-12
                                        12  CA::Render::(anonymous namespace)::create_image_from_image_provider(CGImage*, CGImageProvider*, CGColorSpace*, unsigned int) + 633 (QuartzCore + 719982) [0x7fff5f90fc6e] 1-12
                                          12  CGImageProviderCopyImageBlockSetWithOptions + 137 (CoreGraphics + 112519) [0x7fff54939787] 1-12
                                            12  subImageProviderCopyImageBlockSet + 333 (CoreGraphics + 112910) [0x7fff5493990e] 1-12
                                              12  CGImageProviderCopyImageBlockSetWithOptions + 137 (CoreGraphics + 112519) [0x7fff54939787] 1-12
                                                12  __csiCompressImageProviderCopyImageBlockSetWithOptions + 1163 (CoreUI + 100200) [0x7fff68413768] 1-12
                                                  12  -[_CSIRenditionBlockData expandCSIBitmapData:fromSlice:makeReadOnly:] + 1041 (CoreUI + 102973) [0x7fff6841423d] 1-12
                                                    12  _dispatch_group_wait_slow + 151 (libdispatch.dylib + 28265) [0x7fff7c30ee69] 1-12
                                                      12  semaphore_wait_trap + 10 (libsystem_kernel.dylib + 78406) [0x7fff7c48a246] 1-12
                                                       *12  semaphore_wait_continue + 0 (kernel + 596880) [0xffffff8000291b90] 1-12
 

 

Share this post


Link to post
Share on other sites

Can you try this please and check if it works? This is usually caused by  Korean and Chinese fonts. 

On 5/2/2018 at 11:29 AM, Chris B said:
  • Display the Character Panel > Click All Fonts > Pick one of the categories (which reduces the font list) and then pick a font
  • Display the Text Styles Panel > Click Create Paragraph Style > Font > Pick a font from the font chooser (this is the old style font chooser) and enable Apply style to selection at the bottom of this dialog
  • Reduce the amount of fonts you have. Try disabling half and see if Affinity crashes, if it doesn't, disable the other half and enable groups at a time as this will help you narrow down the font. We can then inform dev and see if they can fix it

Share this post


Link to post
Share on other sites

This is interesting (o;

 

Reducing the fonts didn't help...hangs the same way with the top character menu..but...

 

1. Adding a paragraph style and choose a font works fine...

2. Selecting a font group in the character panel first (like german, fun, web, fixed-width) and choosing a font works...also works when all fonts are displayed then...

3. When previously a font group in the character panels was selected I can choose a font as well on the top font menu which shows then all fonts...

 

Share this post


Link to post
Share on other sites

macOS installs some strange fonts...looks asian, hebrew and arab  to me (o;

 

But macOS tells me that I can't remove those fonts like PingFang, Osaka and so on...

Share this post


Link to post
Share on other sites

Tried the same in Affinity Photo...

 

Works also when I select first a font from a group in the character panel...then selecting a font from the top char menu works as well which shows all fonts..

 

Share this post


Link to post
Share on other sites

This is most likely caused by a font. Have you definitely this?

  • Disable the first half of your fonts
  • Try and see if it crashes
  • If it does crash, enable them back and disable the other half ( this means that the problem is in the other half )
  • If it does not crash, this means the issue is in this half
    • Enable half of these fonts (1 quarter)
    • If it crashes, you know that somewhere in the quarter you just enabled is the issue
    • Carry on and enable/disable half of the fonts each time you get a crash and eventually, you will get to the font that's causing the crash. 

I know it's a long process, but unfortunately, we do not have another system in place. Sorry.  

Share this post


Link to post
Share on other sites

Hello

 

Tried now disabling first half of fonts.... -> Affinity Designer hangs

Enabled first half and disabled second half... -> Affinity Designer hangs

 

This is with a complete fresh install of macOS 10.13.6.

 

Share this post


Link to post
Share on other sites

Thank you. If Publisher works fine, Designer will most likely work fine when the next 1.7 update comes along. It is very unlikely we will release another 1.6 patch before the 1.7 update, so I suggest we give this a go in 1.7 ( when it comes out ) and see how it goes. For the meantime, please use the workaround described above. Sorry for any inconvenience. 

Share this post


Link to post
Share on other sites

Hello Gabriel

 

Then the same font menu code is integrated in Design er and Photo from Publisher?

Any time estimate when 1.7 comes out? I assume you plan on releasing all 3 products then at the same time with version 1.7 (o;

 

Sad you don't do any video editing software..this would make the bundle complete ;-)

 

 

Share this post


Link to post
Share on other sites
On 10/10/2018 at 1:49 AM, GabrielM said:

This is most likely caused by a font. Have you definitely this?

  • Disable the first half of your fonts
  • Try and see if it crashes
  • If it does crash, enable them back and disable the other half ( this means that the problem is in the other half )
  • If it does not crash, this means the issue is in this half
    • Enable half of these fonts (1 quarter)
    • If it crashes, you know that somewhere in the quarter you just enabled is the issue
    • Carry on and enable/disable half of the fonts each time you get a crash and eventually, you will get to the font that's causing the crash. 

I know it's a long process, but unfortunately, we do not have another system in place. Sorry.  

Couple of problems one is a pair of typos. Bullet 3 should be written: "• If it does NOT crash" and bullet 4 should be written: "• If it does [delete not] crash"

The other is that there may well be a pair or more of the bad fonts causing this so you have to run it until all fonts enabled means no crash. Just remember to remove and burn, break up and bury the bad fonts. Bad fonts are EVIL remove them at once.


MacBook Pro (13-inch, Mid 2012) Mac OS 10.12.6 || Mac Pro (Late 2013) Mac OS 10.12.6

Affinity Designer 1.6.1 | Affinity Photo 1.6.7 | Affinity Publisher beta 1.7.0.270 | Affinity Photo beta 1.7.0.112 | Affinity Designer Beta 1.7.0.7

Share this post


Link to post
Share on other sites

I did try with the first half fonts enabled -> crash

With only the second half fonts -> crash

 

There many fonts which can't be disabled as they are macOS system fonts..

And as mentioned -> no crashes in Publisher with all fonts ;-)

I hope Designer/Photo will get the same font menu code in version 1.7 (o;

 

Share this post


Link to post
Share on other sites

If you have two (or more) problematic fonts one could be in the first half and the other(s) in the second half.

1 hour ago, davorin said:

There many fonts which can't be disabled as they are macOS system fonts..

I think (okay I hope) we can rule those out as sources. So just ignore them.


MacBook Pro (13-inch, Mid 2012) Mac OS 10.12.6 || Mac Pro (Late 2013) Mac OS 10.12.6

Affinity Designer 1.6.1 | Affinity Photo 1.6.7 | Affinity Publisher beta 1.7.0.270 | Affinity Photo beta 1.7.0.112 | Affinity Designer Beta 1.7.0.7

Share this post


Link to post
Share on other sites

Just installed lately the beta version 1.7 of Designer and Photo...

No more crashes when changing fonts...just as it was already with Publisher beta :-)

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×