VM UTM-Ubuntu Install, Bad PC Value / Unable to handle kernel Null at pointer dereference at virtual address.
- Dominant language
- Swift
- Stars
- 35.5k
- Forks
- 1.8k
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 7
Description
I have tried to install Ubuntu Server several times. keeps freezing or getting these errors, see Report Log added to body. Unable to scroll screenshots or run Report due to freezing. Seems to freeze after Kernel install, Not sure what is wrong or how to fix. Also, not sure if I am sending this correctly.
UTM Version 4.0.9 (68)
Mac M1, Ventura 13.1,
Virtualization method, Live Server .iso, Standard or Default setup, Changed Disk space a few time from 10G to 64G.
Below is Crash Log: and screenshots
Log:
{"app_name":"com.apple.Virtualization.VirtualMachine","timestamp":"2022-12-19 15:22:22.00 -0500","app_version":"1.0","slice_uuid":"8494ea84-c5b4-36c8-a264-3e187c9669ee","build_version":"104.7.1","platform":1,"bundleID":"com.apple.Virtualization.VirtualMachine","share_with_app_devs":1,"is_first_party":1,"bug_type":"309","os_version":"macOS 13.1 (22C65)","roots_installed":0,"name":"com.apple.Virtualization.VirtualMachine","incident_id":"B7AA4188-ABAF-44FA-A319-568506F641DB"}
{
"uptime" : 14000,
"procRole" : "Default",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookAir10,1",
"coalitionID" : 4179,
"osVersion" : {
"train" : "macOS 13.1",
"build" : "22C65",
"releaseType" : "User"
},
"captureTime" : "2022-12-19 15:22:21.4543 -0500",
"incident" : "B7AA4188-ABAF-44FA-A319-568506F641DB",
"pid" : 3384,
"translated" : false,
"cpuType" : "ARM-64",
"roots_installed" : 0,
"bug_type" : "309",
"procLaunch" : "2022-12-19 15:22:12.2887 -0500",
"procStartAbsTime" : 356646585560,
"procExitAbsTime" : 356784289753,
"procName" : "com.apple.Virtualization.VirtualMachine",
"procPath" : "\/System\/Library\/Frameworks\/Virtualization.framework\/Versions\/A\/XPCServices\/com.apple.Virtualization.VirtualMachine.xpc\/Contents\/MacOS\/com.apple.Virtualization.VirtualMachine",
"bundleInfo" : {"CFBundleShortVersionString":"1.0","CFBundleVersion":"104.7.1","CFBundleIdentifier":"com.apple.Virtualization.VirtualMachine"},
"buildInfo" : {"ProjectName":"Virtualization","SourceVersion":"104007001000000","BuildVersion":"28"},
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "com.utmapp.UTM",
"crashReporterKey" : "98BF6F73-F329-7C7F-C911-2F34C6200C0F",
"responsiblePid" : 3167,
"responsibleProc" : "UTM",
"throttleTimeout" : 10,
"sip" : "enabled",
"exception" : {"codes":"0x0000000000000001, 0x0000000100c3a5c4","rawCodes":[1,4307789252],"type":"EXC_BREAKPOINT","signal":"SIGTRAP"},
"termination" : {"flags":0,"code":5,"namespace":"SIGNAL","indicator":"Trace\/BPT trap: 5","byProc":"exc handler","byPid":3384},
"os_fault" : {"process":"com.apple.Virtualization.VirtualMachine"},
"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" : 11,
"threads" : [{"id":104489,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":0}]},{"id":104490,"frames":[{"imageOffset":32980,"symbol":"__sigsuspend_nocancel","symbolLocation":8,"imageIndex":1},{"imageOffset":97456,"symbol":"_dispatch_sigsuspend","symbolLocation":48,"imageIndex":2},{"imageOffset":97408,"symbol":"_dispatch_sig_thread","symbolLocation":60,"imageIndex":2}]},{"id":104492,"name":"com.apple.virtualization.thread.raw-disk-io-0","frames":[{"imageOffset":17764,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":1},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":0},{"imageOffset":262560,"imageIndex":3},{"imageOffset":262228,"imageIndex":3},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":0},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":0}]},{"id":104493,"name":"com.apple.virtualization.thread.raw-disk-io-1","frames":[{"imageOffset":17764,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":1},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":0},{"imageOffset":262560,"imageIndex":3},{"imageOffset":262228,"imageIndex":3},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":0},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":0}]},{"id":104494,"name":"com.apple.virtualization.thread.raw-disk-io-2","frames":[{"imageOffset":17764,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":1},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":0},{"imageOffset":262560,"imageIndex":3},{"imageOffset":262228,"imageIndex":3},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":0},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":0}]},{"id":104495,"name":"com.apple.virtualization.thread.raw-disk-io-3","frames":[{"imageOffset":17764,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":1},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":0},{"imageOffset":262560,"imageIndex":3},{"imageOffset":262228,"imageIndex":3},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":0},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":0}]},{"id":104496,"name":"caulk.messenger.shared:17","frames":[{"imageOffset":3308,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":1},{"imageOffset":130300,"symbol":"caulk::mach::semaphore::wait_or_error()","symbolLocation":28,"imageIndex":4},{"imageOffset":9780,"symbol":"caulk::concurrent::details::worker_thread::run()","symbolLocation":56,"imageIndex":4},{"imageOffset":8824,"symbol":"void* caulk::thread_proxy > >(void*)","symbolLocation":96,"imageIndex":4},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":0},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":0}]},{"id":104520,"name":"com.apple.virtualization.thread.raw-disk-io-0","frames":[{"imageOffset":63008,"symbol":"preadv","symbolLocation":8,"imageIndex":1},{"imageOffset":1111832,"imageIndex":3},{"imageOffset":833416,"imageIndex":3},{"imageOffset":263040,"imageIndex":3},{"imageOffset":262228,"imageIndex":3},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":0},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":0}]},{"id":104521,"name":"com.apple.virtualization.thread.raw-disk-io-1","frames":[{"imageOffset":17764,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":1},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":0},{"imageOffset":262560,"imageIndex":3},{"imageOffset":262228,"imageIndex":3},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":0},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":0}]},{"id":104522,"name":"com.apple.virtualization.thread.raw-disk-io-2","frames":[{"imageOffset":17764,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":1},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":0},{"imageOffset":262560,"imageIndex":3},{"imageOffset":262228,"imageIndex":3},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":0},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":0}]},{"id":104523,"name":"com.apple.virtualization.thread.raw-disk-io-3","frames":[{"imageOffset":17764,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":1},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":0},{"imageOffset":262560,"imageIndex":3},{"imageOffset":262228,"imageIndex":3},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":0},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":0}]},{"triggered":true,"id":104524,"name":"com.apple.virtualization.thread.cpu-0","threadState":{"x":[{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":2173023317158920400},{"value":2173023317158920400},{"value":16250394823404996547},{"value":8256},{"value":8256},{"value":536879176},{"value":4294967295},{"value":7036874417766400},{"value":18446744073709551604},{"value":8645448704},{"value":0},{"value":6168668584},{"value":6168668608},{"value":5375105328},{"value":18446744073709551615},{"value":5393981616},{"value":5402390192},{"value":6144},{"value":5375105328},{"value":5375105344},{"value":1}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6072400414375126468},"cpsr":{"value":1610616832},"fp":{"value":6168668544},"sp":{"value":6168668512},"esr":{"value":4060086273,"description":"(Breakpoint) brk 1"},"pc":{"value":4307789252,"matchesCrashFrame":1},"far":{"value":4345151488}},"frames":[{"imageOffset":1566148,"imageIndex":3},{"imageOffset":1566148,"imageIndex":3},{"imageOffset":1565772,"imageIndex":3},{"imageOffset":330568,"imageIndex":3},{"imageOffset":1499076,"imageIndex":3},{"imageOffset":661604,"imageIndex":3},{"imageOffset":753988,"imageIndex":3},{"imageOffset":1120816,"imageIndex":3},{"imageOffset":1117732,"imageIndex":3},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":0},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":0}]},{"id":104525,"name":"com.apple.virtualization.thread.cpu-1","frames":[{"imageOffset":17764,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":1},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":0},{"imageOffset":751308,"imageIndex":3},{"imageOffset":1118728,"imageIndex":3},{"imageOffset":1117732,"imageIndex":3},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":0},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":0}]},{"id":104526,"name":"com.apple.virtualization.thread.cpu-2","frames":[{"imageOffset":17764,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":1},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":0},{"imageOffset":751308,"imageIndex":3},{"imageOffset":1118728,"imageIndex":3},{"imageOffset":1117732,"imageIndex":3},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":0},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":0}]},{"id":104527,"name":"com.apple.virtualization.thread.cpu-3","frames":[{"imageOffset":17764,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":1},{"imageOffset":30264,"symbol":"_pthread_cond_wait","symbolLocation":1232,"imageIndex":0},{"imageOffset":751308,"imageIndex":3},{"imageOffset":1118728,"imageIndex":3},{"imageOffset":1117732,"imageIndex":3},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":0},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":0}]},{"id":104528,"name":"com.apple.virtualization.thread.virtual-clock","frames":[{"imageOffset":17764,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":1},{"imageOffset":30308,"symbol":"_pthread_cond_wait","symbolLocation":1276,"imageIndex":0},{"imageOffset":1377072,"imageIndex":3},{"imageOffset":1376628,"imageIndex":3},{"imageOffset":28780,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":0},{"imageOffset":7724,"symbol":"thread_start","symbolLocation":8,"imageIndex":0}]},{"id":104530,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":0}]},{"id":104532,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":0}]},{"id":104533,"frames":[{"imageOffset":7704,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":0}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "arm64e",
"base" : 7033069568,
"size" : 53244,
"uuid" : "132084c6-c347-3489-9ac2-fcaad21cdb73",
"path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
"name" : "libsystem_pthread.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7032836096,
"size" : 233460,
"uuid" : "aebf397e-e2ef-3a49-be58-23d4558511f6",
"path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
"name" : "libsystem_kernel.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7031480320,
"size" : 294912,
"uuid" : "191028d2-0477-3ebc-9eef-a85acafc7193",
"path" : "\/usr\/lib\/system\/libdispatch.dylib",
"name" : "libdispatch.dylib"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 4306223104,
"CFBundleShortVersionString" : "1.0",
"CFBundleIdentifier" : "com.apple.Virtualization.VirtualMachine",
"size" : 1769472,
"uuid" : "8494ea84-c5b4-36c8-a264-3e187c9669ee",
"path" : "\/System\/Library\/Frameworks\/Virtualization.framework\/Versions\/A\/XPCServices\/com.apple.Virtualization.VirtualMachine.xpc\/Contents\/MacOS\/com.apple.Virtualization.VirtualMachine",
"name" : "com.apple.Virtualization.VirtualMachine",
"CFBundleVersion" : "104.7.1"
},
{
"source" : "P",
"arch" : "arm64e",
"base" : 7189049344,
"CFBundleShortVersionString" : "1.0",
"CFBundleIdentifier" : "com.apple.audio.caulk",
"size" : 172032,
"uuid" : "0978e37e-6087-35f8-a623-b9d02160b84f",
"path" : "\/System\/Library\/PrivateFrameworks\/caulk.framework\/Versions\/A\/caulk",
"name" : "caulk"
}
],
"sharedCache" : {
"base" : 7029112832,
"size" : 3434283008,
"uuid" : "00a1fbb6-43e1-3c11-8483-faf0db659249"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=995.8M resident=0K(0%) swapped_out_or_unallocated=995.8M(100%)\nWritable regions: Total=3.4G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=3.4G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nActivity Tracing 256K 1 \nColorSync 16K 1 \nDispatch continuations 64.0M 1 \nKernel Alloc Once 32K 1 \nMALLOC 66.1M 28 \nMALLOC guard page 192K 10 \nMALLOC_MEDIUM (reserved) 240.0M 2 reserved VM address space (unallocated)\nMemory Tag 240 3.0G 24 \nMemory Tag 241 320K 2 \nMemory Tag 28 128K 8 \nSTACK GUARD 304K 19 \nStack 10.1M 20 \nStack Guard 64.0M 2 \nVM_ALLOCATE 32K 2 \n__AUTH 622K 158 \n__AUTH_CONST 11.6M 308 \n__DATA 2747K 294 \n__DATA_CONST 14.7M 311 \n__DATA_DIRTY 776K 107 \n__FONT_DATA 2352 1 \n__LINKEDIT 766.9M 2 \n__OBJC_CONST 1403K 128 \n__OBJC_RO 65.4M 1 \n__OBJC_RW 1986K 1 \n__TEXT 228.8M 323 \ndyld private memory 256K 1 \nmapped file 29.4M 4 \nshared memory 4512K 12 \n=========== ======= ======= \nTOTAL 4.5G 1772 \nTOTAL, minus reserved VM space 4.3G 1772 \n",
"legacyInfo" : {
"threadTriggered" : {
"name" : "com.apple.virtualization.thread.cpu-0"
}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "61fd92db295c182621ececc3",
"factorPackIds" : {
},
"deploymentId" : 240000247
},
{
"rolloutId" : "62b4513af75dc926494899c6",
"factorPackIds" : {
"COREOS_ICD" : "62fbe3cfa9a700130f60b3ea"
},
"deploymentId" : 240000018
}
],
"experiments" : [
]
}
}
**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**
Replace this text with a clear and concise description of what the issue is.
**Configuration**
* UTM Version:
* macOS Version:
* Mac Chip (Intel, M1, ...):
**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.
**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.
Contributor guide
Assessment
This issue has not been assessed yet.