From 4b927bc37359dec23f67d3427fc982945f24f404 Mon Sep 17 00:00:00 2001 From: Christian Krinitsin Date: Wed, 21 May 2025 21:21:26 +0200 Subject: add gitlab issues in toml format --- .../host_missing/accel_missing/1640.toml | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 gitlab/issues/target_arm/host_missing/accel_missing/1640.toml (limited to 'gitlab/issues/target_arm/host_missing/accel_missing/1640.toml') diff --git a/gitlab/issues/target_arm/host_missing/accel_missing/1640.toml b/gitlab/issues/target_arm/host_missing/accel_missing/1640.toml new file mode 100644 index 000000000..73a219b14 --- /dev/null +++ b/gitlab/issues/target_arm/host_missing/accel_missing/1640.toml @@ -0,0 +1,33 @@ +id = 1640 +title = "aarch64: usb_mtp_get_data: Assertion `(s->dataset.size == 0xFFFFFFFF) || (s->dataset.size == d->offset)' failed" +state = "closed" +created_at = "2023-05-09T13:53:19.237Z" +closed_at = "2024-03-12T13:58:24.153Z" +labels = ["USB", "target: arm"] +url = "https://gitlab.com/qemu-project/qemu/-/issues/1640" +host-os = "NixOS" +host-arch = "aarch64" +qemu-version = "8.0.0" +guest-os = "NixOS" +guest-arch = "aarch64" +description = """When attempting to write to an MTP device in QEMU 8.0.0 on arm64, QEMU will crash at runtime with the following error: +`qemu-system-aarch64: ../hw/usb/dev-mtp.c:1819: usb_mtp_get_data: Assertion '(s->dataset.size == 0xFFFFFFFF) || (s->dataset.size == d->offset)' failed.` + +This was observed in Nixpkgs where we use QEMU to provide automated testing of MTP devices for GVFS and jmtpfs, the full log for that test run that crashes due to this QEMU regression on arm64 is available here https://hydra.nixos.org/build/218858556/nixlog/1""" +reproduce = """1. Launch a QEMU virtual machine with `-usb -device usb-mtp,rootdir=/tmp,readonly=false` using any QEMU version above 6.0.0 +2. Mount the MTP device using something like: + ``` + mkdir mtpDevice && jmtpfs mtpDevice + ``` +3. Try to write to the mtp device: + ``` + dd if=/dev/urandom of=./mtpDevice/file + ``` +4. Observe that QEMU will crash when trying to write to the device, like this: + ``` + client # 10+0 records in + client # 10+0 records out + client # 10485760 bytes (10 MB, 10 MiB) copied, 0.0318363 s, 329 MB/s + client # qemu-system-aarch64: ../hw/usb/dev-mtp.c:1819: usb_mtp_get_data: Assertion '(s->dataset.size == 0xFFFFFFFF) || (s->dataset.size == d->offset)' failed.error + ```""" +additional = """""" -- cgit 1.4.1