lmparppei / Beat

Beat - a simple and elegant screenwriting app for macOS
Other
175 stars 30 forks source link

Bug: Export to PDF and print crashing app since updating to 1.97.4 #127

Closed trettke closed 1 year ago

trettke commented 1 year ago

Describe the bug I've returned to Beat today since it auto-updated overnight and updated my screenplay. As soon as I tried to export my final script to PDF, the app crashed. In stead, I tried to print the script, and export the PDF from there. This also crashed the app. I have closed all other applications and restarted my computer. The issue persists

Screenshots If applicable, add screenshots to help explain your problem.

macOS version Monterrey 12.5

lmparppei commented 1 year ago

Could you send me the crash report?

(Or, alternatively, you could send me the file which causes this issue by e-mail: beat@kapitan.fi. I won't look into the contents, just run in through the export code.)

trettke commented 1 year ago

Happy to!


Translated Report (Full Report Below)

Process: Beat [1335] Path: /Applications/Beat.app/Contents/MacOS/Beat Identifier: fi.KAPITAN.Beat Version: 1.974 (133032) App Item ID: 1549538329 App External ID: 853323871 Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 501

Date/Time: 2022-11-15 13:40:09.4326 +0000 OS Version: macOS 12.5 (21G72) Report Version: 12 Anonymous UUID: CDB27E29-D12C-96B9-C101-9A7064A7F167

Time Awake Since Boot: 720 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

Application Specific Backtrace 0: 0 CoreFoundation 0x00000001a09511a8 exceptionPreprocess + 240 1 libobjc.A.dylib 0x00000001a069be04 objc_exception_throw + 60 2 CoreFoundation 0x00000001a09dca10 -[NSSingleObjectEnumerator init] + 0 3 Beat 0x0000000102fabe7c Beat + 261756 4 Beat 0x0000000102fab94c Beat + 260428 5 Beat 0x0000000102fab810 Beat + 260112 6 Beat 0x0000000102fab788 Beat + 259976 7 Beat 0x0000000102faa678 Beat + 255608 8 Beat 0x0000000102faa3dc Beat + 254940 9 Beat 0x0000000102fc672c Beat + 370476 10 Beat 0x0000000102fc5fa4 Beat + 368548 11 Beat 0x0000000102ffb19c Beat + 586140 12 libdispatch.dylib 0x00000001a063e5f0 _dispatch_call_block_and_release + 32 13 libdispatch.dylib 0x00000001a06401b4 _dispatch_client_callout + 20 14 libdispatch.dylib 0x00000001a064e6cc _dispatch_main_queue_drain + 928 15 libdispatch.dylib 0x00000001a064e31c _dispatch_main_queue_callback_4CF + 44 16 CoreFoundation 0x00000001a0912a2c CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16 17 CoreFoundation 0x00000001a08cfcb8 __CFRunLoopRun + 2532 18 CoreFoundation 0x00000001a08ceb34 CFRunLoopRunSpecific + 600 19 HIToolbox 0x00000001a950e338 RunCurrentEventLoopInMode + 292 20 HIToolbox 0x00000001a950e0b4 ReceiveNextEventCommon + 564 21 HIToolbox 0x00000001a950de68 _BlockUntilNextEventMatchingListInModeWithFilter + 72 22 AppKit 0x00000001a343651c _DPSNextEvent + 860 23 AppKit 0x00000001a3434e14 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1328 24 AppKit 0x00000001a3426fe0 -[NSApplication run] + 596 25 AppKit 0x00000001a33f86fc NSApplicationMain + 1132 26 dyld 0x00000001031d108c start + 520

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x1a07ced98 __pthread_kill + 8 1 libsystem_pthread.dylib 0x1a0803ee0 pthread_kill + 288 2 libsystem_c.dylib 0x1a073e340 abort + 168 3 libc++abi.dylib 0x1a07beb08 abort_message + 132 4 libc++abi.dylib 0x1a07ae950 demangling_terminate_handler() + 336 5 libobjc.A.dylib 0x1a06a4320 _objc_terminate() + 144 6 libc++abi.dylib 0x1a07bdea4 std::terminate(void (*)()) + 20 7 libc++abi.dylib 0x1a07bde40 std::terminate() + 64 8 libdispatch.dylib 0x1a06401c8 _dispatch_client_callout + 40 9 libdispatch.dylib 0x1a064e6cc _dispatch_main_queue_drain + 928 10 libdispatch.dylib 0x1a064e31c _dispatch_main_queue_callback_4CF + 44 11 CoreFoundation 0x1a0912a2c CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16 12 CoreFoundation 0x1a08cfcb8 CFRunLoopRun + 2532 13 CoreFoundation 0x1a08ceb34 CFRunLoopRunSpecific + 600 14 HIToolbox 0x1a950e338 RunCurrentEventLoopInMode + 292 15 HIToolbox 0x1a950e0b4 ReceiveNextEventCommon + 564 16 HIToolbox 0x1a950de68 _BlockUntilNextEventMatchingListInModeWithFilter + 72 17 AppKit 0x1a343651c _DPSNextEvent + 860 18 AppKit 0x1a3434e14 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1328 19 AppKit 0x1a3426fe0 -[NSApplication run] + 596 20 AppKit 0x1a33f86fc NSApplicationMain + 1132 21 dyld 0x1031d108c start + 520

Thread 1:: com.apple.coreanimation.render-server 0 libsystem_kernel.dylib 0x1a07c68b0 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x1a07c6d20 mach_msg + 76 2 QuartzCore 0x1a7790900 CA::Render::Server::server_thread(void) + 520 3 QuartzCore 0x1a77906e8 thread_fun(void) + 32 4 libsystem_pthread.dylib 0x1a080426c _pthread_start + 148 5 libsystem_pthread.dylib 0x1a07ff08c thread_start + 8

Thread 2:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x1a07c68b0 mach_msg_trap + 8 1 libsystem_kernel.dylib 0x1a07c6d20 mach_msg + 76 2 CoreFoundation 0x1a08d12c0 CFRunLoopServiceMachPort + 372 3 CoreFoundation 0x1a08cf770 CFRunLoopRun + 1180 4 CoreFoundation 0x1a08ceb34 CFRunLoopRunSpecific + 600 5 AppKit 0x1a35a3100 _NSEventThread + 196 6 libsystem_pthread.dylib 0x1a080426c _pthread_start + 148 7 libsystem_pthread.dylib 0x1a07ff08c thread_start + 8

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

Thread 4: 0 libsystem_pthread.dylib 0x1a07ff078 start_wqthread + 0

Thread 5: 0 libsystem_pthread.dylib 0x1a07ff078 start_wqthread + 0

Thread 6: 0 libsystem_pthread.dylib 0x1a07ff078 start_wqthread + 0

Thread 7:: JavaScriptCore libpas scavenger 0 libsystem_kernel.dylib 0x1a07ca270 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1a080483c _pthread_cond_wait + 1236 2 JavaScriptCore 0x1b8f360d0 scavenger_thread_main + 1088 3 libsystem_pthread.dylib 0x1a080426c _pthread_start + 148 4 libsystem_pthread.dylib 0x1a07ff08c thread_start + 8

Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000 x4: 0x00000001a07c20f5 x5: 0x000000016ce91d90 x6: 0x000000000000006e x7: 0x0000000000000001 x8: 0xbad8949e93e6cff6 x9: 0xbad8949f90c28a76 x10: 0x0000000000000200 x11: 0x000000000000000b x12: 0x000000000000000b x13: 0x00000001a0d122ed x14: 0x00000001a07c211b x15: 0x0000000000000000 x16: 0x0000000000000148 x17: 0x00000001fa923680 x18: 0x0000000000000000 x19: 0x0000000000000006 x20: 0x0000000103244580 x21: 0x0000000000000103 x22: 0x0000000103244660 x23: 0x0000000000000114 x24: 0x0000000000000000 x25: 0x0000000103244660 x26: 0x00006000020cd980 x27: 0x000000000000000f x28: 0x0000000002ffffff fp: 0x000000016ce91d00 lr: 0x00000001a0803ee0 sp: 0x000000016ce91ce0 pc: 0x00000001a07ced98 cpsr: 0x40001000 far: 0x000000016ce77f70 esr: 0x56000080 Address size fault

Binary Images: 0x1a07c5000 - 0x1a07fcfff libsystem_kernel.dylib () <67f22904-88ed-3847-bbf0-5c4c599fd79e> /usr/lib/system/libsystem_kernel.dylib 0x1a07fd000 - 0x1a0809fff libsystem_pthread.dylib () /usr/lib/system/libsystem_pthread.dylib 0x1a06c4000 - 0x1a0745fff libsystem_c.dylib () <93fc2587-038e-31e1-b16b-369979e72cb1> /usr/lib/system/libsystem_c.dylib 0x1a07ad000 - 0x1a07c4fff libc++abi.dylib () /usr/lib/libc++abi.dylib 0x1a0683000 - 0x1a06c0fff libobjc.A.dylib () <3d936842-5903-31ad-b1ae-1de4f4b448a6> /usr/lib/libobjc.A.dylib 0x1a063c000 - 0x1a0682fff libdispatch.dylib () <035d23d9-4cb5-3759-9059-1f7878f89fee> /usr/lib/system/libdispatch.dylib 0x1a084c000 - 0x1a0d92fff com.apple.CoreFoundation (6.9) <1643f3d9-7049-37e4-b844-c0c0a42bde3b> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x1a94dc000 - 0x1a980ffff com.apple.HIToolbox (2.1.1) <7112f6f2-a77e-39db-83c8-f627b8a49df8> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox 0x1a33f5000 - 0x1a42adfff com.apple.AppKit (6.9) <07bc3607-552a-3eb9-a941-4911c589dbc5> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x1031cc000 - 0x10322bfff dyld (*) <75627683-a780-32ad-ae34-cf86dd23a26b> /usr/lib/dyld 0x1a7749000 - 0x1a7a74fff com.apple.QuartzCore (1.11) <05d8e758-d3ea-3942-bbe3-668a95692658> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore 0x1b8d0d000 - 0x1ba190fff com.apple.JavaScriptCore (17613) /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore 0x102f6c000 - 0x1030bbfff fi.KAPITAN.Beat (1.974) <0d272b9e-c40a-31b3-8200-da510ab8fbc4> /Applications/Beat.app/Contents/MacOS/Beat

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

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Accelerate framework 1024K 8 Activity Tracing 256K 1 CG backing stores 4288K 8 CG image 848K 29 ColorSync 624K 27 CoreAnimation 83.9M 144 CoreGraphics 64K 4 CoreImage 16K 1 CoreUI image data 5440K 42 Foundation 48K 2 Image IO 16K 1 Kernel Alloc Once 32K 1 MALLOC 342.5M 75 MALLOC guard page 288K 15 MALLOC_MEDIUM (reserved) 1.2G 10 reserved VM address space (unallocated) MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated) STACK GUARD 56.1M 8 Stack 12.2M 8 VM_ALLOCATE 224K 14 WebKit Malloc 224.0M 5 AUTH 2545K 311 AUTH_CONST 19.8M 503 CTF 756 1 DATA 15.3M 500 DATA_CONST 17.8M 514 __DATA_DIRTY 1745K 212 FONT_DATA 4K 1 GLSLBUILTINS 5176K 1 LINKEDIT 578.8M 10 OBJC_CONST 3429K 278 __OBJC_RO 83.0M 1 OBJC_RW 3168K 1 TEXT 494.1M 532 UNICODE 592K 1 dyld private memory 1024K 1 libnetwork 128K 8 mapped file 208.9M 51 shared memory 976K 18 =========== ======= ======= TOTAL 3.7G 3348 TOTAL, minus reserved VM space 2.1G 3348


Full Report

{"app_name":"Beat","timestamp":"2022-11-15 13:40:09.00 +0000","app_version":"1.974","slice_uuid":"0d272b9e-c40a-31b3-8200-da510ab8fbc4","adam_id":"1549538329","build_version":"133032","platform":1,"bundleID":"fi.KAPITAN.Beat","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.5 (21G72)","incident_id":"9BCF4828-97EF-4A83-98B9-28B11CD5295B","name":"Beat"} { "uptime" : 720, "procLaunch" : "2022-11-15 13:32:49.5834 +0000", "procRole" : "Foreground", "version" : 2, "userID" : 501, "deployVersion" : 210, "modelCode" : "MacBookPro18,4", "procStartAbsTime" : 6845484716, "coalitionID" : 953, "osVersion" : { "train" : "macOS 12.5", "build" : "21G72", "releaseType" : "User" }, "captureTime" : "2022-11-15 13:40:09.4326 +0000", "incident" : "9BCF4828-97EF-4A83-98B9-28B11CD5295B", "bug_type" : "309", "pid" : 1335, "procExitAbsTime" : 17401335882, "translated" : false, "cpuType" : "ARM-64", "procName" : "Beat", "procPath" : "\/Applications\/Beat.app\/Contents\/MacOS\/Beat", "bundleInfo" : {"CFBundleShortVersionString":"1.974","CFBundleVersion":"133032","CFBundleIdentifier":"fi.KAPITAN.Beat"}, "storeInfo" : {"storeCohortMetadata":"10|date=1643207400000&sf=143444&pgtp=Search&pgid=osx&prpg=Genre_25206&ctxt=Search&issrch=1&imptyp=card&kind=macSoftware&lngid=2","itemID":"1549538329","deviceIdentifierForVendor":"5ABCAEE7-4BDF-504B-9636-4E4C40480F66","thirdParty":true,"softwareVersionExternalIdentifier":"853323871"}, "parentProc" : "launchd", "parentPid" : 1, "coalitionName" : "fi.KAPITAN.Beat", "crashReporterKey" : "CDB27E29-D12C-96B9-C101-9A7064A7F167", "sip" : "enabled", "isCorpse" : 1, "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"}, "asi" : {"libsystem_c.dylib":["abort() called"]}, "asiBacktraces" : ["0 CoreFoundation 0x00000001a09511a8 exceptionPreprocess + 240\n1 libobjc.A.dylib 0x00000001a069be04 objc_exception_throw + 60\n2 CoreFoundation 0x00000001a09dca10 -[NSSingleObjectEnumerator init] + 0\n3 Beat 0x0000000102fabe7c Beat + 261756\n4 Beat 0x0000000102fab94c Beat + 260428\n5 Beat 0x0000000102fab810 Beat + 260112\n6 Beat 0x0000000102fab788 Beat + 259976\n7 Beat 0x0000000102faa678 Beat + 255608\n8 Beat 0x0000000102faa3dc Beat + 254940\n9 Beat 0x0000000102fc672c Beat + 370476\n10 Beat 0x0000000102fc5fa4 Beat + 368548\n11 Beat 0x0000000102ffb19c Beat + 586140\n12 libdispatch.dylib 0x00000001a063e5f0 _dispatch_call_block_and_release + 32\n13 libdispatch.dylib 0x00000001a06401b4 _dispatch_client_callout + 20\n14 libdispatch.dylib 0x00000001a064e6cc _dispatch_main_queue_drain + 928\n15 libdispatch.dylib 0x00000001a064e31c _dispatch_main_queue_callback_4CF + 44\n16 CoreFoundation 0x00000001a0912a2c CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16\n17 CoreFoundation 0x00000001a08cfcb8 CFRunLoopRun + 2532\n18 CoreFoundation 0x00000001a08ceb34 CFRunLoopRunSpecific + 600\n19 HIToolbox 0x00000001a950e338 RunCurrentEventLoopInMode + 292\n20 HIToolbox 0x00000001a950e0b4 ReceiveNextEventCommon + 564\n21 HIToolbox 0x00000001a950de68 _BlockUntilNextEventMatchingListInModeWithFilter + 72\n22 AppKit 0x00000001a343651c _DPSNextEvent + 860\n23 AppKit 0x00000001a3434e14 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1328\n24 AppKit 0x00000001a3426fe0 -[NSApplication run] + 596\n25 AppKit 0x00000001a33f86fc NSApplicationMain + 1132\n26 dyld 0x00000001031d108c start + 520"], "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}, "lastExceptionBacktrace" : [{"imageOffset":1069460,"symbol":"exceptionPreprocess","symbolLocation":220,"imageIndex":6},{"imageOffset":101892,"symbol":"objc_exception_throw","symbolLocation":60,"imageIndex":4},{"imageOffset":1640976,"symbol":"-[NSSingleObjectEnumerator init]","symbolLocation":0,"imageIndex":6},{"imageOffset":261756,"imageIndex":12},{"imageOffset":260428,"imageIndex":12},{"imageOffset":260112,"imageIndex":12},{"imageOffset":259976,"imageIndex":12},{"imageOffset":255608,"imageIndex":12},{"imageOffset":254940,"imageIndex":12},{"imageOffset":370476,"imageIndex":12},{"imageOffset":368548,"imageIndex":12},{"imageOffset":586140,"imageIndex":12},{"imageOffset":9712,"symbol":"_dispatch_call_block_and_release","symbolLocation":32,"imageIndex":5},{"imageOffset":16820,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":5},{"imageOffset":75468,"symbol":"_dispatch_main_queue_drain","symbolLocation":928,"imageIndex":5},{"imageOffset":74524,"symbol":"_dispatch_main_queue_callback_4CF","symbolLocation":44,"imageIndex":5},{"imageOffset":813612,"symbol":"CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE","symbolLocation":16,"imageIndex":6},{"imageOffset":539832,"symbol":"__CFRunLoopRun","symbolLocation":2532,"imageIndex":6},{"imageOffset":535348,"symbol":"CFRunLoopRunSpecific","symbolLocation":600,"imageIndex":6},{"imageOffset":205624,"symbol":"RunCurrentEventLoopInMode","symbolLocation":292,"imageIndex":7},{"imageOffset":204980,"symbol":"ReceiveNextEventCommon","symbolLocation":564,"imageIndex":7},{"imageOffset":204392,"symbol":"_BlockUntilNextEventMatchingListInModeWithFilter","symbolLocation":72,"imageIndex":7},{"imageOffset":267548,"symbol":"_DPSNextEvent","symbolLocation":860,"imageIndex":8},{"imageOffset":261652,"symbol":"-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":1328,"imageIndex":8},{"imageOffset":204768,"symbol":"-[NSApplication run]","symbolLocation":596,"imageIndex":8},{"imageOffset":14076,"symbol":"NSApplicationMain","symbolLocation":1132,"imageIndex":8},{"imageOffset":20620,"symbol":"start","symbolLocation":520,"imageIndex":9}], "faultingThread" : 0, "threads" : [{"triggered":true,"id":14542,"threadState":{"x":[{"value":0},{"value":0},{"value":0},{"value":0},{"value":6987456757},{"value":6122184080},{"value":110},{"value":1},{"value":13463674494831218678},{"value":13463674499073477238},{"value":512},{"value":11},{"value":11},{"value":6993027821},{"value":6987456795},{"value":0},{"value":328},{"value":8498853504},{"value":0},{"value":6},{"value":4347676032,"symbolLocation":0,"symbol":"_main_thread"},{"value":259},{"value":4347676256,"symbolLocation":224,"symbol":"_main_thread"},{"value":276},{"value":0},{"value":4347676256,"symbolLocation":224,"symbol":"_main_thread"},{"value":105553150663040},{"value":15},{"value":50331647}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6987726560},"cpsr":{"value":1073745920},"fp":{"value":6122183936},"sp":{"value":6122183904},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6987509144,"matchesCrashFrame":1},"far":{"value":6122078064}},"queue":"com.apple.main-thread","frames":[{"imageOffset":40344,"symbol":"pthread_kill","symbolLocation":8,"imageIndex":0},{"imageOffset":28384,"symbol":"pthread_kill","symbolLocation":288,"imageIndex":1},{"imageOffset":500544,"symbol":"abort","symbolLocation":168,"imageIndex":2},{"imageOffset":72456,"symbol":"abort_message","symbolLocation":132,"imageIndex":3},{"imageOffset":6480,"symbol":"demangling_terminate_handler()","symbolLocation":336,"imageIndex":3},{"imageOffset":135968,"symbol":"_objc_terminate()","symbolLocation":144,"imageIndex":4},{"imageOffset":69284,"symbol":"std::terminate(void (*)())","symbolLocation":20,"imageIndex":3},{"imageOffset":69184,"symbol":"std::terminate()","symbolLocation":64,"imageIndex":3},{"imageOffset":16840,"symbol":"_dispatch_client_callout","symbolLocation":40,"imageIndex":5},{"imageOffset":75468,"symbol":"_dispatch_main_queue_drain","symbolLocation":928,"imageIndex":5},{"imageOffset":74524,"symbol":"_dispatch_main_queue_callback_4CF","symbolLocation":44,"imageIndex":5},{"imageOffset":813612,"symbol":"CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE","symbolLocation":16,"imageIndex":6},{"imageOffset":539832,"symbol":"CFRunLoopRun","symbolLocation":2532,"imageIndex":6},{"imageOffset":535348,"symbol":"CFRunLoopRunSpecific","symbolLocation":600,"imageIndex":6},{"imageOffset":205624,"symbol":"RunCurrentEventLoopInMode","symbolLocation":292,"imageIndex":7},{"imageOffset":204980,"symbol":"ReceiveNextEventCommon","symbolLocation":564,"imageIndex":7},{"imageOffset":204392,"symbol":"_BlockUntilNextEventMatchingListInModeWithFilter","symbolLocation":72,"imageIndex":7},{"imageOffset":267548,"symbol":"_DPSNextEvent","symbolLocation":860,"imageIndex":8},{"imageOffset":261652,"symbol":"-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":1328,"imageIndex":8},{"imageOffset":204768,"symbol":"-[NSApplication run]","symbolLocation":596,"imageIndex":8},{"imageOffset":14076,"symbol":"NSApplicationMain","symbolLocation":1132,"imageIndex":8},{"imageOffset":20620,"symbol":"start","symbolLocation":520,"imageIndex":9}]},{"id":14585,"name":"com.apple.coreanimation.render-server","frames":[{"imageOffset":6320,"symbol":"mach_msg_trap","symbolLocation":8,"imageIndex":0},{"imageOffset":7456,"symbol":"mach_msg","symbolLocation":76,"imageIndex":0},{"imageOffset":293120,"symbol":"CA::Render::Server::server_thread(void)","symbolLocation":520,"imageIndex":10},{"imageOffset":292584,"symbol":"thread_fun(void)","symbolLocation":32,"imageIndex":10},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":14613,"name":"com.apple.NSEventThread","frames":[{"imageOffset":6320,"symbol":"mach_msg_trap","symbolLocation":8,"imageIndex":0},{"imageOffset":7456,"symbol":"mach_msg","symbolLocation":76,"imageIndex":0},{"imageOffset":545472,"symbol":"CFRunLoopServiceMachPort","symbolLocation":372,"imageIndex":6},{"imageOffset":538480,"symbol":"CFRunLoopRun","symbolLocation":1180,"imageIndex":6},{"imageOffset":535348,"symbol":"CFRunLoopRunSpecific","symbolLocation":600,"imageIndex":6},{"imageOffset":1761536,"symbol":"_NSEventThread","symbolLocation":196,"imageIndex":8},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":19928,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":20048,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":20050,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":20052,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":20065,"name":"JavaScriptCore libpas scavenger","frames":[{"imageOffset":21104,"symbol":"psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":1},{"imageOffset":2265296,"symbol":"scavenger_thread_main","symbolLocation":1088,"imageIndex":11},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]}], "usedImages" : [ { "source" : "P", "arch" : "arm64e", "base" : 6987468800, "size" : 229376, "uuid" : "67f22904-88ed-3847-bbf0-5c4c599fd79e", "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib", "name" : "libsystem_kernel.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6987698176, "size" : 53248, "uuid" : "f32ff902-ba43-30b0-ad43-a2a8a9ff69fe", "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib", "name" : "libsystem_pthread.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6986416128, "size" : 532480, "uuid" : "93fc2587-038e-31e1-b16b-369979e72cb1", "path" : "\/usr\/lib\/system\/libsystem_c.dylib", "name" : "libsystem_c.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6987370496, "size" : 98304, "uuid" : "a260a581-f4a9-3036-bb4f-16a9c6cc54d5", "path" : "\/usr\/lib\/libc++abi.dylib", "name" : "libc++abi.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6986149888, "size" : 253952, "uuid" : "3d936842-5903-31ad-b1ae-1de4f4b448a6", "path" : "\/usr\/lib\/libobjc.A.dylib", "name" : "libobjc.A.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6985859072, "size" : 290816, "uuid" : "035d23d9-4cb5-3759-9059-1f7878f89fee", "path" : "\/usr\/lib\/system\/libdispatch.dylib", "name" : "libdispatch.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6988021760, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.CoreFoundation", "size" : 5533696, "uuid" : "1643f3d9-7049-37e4-b844-c0c0a42bde3b", "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation", "name" : "CoreFoundation", "CFBundleVersion" : "1866" }, { "source" : "P", "arch" : "arm64e", "base" : 7135412224, "CFBundleShortVersionString" : "2.1.1", "CFBundleIdentifier" : "com.apple.HIToolbox", "size" : 3358720, "uuid" : "7112f6f2-a77e-39db-83c8-f627b8a49df8", "path" : "\/System\/Library\/Frameworks\/Carbon.framework\/Versions\/A\/Frameworks\/HIToolbox.framework\/Versions\/A\/HIToolbox", "name" : "HIToolbox" }, { "source" : "P", "arch" : "arm64e", "base" : 7033802752, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.AppKit", "size" : 15437824, "uuid" : "07bc3607-552a-3eb9-a941-4911c589dbc5", "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit", "name" : "AppKit", "CFBundleVersion" : "2113.60.148" }, { "source" : "P", "arch" : "arm64e", "base" : 4347183104, "size" : 393216, "uuid" : "75627683-a780-32ad-ae34-cf86dd23a26b", "path" : "\/usr\/lib\/dyld", "name" : "dyld" }, { "source" : "P", "arch" : "arm64e", "base" : 7104401408, "CFBundleShortVersionString" : "1.11", "CFBundleIdentifier" : "com.apple.QuartzCore", "size" : 3325952, "uuid" : "05d8e758-d3ea-3942-bbe3-668a95692658", "path" : "\/System\/Library\/Frameworks\/QuartzCore.framework\/Versions\/A\/QuartzCore", "name" : "QuartzCore", "CFBundleVersion" : "964.35" }, { "source" : "P", "arch" : "arm64e", "base" : 7395659776, "CFBundleShortVersionString" : "17613", "CFBundleIdentifier" : "com.apple.JavaScriptCore", "size" : 21512192, "uuid" : "a4419bbe-ea6b-359a-bc25-6ddc16b3709a", "path" : "\/System\/Library\/Frameworks\/JavaScriptCore.framework\/Versions\/A\/JavaScriptCore", "name" : "JavaScriptCore", "CFBundleVersion" : "17613.3.9.1.5" }, { "source" : "P", "arch" : "arm64", "base" : 4344692736, "CFBundleShortVersionString" : "1.974", "CFBundleIdentifier" : "fi.KAPITAN.Beat", "size" : 1376256, "uuid" : "0d272b9e-c40a-31b3-8200-da510ab8fbc4", "path" : "\/Applications\/Beat.app\/Contents\/MacOS\/Beat", "name" : "Beat", "CFBundleVersion" : "133032" } ], "sharedCache" : { "base" : 6984400896, "size" : 3144695808, "uuid" : "ffede77c-d90b-366b-96f2-665c2f50ee59" }, "vmSummary" : "ReadOnly portion of Libraries: Total=1.0G resident=0K(0%) swapped_out_or_unallocated=1.0G(100%)\nWritable regions: Total=2.2G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=2.2G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nAccelerate framework 1024K 8 \nActivity Tracing 256K 1 \nCG backing stores 4288K 8 \nCG image 848K 29 \nColorSync 624K 27 \nCoreAnimation 83.9M 144 \nCoreGraphics 64K 4 \nCoreImage 16K 1 \nCoreUI image data 5440K 42 \nFoundation 48K 2 \nImage IO 16K 1 \nKernel Alloc Once 32K 1 \nMALLOC 342.5M 75 \nMALLOC guard page 288K 15 \nMALLOC_MEDIUM (reserved) 1.2G 10 reserved VM address space (unallocated)\nMALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)\nSTACK GUARD 56.1M 8 \nStack 12.2M 8 \nVM_ALLOCATE 224K 14 \nWebKit Malloc 224.0M 5 \nAUTH 2545K 311 \nAUTH_CONST 19.8M 503 \nCTF 756 1 \nDATA 15.3M 500 \n__DATA_CONST 17.8M 514 \nDATA_DIRTY 1745K 212 \nFONT_DATA 4K 1 \nGLSLBUILTINS 5176K 1 \nLINKEDIT 578.8M 10 \n__OBJC_CONST 3429K 278 \nOBJC_RO 83.0M 1 \n__OBJC_RW 3168K 1 \nTEXT 494.1M 532 \nUNICODE 592K 1 \ndyld private memory 1024K 1 \nlibnetwork 128K 8 \nmapped file 208.9M 51 \nshared memory 976K 18 \n=========== ======= ======= \nTOTAL 3.7G 3348 \nTOTAL, minus reserved VM space 2.1G 3348 \n", "legacyInfo" : { "threadTriggered" : { "queue" : "com.apple.main-thread" } }, "trialInfo" : { "rollouts" : [ { "rolloutId" : "60da5e84ab0ca017dace9abf", "factorPackIds" : {

  },
  "deploymentId" : 240000008
},
{
  "rolloutId" : "63582c5f8a53461413999550",
  "factorPackIds" : {

  },
  "deploymentId" : 240000002
}

], "experiments" : [

] } }

Model: MacBookPro18,4, BootROM 7459.141.1, proc 10:8:2 processors, 32 GB, SMC Graphics: Apple M1 Max, Apple M1 Max, Built-In Display: DELL U2312HM, 1920 x 1080 (1080p FHD - Full High Definition), Main, MirrorOff, Online Display: Color LCD, 3024 x 1964 Retina, MirrorOff, Online Memory Module: LPDDR5 AirPort: Wi-Fi, wl0: Apr 6 2022 05:55:54 version 20.90.45.0.8.7.118 FWID 01-e7138ff2 Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports Network Service: Wi-Fi, AirPort, en0 USB Device: USB31Bus USB Device: USB31Bus USB Device: USB31Bus USB Device: USB2.0 Hub USB Device: hub_device USB Device: miscellaneous_device USB Device: USB Receiver USB Device: SL STUDIO USB Device: Audient iD14 Thunderbolt Bus: MacBook Pro, Apple Inc. Thunderbolt Bus: MacBook Pro, Apple Inc. Thunderbolt Bus: MacBook Pro, Apple Inc.

lmparppei commented 1 year ago

By the looks of it, this is somehow UI-related. Does it actually happen once you click Export to PDF?

lmparppei commented 1 year ago

Uh, no, never mind — it is an async call error. If you dare, seeing the document could actually help a lot.

lmparppei commented 1 year ago

Hmm. After some further investigation, the latest app-specific call I see in your crash report is to sidebar menu item update. Are you absolutely sure this report is from a crash which happened when exporting a PDF?

I can't reproduce these calls anywhere when opening the export window.

trettke commented 1 year ago

Hi Lauri,

Thanks for your help on this - I’ve downloaded Beat on a different machine and can’t reproduce the issue either! Very strange. For now I’ll just do any exporting I need on my other computer.

Is there anything else you need from me that might be useful?

Thanks so much for this software - this is the first issue I’ve ever run into and I absolutely love it.

All the best, Taylor

On 15 Nov 2022, at 14:49, Lauri-Matti Parppei @.***> wrote:

Hmm. After some further investigation, the latest app-specific call I see in your crash report is to sidebar menu item update. Are you absolutely sure this report is from a crash which happened when exporting a PDF?

I can't reproduce these calls anywhere when opening the export window.

— Reply to this email directly, view it on GitHub https://github.com/lmparppei/Beat/issues/127#issuecomment-1315417939, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYZWSRVSRXTKNUISD25MULWIOPHJANCNFSM6AAAAAASA6JT5I. You are receiving this because you authored the thread.

lmparppei commented 1 year ago

Nice — I'm still a bit worried about this, though. Did the crash occurr right when you opened the PDF creation / printing panel, or moments after that?

trettke commented 1 year ago

I click the PDF creation button and the dialogue box pops up for half a second and then the whole thing crashes.

On Tue, 15 Nov 2022 at 3:58 pm, Lauri-Matti Parppei < @.***> wrote:

Nice — I'm still a bit worried about this, though. Did the crash occurr right when you opened the PDF creation / printing panel, or moments after that?

— Reply to this email directly, view it on GitHub https://github.com/lmparppei/Beat/issues/127#issuecomment-1315517796, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYZWSSP7Y3HPWTSLQHGBEDWIOXL3ANCNFSM6AAAAAASA6JT5I . You are receiving this because you authored the thread.Message ID: @.***>

lmparppei commented 1 year ago

Strange. If you are able to reproduce the bug on the previous machine again, click on the "Send to Apple" button once you get the crash report. That way I will receive a more detailed report right into Xcode.

trettke commented 1 year ago

Have reproduced and sent to Apple - I've also screengrabbed here:

https://user-images.githubusercontent.com/7445322/202042243-505e9c47-a3c8-4a22-a27e-177d113b9e22.mov

lmparppei commented 1 year ago

For some reason, I haven't received the crash report from App Store. If you could paste another report here, I'd be grateful. I might have a clue what's causing this.

trettke commented 1 year ago

No worries - here we are:


Translated Report (Full Report Below)

Process: Beat [2285] Path: /Applications/Beat.app/Contents/MacOS/Beat Identifier: fi.KAPITAN.Beat Version: 1.974 (133032) App Item ID: 1549538329 App External ID: 853323871 Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 501

Date/Time: 2022-11-16 10:32:35.8894 +0000 OS Version: macOS 13.0.1 (22A400) Report Version: 12 Anonymous UUID: CDB27E29-D12C-96B9-C101-9A7064A7F167

Time Awake Since Boot: 1400 seconds

System Integrity Protection: enabled

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

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

Application Specific Information: abort() called

Application Specific Backtrace 0: 0 CoreFoundation 0x00000001ad990418 exceptionPreprocess + 176 1 libobjc.A.dylib 0x00000001ad4daea8 objc_exception_throw + 60 2 CoreFoundation 0x00000001ada293fc -[NSSingleObjectEnumerator init] + 0 3 Beat 0x000000010469be7c Beat + 261756 4 Beat 0x000000010469b94c Beat + 260428 5 Beat 0x000000010469b810 Beat + 260112 6 Beat 0x000000010469b788 Beat + 259976 7 Beat 0x000000010469a678 Beat + 255608 8 Beat 0x000000010469a3dc Beat + 254940 9 Beat 0x00000001046b672c Beat + 370476 10 Beat 0x00000001046b5fa4 Beat + 368548 11 Beat 0x00000001046eb19c Beat + 586140 12 libdispatch.dylib 0x00000001ad6ad9dc _dispatch_call_block_and_release + 32 13 libdispatch.dylib 0x00000001ad6af504 _dispatch_client_callout + 20 14 libdispatch.dylib 0x00000001ad6bdd1c _dispatch_main_queue_drain + 928 15 libdispatch.dylib 0x00000001ad6bd96c _dispatch_main_queue_callback_4CF + 44 16 CoreFoundation 0x00000001ad956d6c CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16 17 CoreFoundation 0x00000001ad9147ec __CFRunLoopRun + 2036 18 CoreFoundation 0x00000001ad9138a4 CFRunLoopRunSpecific + 612 19 HIToolbox 0x00000001b6f873bc RunCurrentEventLoopInMode + 292 20 HIToolbox 0x00000001b6f87200 ReceiveNextEventCommon + 672 21 HIToolbox 0x00000001b6f86f48 _BlockUntilNextEventMatchingListInModeWithFilter + 72 22 AppKit 0x00000001b0b6c630 _DPSNextEvent + 632 23 AppKit 0x00000001b0b6b7c0 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 728 24 AppKit 0x00000001b0b5fbf0 -[NSApplication run] + 464 25 AppKit 0x00000001b0b37058 NSApplicationMain + 880 26 dyld 0x00000001ad50be50 start + 2544

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x1ad7ff224 __pthread_kill + 8 1 libsystem_pthread.dylib 0x1ad835cec pthread_kill + 288 2 libsystem_c.dylib 0x1ad76f2c8 abort + 180 3 libc++abi.dylib 0x1ad7efb18 abort_message + 132 4 libc++abi.dylib 0x1ad7dfa0c demangling_terminate_handler() + 336 5 libobjc.A.dylib 0x1ad4e3764 _objc_terminate() + 144 6 libc++abi.dylib 0x1ad7eeeb4 std::terminate(void (*)()) + 20 7 libc++abi.dylib 0x1ad7eee50 std::terminate() + 56 8 libdispatch.dylib 0x1ad6af518 _dispatch_client_callout + 40 9 libdispatch.dylib 0x1ad6bdd1c _dispatch_main_queue_drain + 928 10 libdispatch.dylib 0x1ad6bd96c _dispatch_main_queue_callback_4CF + 44 11 CoreFoundation 0x1ad956d6c CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16 12 CoreFoundation 0x1ad9147ec CFRunLoopRun + 2036 13 CoreFoundation 0x1ad9138a4 CFRunLoopRunSpecific + 612 14 HIToolbox 0x1b6f873bc RunCurrentEventLoopInMode + 292 15 HIToolbox 0x1b6f87200 ReceiveNextEventCommon + 672 16 HIToolbox 0x1b6f86f48 _BlockUntilNextEventMatchingListInModeWithFilter + 72 17 AppKit 0x1b0b6c630 _DPSNextEvent + 632 18 AppKit 0x1b0b6b7c0 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 728 19 AppKit 0x1b0b5fbf0 -[NSApplication run] + 464 20 AppKit 0x1b0b37058 NSApplicationMain + 880 21 dyld 0x1ad50be50 start + 2544

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

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

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

Thread 4: 0 libsystem_pthread.dylib 0x1ad830e18 start_wqthread + 0

Thread 5:: JavaScriptCore libpas scavenger 0 libsystem_kernel.dylib 0x1ad7fa5e4 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1ad836638 _pthread_cond_wait + 1232 2 JavaScriptCore 0x1c6a9d17c scavenger_thread_main + 1364 3 libsystem_pthread.dylib 0x1ad83606c _pthread_start + 148 4 libsystem_pthread.dylib 0x1ad830e2c thread_start + 8

Thread 6:: com.apple.coreanimation.render-server 0 libsystem_kernel.dylib 0x1ad7f6df0 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x1ad8088d8 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x1ad7ff638 mach_msg_overwrite + 540 3 libsystem_kernel.dylib 0x1ad7f716c mach_msg + 24 4 QuartzCore 0x1b4f9d654 CA::Render::Server::server_thread(void) + 564 5 QuartzCore 0x1b4f9d410 thread_fun(void) + 32 6 libsystem_pthread.dylib 0x1ad83606c _pthread_start + 148 7 libsystem_pthread.dylib 0x1ad830e2c thread_start + 8

Thread 7: 0 libsystem_pthread.dylib 0x1ad830e18 start_wqthread + 0

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

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

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

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

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

Thread 13: 0 libsystem_pthread.dylib 0x1ad830e18 start_wqthread + 0

Thread 14: 0 libsystem_pthread.dylib 0x1ad830e18 start_wqthread + 0

Thread 15: 0 libsystem_pthread.dylib 0x1ad830e18 start_wqthread + 0

Thread 16: 0 libsystem_pthread.dylib 0x1ad830e18 start_wqthread + 0

Thread 17:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x1ad7f6df0 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x1ad8088d8 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x1ad7ff638 mach_msg_overwrite + 540 3 libsystem_kernel.dylib 0x1ad7f716c mach_msg + 24 4 CoreFoundation 0x1ad915bdc CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x1ad9144c8 CFRunLoopRun + 1232 6 CoreFoundation 0x1ad9138a4 CFRunLoopRunSpecific + 612 7 AppKit 0x1b0c96248 _NSEventThread + 172 8 libsystem_pthread.dylib 0x1ad83606c _pthread_start + 148 9 libsystem_pthread.dylib 0x1ad830e2c thread_start + 8

Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000 x4: 0x00000001ad7f30f5 x5: 0x000000016b7a1e40 x6: 0x000000000000006e x7: 0x0000000000000001 x8: 0x55902c93cba21a4e x9: 0x55902c91c34dbf4e x10: 0x0000000000000200 x11: 0x000000000000000b x12: 0x000000000000000b x13: 0x00000000001ff800 x14: 0x00000000000007fb x15: 0x00000000a0224835 x16: 0x0000000000000148 x17: 0x000000020dd489a8 x18: 0x0000000000000000 x19: 0x0000000000000006 x20: 0x0000000208efa500 x21: 0x0000000000000103 x22: 0x0000000208efa5e0 x23: 0x0000000000000114 x24: 0x0000000000000000 x25: 0x0000000208efa5e0 x26: 0x0000600002b44bc0 x27: 0x000000000000000f x28: 0x0000000000000000 fp: 0x000000016b7a1db0 lr: 0x00000001ad835cec sp: 0x000000016b7a1d90 pc: 0x00000001ad7ff224 cpsr: 0x40001000 far: 0x000000010429c0a4 esr: 0x56000080 Address size fault

Binary Images: 0x1ad7f6000 - 0x1ad82effb libsystem_kernel.dylib () <6d6644d3-3db3-34c4-b1e3-c675ec5360f0> /usr/lib/system/libsystem_kernel.dylib 0x1ad82f000 - 0x1ad83bffb libsystem_pthread.dylib () <886caca0-5762-3640-8db2-3fa3b911c062> /usr/lib/system/libsystem_pthread.dylib 0x1ad6f6000 - 0x1ad776ff3 libsystem_c.dylib () /usr/lib/system/libsystem_c.dylib 0x1ad7de000 - 0x1ad7f5ffb libc++abi.dylib () /usr/lib/libc++abi.dylib 0x1ad4c0000 - 0x1ad505d9f libobjc.A.dylib () /usr/lib/libobjc.A.dylib 0x1ad6ab000 - 0x1ad6f2fff libdispatch.dylib () <40c9c98c-00d6-3e8e-9ad3-2ed6cf0d0cfe> /usr/lib/system/libdispatch.dylib 0x1ad894000 - 0x1add6bfff com.apple.CoreFoundation (6.9) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x1b6f55000 - 0x1b7288fff com.apple.HIToolbox (2.1.1) <02b9797f-c47d-30b7-b7b0-802d0d26f31c> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox 0x1b0b33000 - 0x1b1a3afff com.apple.AppKit (6.9) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x1ad506000 - 0x1ad5904bf dyld (*) /usr/lib/dyld 0x1c6857000 - 0x1c7d02fff com.apple.JavaScriptCore (18614) /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore 0x1b4f56000 - 0x1b52b8fff com.apple.QuartzCore (1.11) <6eae8b05-2af0-3057-91fc-cf2d9c74dd40> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore 0x10465c000 - 0x1047abfff fi.KAPITAN.Beat (1.974) <0d272b9e-c40a-31b3-8200-da510ab8fbc4> /Applications/Beat.app/Contents/MacOS/Beat

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.3G resident=0K(0%) swapped_out_or_unallocated=1.3G(100%) Writable regions: Total=6.0G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=6.0G(100%)

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Accelerate framework 256K 2 Activity Tracing 256K 1 CG backing stores 4288K 8 CG image 832K 25 ColorSync 624K 28 CoreAnimation 42.5M 127 CoreGraphics 64K 4 CoreImage 16K 1 CoreUI image data 5376K 37 Foundation 48K 2 Image IO 16K 1 Kernel Alloc Once 32K 1 MALLOC 322.5M 69 MALLOC guard page 288K 14 MALLOC_MEDIUM (reserved) 1.1G 9 reserved VM address space (unallocated) MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated) STACK GUARD 56.3M 18 Stack 17.5M 18 VM_ALLOCATE 224K 14 VM_ALLOCATE (reserved) 4.0G 1 reserved VM address space (unallocated) WebKit Malloc 192.1M 4 AUTH 1776K 353 AUTH_CONST 24.1M 573 CTF 756 1 DATA 12.0M 565 DATA_CONST 27.3M 582 __DATA_DIRTY 1988K 229 FONT_DATA 2352 1 GLSLBUILTINS 5174K 1 LINKEDIT 763.7M 9 OBJC_CONST 4495K 317 __OBJC_RO 65.1M 1 OBJC_RW 1981K 1 __TEXT 585.2M 605 dyld private memory 256K 1 libnetwork 640K 16 mapped file 349.5M 67 shared memory 992K 21 =========== ======= ======= TOTAL 7.9G 3728 TOTAL, minus reserved VM space 2.4G 3728


Full Report

{"app_name":"Beat","timestamp":"2022-11-16 10:32:37.00 +0000","app_version":"1.974","slice_uuid":"0d272b9e-c40a-31b3-8200-da510ab8fbc4","adam_id":"1549538329","build_version":"133032","platform":1,"bundleID":"fi.KAPITAN.Beat","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.0.1 (22A400)","roots_installed":0,"name":"Beat","incident_id":"FD0D7246-1797-4E51-B477-58D202FBE881"} { "uptime" : 1400, "procRole" : "Foreground", "version" : 2, "userID" : 501, "deployVersion" : 210, "modelCode" : "MacBookPro18,4", "coalitionID" : 1518, "osVersion" : { "train" : "macOS 13.0.1", "build" : "22A400", "releaseType" : "User" }, "captureTime" : "2022-11-16 10:32:35.8894 +0000", "incident" : "FD0D7246-1797-4E51-B477-58D202FBE881", "pid" : 2285, "translated" : false, "cpuType" : "ARM-64", "roots_installed" : 0, "bug_type" : "309", "procLaunch" : "2022-11-16 10:32:31.0887 +0000", "procStartAbsTime" : 33529553727, "procExitAbsTime" : 33644753961, "procName" : "Beat", "procPath" : "\/Applications\/Beat.app\/Contents\/MacOS\/Beat", "bundleInfo" : {"CFBundleShortVersionString":"1.974","CFBundleVersion":"133032","CFBundleIdentifier":"fi.KAPITAN.Beat"}, "storeInfo" : {"storeCohortMetadata":"10|date=1643207400000&sf=143444&pgtp=Search&pgid=osx&prpg=Genre_25206&ctxt=Search&issrch=1&imptyp=card&kind=macSoftware&lngid=2","itemID":"1549538329","deviceIdentifierForVendor":"5ABCAEE7-4BDF-504B-9636-4E4C40480F66","thirdParty":true,"softwareVersionExternalIdentifier":"853323871"}, "parentProc" : "launchd", "parentPid" : 1, "coalitionName" : "fi.KAPITAN.Beat", "crashReporterKey" : "CDB27E29-D12C-96B9-C101-9A7064A7F167", "sip" : "enabled", "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"}, "asi" : {"libsystem_c.dylib":["abort() called"]}, "asiBacktraces" : ["0 CoreFoundation 0x00000001ad990418 exceptionPreprocess + 176\n1 libobjc.A.dylib 0x00000001ad4daea8 objc_exception_throw + 60\n2 CoreFoundation 0x00000001ada293fc -[NSSingleObjectEnumerator init] + 0\n3 Beat 0x000000010469be7c Beat + 261756\n4 Beat 0x000000010469b94c Beat + 260428\n5 Beat 0x000000010469b810 Beat + 260112\n6 Beat 0x000000010469b788 Beat + 259976\n7 Beat 0x000000010469a678 Beat + 255608\n8 Beat 0x000000010469a3dc Beat + 254940\n9 Beat 0x00000001046b672c Beat + 370476\n10 Beat 0x00000001046b5fa4 Beat + 368548\n11 Beat 0x00000001046eb19c Beat + 586140\n12 libdispatch.dylib 0x00000001ad6ad9dc _dispatch_call_block_and_release + 32\n13 libdispatch.dylib 0x00000001ad6af504 _dispatch_client_callout + 20\n14 libdispatch.dylib 0x00000001ad6bdd1c _dispatch_main_queue_drain + 928\n15 libdispatch.dylib 0x00000001ad6bd96c _dispatch_main_queue_callback_4CF + 44\n16 CoreFoundation 0x00000001ad956d6c CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 16\n17 CoreFoundation 0x00000001ad9147ec CFRunLoopRun + 2036\n18 CoreFoundation 0x00000001ad9138a4 CFRunLoopRunSpecific + 612\n19 HIToolbox 0x00000001b6f873bc RunCurrentEventLoopInMode + 292\n20 HIToolbox 0x00000001b6f87200 ReceiveNextEventCommon + 672\n21 HIToolbox 0x00000001b6f86f48 _BlockUntilNextEventMatchingListInModeWithFilter + 72\n22 AppKit 0x00000001b0b6c630 _DPSNextEvent + 632\n23 AppKit 0x00000001b0b6b7c0 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 728\n24 AppKit 0x00000001b0b5fbf0 -[NSApplication run] + 464\n25 AppKit 0x00000001b0b37058 NSApplicationMain + 880\n26 dyld 0x00000001ad50be50 start + 2544"], "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}, "lastExceptionBacktrace" : [{"imageOffset":1033228,"symbol":"exceptionPreprocess","symbolLocation":164,"imageIndex":6},{"imageOffset":110248,"symbol":"objc_exception_throw","symbolLocation":60,"imageIndex":4},{"imageOffset":1659900,"symbol":"-[NSSingleObjectEnumerator init]","symbolLocation":0,"imageIndex":6},{"imageOffset":261756,"imageIndex":12},{"imageOffset":260428,"imageIndex":12},{"imageOffset":260112,"imageIndex":12},{"imageOffset":259976,"imageIndex":12},{"imageOffset":255608,"imageIndex":12},{"imageOffset":254940,"imageIndex":12},{"imageOffset":370476,"imageIndex":12},{"imageOffset":368548,"imageIndex":12},{"imageOffset":586140,"imageIndex":12},{"imageOffset":10716,"symbol":"_dispatch_call_block_and_release","symbolLocation":32,"imageIndex":5},{"imageOffset":17668,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":5},{"imageOffset":77084,"symbol":"_dispatch_main_queue_drain","symbolLocation":928,"imageIndex":5},{"imageOffset":76140,"symbol":"_dispatch_main_queue_callback_4CF","symbolLocation":44,"imageIndex":5},{"imageOffset":798060,"symbol":"CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE","symbolLocation":16,"imageIndex":6},{"imageOffset":526316,"symbol":"__CFRunLoopRun","symbolLocation":2036,"imageIndex":6},{"imageOffset":522404,"symbol":"CFRunLoopRunSpecific","symbolLocation":612,"imageIndex":6},{"imageOffset":205756,"symbol":"RunCurrentEventLoopInMode","symbolLocation":292,"imageIndex":7},{"imageOffset":205312,"symbol":"ReceiveNextEventCommon","symbolLocation":672,"imageIndex":7},{"imageOffset":204616,"symbol":"_BlockUntilNextEventMatchingListInModeWithFilter","symbolLocation":72,"imageIndex":7},{"imageOffset":235056,"symbol":"_DPSNextEvent","symbolLocation":632,"imageIndex":8},{"imageOffset":231360,"symbol":"-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":728,"imageIndex":8},{"imageOffset":183280,"symbol":"-[NSApplication run]","symbolLocation":464,"imageIndex":8},{"imageOffset":16472,"symbol":"NSApplicationMain","symbolLocation":880,"imageIndex":8},{"imageOffset":24144,"symbol":"start","symbolLocation":2544,"imageIndex":9}], "faultingThread" : 0, "threads" : [{"triggered":true,"id":27861,"threadState":{"x":[{"value":0},{"value":0},{"value":0},{"value":0},{"value":7205761269},{"value":6098132544},{"value":110},{"value":1},{"value":6165476903158422094},{"value":6165476894428741454},{"value":512},{"value":11},{"value":11},{"value":2095104},{"value":2043},{"value":2686601269},{"value":328},{"value":8821967272},{"value":0},{"value":6},{"value":8739857664,"symbolLocation":0,"symbol":"_main_thread"},{"value":259},{"value":8739857888,"symbolLocation":224,"symbol":"_main_thread"},{"value":276},{"value":0},{"value":8739857888,"symbolLocation":224,"symbol":"_main_thread"},{"value":105553161636800},{"value":15},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":7206034668},"cpsr":{"value":1073745920},"fp":{"value":6098132400},"sp":{"value":6098132368},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":7205810724,"matchesCrashFrame":1},"far":{"value":4364812452}},"queue":"com.apple.main-thread","frames":[{"imageOffset":37412,"symbol":"pthread_kill","symbolLocation":8,"imageIndex":0},{"imageOffset":27884,"symbol":"pthread_kill","symbolLocation":288,"imageIndex":1},{"imageOffset":496328,"symbol":"abort","symbolLocation":180,"imageIndex":2},{"imageOffset":72472,"symbol":"abort_message","symbolLocation":132,"imageIndex":3},{"imageOffset":6668,"symbol":"demangling_terminate_handler()","symbolLocation":336,"imageIndex":3},{"imageOffset":145252,"symbol":"_objc_terminate()","symbolLocation":144,"imageIndex":4},{"imageOffset":69300,"symbol":"std::terminate(void (*)())","symbolLocation":20,"imageIndex":3},{"imageOffset":69200,"symbol":"std::terminate()","symbolLocation":56,"imageIndex":3},{"imageOffset":17688,"symbol":"_dispatch_client_callout","symbolLocation":40,"imageIndex":5},{"imageOffset":77084,"symbol":"_dispatch_main_queue_drain","symbolLocation":928,"imageIndex":5},{"imageOffset":76140,"symbol":"_dispatch_main_queue_callback_4CF","symbolLocation":44,"imageIndex":5},{"imageOffset":798060,"symbol":"CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE","symbolLocation":16,"imageIndex":6},{"imageOffset":526316,"symbol":"CFRunLoopRun","symbolLocation":2036,"imageIndex":6},{"imageOffset":522404,"symbol":"CFRunLoopRunSpecific","symbolLocation":612,"imageIndex":6},{"imageOffset":205756,"symbol":"RunCurrentEventLoopInMode","symbolLocation":292,"imageIndex":7},{"imageOffset":205312,"symbol":"ReceiveNextEventCommon","symbolLocation":672,"imageIndex":7},{"imageOffset":204616,"symbol":"_BlockUntilNextEventMatchingListInModeWithFilter","symbolLocation":72,"imageIndex":7},{"imageOffset":235056,"symbol":"_DPSNextEvent","symbolLocation":632,"imageIndex":8},{"imageOffset":231360,"symbol":"-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":728,"imageIndex":8},{"imageOffset":183280,"symbol":"-[NSApplication run]","symbolLocation":464,"imageIndex":8},{"imageOffset":16472,"symbol":"NSApplicationMain","symbolLocation":880,"imageIndex":8},{"imageOffset":24144,"symbol":"start","symbolLocation":2544,"imageIndex":9}]},{"id":27872,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":27873,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":27878,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":27882,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":27909,"name":"JavaScriptCore libpas scavenger","frames":[{"imageOffset":17892,"symbol":"psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":1},{"imageOffset":2384252,"symbol":"scavenger_thread_main","symbolLocation":1364,"imageIndex":10},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":27921,"name":"com.apple.coreanimation.render-server","frames":[{"imageOffset":3568,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":0},{"imageOffset":75992,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":0},{"imageOffset":38456,"symbol":"mach_msg_overwrite","symbolLocation":540,"imageIndex":0},{"imageOffset":4460,"symbol":"mach_msg","symbolLocation":24,"imageIndex":0},{"imageOffset":292436,"symbol":"CA::Render::Server::server_thread(void)","symbolLocation":564,"imageIndex":11},{"imageOffset":291856,"symbol":"thread_fun(void)","symbolLocation":32,"imageIndex":11},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":27929,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":27931,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":27935,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":27941,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":27942,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":27943,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":27948,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":27949,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":27950,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":27951,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":27954,"name":"com.apple.NSEventThread","frames":[{"imageOffset":3568,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":0},{"imageOffset":75992,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":0},{"imageOffset":38456,"symbol":"mach_msg_overwrite","symbolLocation":540,"imageIndex":0},{"imageOffset":4460,"symbol":"mach_msg","symbolLocation":24,"imageIndex":0},{"imageOffset":531420,"symbol":"CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":6},{"imageOffset":525512,"symbol":"CFRunLoopRun","symbolLocation":1232,"imageIndex":6},{"imageOffset":522404,"symbol":"CFRunLoopRunSpecific","symbolLocation":612,"imageIndex":6},{"imageOffset":1454664,"symbol":"_NSEventThread","symbolLocation":172,"imageIndex":8},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]}], "usedImages" : [ { "source" : "P", "arch" : "arm64e", "base" : 7205773312, "size" : 233468, "uuid" : "6d6644d3-3db3-34c4-b1e3-c675ec5360f0", "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib", "name" : "libsystem_kernel.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 7206006784, "size" : 53244, "uuid" : "886caca0-5762-3640-8db2-3fa3b911c062", "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib", "name" : "libsystem_pthread.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 7204724736, "size" : 528372, "uuid" : "a3869999-0792-3e09-b3fb-5e87ae4639be", "path" : "\/usr\/lib\/system\/libsystem_c.dylib", "name" : "libsystem_c.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 7205675008, "size" : 98300, "uuid" : "bec775ba-9513-3b66-8f2f-be8d2a817269", "path" : "\/usr\/lib\/libc++abi.dylib", "name" : "libc++abi.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 7202406400, "size" : 286112, "uuid" : "e20fe24e-bbda-3944-9cfc-8e43a463400b", "path" : "\/usr\/lib\/libobjc.A.dylib", "name" : "libobjc.A.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 7204417536, "size" : 294912, "uuid" : "40c9c98c-00d6-3e8e-9ad3-2ed6cf0d0cfe", "path" : "\/usr\/lib\/system\/libdispatch.dylib", "name" : "libdispatch.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 7206420480, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.CoreFoundation", "size" : 5079040, "uuid" : "f4ff83fc-e62c-30b4-b3a9-876c8a1fd595", "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation", "name" : "CoreFoundation", "CFBundleVersion" : "1953.1" }, { "source" : "P", "arch" : "arm64e", "base" : 7364497408, "CFBundleShortVersionString" : "2.1.1", "CFBundleIdentifier" : "com.apple.HIToolbox", "size" : 3358720, "uuid" : "02b9797f-c47d-30b7-b7b0-802d0d26f31c", "path" : "\/System\/Library\/Frameworks\/Carbon.framework\/Versions\/A\/Frameworks\/HIToolbox.framework\/Versions\/A\/HIToolbox", "name" : "HIToolbox" }, { "source" : "P", "arch" : "arm64e", "base" : 7259500544, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.AppKit", "size" : 15761408, "uuid" : "af9f6891-70ad-3c26-af08-b747344892d2", "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit", "name" : "AppKit", "CFBundleVersion" : "2299" }, { "source" : "P", "arch" : "arm64e", "base" : 7202693120, "size" : 566464, "uuid" : "de46dd52-4994-3fd8-b4b4-e352a1a19354", "path" : "\/usr\/lib\/dyld", "name" : "dyld" }, { "source" : "P", "arch" : "arm64e", "base" : 7625601024, "CFBundleShortVersionString" : "18614", "CFBundleIdentifier" : "com.apple.JavaScriptCore", "size" : 21676032, "uuid" : "be3862d6-2576-3f55-9334-fb997db344d0", "path" : "\/System\/Library\/Frameworks\/JavaScriptCore.framework\/Versions\/A\/JavaScriptCore", "name" : "JavaScriptCore", "CFBundleVersion" : "18614.2.9.1.12" }, { "source" : "P", "arch" : "arm64e", "base" : 7330947072, "CFBundleShortVersionString" : "1.11", "CFBundleIdentifier" : "com.apple.QuartzCore", "size" : 3551232, "uuid" : "6eae8b05-2af0-3057-91fc-cf2d9c74dd40", "path" : "\/System\/Library\/Frameworks\/QuartzCore.framework\/Versions\/A\/QuartzCore", "name" : "QuartzCore", "CFBundleVersion" : "1042.20" }, { "source" : "P", "arch" : "arm64", "base" : 4368744448, "CFBundleShortVersionString" : "1.974", "CFBundleIdentifier" : "fi.KAPITAN.Beat", "size" : 1376256, "uuid" : "0d272b9e-c40a-31b3-8200-da510ab8fbc4", "path" : "\/Applications\/Beat.app\/Contents\/MacOS\/Beat", "name" : "Beat", "CFBundleVersion" : "133032" } ], "sharedCache" : { "base" : 7202045952, "size" : 3403612160, "uuid" : "2d053604-1cb6-3821-a8df-360eb2eb519b" }, "vmSummary" : "ReadOnly portion of Libraries: Total=1.3G resident=0K(0%) swapped_out_or_unallocated=1.3G(100%)\nWritable regions: Total=6.0G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=6.0G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nAccelerate framework 256K 2 \nActivity Tracing 256K 1 \nCG backing stores 4288K 8 \nCG image 832K 25 \nColorSync 624K 28 \nCoreAnimation 42.5M 127 \nCoreGraphics 64K 4 \nCoreImage 16K 1 \nCoreUI image data 5376K 37 \nFoundation 48K 2 \nImage IO 16K 1 \nKernel Alloc Once 32K 1 \nMALLOC 322.5M 69 \nMALLOC guard page 288K 14 \nMALLOC_MEDIUM (reserved) 1.1G 9 reserved VM address space (unallocated)\nMALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)\nSTACK GUARD 56.3M 18 \nStack 17.5M 18 \nVM_ALLOCATE 224K 14 \nVM_ALLOCATE (reserved) 4.0G 1 reserved VM address space (unallocated)\nWebKit Malloc 192.1M 4 \nAUTH 1776K 353 \nAUTH_CONST 24.1M 573 \nCTF 756 1 \nDATA 12.0M 565 \n__DATA_CONST 27.3M 582 \nDATA_DIRTY 1988K 229 \nFONT_DATA 2352 1 \nGLSLBUILTINS 5174K 1 \nLINKEDIT 763.7M 9 \n__OBJC_CONST 4495K 317 \nOBJC_RO 65.1M 1 \n__OBJC_RW 1981K 1 \n__TEXT 585.2M 605 \ndyld private memory 256K 1 \nlibnetwork 640K 16 \nmapped file 349.5M 67 \nshared memory 992K 21 \n=========== ======= ======= \nTOTAL 7.9G 3728 \nTOTAL, minus reserved VM space 2.4G 3728 \n", "legacyInfo" : { "threadTriggered" : { "queue" : "com.apple.main-thread" } }, "trialInfo" : { "rollouts" : [ { "rolloutId" : "60da5e84ab0ca017dace9abf", "factorPackIds" : {

  },
  "deploymentId" : 240000008
},
{
  "rolloutId" : "63582c5f8a53461413999550",
  "factorPackIds" : {

  },
  "deploymentId" : 240000002
}

], "experiments" : [

] } }

Model: MacBookPro18,4, BootROM 8419.41.10, proc 10:8:2 processors, 32 GB, SMC Graphics: Apple M1 Max, Apple M1 Max, Built-In Display: DELL U2312HM, 1920 x 1080 (1080p FHD - Full High Definition), Main, MirrorOff, Online Display: Color LCD, 3024 x 1964 Retina, MirrorOff, Online Memory Module: LPDDR5, Hynix AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4387), wl0: Sep 3 2022 02:35:52 version 20.10.965.9.8.7.129 FWID 01-b0e84a9b Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports Network Service: Wi-Fi, AirPort, en0 USB Device: USB31Bus USB Device: USB31Bus USB Device: USB2.0 Hub USB Device: hub_device USB Device: miscellaneous_device USB Device: USB Receiver USB Device: Audient iD14 USB Device: USB31Bus Thunderbolt Bus: Laptop, Apple Inc. Thunderbolt Bus: Laptop, Apple Inc. Thunderbolt Bus: Laptop, Apple Inc.

On 16 Nov 2022, at 09:30, Lauri-Matti Parppei @.***> wrote:

For some reason, I haven't received the crash report from App Store. If you could paste another report here, I'd be grateful. I might have a clue what's causing this.

— Reply to this email directly, view it on GitHub https://github.com/lmparppei/Beat/issues/127#issuecomment-1316678757, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYZWSUGSLQUC3XKQ5WNWU3WISSTHANCNFSM6AAAAAASA6JT5I. You are receiving this because you authored the thread.

lmparppei commented 1 year ago

This is very, very strange, as the report shows stuff like importing a Celtx file right before the crash occurs.

What are the steps you took to get here? Just opened a Fountain file and clicked on Create PDF?

trettke commented 1 year ago

Yeah, this time literally just opened the .fountain file in Beat and the first thing I did was create PDF

On 16 Nov 2022, at 10:38, Lauri-Matti Parppei @.***> wrote:

This is very, very strange, as the report shows stuff like importing a Celtx file right before the crash occurs.

What are the steps you took to get here? Just opened a Fountain file and clicked on Create PDF?

— Reply to this email directly, view it on GitHub https://github.com/lmparppei/Beat/issues/127#issuecomment-1316778166, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYZWSV562BFNVIP5TX7YQ3WIS2RXANCNFSM6AAAAAASA6JT5I. You are receiving this because you authored the thread.

lmparppei commented 1 year ago

Ah — you are actually on Ventura and not on Monterey. There have been multiple issues with latest versions of Ventura, and not just with Beat. I'm staying away myself because of the OS bugs, but I'll install it on a VM to see what's going on. It might be a M1+Ventura thing, too, because Beat is an universal binary.

trettke commented 1 year ago

So I updated to Ventura overnight hoping it might solve the issue - the crash report I posted yesterday is on Monterey, this one this morning is from Ventura - I hope that helps!

On 16 Nov 2022, at 10:46, Lauri-Matti Parppei @.***> wrote:

Ah — you are actually on Ventura and not on Monterey. There have been multiple issues with latest versions of Ventura, and not just with Beat. I'm staying away myself because of the OS bugs, but I'll install it on a VM to see what's going on. It might be a M1+Ventura thing, too, because Beat is an universal binary.

— Reply to this email directly, view it on GitHub https://github.com/lmparppei/Beat/issues/127#issuecomment-1316789219, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYZWSXQRQVY4JKY46VULP3WIS3P5ANCNFSM6AAAAAASA6JT5I. You are receiving this because you authored the thread.

lmparppei commented 1 year ago

Not at all, ha ha, but let's see. Was the other computer (on which export works) M1 or Intel?

trettke commented 1 year ago

Haha - The other computer is an old intel MBP from 2014!

On Wed, 16 Nov 2022 at 11:24 am, Lauri-Matti Parppei < @.***> wrote:

Not at all, ha ha, but let's see. Was the other computer (on which export works) M1 or Intel?

— Reply to this email directly, view it on GitHub https://github.com/lmparppei/Beat/issues/127#issuecomment-1316839921, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYZWSVADFR4WDMV7ZJFQI3WIS76NANCNFSM6AAAAAASA6JT5I . You are receiving this because you authored the thread.Message ID: @.***>

lmparppei commented 1 year ago

Whoops. It's something completely different, and I made the mistake of trying to figure out the crash log using Intel architecture.

Could you send me only the title page of your document, because the bug happens there. Also, try updating to 1.97.5 (available now on App Store) and check if it fixes the issue.

trettke commented 1 year ago

Hi Laurie,

Just updated and still crashing unfortunately. Here is my title page:

On 16 Nov 2022, at 13:01, Lauri-Matti Parppei @.***> wrote:

Whoops. It's something completely different, and I made the mistake of trying to figure out the crash log using Intel architecture.

Could you send me only the title page of your document, because the bug happens there. Also, try updating to 1.97.5 (available now on App Store) and check if it fixes the issue.

— Reply to this email directly, view it on GitHub https://github.com/lmparppei/Beat/issues/127#issuecomment-1316986681, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYZWSVGPEXIHRRLUTAXXCLWITLK7ANCNFSM6AAAAAASA6JT5I. You are receiving this because you authored the thread.

lmparppei commented 1 year ago

I can only see a blank message there for some reason, probably the e-mail didn't get delivered correctly to GitHub. Could you copy and paste the title page block directly?

trettke commented 1 year ago

Ah no worries - does this help?

image

lmparppei commented 1 year ago

Yes, thank you!

lmparppei commented 1 year ago

This is now fixed in 1.97.6. (Edit and reminder for the future: This was caused by mutating title page data while enumerating it. I had optimized and streamlined some stuff and never tested my clever code.)

trettke commented 1 year ago

Great! How did you fix it out of interest?! Just very briefly!

On Thu, 17 Nov 2022 at 2:10 pm, Lauri-Matti Parppei < @.***> wrote:

Closed #127 https://github.com/lmparppei/Beat/issues/127 as completed.

— Reply to this email directly, view it on GitHub https://github.com/lmparppei/Beat/issues/127#event-7834307320, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYZWSRTAG5AVY2TJAFHTMTWIY4DRANCNFSM6AAAAAASA6JT5I . You are receiving this because you authored the thread.Message ID: @.***>

lmparppei commented 1 year ago

It was a very stupid mistake on my side. This had to do with parts that I haven't touched in ages, and parts of that code even originate from the original Fountain repository. I had streamlined title page creation, and in the process, managed to create a for loop which mutated the array it was looping.

This is how it looked like earlier:

for (NSString* key in titlePage) {
    [body appendString:[self titlePageElementForKey:key titlePage:titlePage customKey:true]];
}

titlePageElementForKey: removes value with given key from the titlePage dictionary and returns an HTML element. It's quite obvious that you can't remove anything from titlePage when it's being iterated, but because it happened in another method, I missed that.

After the fix, the loop looks like this:

while (titlePage.count > 0) {
    NSString * key = titlePage.allKeys.firstObject;
    [body appendString:[self titlePageElementForKey:key titlePage:titlePage customKey:true]];
}

I'm working on a replacement for the screenplay renderer, so it would use native macOS stuff instead of HTML, and now that I'm looking at it, my new code repeated this mistake. Thanks for spotting it.

trettke commented 1 year ago

Ahhh I see! Thanks so much for looking into it!

Taylor

On 17 Nov 2022, at 17:47, Lauri-Matti Parppei @.***> wrote:

It was a very stupid mistake on my side. This had to do with parts that I haven't touched in ages, and parts of that code even originate from the original Fountain repository. I had streamlined title page creation, and in the process, managed to create a for loop which mutated the array it was looping.

Title page elements are dictionaries inside an array, for example:

[ [ "title": "My screenplay"], ["author": "Me"] ] It's done like this to maintain the order of title page elements, which actually only matters with custom fields (like your Revision: field), so they are laid out in order.

This is how it looked like earlier:

for (NSString* key in titlePage) { [body appendString:[self titlePageElementForKey:key titlePage:titlePage customKey:true]]; } titlePageElementForKey: removes the dictionary with given key from the titlePage array and returns an HTML element. It's quite obvious that you can't remove anything from titlePage when it's being iterated, but because it happened in another method, I missed that.

After the fix, the loop looks like this:

while (titlePage.count > 0) { NSString * key = titlePage.allKeys.firstObject; [body appendString:[self titlePageElementForKey:key titlePage:titlePage customKey:true]]; } — Reply to this email directly, view it on GitHub https://github.com/lmparppei/Beat/issues/127#issuecomment-1318992103, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYZWSXXODUQ7HWTRIVUIJ3WIZVT5ANCNFSM6AAAAAASA6JT5I. You are receiving this because you authored the thread.

lmparppei commented 1 year ago

This patch is now available on App Store.