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

UTM crashes when virtualizing Ubuntu 20.04 on MacBook with M2 chip #4623

Closed
fattysun1121 opened this issue Nov 7, 2022 · 2 comments
Closed

Comments

@fattysun1121
Copy link

BEFORE SUBMITTING YOUR ISSUE, PLEASE LOOK AT THE PINNED ISSUES AND USE THE SEARCH FUNCTION TO MAKE SURE IT IS NOT ALREADY REPORTED. ALWAYS COMMENT ON AN EXISTING ISSUE INSTEAD OF MAKING A NEW ONE.

Describe the issue
VM crashes randomly when doing light work such as copy & pasting files, using cmake, browsing web using Firefox

Configuration

  • UTM Version: 4.0.9
  • macOS Version: Ventura 13.0
  • Mac Chip (Intel, M1, ...): M2

Crash log
If the app crashed, you need a crash log. To get your crash log, open Console.app, go to Crash Reports, and find the latest entry for either UTM, QEMU, QEMUHelper, or qemu-*. Right click and choose Reveal in Finder. Attach the report here.

Translated Report (Full Report Below)

Process: UTM [1921]
Path: /Applications/UTM.app/Contents/MacOS/UTM
Identifier: com.utmapp.UTM
Version: 4.0.9 (68)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2022-11-07 12:55:40.2028 -0500
OS Version: macOS 13.0 (22A380)
Report Version: 12
Anonymous UUID: 8F47AAD6-505B-1775-ED2B-3B96EF8306F6

Time Awake Since Boot: 2800 seconds

System Integrity Protection: enabled

Crashed Thread: 10 Dispatch queue: com.Metal.CompletionQueueDispatch

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000020
Exception Codes: 0x0000000000000001, 0x0000000000000020

Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [1921]

VM Region Info: 0x20 is not in any region. Bytes before following region: 105553518919648
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
MALLOC_NANO (reserved) 600018000000-600020000000 [128.0M] rw-/rwx SM=NUL ...(unallocated)

Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x195956df0 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1959688d8 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x19595f638 mach_msg_overwrite + 540
3 libsystem_kernel.dylib 0x19595716c mach_msg + 24
4 CoreFoundation 0x195a75bdc __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x195a744c8 __CFRunLoopRun + 1232
6 CoreFoundation 0x195a738a4 CFRunLoopRunSpecific + 612
7 HIToolbox 0x19f0e73bc RunCurrentEventLoopInMode + 292
8 HIToolbox 0x19f0e7200 ReceiveNextEventCommon + 672
9 HIToolbox 0x19f0e6f48 _BlockUntilNextEventMatchingListInModeWithFilter + 72
10 AppKit 0x198ccc630 _DPSNextEvent + 632
11 AppKit 0x198ccb7c0 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 728
12 AppKit 0x198cbfbf0 -[NSApplication run] + 464
13 AppKit 0x198c97058 NSApplicationMain + 880
14 SwiftUI 0x1bc40fe54 0x1bc35f000 + 724564
15 SwiftUI 0x1bd5f91a4 0x1bc35f000 + 19505572
16 SwiftUI 0x1bce3837c 0x1bc35f000 + 11375484
17 UTM 0x10064825c 0x1005d4000 + 475740
18 dyld 0x19566be50 start + 2544

Thread 1:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x195956df0 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1959688d8 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x19595f638 mach_msg_overwrite + 540
3 libsystem_kernel.dylib 0x19595716c mach_msg + 24
4 CoreFoundation 0x195a75bdc __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x195a744c8 __CFRunLoopRun + 1232
6 CoreFoundation 0x195a738a4 CFRunLoopRunSpecific + 612
7 AppKit 0x198df6248 _NSEventThread + 172
8 libsystem_pthread.dylib 0x19599606c _pthread_start + 148
9 libsystem_pthread.dylib 0x195990e2c thread_start + 8

Thread 2:: SPICE Main Loop
0 libsystem_kernel.dylib 0x19595f334 poll + 8
1 glib-2.0.0 0x102901b78 g_poll + 40
2 glib-2.0.0 0x1028ee604 g_main_context_poll + 104
3 glib-2.0.0 0x1028ebdf4 g_main_context_iterate + 420
4 glib-2.0.0 0x1028ec3e8 g_main_loop_run + 700
5 UTM 0x100941fd8 0x1005d4000 + 3596248
6 libsystem_pthread.dylib 0x19599606c _pthread_start + 148
7 libsystem_pthread.dylib 0x195990e2c thread_start + 8

Thread 3:: pool-spawner
0 libsystem_kernel.dylib 0x19595a5e4 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x195996638 _pthread_cond_wait + 1232
2 glib-2.0.0 0x102964294 g_cond_wait + 52
3 glib-2.0.0 0x10289f95c g_async_queue_pop_intern_unlocked + 128
4 glib-2.0.0 0x10289fa74 g_async_queue_pop_unlocked + 92
5 glib-2.0.0 0x1029288b8 g_thread_pool_spawn_thread + 128
6 glib-2.0.0 0x102928094 g_thread_proxy + 176
7 libsystem_pthread.dylib 0x19599606c _pthread_start + 148
8 libsystem_pthread.dylib 0x195990e2c thread_start + 8

Thread 4:: gmain
0 libsystem_kernel.dylib 0x19595f334 poll + 8
1 glib-2.0.0 0x102901b78 g_poll + 40
2 glib-2.0.0 0x1028ee604 g_main_context_poll + 104
3 glib-2.0.0 0x1028ebdf4 g_main_context_iterate + 420
4 glib-2.0.0 0x1028ebeac g_main_context_iteration + 92
5 glib-2.0.0 0x1028ede4c glib_worker_main + 36
6 glib-2.0.0 0x102928094 g_thread_proxy + 176
7 libsystem_pthread.dylib 0x19599606c _pthread_start + 148
8 libsystem_pthread.dylib 0x195990e2c thread_start + 8

Thread 5:: CVDisplayLink
0 libsystem_kernel.dylib 0x19595a5e4 __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x195996664 _pthread_cond_wait + 1276
2 CoreVideo 0x19d8699bc CVDisplayLink::waitUntil(unsigned long long) + 324
3 CoreVideo 0x19d868a8c CVDisplayLink::runIOThread() + 504
4 libsystem_pthread.dylib 0x19599606c _pthread_start + 148
5 libsystem_pthread.dylib 0x195990e2c thread_start + 8

Thread 6:: org.libusb.device-hotplug
0 libsystem_kernel.dylib 0x195956df0 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1959688d8 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x19595f638 mach_msg_overwrite + 540
3 libsystem_kernel.dylib 0x19595716c mach_msg + 24
4 CoreFoundation 0x195a75bdc __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x195a744c8 __CFRunLoopRun + 1232
6 CoreFoundation 0x195a738a4 CFRunLoopRunSpecific + 612
7 CoreFoundation 0x195afa818 CFRunLoopRun + 64
8 usb-1.0.0 0x100dd1ee8 darwin_event_thread_main + 660
9 libsystem_pthread.dylib 0x19599606c _pthread_start + 148
10 libsystem_pthread.dylib 0x195990e2c thread_start + 8

Thread 7:: usb_ev_thread
0 libsystem_kernel.dylib 0x19595f334 poll + 8
1 usb-1.0.0 0x100dcf7f0 usbi_wait_for_events + 128
2 usb-1.0.0 0x100dcd498 handle_events + 356
3 usb-1.0.0 0x100dcd0f0 libusb_handle_events_timeout_completed + 244
4 usb-1.0.0 0x100dcd5f0 libusb_handle_events + 44
5 spice-client-glib-2.0.8 0x1022f0068 handle_libusb_events + 156
6 glib-2.0.0 0x102928094 g_thread_proxy + 176
7 libsystem_pthread.dylib 0x19599606c _pthread_start + 148
8 libsystem_pthread.dylib 0x195990e2c thread_start + 8

Thread 8:: caulk.messenger.shared:17
0 libsystem_kernel.dylib 0x195956d6c semaphore_wait_trap + 8
1 caulk 0x19ee0ecfc caulk::mach::semaphore::wait_or_error() + 28
2 caulk 0x19edf1634 caulk::concurrent::details::worker_thread::run() + 56
3 caulk 0x19edf1278 void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::)(), std::__1::tuplecaulk::concurrent::details::worker_thread* > >(void) + 96
4 libsystem_pthread.dylib 0x19599606c _pthread_start + 148
5 libsystem_pthread.dylib 0x195990e2c thread_start + 8

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

Thread 10 Crashed:: Dispatch queue: com.Metal.CompletionQueueDispatch
0 libobjc.A.dylib 0x195628278 objc_release + 16
1 Metal 0x19ed2c654 MTLResourceListChunkFreeEntries(MTLResourceListChunk*) + 64
2 Metal 0x19ec42354 -[MTLResourceList releaseAllObjectsAndReset] + 72
3 IOGPU 0x1b11475a4 IOGPUMetalCommandBufferStorageReset + 36
4 IOGPU 0x1b11474d8 IOGPUMetalCommandBufferStorageDealloc + 92
5 IOGPU 0x1b1145d28 -[IOGPUMetalCommandBuffer didCompleteWithStartTime:endTime:error:] + 240
6 Metal 0x19ec41d68 -[_MTLCommandQueue commandBufferDidComplete:startTime:completionTime:error:] + 108
7 IOGPU 0x1b1146ff4 __62-[IOGPUMetalCommandBuffer fillCommandBufferArgs:commandQueue:]_block_invoke.44 + 144
8 IOGPU 0x1b114f378 IOGPUNotificationQueueDispatchAvailableCompletionNotifications + 128
9 IOGPU 0x1b114f484 __IOGPUNotificationQueueSetDispatchQueue_block_invoke + 64
10 libdispatch.dylib 0x19580f5c4 _dispatch_client_callout4 + 20
11 libdispatch.dylib 0x19582bfe8 _dispatch_mach_msg_invoke + 468
12 libdispatch.dylib 0x195816a94 _dispatch_lane_serial_drain + 376
13 libdispatch.dylib 0x19582cd04 _dispatch_mach_invoke + 448
14 libdispatch.dylib 0x195816a94 _dispatch_lane_serial_drain + 376
15 libdispatch.dylib 0x19581773c _dispatch_lane_invoke + 436
16 libdispatch.dylib 0x195816a94 _dispatch_lane_serial_drain + 376
17 libdispatch.dylib 0x195817708 _dispatch_lane_invoke + 384
18 libdispatch.dylib 0x19582234c _dispatch_workloop_worker_thread + 652
19 libsystem_pthread.dylib 0x195992100 _pthread_wqthread + 288
20 libsystem_pthread.dylib 0x195990e20 start_wqthread + 8

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

Thread 10 crashed with ARM Thread State (64-bit):
x0: 0x00000001115dd5c0 x1: 0x02000001f1eee061 x2: 0x0000000000000000 x3: 0x00006000002a5320
x4: 0x0000000000000001 x5: 0x00000000000028a0 x6: 0x0000000000000000 x7: 0x0000000000000001
x8: 0x000000014291c018 x9: 0x000000014291c098 x10: 0x00006000179d9f60 x11: 0x0000000000000001
x12: 0x0000000000000000 x13: 0x0000600000ccfb50 x14: 0x01000001f15f72d9 x15: 0x00000001f15f72d8
x16: 0x0000000000000000 x17: 0x00000001f5ef7358 x18: 0x0000000000000000 x19: 0x0000000138018028
x20: 0x0000000000000010 x21: 0x0000000000000002 x22: 0x0000000fab62f01c x23: 0x00000001418a6a00
x24: 0x00000001418a6a00 x25: 0x000000016f8b30e0 x26: 0x000000016f8b2690 x27: 0x0000600001667ae8
x28: 0x00006000039183c0 fp: 0x000000016f8b23d0 lr: 0x000000019ed2c654
sp: 0x000000016f8b23b0 pc: 0x0000000195628278 cpsr: 0x00001000
far: 0x0000000000000020 esr: 0x92000006 (Data Abort) byte read Translation fault

Binary Images:
0x195956000 - 0x19598effb libsystem_kernel.dylib () <6d6644d3-3db3-34c4-b1e3-c675ec5360f0> /usr/lib/system/libsystem_kernel.dylib
0x1959f4000 - 0x195ecbfff com.apple.CoreFoundation (6.9) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x19f0b5000 - 0x19f3e8fff com.apple.HIToolbox (2.1.1) <02b9797f-c47d-30b7-b7b0-802d0d26f31c> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x198c93000 - 0x199b9afff com.apple.AppKit (6.9) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x1bc35f000 - 0x1bdbcefff com.apple.SwiftUI (4.1.17.407) <39c2a5bc-812b-3639-adac-bf6c30ffca96> /System/Library/Frameworks/SwiftUI.framework/Versions/A/SwiftUI
0x1005d4000 - 0x100c03fff com.utmapp.UTM (4.0.9) /Applications/UTM.app/Contents/MacOS/UTM
0x195666000 - 0x1956f04af dyld (
) <1f56ab4e-f398-3a9c-bfba-fbbd17808963> /usr/lib/dyld
0x19598f000 - 0x19599bffb libsystem_pthread.dylib () <886caca0-5762-3640-8db2-3fa3b911c062> /usr/lib/system/libsystem_pthread.dylib
0x102894000 - 0x102a23fff com.utmapp.glib-2.0.0 (1.0) /Applications/UTM.app/Contents/Frameworks/glib-2.0.0.framework/Versions/A/glib-2.0.0
0x19d866000 - 0x19d8c7fff com.apple.CoreVideo (1.8) /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x100dc0000 - 0x100ddbfff com.utmapp.usb-1.0.0 (1.0) <806ce50c-4c0c-3092-b64a-dc47aa3f2897> /Applications/UTM.app/Contents/Frameworks/usb-1.0.0.framework/Versions/A/usb-1.0.0
0x102290000 - 0x1023e3fff com.utmapp.spice-client-glib-2.0.8 (1.0) <6f1d45bc-93be-3a0d-8324-53e808bd2ee2> /Applications/UTM.app/Contents/Frameworks/spice-client-glib-2.0.8.framework/Versions/A/spice-client-glib-2.0.8
0x19edef000 - 0x19ee18fff com.apple.audio.caulk (1.0) <445d1341-52c5-3468-ba85-f01410317744> /System/Library/PrivateFrameworks/caulk.framework/Versions/A/caulk
0x195620000 - 0x195665d9f libobjc.A.dylib (
) /usr/lib/libobjc.A.dylib
0x19ec23000 - 0x19edeefff com.apple.Metal (306.2.4) <1aff9909-e8a3-32d2-9b31-1a894680f867> /System/Library/Frameworks/Metal.framework/Versions/A/Metal
0x1b1143000 - 0x1b117bfff com.apple.IOGPU (65.0.22) <0d46c99a-45fb-3932-80fc-5b072b30d43c> /System/Library/PrivateFrameworks/IOGPU.framework/Versions/A/IOGPU
0x19580b000 - 0x195852fff libdispatch.dylib () <40c9c98c-00d6-3e8e-9ad3-2ed6cf0d0cfe> /usr/lib/system/libdispatch.dylib
0x0 - 0xffffffffffffffff ??? (
) <00000000-0000-0000-0000-000000000000> ???

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

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 384K 3
Activity Tracing 256K 1
CG backing stores 3328K 4
CG image 3232K 37
CG raster data 1344K 8
ColorSync 608K 28
CoreAnimation 1936K 95
CoreGraphics 32K 2
CoreUI image data 3552K 27
Foundation 48K 2
Image IO 128K 1
Kernel Alloc Once 32K 1
MALLOC 319.5M 65
MALLOC guard page 192K 9
MALLOC_MEDIUM (reserved) 960.0M 8 reserved VM address space (unallocated)
MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)
STACK GUARD 56.2M 12
Stack 13.8M 12
VM_ALLOCATE 145.2M 25
__AUTH 2070K 353
__AUTH_CONST 25.1M 579
__CTF 756 1
__DATA 14.3M 614
__DATA_CONST 28.6M 624
__DATA_DIRTY 2015K 217
__FONT_DATA 2352 1
__LINKEDIT 767.8M 45
__OBJC_CONST 4505K 316
__OBJC_RO 65.1M 1
__OBJC_RW 1981K 1
__TEXT 627.6M 647
dyld private memory 256K 1
mapped file 192.9M 46
shared memory 976K 22
=========== ======= =======
TOTAL 3.5G 3809
TOTAL, minus reserved VM space 2.2G 3809


Full Report

{"app_name":"UTM","timestamp":"2022-11-07 12:55:42.00 -0500","app_version":"4.0.9","slice_uuid":"edca7c4b-3c5b-341a-afb6-059b66c58f66","build_version":"68","platform":1,"bundleID":"com.utmapp.UTM","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.0 (22A380)","roots_installed":0,"name":"UTM","incident_id":"1A2ACE93-A1C4-4D39-80E1-5C75312CED1D"}
{
"uptime" : 2800,
"procRole" : "Foreground",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "Mac14,2",
"coalitionID" : 1088,
"osVersion" : {
"train" : "macOS 13.0",
"build" : "22A380",
"releaseType" : "User"
},
"captureTime" : "2022-11-07 12:55:40.2028 -0500",
"incident" : "1A2ACE93-A1C4-4D39-80E1-5C75312CED1D",
"pid" : 1921,
"translated" : false,
"cpuType" : "ARM-64",
"roots_installed" : 0,
"bug_type" : "309",
"procLaunch" : "2022-11-07 12:13:45.0642 -0500",
"procStartAbsTime" : 6937616753,
"procExitAbsTime" : 67299919491,
"procName" : "UTM",
"procPath" : "/Applications/UTM.app/Contents/MacOS/UTM",
"bundleInfo" : {"CFBundleShortVersionString":"4.0.9","CFBundleVersion":"68","CFBundleIdentifier":"com.utmapp.UTM"},
"storeInfo" : {"deviceIdentifierForVendor":"A8BF48AA-4F4C-53F5-A73E-38B9019E8805","thirdParty":true},
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "com.utmapp.UTM",
"crashReporterKey" : "8F47AAD6-505B-1775-ED2B-3B96EF8306F6",
"sip" : "enabled",
"vmRegionInfo" : "0x20 is not in any region. Bytes before following region: 105553518919648\n REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n MALLOC_NANO (reserved) 600018000000-600020000000 [128.0M] rw-/rwx SM=NUL ...(unallocated)",
"exception" : {"codes":"0x0000000000000001, 0x0000000000000020","rawCodes":[1,32],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000020"},
"termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":1921},
"vmregioninfo" : "0x20 is not in any region. Bytes before following region: 105553518919648\n REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n MALLOC_NANO (reserved) 600018000000-600020000000 [128.0M] rw-/rwx SM=NUL ...(unallocated)",
"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" : 10,
"threads" : [{"id":15328,"queue":"com.apple.main-thread","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":1},{"imageOffset":525512,"symbol":"__CFRunLoopRun","symbolLocation":1232,"imageIndex":1},{"imageOffset":522404,"symbol":"CFRunLoopRunSpecific","symbolLocation":612,"imageIndex":1},{"imageOffset":205756,"symbol":"RunCurrentEventLoopInMode","symbolLocation":292,"imageIndex":2},{"imageOffset":205312,"symbol":"ReceiveNextEventCommon","symbolLocation":672,"imageIndex":2},{"imageOffset":204616,"symbol":"_BlockUntilNextEventMatchingListInModeWithFilter","symbolLocation":72,"imageIndex":2},{"imageOffset":235056,"symbol":"_DPSNextEvent","symbolLocation":632,"imageIndex":3},{"imageOffset":231360,"symbol":"-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]","symbolLocation":728,"imageIndex":3},{"imageOffset":183280,"symbol":"-[NSApplication run]","symbolLocation":464,"imageIndex":3},{"imageOffset":16472,"symbol":"NSApplicationMain","symbolLocation":880,"imageIndex":3},{"imageOffset":724564,"imageIndex":4},{"imageOffset":19505572,"imageIndex":4},{"imageOffset":11375484,"imageIndex":4},{"imageOffset":475740,"imageIndex":5},{"imageOffset":24144,"symbol":"start","symbolLocation":2544,"imageIndex":6}]},{"id":15360,"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":1},{"imageOffset":525512,"symbol":"__CFRunLoopRun","symbolLocation":1232,"imageIndex":1},{"imageOffset":522404,"symbol":"CFRunLoopRunSpecific","symbolLocation":612,"imageIndex":1},{"imageOffset":1454664,"symbol":"_NSEventThread","symbolLocation":172,"imageIndex":3},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":15372,"name":"SPICE Main Loop","frames":[{"imageOffset":37684,"symbol":"poll","symbolLocation":8,"imageIndex":0},{"imageOffset":449400,"symbol":"g_poll","symbolLocation":40,"imageIndex":8},{"imageOffset":370180,"symbol":"g_main_context_poll","symbolLocation":104,"imageIndex":8},{"imageOffset":359924,"symbol":"g_main_context_iterate","symbolLocation":420,"imageIndex":8},{"imageOffset":361448,"symbol":"g_main_loop_run","symbolLocation":700,"imageIndex":8},{"imageOffset":3596248,"imageIndex":5},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":15376,"name":"pool-spawner","frames":[{"imageOffset":17892,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":7},{"imageOffset":852628,"symbol":"g_cond_wait","symbolLocation":52,"imageIndex":8},{"imageOffset":47452,"symbol":"g_async_queue_pop_intern_unlocked","symbolLocation":128,"imageIndex":8},{"imageOffset":47732,"symbol":"g_async_queue_pop_unlocked","symbolLocation":92,"imageIndex":8},{"imageOffset":608440,"symbol":"g_thread_pool_spawn_thread","symbolLocation":128,"imageIndex":8},{"imageOffset":606356,"symbol":"g_thread_proxy","symbolLocation":176,"imageIndex":8},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":15377,"name":"gmain","frames":[{"imageOffset":37684,"symbol":"poll","symbolLocation":8,"imageIndex":0},{"imageOffset":449400,"symbol":"g_poll","symbolLocation":40,"imageIndex":8},{"imageOffset":370180,"symbol":"g_main_context_poll","symbolLocation":104,"imageIndex":8},{"imageOffset":359924,"symbol":"g_main_context_iterate","symbolLocation":420,"imageIndex":8},{"imageOffset":360108,"symbol":"g_main_context_iteration","symbolLocation":92,"imageIndex":8},{"imageOffset":368204,"symbol":"glib_worker_main","symbolLocation":36,"imageIndex":8},{"imageOffset":606356,"symbol":"g_thread_proxy","symbolLocation":176,"imageIndex":8},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":15875,"name":"CVDisplayLink","frames":[{"imageOffset":17892,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30308,"symbol":"_pthread_cond_wait","symbolLocation":1276,"imageIndex":7},{"imageOffset":14780,"symbol":"CVDisplayLink::waitUntil(unsigned long long)","symbolLocation":324,"imageIndex":9},{"imageOffset":10892,"symbol":"CVDisplayLink::runIOThread()","symbolLocation":504,"imageIndex":9},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":15876,"name":"org.libusb.device-hotplug","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":1},{"imageOffset":525512,"symbol":"__CFRunLoopRun","symbolLocation":1232,"imageIndex":1},{"imageOffset":522404,"symbol":"CFRunLoopRunSpecific","symbolLocation":612,"imageIndex":1},{"imageOffset":1075224,"symbol":"CFRunLoopRun","symbolLocation":64,"imageIndex":1},{"imageOffset":73448,"symbol":"darwin_event_thread_main","symbolLocation":660,"imageIndex":10},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":15877,"name":"usb_ev_thread","frames":[{"imageOffset":37684,"symbol":"poll","symbolLocation":8,"imageIndex":0},{"imageOffset":63472,"symbol":"usbi_wait_for_events","symbolLocation":128,"imageIndex":10},{"imageOffset":54424,"symbol":"handle_events","symbolLocation":356,"imageIndex":10},{"imageOffset":53488,"symbol":"libusb_handle_events_timeout_completed","symbolLocation":244,"imageIndex":10},{"imageOffset":54768,"symbol":"libusb_handle_events","symbolLocation":44,"imageIndex":10},{"imageOffset":393320,"symbol":"handle_libusb_events","symbolLocation":156,"imageIndex":11},{"imageOffset":606356,"symbol":"g_thread_proxy","symbolLocation":176,"imageIndex":8},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":16095,"name":"caulk.messenger.shared:17","frames":[{"imageOffset":3436,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":0},{"imageOffset":130300,"symbol":"caulk::mach::semaphore::wait_or_error()","symbolLocation":28,"imageIndex":12},{"imageOffset":9780,"symbol":"caulk::concurrent::details::worker_thread::run()","symbolLocation":56,"imageIndex":12},{"imageOffset":8824,"symbol":"void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::)(), std::__1::tuplecaulk::concurrent::details::worker_thread* > >(void)","symbolLocation":96,"imageIndex":12},{"imageOffset":28780,"symbol":"pthread_start","symbolLocation":148,"imageIndex":7},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":7}]},{"id":42717,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":7}]},{"triggered":true,"id":43014,"threadState":{"x":[{"value":4586329536},{"value":144115196429787233},{"value":0},{"value":105553119040288},{"value":1},{"value":10400},{"value":0},{"value":1},{"value":5411815448},{"value":5411815576},{"value":105553512472416},{"value":1},{"value":0},{"value":105553129700176},{"value":72057602382459609,"symbolLocation":72057594037927937,"symbol":"OBJC_CLASS$MTLResourceList"},{"value":8344531672,"symbolLocation":0,"symbol":"OBJC_CLASS$_MTLResourceList"},{"value":0},{"value":8421077848},{"value":0},{"value":5234589736},{"value":16},{"value":2},{"value":67299897372},{"value":5394557440},{"value":5394557440},{"value":6166360288},{"value":6166357648},{"value":105553139759848},{"value":105553176134592}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6959580756},"cpsr":{"value":4096},"fp":{"value":6166356944},"sp":{"value":6166356912},"esr":{"value":2449473542,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":6801228408,"matchesCrashFrame":1},"far":{"value":32}},"queue":"com.Metal.CompletionQueueDispatch","frames":[{"imageOffset":33400,"symbol":"objc_release","symbolLocation":16,"imageIndex":13},{"imageOffset":1087060,"symbol":"MTLResourceListChunkFreeEntries(MTLResourceListChunk*)","symbolLocation":64,"imageIndex":14},{"imageOffset":127828,"symbol":"-[MTLResourceList releaseAllObjectsAndReset]","symbolLocation":72,"imageIndex":14},{"imageOffset":17828,"symbol":"IOGPUMetalCommandBufferStorageReset","symbolLocation":36,"imageIndex":15},{"imageOffset":17624,"symbol":"IOGPUMetalCommandBufferStorageDealloc","symbolLocation":92,"imageIndex":15},{"imageOffset":11560,"symbol":"-[IOGPUMetalCommandBuffer didCompleteWithStartTime:endTime:error:]","symbolLocation":240,"imageIndex":15},{"imageOffset":126312,"symbol":"-[_MTLCommandQueue commandBufferDidComplete:startTime:completionTime:error:]","symbolLocation":108,"imageIndex":14},{"imageOffset":16372,"symbol":"__62-[IOGPUMetalCommandBuffer fillCommandBufferArgs:commandQueue:]_block_invoke.44","symbolLocation":144,"imageIndex":15},{"imageOffset":50040,"symbol":"IOGPUNotificationQueueDispatchAvailableCompletionNotifications","symbolLocation":128,"imageIndex":15},{"imageOffset":50308,"symbol":"__IOGPUNotificationQueueSetDispatchQueue_block_invoke","symbolLocation":64,"imageIndex":15},{"imageOffset":17860,"symbol":"_dispatch_client_callout4","symbolLocation":20,"imageIndex":16},{"imageOffset":135144,"symbol":"_dispatch_mach_msg_invoke","symbolLocation":468,"imageIndex":16},{"imageOffset":47764,"symbol":"_dispatch_lane_serial_drain","symbolLocation":376,"imageIndex":16},{"imageOffset":138500,"symbol":"_dispatch_mach_invoke","symbolLocation":448,"imageIndex":16},{"imageOffset":47764,"symbol":"_dispatch_lane_serial_drain","symbolLocation":376,"imageIndex":16},{"imageOffset":51004,"symbol":"_dispatch_lane_invoke","symbolLocation":436,"imageIndex":16},{"imageOffset":47764,"symbol":"_dispatch_lane_serial_drain","symbolLocation":376,"imageIndex":16},{"imageOffset":50952,"symbol":"_dispatch_lane_invoke","symbolLocation":384,"imageIndex":16},{"imageOffset":95052,"symbol":"_dispatch_workloop_worker_thread","symbolLocation":652,"imageIndex":16},{"imageOffset":12544,"symbol":"_pthread_wqthread","symbolLocation":288,"imageIndex":7},{"imageOffset":7712,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":7}]},{"id":43097,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":7}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "arm64e",
"base" : 6804561920,
"size" : 233468,
"uuid" : "6d6644d3-3db3-34c4-b1e3-c675ec5360f0",
"path" : "/usr/lib/system/libsystem_kernel.dylib",
"name" : "libsystem_kernel.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6805209088,
"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" : 6963286016,
"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" : 6858289152,
"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" : 7452618752,
"CFBundleShortVersionString" : "4.1.17.407",
"CFBundleIdentifier" : "com.apple.SwiftUI",
"size" : 25624576,
"uuid" : "39c2a5bc-812b-3639-adac-bf6c30ffca96",
"path" : "/System/Library/Frameworks/SwiftUI.framework/Versions/A/SwiftUI",
"name" : "SwiftUI",
"CFBundleVersion" : "4.1.17.407"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4301078528,
"CFBundleShortVersionString" : "4.0.9",
"CFBundleIdentifier" : "com.utmapp.UTM",
"size" : 6488064,
"uuid" : "edca7c4b-3c5b-341a-afb6-059b66c58f66",
"path" : "/Applications/UTM.app/Contents/MacOS/UTM",
"name" : "UTM",
"CFBundleVersion" : "68"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6801481728,
"size" : 566448,
"uuid" : "1f56ab4e-f398-3a9c-bfba-fbbd17808963",
"path" : "/usr/lib/dyld",
"name" : "dyld"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6804795392,
"size" : 53244,
"uuid" : "886caca0-5762-3640-8db2-3fa3b911c062",
"path" : "/usr/lib/system/libsystem_pthread.dylib",
"name" : "libsystem_pthread.dylib"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4337516544,
"CFBundleShortVersionString" : "1.0",
"CFBundleIdentifier" : "com.utmapp.glib-2.0.0",
"size" : 1638400,
"uuid" : "e3aa8006-121b-3d00-88aa-102d8ad83110",
"path" : "/Applications/UTM.app/Contents/Frameworks/glib-2.0.0.framework/Versions/A/glib-2.0.0",
"name" : "glib-2.0.0",
"CFBundleVersion" : "1"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6937796608,
"CFBundleShortVersionString" : "1.8",
"CFBundleIdentifier" : "com.apple.CoreVideo",
"size" : 401408,
"uuid" : "fb6c73bd-5e1f-3e88-b952-caaaed8960c9",
"path" : "/System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo",
"name" : "CoreVideo",
"CFBundleVersion" : "0.0"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4309385216,
"CFBundleShortVersionString" : "1.0",
"CFBundleIdentifier" : "com.utmapp.usb-1.0.0",
"size" : 114688,
"uuid" : "806ce50c-4c0c-3092-b64a-dc47aa3f2897",
"path" : "/Applications/UTM.app/Contents/Frameworks/usb-1.0.0.framework/Versions/A/usb-1.0.0",
"name" : "usb-1.0.0",
"CFBundleVersion" : "1"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 4331208704,
"CFBundleShortVersionString" : "1.0",
"CFBundleIdentifier" : "com.utmapp.spice-client-glib-2.0.8",
"size" : 1392640,
"uuid" : "6f1d45bc-93be-3a0d-8324-53e808bd2ee2",
"path" : "/Applications/UTM.app/Contents/Frameworks/spice-client-glib-2.0.8.framework/Versions/A/spice-client-glib-2.0.8",
"name" : "spice-client-glib-2.0.8",
"CFBundleVersion" : "1"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6960377856,
"CFBundleShortVersionString" : "1.0",
"CFBundleIdentifier" : "com.apple.audio.caulk",
"size" : 172032,
"uuid" : "445d1341-52c5-3468-ba85-f01410317744",
"path" : "/System/Library/PrivateFrameworks/caulk.framework/Versions/A/caulk",
"name" : "caulk"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6801195008,
"size" : 286112,
"uuid" : "e20fe24e-bbda-3944-9cfc-8e43a463400b",
"path" : "/usr/lib/libobjc.A.dylib",
"name" : "libobjc.A.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6958493696,
"CFBundleShortVersionString" : "306.2.4",
"CFBundleIdentifier" : "com.apple.Metal",
"size" : 1884160,
"uuid" : "1aff9909-e8a3-32d2-9b31-1a894680f867",
"path" : "/System/Library/Frameworks/Metal.framework/Versions/A/Metal",
"name" : "Metal",
"CFBundleVersion" : "306.2.4"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7265857536,
"CFBundleShortVersionString" : "65.0.22",
"CFBundleIdentifier" : "com.apple.IOGPU",
"size" : 233472,
"uuid" : "0d46c99a-45fb-3932-80fc-5b072b30d43c",
"path" : "/System/Library/PrivateFrameworks/IOGPU.framework/Versions/A/IOGPU",
"name" : "IOGPU",
"CFBundleVersion" : "65.0.22"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 6803206144,
"size" : 294912,
"uuid" : "40c9c98c-00d6-3e8e-9ad3-2ed6cf0d0cfe",
"path" : "/usr/lib/system/libdispatch.dylib",
"name" : "libdispatch.dylib"
},
{
"size" : 0,
"source" : "A",
"base" : 0,
"uuid" : "00000000-0000-0000-0000-000000000000"
}
],
"sharedCache" : {
"base" : 6800834560,
"size" : 3403612160,
"uuid" : "5667eb2d-1398-3b38-afff-a929572d4b88"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=1.4G resident=0K(0%) swapped_out_or_unallocated=1.4G(100%)\nWritable regions: Total=1.8G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.8G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nAccelerate framework 384K 3 \nActivity Tracing 256K 1 \nCG backing stores 3328K 4 \nCG image 3232K 37 \nCG raster data 1344K 8 \nColorSync 608K 28 \nCoreAnimation 1936K 95 \nCoreGraphics 32K 2 \nCoreUI image data 3552K 27 \nFoundation 48K 2 \nImage IO 128K 1 \nKernel Alloc Once 32K 1 \nMALLOC 319.5M 65 \nMALLOC guard page 192K 9 \nMALLOC_MEDIUM (reserved) 960.0M 8 reserved VM address space (unallocated)\nMALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)\nSTACK GUARD 56.2M 12 \nStack 13.8M 12 \nVM_ALLOCATE 145.2M 25 \n__AUTH 2070K 353 \n__AUTH_CONST 25.1M 579 \n__CTF 756 1 \n__DATA 14.3M 614 \n__DATA_CONST 28.6M 624 \n__DATA_DIRTY 2015K 217 \n__FONT_DATA 2352 1 \n__LINKEDIT 767.8M 45 \n__OBJC_CONST 4505K 316 \n__OBJC_RO 65.1M 1 \n__OBJC_RW 1981K 1 \n__TEXT 627.6M 647 \ndyld private memory 256K 1 \nmapped file 192.9M 46 \nshared memory 976K 22 \n=========== ======= ======= \nTOTAL 3.5G 3809 \nTOTAL, minus reserved VM space 2.2G 3809 \n",
"legacyInfo" : {
"threadTriggered" : {
"queue" : "com.Metal.CompletionQueueDispatch"
}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "6112e3d2fc54bc3389840661",
"factorPackIds" : {
"SIRI_TEXT_TO_SPEECH" : "6351d47a4ac5153dd52d5fc9"
},
"deploymentId" : 240000222
},
{
"rolloutId" : "61675b89201f677a9a4cbd65",
"factorPackIds" : {
"HEALTH_FEATURE_AVAILABILITY" : "6337495fa33d3500e4e7e330"
},
"deploymentId" : 240000040
}
],
"experiments" : [

]
}
}

Debug log
For all issues related to running a VM, including crashes, you should attach a debug log. (This is unavailable for macOS-on-macOS VMs. Attach an excerpt of your system log instead.)
To get the Debug log: open UTM, and open the settings for the VM you wish to launch. Near the top of the QEMU page is Debug Log. Turn it on and save the VM. After you experience the issue, open the VM settings again and select Export Log... and attach it here.

Upload VM
If your issue is related to a specific VM, please upload the config.plist from your VM's .utm directory. To get this, right-click the VM in UTM and choose "Show in Finder". Then right-click the selected file in Finder and choose "Show Package Contents". The config.plist file is now visible. Right-click it and choose "Compress". Attach the resulting config.plist.zip file here.
You can upload the entire .utm if needed, but note this includes your VM's drive image and may contain personal data. Since Github has an attachment size limit, you may want to upload to another service such as Google Drive. Link it here.
config.plist.zip

@osy
Copy link
Contributor

osy commented Nov 23, 2022

The experimental GPU support is still buggy, please disable it.

@osy
Copy link
Contributor

osy commented Nov 23, 2022

Duplicate of #3519

@osy osy marked this as a duplicate of #3519 Nov 23, 2022
@osy osy closed this as not planned Won't fix, can't repro, duplicate, stale Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants