Hello CarbonFolk,

This same code works fine in OS X 10.5 up and until EL Capitan but now in 
Sierra whenever my app opens the font panel, it appears but font selection does 
not happen and eventually a crash occurs. This machine is pretty much a brand 
new clean install and this happens on multiple machines running Sierra. Other 
versions of the Mac OS are okay. Any help greatly appreciated...

Jeremy


Process:               Metro [783]
Path:                  /Users/USER/Documents/*/Metro.app/Contents/MacOS/Metro
Identifier:            biz.sagantech.Metro
Version:               7.2.8.1 (6.0)
Code Type:             X86 (Native)
Parent Process:        ??? [1]
Responsible:           Metro [783]
User ID:               501

Date/Time:             2016-11-08 20:03:34.436 -0500
OS Version:            Mac OS X 10.12.1 (16B2657)
Report Version:        12
Time Awake Since Boot: 970 seconds
Time Since Wake:       190 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000002, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Trace/BPT trap: 5
Termination Reason:    Namespace SIGNAL, Code 0x5
Terminating Process:   exc handler [0]

Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', 
reason: '-[NSTypographyPanel noGlyphsStaticString]: unrecognized selector sent 
to instance 0x1306b0f0'

Application Specific Backtrace 1:
0   CoreFoundation                      0x9476412b __raiseError + 187
1   libobjc.A.dylib                     0x9ee466e6 objc_exception_throw + 273
2   CoreFoundation                      0x94767fcc -[NSObject(NSObject) 
doesNotRecognizeSelector:] + 172
3   CoreFoundation                      0x9464b745 ___forwarding___ + 1013
4   CoreFoundation                      0x9464b32e _CF_forwarding_prep_0 + 14
5   TypographyPanel                     0x0ffcc479 sliderSort + 9959
6   AppKit                              0x927b41c4 -[NSPanel init] + 90
7   TypographyPanel                     0x0ffcc1d2 sliderSort + 9280
8   TypographyPanel                     0x0ffcc545 sliderSort + 10163
9   Foundation                          0x95d94cd6 __NSFireTimer + 97
10  CoreFoundation                      0x94658986 
__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 22
11  CoreFoundation                      0x9465849d __CFRunLoopDoTimer + 1213
12  CoreFoundation                      0x94657f3e __CFRunLoopDoTimers + 350
13  CoreFoundation                      0x9464fb00 __CFRunLoopRun + 2192
14  CoreFoundation                      0x9464f00a CFRunLoopRunSpecific + 506
15  CoreFoundation                      0x9464edfb CFRunLoopRunInMode + 123
16  HIToolbox                           0x93d525a6 RunCurrentEventLoopInMode + 
268
17  HIToolbox                           0x93d52267 ReceiveNextEventCommon + 195
18  HIToolbox                           0x93ed5e93 _AcquireNextEvent + 61
19  HIToolbox                           0x93ec8141 RunApplicationEventLoop + 176
20  Metro                               0x000b9975 main + 91
21  Metro                               0x00002892 _start + 216
22  Metro                               0x000027b9 start + 41
23  ???                                 0x00000001 0x0 + 1

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.CoreFoundation          0x94764487 
___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ + 7
1   com.apple.CoreFoundation          0x9476441a __raiseError + 938
2   libobjc.A.dylib                   0x9ee466e6 objc_exception_throw + 273
3   com.apple.CoreFoundation          0x9464f098 CFRunLoopRunSpecific + 648
4   com.apple.CoreFoundation          0x9464edfb CFRunLoopRunInMode + 123
5   com.apple.HIToolbox               0x93d525a6 RunCurrentEventLoopInMode + 268
6   com.apple.HIToolbox               0x93d52267 ReceiveNextEventCommon + 195
7   com.apple.HIToolbox               0x93ed5e93 _AcquireNextEvent + 61
8   com.apple.HIToolbox               0x93ec8141 RunApplicationEventLoop + 176
9   biz.sagantech.Metro               0x000b9975 main + 91
10  biz.sagantech.Metro               0x00002892 _start + 216
11  biz.sagantech.Metro               0x000027b9 start + 41

Thread 1:
0   libsystem_kernel.dylib            0x9f7c7cbe __workq_kernreturn + 10
1   libsystem_pthread.dylib           0x9f8a7dea _pthread_wqthread + 1210
2   libsystem_pthread.dylib           0x9f8a790a start_wqthread + 34

Thread 2:
0   libsystem_kernel.dylib            0x9f7c7312 __psynch_cvwait + 10
1   libsystem_pthread.dylib           0x9f8a8fc0 _pthread_cond_wait + 723
2   libsystem_pthread.dylib           0x9f8aa11f 
pthread_cond_timedwait_relative_np + 27
3   com.apple.CoreServices.CarbonCore    0x955a1d93 
TSWaitOnConditionTimedRelative + 142
4   com.apple.CoreServices.CarbonCore    0x955a198d TSWaitOnSemaphoreCommon + 
466
5   com.apple.CoreServices.CarbonCore    0x955a1b3e TSWaitOnSemaphoreRelative + 
24
6   com.apple.CoreServices.CarbonCore    0x955883fb TimerThread + 90
7   libsystem_pthread.dylib           0x9f8a810b _pthread_body + 184
8   libsystem_pthread.dylib           0x9f8a8053 _pthread_start + 243
9   libsystem_pthread.dylib           0x9f8a792e thread_start + 34

Thread 3:
0   libsystem_kernel.dylib            0x9f7bf91e mach_msg_trap + 10
1   libsystem_kernel.dylib            0x9f7bee93 mach_msg + 51
2   com.apple.audio.midi.CoreMIDI     0x006686b5 
XServerMachPort::ReceiveMessage(int&, void*, int&) + 71
3   com.apple.audio.midi.CoreMIDI     0x0067ea02 MIDIProcess::RunMIDIInThread() 
+ 98
4   com.apple.audio.midi.CoreMIDI     0x006867fe 
MIDIProcess::MIDIInPortThread::Run() + 24
5   com.apple.audio.midi.CoreMIDI     0x0068c13d XThread::RunHelper(void*) + 17
6   com.apple.audio.midi.CoreMIDI     0x0068f3e2 CAPThread::Entry(CAPThread*) + 
96
7   libsystem_pthread.dylib           0x9f8a810b _pthread_body + 184
8   libsystem_pthread.dylib           0x9f8a8053 _pthread_start + 243
9   libsystem_pthread.dylib           0x9f8a792e thread_start + 34

Thread 4:
0   libsystem_kernel.dylib            0x9f7c7cbe __workq_kernreturn + 10
1   libsystem_pthread.dylib           0x9f8a7dea _pthread_wqthread + 1210
2   libsystem_pthread.dylib           0x9f8a790a start_wqthread + 34

Thread 5:: CVDisplayLink
0   libsystem_kernel.dylib            0x9f7c7312 __psynch_cvwait + 10
1   libsystem_pthread.dylib           0x9f8a8fc0 _pthread_cond_wait + 723
2   libsystem_pthread.dylib           0x9f8aa11f 
pthread_cond_timedwait_relative_np + 27
3   com.apple.CoreVideo               0x95c4ac04 
CVDisplayLink::waitUntil(unsigned long long) + 302
4   com.apple.CoreVideo               0x95c4a978 CVDisplayLink::runIOThread() + 
750
5   libsystem_pthread.dylib           0x9f8a810b _pthread_body + 184
6   libsystem_pthread.dylib           0x9f8a8053 _pthread_start + 243
7   libsystem_pthread.dylib           0x9f8a792e thread_start + 34

Thread 6:
0   libsystem_kernel.dylib            0x9f7c7cbe __workq_kernreturn + 10
1   libsystem_pthread.dylib           0x9f8a7c79 _pthread_wqthread + 841
2   libsystem_pthread.dylib           0x9f8a790a start_wqthread + 34

Thread 7:
0   libsystem_kernel.dylib            0x9f7c7cbe __workq_kernreturn + 10
1   libsystem_pthread.dylib           0x9f8a7dea _pthread_wqthread + 1210
2   libsystem_pthread.dylib           0x9f8a790a start_wqthread + 34

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x278e00ab  ebx: 0x0141a4f0  ecx: 0x00000000  edx: 0x00000000
  edi: 0x9476407e  esi: 0x02861200  ebp: 0xbffff1d8  esp: 0xbffff1d0
   ss: 0x00000023  efl: 0x00000282  eip: 0x94764487   cs: 0x0000001b
   ds: 0x00000023   es: 0x00000023   fs: 0x00000000   gs: 0x0000000f
  cr2: 0x6572f000
 
Logical CPU:     1
Error Code:      0x00000000
Trap Number:     3
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (Carbon-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/carbon-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to