You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using UTM v2.0b9, an Arch Linux x86_64 VM with WebDAV loaded. This worked in v1 and not in v2 of UTM.
Started Arch Linux VM, then as root mount the directory using the same command that was used before.
It asks for login, I hit return and then asks for password and I hit return (as done in v1). UTM then crashes.
Of note, I set the shared directory toggle on the VM itself and on the front page set it to a path that is inside the UTM directory (where the other UTM VMs are located). I had created a directory in there and that is what I share between each of the VMs (although that doesn’t work, but subject of a different report).
Date/Time: 2020-11-11 16:23:03.1567 -0600
Launch Time: 2020-11-11 16:20:45.3516 -0600
OS Version: iPhone OS 14.2 (18B91)
Release Type: User
Baseband Version: 3.01.01
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000008
VM Region Info: 0x8 is not in any region. Bytes before following region: 4302323704
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 100704000-1009c8000 [ 2832K] r-x/r-x SM=COW ...7/UTM.app/UTM
Describe the bug
A clear and concise description of what the bug is. 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.
To Reproduce
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error
Crash log
If the app crashed, you need a crash log. To get your crash log, open the Settings app and browse to Privacy -> Analytics & Improvements -> Analytics Data and find the latest entry for UTM. You should export the text and attach it here.
Debug log
For all issues, including crashes, you should attach a debug log. Open UTM, and open the settings for the VM you wish to launch. Near the bottom of the configuration options is Debug Log. Turn it on and save the VM. After you experience the issue, quit the VM and re-launch UTM. Open the VM settings again and select Export Log... and attach it here.
Upload VM
If possible, upload the .utm you are experiencing an issue with. Since Github has an attachment size limit, you may want to upload to another service such as Google Drive. Link it here.
The text was updated successfully, but these errors were encountered:
Just checking if the fixes that went in with .11 and .12 regarding reading/writing outside the sandbox was thought to fix the issue listed here (NOTE this is a Arch linux x86_64 VM)? I have tried to share a folder from inside the UTM folder that has the VMs and outside in a folder in the “On my iPad” main folder. Sometimes it crashes with the same error (if this is pertinent):
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000008
VM Region Info: 0x8 is not in any region. Bytes before following region: 4302323704
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 100704000-1009c8000 [ 2832K] r-x/r-x SM=COW ...7/UTM.app/UTM
Any thoughts? Should I be sharing a different folder from somewhere else?
spice-gtk uses g_get_user_special_dir(G_USER_DIRECTORY_PUBLIC_SHARE) as the
default path when shared-dir is not set. This evaluates to NULL on iOS and
later on the NULL pointer causes a crash when the WebDAV server is accessed.
We manually set the default share to /tmp/Public and put in a readme so the
user knows the files are temporary.
Fixes#528
Using UTM v2.0b9, an Arch Linux x86_64 VM with WebDAV loaded. This worked in v1 and not in v2 of UTM.
Started Arch Linux VM, then as root mount the directory using the same command that was used before.
Mount -t davfs http://local host:9843 /mnt/shared
It asks for login, I hit return and then asks for password and I hit return (as done in v1). UTM then crashes.
Of note, I set the shared directory toggle on the VM itself and on the front page set it to a path that is inside the UTM directory (where the other UTM VMs are located). I had created a directory in there and that is what I share between each of the VMs (although that doesn’t work, but subject of a different report).
Debug log
2 020-11-11 16:21:16.701 UTM[349:25835] -[CSConnection init]:251
Loading libqemu-system-x86_64.utm.dylib
2020-11-11 16:21:16.728 UTM[349:25835] Loading libqemu-system-x86_64.utm.dylib
Running: -L /private/var/containers/Bundle/Application/78975C3C-0622-4FF4-8627-47F64C0188A7/UTM.app/qemu -S -qmp tcp:localhost:4000,server,nowait -spice port=4001,addr=127.0.0.1,disable-ticketing,image-compression=off,playback-compression=off,streaming-video=off -smp cpus=1,sockets=1 -machine pc,vmport=off -accel tcg,mirror-rwx=on -vga qxl -global PIIX4_PM.disable_s3=1 -global ICH9-LPC.disable_s3=1 -m 1024 -soundhw ac97 -name manjaro-lxqt-enl -drive if=ide,media=disk,id=drive0,file=/var/mobile/Containers/Data/Application/114EEC0A-F7C2-4C3C-A01D-D9EBF73BCD3E/Documents/manjaro-lxqt-enl.utm/Images/manjaro-lxqt-enl.img -device rtl8139,netdev=net0 -netdev user,id=net0 -device virtio-serial -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -chardev spicevmc,id=vdagent,debug=0,name=vdagent -device virtserialport,chardev=charchannel1,id=channel1,name=org.spice-space.webdav.0 -chardev spiceport,name=org.spice-space.webdav.0,id=charchannel1 -rtc base=localtime
2020-11-11 16:21:16.745 UTM[349:25835] Running: -L /private/var/containers/Bundle/Application/78975C3C-0622-4FF4-8627-47F64C0188A7/UTM.app/qemu -S -qmp tcp:localhost:4000,server,nowait -spice port=4001,addr=127.0.0.1,disable-ticketing,image-compression=off,playback-compression=off,streaming-video=off -smp cpus=1,sockets=1 -machine pc,vmport=off -accel tcg,mirror-rwx=on -vga qxl -global PIIX4_PM.disable_s3=1 -global ICH9-LPC.disable_s3=1 -m 1024 -soundhw ac97 -name manjaro-lxqt-enl -drive if=ide,media=disk,id=drive0,file=/var/mobile/Containers/Data/Application/114EEC0A-F7C2-4C3C-A01D-D9EBF73BCD3E/Documents/manjaro-lxqt-enl.utm/Images/manjaro-lxqt-enl.img -device rtl8139,netdev=net0 -netdev user,id=net0 -device virtio-serial -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -chardev spicevmc,id=vdagent,debug=0,name=vdagent -device virtserialport,chardev=charchannel1,id=channel1,name=org.spice-space.webdav.0 -chardev spiceport,name=org.spice-space.webdav.0,id=charchannel1 -rtc base=localtime
SPICE port not in use yet, retries left: 29
2020-11-11 16:21:16.746 UTM[349:25887] SPICE port not in use yet, retries left: 29
Stream error Error Domain=NSPOSIXErrorDomain Code=61 "Connection refused" UserInfo={_kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}
QMP stream error seen: Error Domain=NSPOSIXErrorDomain Code=61 "Connection refused" UserInfo={_kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}
QMP connection failed, retries left: 29
2020-11-11 16:21:16.746 UTM[349:25887] Stream error Error Domain=NSPOSIXErrorDomain Code=61 "Connection refused" UserInfo={_kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}
2020-11-11 16:21:16.746 UTM[349:25887] QMP stream error seen: Error Domain=NSPOSIXErrorDomain Code=61 "Connection refused" UserInfo={_kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}
2020-11-11 16:21:16.746 UTM[349:25887] QMP connection failed, retries left: 29
qemu-system: info: Spice: reds.c:4214:spice_server_set_seamless_migration: seamless migration enabled=0
qemu-system: info: Spice: reds.c:3359:do_spice_init: starting 0.14.1
qemu-system: info: Spice: char-device.c:690:red_char_device_reset_dev_instance: sin 0x0, char device 0x119e14110
qemu-system: info: Spice: reds.c:2561:reds_init_socket: bound to 127.0.0.1:4001
qemu-system: info: Spice: main:0 (0x119e1c070): thread_id 0x16fd87000
qemu-system: info: Spice: inputs:0 (0x119e18140): thread_id 0x16fd87000
qemu-system: info: Spice: reds.c:3297:spice_server_add_interface: SPICE_INTERFACE_MIGRATION
qemu-system: info: Spice: reds.c:3214:spice_server_add_interface: SPICE_INTERFACE_KEYBOARD
qemu-system: info: Spice: reds.c:3224:spice_server_add_interface: SPICE_INTERFACE_MOUSE
qemu-system: info: Spice: reds.c:3128:spice_server_char_device_add_interface: CHAR_DEVICE port
qemu-system: info: Spice: webdav:0 (0x118ebcd30): thread_id 0x16fd87000
qemu-system: info: Spice: char-device.c:690:red_char_device_reset_dev_instance: sin 0x2833b9638, char device 0x118ebce10
qemu-system: info: Spice: char-device.c:802:red_char_device_start: char device 0x118ebce10
qemu-system: info: Spice: reds.c:3236:spice_server_add_interface: SPICE_INTERFACE_QXL
qemu-system: info: Spice: cursor-channel.c:238:cursor_channel_new: create cursor channel
qemu-system: info: Spice: cursor:0 (0x118ebcec0): thread_id 0x16fd87000
qemu-system: info: Spice: display-channel.c:2235:display_channel_new: create display channel
qemu-system: info: Spice: display:0 (0x119e1c130): thread_id 0x16fd87000
qemu-system: info: Spice: display-channel.c:236:display_channel_set_stream_video: sv off
qemu-system: info: Spice: red-worker.c:1360:red_worker_main: begin
qemu-system: warning: '-soundhw ac97' is deprecated, please use '-device AC97' instead
qemu-system: info: Spice: reds.c:3280:spice_server_add_interface: SPICE_INTERFACE_RECORD
qemu-system: info: Spice: record:0 (0x119e1c1d0): thread_id 0x16fd87000
qemu-system: info: Spice: reds.c:3271:spice_server_add_interface: SPICE_INTERFACE_PLAYBACK
qemu-system: info: Spice: playback:0 (0x119e1c280): thread_id 0x16fd87000
qemu-system: info: Spice: display-channel.c:2090:display_channel_destroy_surfaces: trace
qemu-system: info: Spice: red-worker.c:490:dev_create_primary_surface: trace
qemu-system: info: Spice: display-channel.c:181:monitors_config_debug: monitors config count:1 max:1
qemu-system: info: Spice: display-channel.c:185:monitors_config_debug: +0+0 640x480
qemu-system: info: Spice: cursor-channel.c:318:cursor_channel_init_client: during_target_migrate: skip init
qemu-system: info: Spice: red-worker.c:490:dev_create_primary_surface: trace
qemu-system: info: Spice: display-channel.c:173:monitors_config_unref: freeing monitors config
qemu-system: info: Spice: display-channel.c:181:monitors_config_debug: monitors config count:1 max:1
qemu-system: info: Spice: display-channel.c:185:monitors_config_debug: +0+0 640x480
qemu-system: info: Spice: cursor-channel.c:318:cursor_channel_init_client: during_target_migrate: skip init
Connected to stream
QMP connection successful! (readStream:1)
2020-11-11 16:21:17.849 UTM[349:25889] Connected to stream
2020-11-11 16:21:17.849 UTM[349:25889] QMP connection successful! (readStream:1)
Debug JSON recieved <- {
QMP = {
capabilities = (
oob
);
version = {
package = "";
qemu = {
major = 5;
micro = 0;
minor = 1;
};
};
};
}
Connected to stream
QMP connection successful! (readStream:0)
2020-11-11 16:21:17.851 UTM[349:25889] Debug JSON recieved <- {
Got QMP handshake: {
QMP = {
capabilities = (
oob
);
version = {
package = "";
qemu = {
major = 5;
micro = 0;
minor = 1;
};
};
};
}
QMP = {
Debug JSON send -> {
execute = "qmp_capabilities";
}
capabilities = (
oob
);
version = {
package = "";
qemu = {
major = 5;
micro = 0;
minor = 1;
};
};
};
}
2020-11-11 16:21:17.851 UTM[349:25889] Connected to stream
2020-11-11 16:21:17.851 UTM[349:25889] QMP connection successful! (readStream:0)
2020-11-11 16:21:17.851 UTM[349:25887] Got QMP handshake: {
QMP = {
capabilities = (
oob
);
version = {
package = "";
Debug JSON recieved <- {
return = {
};
}
qemu = {
major = 5;
qemuQmpDidConnect
micro = 0;
minor = 1;
found shared directory bookmark
};
};
};
}
2020-11-11 16:21:17.852 UTM[349:25887] Debug JSON send -> {
-[CSSession initWithSession:]:310
execute = "qmp_capabilities";
}
2020-11-11 16:21:17.854 UTM[349:25889] Debug JSON recieved <- {
return = {
};
}
2020-11-11 16:21:17.855 UTM[349:25887] qemuQmpDidConnect
2020-11-11 16:21:17.855 UTM[349:25887] found shared directory bookmark
2020-11-11 16:21:17.855 UTM[349:25888] -[CSSession initWithSession:]:310
qemu-system: info: GSpice: spice-session.c:1802 no migration in progress
Crash log:
{"app_name":"UTM","timestamp":"2020-11-11 16:23:03.00 -0600","app_version":"2.0.9","slice_uuid":"e9a24aa6-dddc-3ca0-9a35-039fd403a906","adam_id":0,"build_version":"9","platform":2,"bundleID":"com.utmapp.UTM","share_with_app_devs":0,"is_first_party":0,"bug_type":"109","os_version":"iPhone OS 14.2 (18B91)","incident_id":"9FB6D094-6AC3-4670-8BCB-C2FC12BBF56D","name":"UTM"}
Incident Identifier: 9FB6D094-6AC3-4670-8BCB-C2FC12BBF56D
CrashReporter Key: 9980b7b35239f60a1b6bda075fb837e46bb7b628
Hardware Model: iPad8,7
Process: UTM [349]
Path: /private/var/containers/Bundle/Application/78975C3C-0622-4FF4-8627-47F64C0188A7/UTM.app/UTM
Identifier: com.utmapp.UTM
Version: 9 (2.0.9)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: com.utmapp.UTM [456]
Date/Time: 2020-11-11 16:23:03.1567 -0600
Launch Time: 2020-11-11 16:20:45.3516 -0600
OS Version: iPhone OS 14.2 (18B91)
Release Type: User
Baseband Version: 3.01.01
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000008
VM Region Info: 0x8 is not in any region. Bytes before following region: 4302323704
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 100704000-1009c8000 [ 2832K] r-x/r-x SM=COW ...7/UTM.app/UTM
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [349]
Triggered by Thread: 7
T hread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x00000001d2d172d0 0x1d2d13000 + 17104
1 libsystem_kernel.dylib 0x00000001d2d16660 0x1d2d13000 + 13920
2 CoreFoundation 0x00000001a64bdc30 0x1a641d000 + 658480
3 CoreFoundation 0x00000001a64b7c14 0x1a641d000 + 633876
4 CoreFoundation 0x00000001a64b721c 0x1a641d000 + 631324
5 GraphicsServices 0x00000001bd536784 0x1bd533000 + 14212
6 UIKitCore 0x00000001a8ef0200 0x1a8329000 + 12349952
7 UIKitCore 0x00000001a8ef5a74 0x1a8329000 + 12372596
8 SwiftUI 0x00000001ad3b6b20 0x1aca5b000 + 9812768
9 SwiftUI 0x00000001ad3b6aac 0x1aca5b000 + 9812652
10 SwiftUI 0x00000001acf0ee5c 0x1aca5b000 + 4931164
11 UTM 0x00000001007c1650 0x100704000 + 775760
12 UTM 0x00000001007bfb34 0x100704000 + 768820
13 libdyld.dylib 0x00000001a61776c0 0x1a6176000 + 5824
Thread 1:
0 libsystem_kernel.dylib 0x00000001d2d3b1ac 0x1d2d13000 + 164268
1 libsystem_pthread.dylib 0x00000001eec3a458 0x1eec35000 + 21592
2 libqemu-system-nios2.utm.dylib 0x000000010106a1d0 0x100e20000 + 2400720
3 libqemu-system-nios2.utm.dylib 0x0000000101071de8 0x100e20000 + 2432488
4 libqemu-system-nios2.utm.dylib 0x000000010106a3a0 0x100e20000 + 2401184
5 libsystem_pthread.dylib 0x00000001eec36b40 0x1eec35000 + 6976
6 libsystem_pthread.dylib 0x00000001eec3f768 0x1eec35000 + 42856
Thread 2:
0 libsystem_kernel.dylib 0x00000001d2d3b1ac 0x1d2d13000 + 164268
1 libsystem_pthread.dylib 0x00000001eec3a458 0x1eec35000 + 21592
2 libqemu-system-sh4eb.utm.dylib 0x0000000101c4b5f8 0x1018f8000 + 3487224
3 libqemu-system-sh4eb.utm.dylib 0x0000000101c534c8 0x1018f8000 + 3519688
4 libqemu-system-sh4eb.utm.dylib 0x0000000101c4b7c8 0x1018f8000 + 3487688
5 libsystem_pthread.dylib 0x00000001eec36b40 0x1eec35000 + 6976
6 libsystem_pthread.dylib 0x00000001eec3f768 0x1eec35000 + 42856
Thread 3:
0 libsystem_kernel.dylib 0x00000001d2d3dc28 0x1d2d13000 + 175144
1 UTM 0x000000010073a4d0 0x100704000 + 222416
2 libsystem_pthread.dylib 0x00000001eec36b40 0x1eec35000 + 6976
3 libsystem_pthread.dylib 0x00000001eec3f768 0x1eec35000 + 42856
Thread 4:
0 libsystem_kernel.dylib 0x00000001d2d3dc28 0x1d2d13000 + 175144
1 UTM 0x000000010073a61c 0x100704000 + 222748
2 libsystem_pthread.dylib 0x00000001eec36b40 0x1eec35000 + 6976
3 libsystem_pthread.dylib 0x00000001eec3f768 0x1eec35000 + 42856
Thread 5 name: Dispatch queue: com.apple.root.background-qos
Thread 5:
0 libsystem_kernel.dylib 0x00000001d2d1730c 0x1d2d13000 + 17164
1 libdispatch.dylib 0x00000001a6137318 0x1a6133000 + 17176
2 libdispatch.dylib 0x00000001a61379e0 0x1a6133000 + 18912
3 UTM 0x0000000100710b78 0x100704000 + 52088
4 libdispatch.dylib 0x00000001a613524c 0x1a6133000 + 8780
5 libdispatch.dylib 0x00000001a6136db0 0x1a6133000 + 15792
6 libdispatch.dylib 0x00000001a6147a68 0x1a6133000 + 84584
7 libdispatch.dylib 0x00000001a6148120 0x1a6133000 + 86304
8 libsystem_pthread.dylib 0x00000001eec387c8 0x1eec35000 + 14280
9 libsystem_pthread.dylib 0x00000001eec3f75c 0x1eec35000 + 42844
Thread 6 name: com.apple.uikit.eventfetch-thread
Thread 6:
0 libsystem_kernel.dylib 0x00000001d2d172d0 0x1d2d13000 + 17104
1 libsystem_kernel.dylib 0x00000001d2d16660 0x1d2d13000 + 13920
2 CoreFoundation 0x00000001a64bdc30 0x1a641d000 + 658480
3 CoreFoundation 0x00000001a64b7c14 0x1a641d000 + 633876
4 CoreFoundation 0x00000001a64b721c 0x1a641d000 + 631324
5 Foundation 0x00000001a7763df0 0x1a775b000 + 36336
6 Foundation 0x00000001a7763cbc 0x1a775b000 + 36028
7 UIKitCore 0x00000001a8fa3fe4 0x1a8329000 + 13086692
8 Foundation 0x00000001a78d5a34 0x1a775b000 + 1550900
9 libsystem_pthread.dylib 0x00000001eec36b40 0x1eec35000 + 6976
10 libsystem_pthread.dylib 0x00000001eec3f768 0x1eec35000 + 42856
Thread 7 Crashed:
0 libphodav-2.0.0.utm.dylib 0x000000010265d6a4 0x102618000 + 284324
1 libphodav-2.0.0.utm.dylib 0x000000010265d69c 0x102618000 + 284316
2 libphodav-2.0.0.utm.dylib 0x000000010265d650 0x102618000 + 284240
3 ...client-glib-2.0.8.utm.dylib 0x0000000102ef528c 0x102ed4000 + 135820
4 ...client-glib-2.0.8.utm.dylib 0x0000000102ef5008 0x102ed4000 + 135176
5 libgio-2.0.0.utm.dylib 0x0000000102b9ba00 0x102b0c000 + 588288
6 libgio-2.0.0.utm.dylib 0x0000000102b9a7e4 0x102b0c000 + 583652
7 libgio-2.0.0.utm.dylib 0x0000000102b9ae54 0x102b0c000 + 585300
8 ...client-glib-2.0.8.utm.dylib 0x0000000102f13ed4 0x102ed4000 + 261844
9 libglib-2.0.0.utm.dylib 0x0000000103125920 0x1030dc000 + 301344
10 libglib-2.0.0.utm.dylib 0x0000000103129ab4 0x1030dc000 + 318132
11 libglib-2.0.0.utm.dylib 0x00000001031298ec 0x1030dc000 + 317676
12 libglib-2.0.0.utm.dylib 0x0000000103129e20 0x1030dc000 + 319008
13 libglib-2.0.0.utm.dylib 0x000000010312a330 0x1030dc000 + 320304
14 UTM 0x0000000100718f6c 0x100704000 + 85868
15 libsystem_pthread.dylib 0x00000001eec36b40 0x1eec35000 + 6976
16 libsystem_pthread.dylib 0x00000001eec3f768 0x1eec35000 + 42856
Describe the bug
A clear and concise description of what the bug is. 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.
To Reproduce
Steps to reproduce the behavior:
Crash log
If the app crashed, you need a crash log. To get your crash log, open the Settings app and browse to
Privacy -> Analytics & Improvements -> Analytics Data
and find the latest entry for UTM. You should export the text and attach it here.Debug log
For all issues, including crashes, you should attach a debug log. Open UTM, and open the settings for the VM you wish to launch. Near the bottom of the configuration options is
Debug Log
. Turn it on and save the VM. After you experience the issue, quit the VM and re-launch UTM. Open the VM settings again and selectExport Log...
and attach it here.Upload VM
If possible, upload the
.utm
you are experiencing an issue with. Since Github has an attachment size limit, you may want to upload to another service such as Google Drive. Link it here.The text was updated successfully, but these errors were encountered: