TelegramSwift
TelegramSwift copied to clipboard
Crash in Chat Wallpaper Color in Appearance Settings
I'm using Telegram for macOS version 10.1.2.252294 Stable on macOS Sonoma 14.0.
Go to Settings > Appearance > Chat Wallpaper then click on any wallpaper. Click the Color button at the bottom of the popup window and the app will crash.
Stack trace:
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: Telegram [78563]
Path: /Applications/Telegram.app/Contents/MacOS/Telegram
Identifier: ru.keepcoder.Telegram
Version: 10.1.2 (252294)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2023-10-01 15:21:44.7658 -0700
OS Version: macOS 14.0 (23A344)
Report Version: 12
Anonymous UUID: 3CA6D6B5-C5B0-2F01-32D5-D4EC1CFD5478
Sleep/Wake UUID: CFF4AA75-8448-41A2-AE58-D841B7D6A96C
Time Awake Since Boot: 410000 seconds
Time Since Wake: 5316 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x19085711c __pthread_kill + 8
1 libsystem_pthread.dylib 0x19088ecc0 pthread_kill + 288
2 libsystem_c.dylib 0x19079ea50 abort + 180
3 libsystem_c.dylib 0x19079dd6c __assert_rtn + 284
4 CoreGraphics 0x1968c0500 _CGHandleAssert + 212
5 CoreGraphics 0x1964e39f8 CGPathAddRoundedRect + 468
6 libswiftCoreGraphics.dylib 0x1b305a6cc CGMutablePathRef.addRoundedRect(in:cornerWidth:cornerHeight:transform:) + 148
7 Telegram 0x10517bd94 0x104f40000 + 2342292
8 Telegram 0x10517a6f4 0x104f40000 + 2336500
9 AppKit 0x194774220 -[NSViewBackingLayer drawInContext:] + 56
10 AppKit 0x19495158c -[NSViewBackingStore update:] + 560
11 AppKit 0x194773448 -[NSViewBackingLayerContents update:] + 52
12 AppKit 0x194773e54 -[NSViewBackingLayer display] + 1240
13 QuartzCore 0x198a03614 CA::Layer::display_if_needed(CA::Transaction*) + 736
14 QuartzCore 0x198b86c70 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 512
15 QuartzCore 0x1989e6658 CA::Transaction::commit() + 648
16 AppKit 0x19426d298 __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 272
17 AppKit 0x194c0b3c8 ___NSRunLoopObserverCreateWithHandler_block_invoke + 64
18 CoreFoundation 0x19096b0cc __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 36
19 CoreFoundation 0x19096afb8 __CFRunLoopDoObservers + 532
20 CoreFoundation 0x19096a5e8 __CFRunLoopRun + 776
21 CoreFoundation 0x190969c2c CFRunLoopRunSpecific + 608
22 HIToolbox 0x19aec2448 RunCurrentEventLoopInMode + 292
23 HIToolbox 0x19aec20d8 ReceiveNextEventCommon + 220
24 HIToolbox 0x19aec1fdc _BlockUntilNextEventMatchingListInModeWithFilter + 76
25 AppKit 0x194144f90 _DPSNextEvent + 660
26 AppKit 0x194918b94 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 716
27 AppKit 0x19413843c -[NSApplication run] + 476
28 AppKit 0x19410f708 NSApplicationMain + 880
29 Telegram 0x104f4b440 0x104f40000 + 46144
30 dyld 0x190515058 start + 2224
Thread 1:: caulk.messenger.shared:17
0 libsystem_kernel.dylib 0x19084e830 semaphore_wait_trap + 8
1 caulk 0x19abc3690 caulk::semaphore::timed_wait(double) + 212
2 caulk 0x19abc3544 caulk::concurrent::details::worker_thread::run() + 36
3 caulk 0x19abc3244 void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*>>>(void*) + 96
4 libsystem_pthread.dylib 0x19088f034 _pthread_start + 136
5 libsystem_pthread.dylib 0x190889e3c thread_start + 8
Thread 2:: caulk.messenger.shared:high
0 libsystem_kernel.dylib 0x19084e830 semaphore_wait_trap + 8
1 caulk 0x19abc3690 caulk::semaphore::timed_wait(double) + 212
2 caulk 0x19abc3544 caulk::concurrent::details::worker_thread::run() + 36
3 caulk 0x19abc3244 void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*>>>(void*) + 96
4 libsystem_pthread.dylib 0x19088f034 _pthread_start + 136
5 libsystem_pthread.dylib 0x190889e3c thread_start + 8
Thread 3:: caulk::deferred_logger
0 libsystem_kernel.dylib 0x19084e830 semaphore_wait_trap + 8
1 caulk 0x19abc3690 caulk::semaphore::timed_wait(double) + 212
2 caulk 0x19abc3544 caulk::concurrent::details::worker_thread::run() + 36
3 caulk 0x19abc3244 void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*>>>(void*) + 96
4 libsystem_pthread.dylib 0x19088f034 _pthread_start + 136
5 libsystem_pthread.dylib 0x190889e3c thread_start + 8
Thread 4:
0 libsystem_pthread.dylib 0x190889e28 start_wqthread + 0
Thread 5:
0 libsystem_kernel.dylib 0x19084e8b4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x190860d30 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x1908574f0 mach_msg_overwrite + 476
3 libsystem_kernel.dylib 0x19084ec38 mach_msg + 24
4 Telegram 0x10752e280 0x104f40000 + 39772800
5 libsystem_pthread.dylib 0x19088f034 _pthread_start + 136
6 libsystem_pthread.dylib 0x190889e3c thread_start + 8
Thread 6:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x19084e8b4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x190860d30 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x1908574f0 mach_msg_overwrite + 476
3 libsystem_kernel.dylib 0x19084ec38 mach_msg + 24
4 CoreFoundation 0x19096bed0 __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x19096a798 __CFRunLoopRun + 1208
6 CoreFoundation 0x190969c2c CFRunLoopRunSpecific + 608
7 AppKit 0x19426e8e0 _NSEventThread + 144
8 libsystem_pthread.dylib 0x19088f034 _pthread_start + 136
9 libsystem_pthread.dylib 0x190889e3c thread_start + 8
Thread 7:
0 libsystem_kernel.dylib 0x1908520ac __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x19088f5fc _pthread_cond_wait + 1228
2 Telegram 0x10621e390 0x104f40000 + 19784592
3 Telegram 0x10621d508 0x104f40000 + 19780872
4 Foundation 0x191a6bd14 __NSThread__start__ + 716
5 libsystem_pthread.dylib 0x19088f034 _pthread_start + 136
6 libsystem_pthread.dylib 0x190889e3c thread_start + 8
Thread 8:
0 libsystem_kernel.dylib 0x1908520ac __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x19088f5fc _pthread_cond_wait + 1228
2 Telegram 0x10621e390 0x104f40000 + 19784592
3 Telegram 0x10621d508 0x104f40000 + 19780872
4 Foundation 0x191a6bd14 __NSThread__start__ + 716
5 libsystem_pthread.dylib 0x19088f034 _pthread_start + 136
6 libsystem_pthread.dylib 0x190889e3c thread_start + 8
Thread 9:
0 libsystem_kernel.dylib 0x1908520ac __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x19088f5fc _pthread_cond_wait + 1228
2 Telegram 0x10621e390 0x104f40000 + 19784592
3 Telegram 0x10621d508 0x104f40000 + 19780872
4 Foundation 0x191a6bd14 __NSThread__start__ + 716
5 libsystem_pthread.dylib 0x19088f034 _pthread_start + 136
6 libsystem_pthread.dylib 0x190889e3c thread_start + 8
Thread 10:
0 libsystem_kernel.dylib 0x1908520ac __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x19088f5fc _pthread_cond_wait + 1228
2 Telegram 0x10621e390 0x104f40000 + 19784592
3 Telegram 0x10621d508 0x104f40000 + 19780872
4 Foundation 0x191a6bd14 __NSThread__start__ + 716
5 libsystem_pthread.dylib 0x19088f034 _pthread_start + 136
6 libsystem_pthread.dylib 0x190889e3c thread_start + 8
Thread 11:
0 libsystem_kernel.dylib 0x1908520ac __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x19088f5fc _pthread_cond_wait + 1228
2 Telegram 0x10621e390 0x104f40000 + 19784592
3 Telegram 0x10621d508 0x104f40000 + 19780872
4 Foundation 0x191a6bd14 __NSThread__start__ + 716
5 libsystem_pthread.dylib 0x19088f034 _pthread_start + 136
6 libsystem_pthread.dylib 0x190889e3c thread_start + 8
Thread 12:
0 libsystem_pthread.dylib 0x190889e28 start_wqthread + 0
Thread 13:
0 libsystem_pthread.dylib 0x190889e28 start_wqthread + 0
Thread 14:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x19084e8b4 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x190860d30 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x1908574f0 mach_msg_overwrite + 476
3 libsystem_kernel.dylib 0x19084ec38 mach_msg + 24
4 CoreFoundation 0x19096bed0 __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x19096a798 __CFRunLoopRun + 1208
6 CoreFoundation 0x190969c2c CFRunLoopRunSpecific + 608
7 CFNetwork 0x195d4e390 0x195af1000 + 2478992
8 Foundation 0x191a6bd14 __NSThread__start__ + 716
9 libsystem_pthread.dylib 0x19088f034 _pthread_start + 136
10 libsystem_pthread.dylib 0x190889e3c thread_start + 8
Thread 15:
0 libsystem_pthread.dylib 0x190889e28 start_wqthread + 0
Thread 16:
0 libsystem_pthread.dylib 0x190889e28 start_wqthread + 0
Thread 17:
0 libsystem_pthread.dylib 0x190889e28 start_wqthread + 0
Thread 18:
0 libsystem_pthread.dylib 0x190889e28 start_wqthread + 0
Thread 19:
0 libsystem_kernel.dylib 0x1908520ac __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x19088f5fc _pthread_cond_wait + 1228
2 Telegram 0x10621e390 0x104f40000 + 19784592
3 Telegram 0x10621d508 0x104f40000 + 19780872
4 Foundation 0x191a6bd14 __NSThread__start__ + 716
5 libsystem_pthread.dylib 0x19088f034 _pthread_start + 136
6 libsystem_pthread.dylib 0x190889e3c thread_start + 8
Thread 20:
0 libsystem_pthread.dylib 0x190889e28 start_wqthread + 0
Thread 21:
0 libsystem_pthread.dylib 0x190889e28 start_wqthread + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x0000000000000073 x5: 0x000000000000002e x6: 0x00c9000004220122 x7: 0x0000000000000000
x8: 0x5407ebbe58e36628 x9: 0x5407ebbfbf563528 x10: 0x000000000000000a x11: 0x0000000000000000
x12: 0x0000000000000035 x13: 0x00000000000007fd x14: 0x000000008b210828 x15: 0x0000000000000028
x16: 0x0000000000000148 x17: 0x00000001f0d84db8 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x00000001e7b55300 x21: 0x0000000000000103 x22: 0x00000001e7b553e0 x23: 0xffffffffffffffff
x24: 0x00000001e69e6000 x25: 0x0000000000000800 x26: 0x0000600001f36700 x27: 0x000000016aebc3a0
x28: 0x00000001b3058224 fp: 0x000000016aebc110 lr: 0x000000019088ecc0
sp: 0x000000016aebc0f0 pc: 0x000000019085711c cpsr: 0x40001000
far: 0x000000012402c084 esr: 0x56000080 Address size fault
Same problem and same crash if you push custom color scheme - https://i.ibb.co/WsSxmPy/2023-10-10-15-39-48.png