Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Opening Settings crashes Swiftcord #144

Closed
alfadelta10010 opened this issue May 6, 2023 · 1 comment
Closed

[Bug]: Opening Settings crashes Swiftcord #144

alfadelta10010 opened this issue May 6, 2023 · 1 comment
Labels
bug Something isn't working important Important issues that will never become "stale" ui User interface-related issues

Comments

@alfadelta10010
Copy link

Describe the Bug

Bug Description
Opening Swiftcord's settings from the menu bar or by pressing the settings icon next to the account switcher causes it to crash.

Actual Behaviour
Settings opens.

Expected Behavior
Swiftcord crashes.

Reproducing the Bug

  1. Open Settings

Version

0.6.0

Category

Settings

Relevant Log Output

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               Swiftcord [25017]
Path:                  /Applications/Swiftcord.app/Contents/MacOS/Swiftcord
Identifier:            io.cryptoalgo.swiftcord
Version:               0.6.0 (15)
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2023-05-06 16:38:18.9917 +0530
OS Version:            macOS 12.6.5 (21G531)
Report Version:        12
Anonymous UUID:        XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

Sleep/Wake UUID:       XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

Time Awake Since Boot: 180000 seconds
Time Since Wake:       664 seconds

System Integrity Protection: disabled

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

Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace SIGNAL, Code 4 Illegal instruction: 4
Terminating Process:   exc handler [25017]

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   Swiftcord                     	       0x10b1cc0a4 0x10b07c000 + 1376420
1   SwiftUI                       	    0x7ff92a3a10d4 (1) await resume partial function for closure #1 in closure #1 in _TaskModifier.InnerModifier.body(content:) + 1

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

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

Thread 3:
0   libsystem_kernel.dylib        	    0x7ff81ebbc2ae __semwait_signal + 10
1   libsystem_c.dylib             	    0x7ff81ead0863 nanosleep + 196
2   libsystem_c.dylib             	    0x7ff81eadb6e8 sleep + 41
3   Swiftcord                     	       0x10b231488 0x10b07c000 + 1791112
4   libsystem_pthread.dylib       	    0x7ff81ebf64e1 _pthread_start + 125
5   libsystem_pthread.dylib       	    0x7ff81ebf1f6b thread_start + 15

Thread 4:: SentryCrash Exception Handler (Secondary)
0   libsystem_kernel.dylib        	    0x7ff81ebb996a mach_msg_trap + 10
1   libsystem_kernel.dylib        	    0x7ff81ebb9cd8 mach_msg + 56
2   Swiftcord                     	       0x10b22cd99 0x10b07c000 + 1772953
3   libsystem_pthread.dylib       	    0x7ff81ebf64e1 _pthread_start + 125
4   libsystem_pthread.dylib       	    0x7ff81ebf1f6b thread_start + 15

Thread 5:: io.sentry.app-hang-tracker
0   libsystem_kernel.dylib        	    0x7ff81ebbc2ae __semwait_signal + 10
1   libsystem_c.dylib             	    0x7ff81ead0863 nanosleep + 196
2   Foundation                    	    0x7ff81fba1e71 +[NSThread sleepForTimeInterval:] + 151
3   Swiftcord                     	       0x10b1cf2cc 0x10b07c000 + 1389260
4   Foundation                    	    0x7ff81fb11994 __NSThread__start__ + 1009
5   libsystem_pthread.dylib       	    0x7ff81ebf64e1 _pthread_start + 125
6   libsystem_pthread.dylib       	    0x7ff81ebf1f6b thread_start + 15

Thread 6:: com.apple.NSURLConnectionLoader
0   libsystem_kernel.dylib        	    0x7ff81ebb996a mach_msg_trap + 10
1   libsystem_kernel.dylib        	    0x7ff81ebb9cd8 mach_msg + 56
2   CoreFoundation                	    0x7ff81ecbd34d __CFRunLoopServiceMachPort + 319
3   CoreFoundation                	    0x7ff81ecbb9d8 __CFRunLoopRun + 1276
4   CoreFoundation                	    0x7ff81ecbae1c CFRunLoopRunSpecific + 562
5   CFNetwork                     	    0x7ff8238e57ec 0x7ff82369c000 + 2398188
6   Foundation                    	    0x7ff81fb11994 __NSThread__start__ + 1009
7   libsystem_pthread.dylib       	    0x7ff81ebf64e1 _pthread_start + 125
8   libsystem_pthread.dylib       	    0x7ff81ebf1f6b thread_start + 15

Thread 7:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	    0x7ff81ebb996a mach_msg_trap + 10
1   libsystem_kernel.dylib        	    0x7ff81ebb9cd8 mach_msg + 56
2   CoreFoundation                	    0x7ff81ecbd34d __CFRunLoopServiceMachPort + 319
3   CoreFoundation                	    0x7ff81ecbb9d8 __CFRunLoopRun + 1276
4   CoreFoundation                	    0x7ff81ecbae1c CFRunLoopRunSpecific + 562
5   AppKit                        	    0x7ff82186298e _NSEventThread + 132
6   libsystem_pthread.dylib       	    0x7ff81ebf64e1 _pthread_start + 125
7   libsystem_pthread.dylib       	    0x7ff81ebf1f6b thread_start + 15

Thread 8:
0   libsystem_pthread.dylib       	    0x7ff81ebf1f48 start_wqthread + 0

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

Thread 10:
0   libsystem_pthread.dylib       	    0x7ff81ebf1f48 start_wqthread + 0

Thread 11:
0   libsystem_pthread.dylib       	    0x7ff81ebf1f48 start_wqthread + 0

Thread 12:
0   libsystem_pthread.dylib       	    0x7ff81ebf1f48 start_wqthread + 0

Thread 13:: CVDisplayLink
0   libsystem_kernel.dylib        	    0x7ff81ebbb0da __ulock_wait + 10
1   libdispatch.dylib             	    0x7ff81ea3fb06 _dlock_wait + 45
2   libdispatch.dylib             	    0x7ff81ea3f995 _dispatch_thread_event_wait_slow + 40
3   libdispatch.dylib             	    0x7ff81ea4ca4c __DISPATCH_WAIT_FOR_QUEUE__ + 296
4   libdispatch.dylib             	    0x7ff81ea4c696 _dispatch_sync_f_slow + 170
5   Swiftcord                     	       0x10b56338f 0x10b07c000 + 5141391
6   Swiftcord                     	       0x10b561f80 0x10b07c000 + 5136256
7   CoreVideo                     	    0x7ff82649a00d CVDisplayLink::performIO(CVTimeStamp*) + 299
8   CoreVideo                     	    0x7ff826498e69 CVDisplayLink::runIOThread() + 667
9   libsystem_pthread.dylib       	    0x7ff81ebf64e1 _pthread_start + 125
10  libsystem_pthread.dylib       	    0x7ff81ebf1f6b thread_start + 15


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x94df2317033c00fa  rbx: 0x0000000000000002  rcx: 0x00000000a32078b4  rdx: 0x00000000a340809d
  rdi: 0x00000000000000b4  rsi: 0x0000600003199380  rbp: 0x00007ff7b4e820f0  rsp: 0x00007ff7b4e82080
   r8: 0x0000000000001380   r9: 0x0000000000000020  r10: 0x00000000000007fb  r11: 0x00000000000001ff
  r12: 0x4000600003199380  r13: 0x00007fc125808990  r14: 0x0000000000000002  r15: 0x0000000000000002
  rip: 0x000000010b1cc0a4  rfl: 0x0000000000010202  cr2: 0x00007ff144170690
  
Logical CPU:     0
Error Code:      0x00000000 
Trap Number:     6

Thread 0 instruction stream:
  89 f7 e8 07 b1 39 00 48-89 d8 49 89 de 48 83 c4  .....9.H..I..H..
  48 5b 41 5c 41 5f 48 83-c4 10 5d 48 0f ba f5 3c  H[A\A_H...]H...<
  ff 60 08 0f 0b 41 f6 c4-01 4d 0f 45 f4 4c 89 e7  .`...A...M.E.L..
  e8 95 af 39 00 4c 89 f7-e8 0f a6 39 00 48 89 c3  ...9.L.....9.H..
  48 85 db 0f 85 32 fd ff-ff 48 8b 7d c0 ff 15 89  H....2...H.}....
  e6 46 00 4c 89 e7 be 02-00 00 00 e8 64 af 39 00  .F.L........d.9.
 [0f]0b 0f 0b 0f 1f 84 00-00 00 00 00 55 48 89 e5  ............UH..	<==
  5d e9 16 d6 ff ff 66 0f-1f 44 00 00 55 48 89 e5  ].....f..D..UH..
  41 56 53 49 89 fe 48 89-c3 31 ff e8 3c e8 f5 ff  AVSI..H..1..<...
  48 89 c7 48 89 d8 48 89-fe e8 9a 9b 39 00 49 63  H..H..H.....9.Ic
  46 14 48 8d 0d 53 02 00-00 48 89 0c 03 48 c7 44  F.H..S...H...H.D
  03 08 00 00 00 00 c6 44-03 10 00 49 63 46 18 48  .......D...IcF.H

Binary Images:
       0x10b07c000 -        0x10b637fff io.cryptoalgo.swiftcord (0.6.0) <65f92386-80fb-3ad6-811b-cd27fe488637> /Applications/Swiftcord.app/Contents/MacOS/Swiftcord
    0x7ff92a183000 -     0x7ff92b022fff com.apple.SwiftUI (3.5.2) <d4a3f604-c78c-3095-9542-3e2d39652d9e> /System/Library/Frameworks/SwiftUI.framework/Versions/A/SwiftUI
    0x7ff81ebf0000 -     0x7ff81ebfbfff libsystem_pthread.dylib (*) <1239689d-21c9-36ce-96ba-be0ef8ee02e4> /usr/lib/system/libsystem_pthread.dylib
    0x7ff81ebb8000 -     0x7ff81ebeffff libsystem_kernel.dylib (*) <576ecf56-10c7-35bf-a391-e35d4bd74309> /usr/lib/system/libsystem_kernel.dylib
    0x7ff81eac0000 -     0x7ff81eb48fff libsystem_c.dylib (*) <e42e9d7a-03b4-340b-b61e-dcd45fd4acc0> /usr/lib/system/libsystem_c.dylib
    0x7ff81fab9000 -     0x7ff81fe75fff com.apple.Foundation (6.9) <cecd498e-3248-3fba-a3c3-c2a12369af0e> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7ff81ec3d000 -     0x7ff81f13ffff com.apple.CoreFoundation (6.9) <ce1edd4b-def1-3c89-a96b-46f62682ba77> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7ff82369c000 -     0x7ff823b2bfff com.apple.CFNetwork (1335.0.3.1) <7c2f3145-2e97-34e3-9ef6-897dab4eb538> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
    0x7ff8216b6000 -     0x7ff822545fff com.apple.AppKit (6.9) <f02d178c-7914-3fc4-b9f4-9881945b3165> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7ff81ea3c000 -     0x7ff81ea82fff libdispatch.dylib (*) <1a04b380-76e4-3e4b-b0fc-9837533d021d> /usr/lib/system/libdispatch.dylib
    0x7ff826497000 -     0x7ff8264e8fff com.apple.CoreVideo (1.8) <65321388-a44f-3c17-bb4f-ff1c629f4476> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo

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

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework               384K        3 
Activity Tracing                   256K        1 
CG backing stores                 1920K        4 
CG image                           700K       22 
CG raster data                      84K       10 
ColorSync                          224K       27 
CoreAnimation                     11.9M      185 
CoreGraphics                         4K        1 
CoreUI image data                 1988K       17 
Foundation                          32K        2 
IOKit                             7940K        1 
Image IO                          10.0M       55 
Kernel Alloc Once                    8K        1 
MALLOC                           217.0M      121 
MALLOC guard page                   48K       12 
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
ObjC additional data                15K        1 
SQLite page cache                  704K       11 
STACK GUARD                       56.1M       14 
Stack                             14.6M       14 
VM_ALLOCATE                       12.1M       18 
__CTF                               756        1 
__DATA                            32.0M      529 
__DATA_CONST                      32.4M      349 
__DATA_DIRTY                      1975K      218 
__FONT_DATA                          4K        1 
__LINKEDIT                       646.5M       11 
__TEXT                           537.2M      547 
__UNICODE                          592K        1 
dyld private memory               1024K        1 
libnetwork                        1664K       24 
mapped file                      371.7M       61 
shared memory                     9992K       22 
===========                     =======  ======= 
TOTAL                              2.3G     2286 
TOTAL, minus reserved VM space     1.9G     2286 



-----------
Full Report
-----------

{"app_name":"Swiftcord","timestamp":"2023-05-06 16:38:19.00 +0530","app_version":"0.6.0","slice_uuid":"65f92386-80fb-3ad6-811b-cd27fe488637","build_version":"15","platform":1,"bundleID":"io.cryptoalgo.swiftcord","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.6.5 (21G531)","incident_id":"D07DEAF3-1493-48A8-8E50-344DE42371C4","name":"Swiftcord"}
{
  "uptime" : 180000,
  "procLaunch" : "2023-05-06 16:38:06.0070 +0530",
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro12,1",
  "procStartAbsTime" : 180281326281570,
  "coalitionID" : 31411,
  "osVersion" : {
    "train" : "macOS 12.6.5",
    "build" : "21G531",
    "releaseType" : "User"
  },
  "captureTime" : "2023-05-06 16:38:18.9917 +0530",
  "incident" : "D07DEAF3-1493-48A8-8E50-344DE42371C4",
  "bug_type" : "309",
  "pid" : 25017,
  "procExitAbsTime" : 180294306657830,
  "cpuType" : "X86-64",
  "procName" : "Swiftcord",
  "procPath" : "\/Applications\/Swiftcord.app\/Contents\/MacOS\/Swiftcord",
  "bundleInfo" : {"CFBundleShortVersionString":"0.6.0","CFBundleVersion":"15","CFBundleIdentifier":"io.cryptoalgo.swiftcord"},
  "storeInfo" : {"deviceIdentifierForVendor":"57D700A7-79B0-5075-BFE6-FDF1DBE29D20","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "io.cryptoalgo.swiftcord",
  "crashReporterKey" : "F6179298-2373-B725-B61F-3596BBC23160",
  "wakeTime" : 664,
  "sleepWakeUUID" : "9E5563D8-5AFB-4B9D-9C66-76F66927AC31",
  "sip" : "disabled",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_INSTRUCTION","signal":"SIGILL"},
  "termination" : {"flags":0,"code":4,"namespace":"SIGNAL","indicator":"Illegal instruction: 4","byProc":"exc handler","byPid":25017},
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":1396852,"instructionState":{"instructionStream":{"bytes":[137,247,232,7,177,57,0,72,137,216,73,137,222,72,131,196,72,91,65,92,65,95,72,131,196,16,93,72,15,186,245,60,255,96,8,15,11,65,246,196,1,77,15,69,244,76,137,231,232,149,175,57,0,76,137,247,232,15,166,57,0,72,137,195,72,133,219,15,133,50,253,255,255,72,139,125,192,255,21,137,230,70,0,76,137,231,190,2,0,0,0,232,100,175,57,0,15,11,15,11,15,31,132,0,0,0,0,0,85,72,137,229,93,233,22,214,255,255,102,15,31,68,0,0,85,72,137,229,65,86,83,73,137,254,72,137,195,49,255,232,60,232,245,255,72,137,199,72,137,216,72,137,254,232,154,155,57,0,73,99,70,20,72,141,13,83,2,0,0,72,137,12,3,72,199,68,3,8,0,0,0,0,198,68,3,16,0,73,99,70,24,72],"offset":96}},"threadState":{"r13":{"value":140467534596496},"rax":{"value":10727331419165294842},"rflags":{"value":66050},"cpu":{"value":0},"r14":{"value":2},"rsi":{"value":105553168274304},"r8":{"value":4992},"cr2":{"value":140674206205584},"rdx":{"value":2738913437},"r10":{"value":2043},"r9":{"value":32},"r15":{"value":2},"rbx":{"value":2},"trap":{"value":6},"err":{"value":0},"r11":{"value":511},"rip":{"value":4481400996,"matchesCrashFrame":1},"rbp":{"value":140701868761328},"rsp":{"value":140701868761216},"r12":{"value":4611791571595662208},"rcx":{"value":2736814260},"flavor":"x86_THREAD_STATE","rdi":{"value":180}},"queue":"com.apple.main-thread","frames":[{"imageOffset":1376420,"imageIndex":0},{"imageOffset":2220244,"symbol":"(1) await resume partial function for closure #1 in closure #1 in _TaskModifier.InnerModifier.body(content:)","symbolLocation":1,"imageIndex":1}]},{"id":1396870,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":2}]},{"id":1396891,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":2}]},{"id":1396902,"frames":[{"imageOffset":17070,"symbol":"__semwait_signal","symbolLocation":10,"imageIndex":3},{"imageOffset":67683,"symbol":"nanosleep","symbolLocation":196,"imageIndex":4},{"imageOffset":112360,"symbol":"sleep","symbolLocation":41,"imageIndex":4},{"imageOffset":1791112,"imageIndex":0},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":2},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":2}]},{"id":1396903,"name":"SentryCrash Exception Handler (Secondary)","frames":[{"imageOffset":6506,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":3},{"imageOffset":7384,"symbol":"mach_msg","symbolLocation":56,"imageIndex":3},{"imageOffset":1772953,"imageIndex":0},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":2},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":2}]},{"id":1396905,"name":"io.sentry.app-hang-tracker","frames":[{"imageOffset":17070,"symbol":"__semwait_signal","symbolLocation":10,"imageIndex":3},{"imageOffset":67683,"symbol":"nanosleep","symbolLocation":196,"imageIndex":4},{"imageOffset":953969,"symbol":"+[NSThread sleepForTimeInterval:]","symbolLocation":151,"imageIndex":5},{"imageOffset":1389260,"imageIndex":0},{"imageOffset":362900,"symbol":"__NSThread__start__","symbolLocation":1009,"imageIndex":5},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":2},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":2}]},{"id":1396906,"name":"com.apple.NSURLConnectionLoader","frames":[{"imageOffset":6506,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":3},{"imageOffset":7384,"symbol":"mach_msg","symbolLocation":56,"imageIndex":3},{"imageOffset":525133,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":6},{"imageOffset":518616,"symbol":"__CFRunLoopRun","symbolLocation":1276,"imageIndex":6},{"imageOffset":515612,"symbol":"CFRunLoopRunSpecific","symbolLocation":562,"imageIndex":6},{"imageOffset":2398188,"imageIndex":7},{"imageOffset":362900,"symbol":"__NSThread__start__","symbolLocation":1009,"imageIndex":5},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":2},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":2}]},{"id":1396908,"name":"com.apple.NSEventThread","frames":[{"imageOffset":6506,"symbol":"mach_msg_trap","symbolLocation":10,"imageIndex":3},{"imageOffset":7384,"symbol":"mach_msg","symbolLocation":56,"imageIndex":3},{"imageOffset":525133,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":319,"imageIndex":6},{"imageOffset":518616,"symbol":"__CFRunLoopRun","symbolLocation":1276,"imageIndex":6},{"imageOffset":515612,"symbol":"CFRunLoopRunSpecific","symbolLocation":562,"imageIndex":6},{"imageOffset":1755534,"symbol":"_NSEventThread","symbolLocation":132,"imageIndex":8},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":2},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":2}]},{"id":1396931,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":2}]},{"id":1396933,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":2}]},{"id":1396937,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":2}]},{"id":1396940,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":2}]},{"id":1396941,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":2}]},{"id":1396942,"name":"CVDisplayLink","frames":[{"imageOffset":12506,"symbol":"__ulock_wait","symbolLocation":10,"imageIndex":3},{"imageOffset":15110,"symbol":"_dlock_wait","symbolLocation":45,"imageIndex":9},{"imageOffset":14741,"symbol":"_dispatch_thread_event_wait_slow","symbolLocation":40,"imageIndex":9},{"imageOffset":68172,"symbol":"__DISPATCH_WAIT_FOR_QUEUE__","symbolLocation":296,"imageIndex":9},{"imageOffset":67222,"symbol":"_dispatch_sync_f_slow","symbolLocation":170,"imageIndex":9},{"imageOffset":5141391,"imageIndex":0},{"imageOffset":5136256,"imageIndex":0},{"imageOffset":12301,"symbol":"CVDisplayLink::performIO(CVTimeStamp*)","symbolLocation":299,"imageIndex":10},{"imageOffset":7785,"symbol":"CVDisplayLink::runIOThread()","symbolLocation":667,"imageIndex":10},{"imageOffset":25825,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":2},{"imageOffset":8043,"symbol":"thread_start","symbolLocation":15,"imageIndex":2}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4480024576,
    "CFBundleShortVersionString" : "0.6.0",
    "CFBundleIdentifier" : "io.cryptoalgo.swiftcord",
    "size" : 6012928,
    "uuid" : "65f92386-80fb-3ad6-811b-cd27fe488637",
    "path" : "\/Applications\/Swiftcord.app\/Contents\/MacOS\/Swiftcord",
    "name" : "Swiftcord",
    "CFBundleVersion" : "15"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140708129812480,
    "CFBundleShortVersionString" : "3.5.2",
    "CFBundleIdentifier" : "com.apple.SwiftUI",
    "size" : 15335424,
    "uuid" : "d4a3f604-c78c-3095-9542-3e2d39652d9e",
    "path" : "\/System\/Library\/Frameworks\/SwiftUI.framework\/Versions\/A\/SwiftUI",
    "name" : "SwiftUI",
    "CFBundleVersion" : "3.5.2"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703644450816,
    "size" : 49152,
    "uuid" : "1239689d-21c9-36ce-96ba-be0ef8ee02e4",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703644221440,
    "size" : 229376,
    "uuid" : "576ecf56-10c7-35bf-a391-e35d4bd74309",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703643205632,
    "size" : 561152,
    "uuid" : "e42e9d7a-03b4-340b-b61e-dcd45fd4acc0",
    "path" : "\/usr\/lib\/system\/libsystem_c.dylib",
    "name" : "libsystem_c.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703659954176,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.Foundation",
    "size" : 3919872,
    "uuid" : "cecd498e-3248-3fba-a3c3-c2a12369af0e",
    "path" : "\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Foundation",
    "name" : "Foundation",
    "CFBundleVersion" : "1866"
  },
  {
    "source" : "P",
    "arch" : "x86_64h",
    "base" : 140703644766208,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 5255168,
    "uuid" : "ce1edd4b-def1-3c89-a96b-46f62682ba77",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "1866"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703722749952,
    "CFBundleShortVersionString" : "1335.0.3.1",
    "CFBundleIdentifier" : "com.apple.CFNetwork",
    "size" : 4784128,
    "uuid" : "7c2f3145-2e97-34e3-9ef6-897dab4eb538",
    "path" : "\/System\/Library\/Frameworks\/CFNetwork.framework\/Versions\/A\/CFNetwork",
    "name" : "CFNetwork",
    "CFBundleVersion" : "1335.0.3.1"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703689302016,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.AppKit",
    "size" : 15269888,
    "uuid" : "f02d178c-7914-3fc4-b9f4-9881945b3165",
    "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
    "name" : "AppKit",
    "CFBundleVersion" : "2113.60.148"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703642664960,
    "size" : 290816,
    "uuid" : "1a04b380-76e4-3e4b-b0fc-9837533d021d",
    "path" : "\/usr\/lib\/system\/libdispatch.dylib",
    "name" : "libdispatch.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703770963968,
    "CFBundleShortVersionString" : "1.8",
    "CFBundleIdentifier" : "com.apple.CoreVideo",
    "size" : 335872,
    "uuid" : "65321388-a44f-3c17-bb4f-ff1c629f4476",
    "path" : "\/System\/Library\/Frameworks\/CoreVideo.framework\/Versions\/A\/CoreVideo",
    "name" : "CoreVideo",
    "CFBundleVersion" : "480.1"
  }
],
  "sharedCache" : {
  "base" : 140703641194496,
  "size" : 19331678208,
  "uuid" : "e0be2d6e-28ef-33ab-8499-8d9d42337be7"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=1.2G resident=0K(0%) swapped_out_or_unallocated=1.2G(100%)\nWritable regions: Total=662.7M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=662.7M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nAccelerate framework               384K        3 \nActivity Tracing                   256K        1 \nCG backing stores                 1920K        4 \nCG image                           700K       22 \nCG raster data                      84K       10 \nColorSync                          224K       27 \nCoreAnimation                     11.9M      185 \nCoreGraphics                         4K        1 \nCoreUI image data                 1988K       17 \nFoundation                          32K        2 \nIOKit                             7940K        1 \nImage IO                          10.0M       55 \nKernel Alloc Once                    8K        1 \nMALLOC                           217.0M      121 \nMALLOC guard page                   48K       12 \nMALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)\nObjC additional data                15K        1 \nSQLite page cache                  704K       11 \nSTACK GUARD                       56.1M       14 \nStack                             14.6M       14 \nVM_ALLOCATE                       12.1M       18 \n__CTF                               756        1 \n__DATA                            32.0M      529 \n__DATA_CONST                      32.4M      349 \n__DATA_DIRTY                      1975K      218 \n__FONT_DATA                          4K        1 \n__LINKEDIT                       646.5M       11 \n__TEXT                           537.2M      547 \n__UNICODE                          592K        1 \ndyld private memory               1024K        1 \nlibnetwork                        1664K       24 \nmapped file                      371.7M       61 \nshared memory                     9992K       22 \n===========                     =======  ======= \nTOTAL                              2.3G     2286 \nTOTAL, minus reserved VM space     1.9G     2286 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "6112e14f37f5d11121dcd519",
      "factorPackIds" : {
        "SIRI_TEXT_TO_SPEECH" : "634710168e8be655c1316aaa"
      },
      "deploymentId" : 240000231
    },
    {
      "rolloutId" : "5f72dc58705eff005a46b3a9",
      "factorPackIds" : {

      },
      "deploymentId" : 240000015
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "c28e4ee6-1b08-4f90-8e05-2809e78310a3",
      "experimentId" : "6317d2003d24842ff850182a",
      "deploymentId" : 400000005
    },
    {
      "treatmentId" : "6dd670af-0633-45e4-ae5f-122ae4df02be",
      "experimentId" : "64406ba83deb637ac8a04419",
      "deploymentId" : 900000005
    }
  ]
}
}

Model: MacBookPro12,1, BootROM 481.0.0.0.0, 2 processors, Dual-Core Intel Core i5, 2.7 GHz, 8 GB, SMC 2.28f7
Graphics: Intel Iris Graphics 6100, Intel Iris Graphics 6100, Built-In
Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1867 MHz, 0x02FE, 0x4544464132333241324D412D4A442D460000
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1867 MHz, 0x02FE, 0x4544464132333241324D412D4A442D460000
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x133), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1710.4)
AirPort: 
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM0128G, 121.33 GB
USB Device: USB30Bus
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 27.1

Screenshots

No response

Additional Info

No response

@alfadelta10010 alfadelta10010 added bug Something isn't working triage Waiting for this issue to be triaged labels May 6, 2023
@cryptoAlgorithm cryptoAlgorithm added ui User interface-related issues important Important issues that will never become "stale" and removed triage Waiting for this issue to be triaged labels May 7, 2023
@cryptoAlgorithm
Copy link
Member

@alfadelta10010 thanks for reporting this issue! Sorry to hear that you're encountering these crashes. I believe this is due to an issue with the old settings view that's only used when running on macOS 12. A settings overhaul is in progress, but unfortunately the new experience won't be available on macOS 12 as the required APIs are simply not available on that OS version. I will find the cause of this bug to ensure Settings is still operational on macOS, but compromises will unfortunately have to be made to significantly improve the settings experience on macOS 13 (and above).

cryptoAlgorithm added a commit that referenced this issue May 9, 2023
force-unwrapping an optional to find the underlying Settings NSWindow caused a crash on macOS 12

fixes #144
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working important Important issues that will never become "stale" ui User interface-related issues
Projects
None yet
Development

No branches or pull requests

2 participants