Latest beta (0.9b16) crashes

Post Reply
nino
Posts: 3
Joined: 23 Apr 2021

Latest beta (0.9b16) crashes

Post by nino »

Trying out KernOn for the first time. Using KO version 0.9b16 and the latest official Glyphs 3.0.2 but the whole app crashes when I launch KO.

Steps to reproduce:

1. Open a font in glyphs
2. Edit -> KernOn
3. Crash

Stack trace etc below...
---
Process: Glyphs 3 [76151]
Path: /Applications/Glyphs 3.app/Contents/MacOS/Glyphs 3
Identifier: com.GeorgSeifert.Glyphs3
Version: 3.0.2 (3058)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Glyphs 3 [76151]
User ID: 501

Date/Time: 2021-05-04 13:09:13.311 +0200
OS Version: macOS 11.3 (20E232)
Report Version: 12
Bridge OS Version: 3.0 (14Y908)
Anonymous UUID: EE4545E7-ECE0-4048-1B93-7A18B0354C4C

Sleep/Wake UUID: 5A7CD4AE-085C-499C-B8A5-7C6563B21C60

Time Awake Since Boot: 300000 seconds
Time Since Wake: 10000 seconds

System Integrity Protection: enabled

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

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information:
abort() called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff20376946 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff203a5615 pthread_kill + 263
2 libsystem_c.dylib 0x00007fff202fa411 abort + 120
3 com.GeorgSeifert.Glyphs3 0x000000010129f7b1 0x1010b4000 + 2013105
4 com.GeorgSeifert.Glyphs3 0x000000010111dd42 0x1010b4000 + 433474
5 com.GeorgSeifert.Glyphs3 0x0000000101102626 0x1010b4000 + 321062
6 com.GeorgSeifert.Glyphs3 0x00000001011c2f09 0x1010b4000 + 1109769
7 com.apple.AppKit 0x00007fff22c8972c -[NSApplication run] + 765
8 com.apple.AppKit 0x00007fff22c5d85c NSApplicationMain + 816
9 com.GeorgSeifert.Glyphs3 0x000000010113a520 0x1010b4000 + 550176
10 libdyld.dylib 0x00007fff203c0f3d start + 1

Thread 1:
0 libsystem_pthread.dylib 0x00007fff203a1484 start_wqthread + 0

Thread 2:
0 libsystem_pthread.dylib 0x00007fff203a1484 start_wqthread + 0

Thread 3:
0 libsystem_pthread.dylib 0x00007fff203a1484 start_wqthread + 0

Thread 4:: JavaScriptCore bmalloc scavenger
0 libsystem_kernel.dylib 0x00007fff20372d4e __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff203a5ea1 _pthread_cond_wait + 1298
2 libc++.1.dylib 0x00007fff2030ed72 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 18
3 com.apple.JavaScriptCore 0x00007fff373beb64 void std::__1::condition_variable_any::wait<std::__1::unique_lock<bmalloc::Mutex> >(std::__1::unique_lock<bmalloc::Mutex>&) + 84
4 com.apple.JavaScriptCore 0x00007fff373c362b bmalloc::Scavenger::threadRunLoop() + 331
5 com.apple.JavaScriptCore 0x00007fff373c31b9 bmalloc::Scavenger::threadEntryPoint(bmalloc::Scavenger*) + 9
6 com.apple.JavaScriptCore 0x00007fff373c5d47 void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(bmalloc::Scavenger*), bmalloc::Scavenger*> >(void*) + 39
7 libsystem_pthread.dylib 0x00007fff203a5954 _pthread_start + 224
8 libsystem_pthread.dylib 0x00007fff203a14a7 thread_start + 15

Thread 5:
0 libsystem_kernel.dylib 0x00007fff2037032a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff2037069c mach_msg + 60
2 com.GeorgSeifert.Glyphs3 0x0000000101125681 0x1010b4000 + 464513
3 libsystem_pthread.dylib 0x00007fff203a5954 _pthread_start + 224
4 libsystem_pthread.dylib 0x00007fff203a14a7 thread_start + 15

Thread 6:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x00007fff2037866e __select + 10
1 com.apple.CoreFoundation 0x00007fff204c51e3 __CFSocketManager + 630
2 libsystem_pthread.dylib 0x00007fff203a5954 _pthread_start + 224
3 libsystem_pthread.dylib 0x00007fff203a14a7 thread_start + 15

Thread 7:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x00007fff2037032a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff2037069c mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff2049ec6f __CFRunLoopServiceMachPort + 316
3 com.apple.CoreFoundation 0x00007fff2049d34f __CFRunLoopRun + 1328
4 com.apple.CoreFoundation 0x00007fff2049c75c CFRunLoopRunSpecific + 563
5 com.apple.AppKit 0x00007fff22e1ebaa _NSEventThread + 124
6 libsystem_pthread.dylib 0x00007fff203a5954 _pthread_start + 224
7 libsystem_pthread.dylib 0x00007fff203a14a7 thread_start + 15

Thread 8:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x00007fff2037032a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff2037069c mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff2049ec6f __CFRunLoopServiceMachPort + 316
3 com.apple.CoreFoundation 0x00007fff2049d34f __CFRunLoopRun + 1328
4 com.apple.CoreFoundation 0x00007fff2049c75c CFRunLoopRunSpecific + 563
5 com.apple.CFNetwork 0x00007fff2492ecdc 0x7fff246ee000 + 2362588
6 com.apple.Foundation 0x00007fff2121f977 __NSThread__start__ + 1068
7 libsystem_pthread.dylib 0x00007fff203a5954 _pthread_start + 224
8 libsystem_pthread.dylib 0x00007fff203a14a7 thread_start + 15

Thread 9:
0 libsystem_pthread.dylib 0x00007fff203a1484 start_wqthread + 0

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x000000010480ae00 rcx: 0x00007ffeeeb4b898 rdx: 0x0000000000000000
rdi: 0x0000000000000103 rsi: 0x0000000000000006 rbp: 0x00007ffeeeb4b8c0 rsp: 0x00007ffeeeb4b898
r8: 0x0000000000000010 r9: 0x00007ffeeeb4b6e8 r10: 0x000000010480ae00 r11: 0x0000000000000246
r12: 0x0000000000000103 r13: 0x00006000027800c0 r14: 0x0000000000000006 r15: 0x0000000000000016
rip: 0x00007fff20376946 rfl: 0x0000000000000246 cr2: 0xffffffa06a353000

Logical CPU: 0
Error Code: 0x020000b8
Trap Number: 133

Thread 0 instruction stream not available.
Thread 0 last branch register state not available.

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=931.8M resident=0K(0%) swapped_out_or_unallocated=931.8M(100%)
Writable regions: Total=2.3G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=2.3G(100%)

VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 640K 5
Activity Tracing 256K 1
CG backing stores 5760K 6
CG image 13.3M 165
CG raster data 3820K 5
CoreAnimation 99.9M 610
CoreGraphics 12K 2
CoreUI image data 5228K 41
Foundation 16K 1
Image IO 556K 12
JS JIT generated code 1.0G 3
JS VM Isolated Heap 24K 1
Kernel Alloc Once 8K 1
MALLOC 1.1G 154
MALLOC guard page 48K 11
SQLite page cache 128K 2
STACK GUARD 56.0M 10
Stack 12.6M 10
VM_ALLOCATE 128K 24
WebKit Malloc 8296K 11
__DATA 35.6M 500
__DATA_CONST 27.4M 285
__DATA_DIRTY 1440K 182
__FONT_DATA 4K 1
__GLSLBUILTINS 5176K 1
__LINKEDIT 504.6M 114
__OBJC_RO 70.2M 1
__OBJC_RW 2480K 2
__TEXT 427.8M 501
__UNICODE 588K 1
libnetwork 128K 8
mapped file 470.4M 276
shared memory 768K 17
=========== ======= =======
TOTAL 3.8G 2964

Model: MacBookPro13,3, BootROM 429.100.7.0.0, 4 processors, Quad-Core Intel Core i7, 2,7 GHz, 16 GB, SMC 2.38f12
Graphics: kHW_IntelHDGraphics530Item, Intel HD Graphics 530, spdisplays_builtin
Graphics: kHW_AMDRadeonPro455Item, AMD Radeon Pro 455, spdisplays_pcie_device, 2 GB
Memory Module: BANK 0/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x80CE, 0x4B3445424533303445422D45474347202020
Memory Module: BANK 1/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x80CE, 0x4B3445424533303445422D45474347202020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x15A), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1680.7)
Bluetooth: Version 8.0.4d18, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
PCI Card: pci1b73,1100, sppci_usbxhci, Thunderbolt@70,0,0
USB Device: USB 3.0 Bus
USB Device: AirPod Case
USB Device: Apple T1 Controller
USB Device: USB 3.0 Bus
USB Device: USB3.1 Hub
USB Device: Hub
USB Device: LG UltraFine Display Camera
USB Device: USB2.1 Hub
USB Device: Hub
USB Device: USB Controls
USB Device: USB Audio
Thunderbolt Bus: MacBook Pro, Apple Inc., 41.2
Thunderbolt Device: UltraFine 5K, LG Electronics, 1, 9.4
Thunderbolt Bus: MacBook Pro, Apple Inc., 41.2
User avatar
Tim Ahrens
Site Admin
Posts: 164
Joined: 11 Jul 2019

Re: Latest beta (0.9b16) crashes

Post by Tim Ahrens »

Thanks for this information. I have never seen a crash like this.

Does this crash also happen if you do Edit -> KernOn with no font open? Or, maybe only with a specific font but not with others?
User avatar
Tim Ahrens
Site Admin
Posts: 164
Joined: 11 Jul 2019

Re: Latest beta (0.9b16) crashes

Post by Tim Ahrens »

Oh, wait. I just managed to reproduce this. Let’s see...
nino
Posts: 3
Joined: 23 Apr 2021

Re: Latest beta (0.9b16) crashes

Post by nino »

I can run the command when no font is open. I get the empty panel with "Kern On is not running". When I open a font file I also get a "Start Kern On button". Then, when I click it, Glyphs crashes.
User avatar
Tim Ahrens
Site Admin
Posts: 164
Joined: 11 Jul 2019

Re: Latest beta (0.9b16) crashes

Post by Tim Ahrens »

I just fixed the problem and published an update (version 0.9b17). The crash only occurred in Glyphs 3.0.2 as I was using a method call only available since Glyphs 3.0.3, while Kern On for Glyhps 2 was not affected anyway.

Thanks a lot for your help, these kinds of bug reports are a really crucial part of the beta programme.
nino
Posts: 3
Joined: 23 Apr 2021

Re: Latest beta (0.9b16) crashes

Post by nino »

Glad to help. Thanks for the quick fix. It works like a charm now.
Post Reply