blob: ebd27cb2103477a8ebae43b00ec19bcadb186fb0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
id = 1475
title = "qemu-img: GLib: g_hash_table_foreach_remove: assertion 'hash_table != NULL' failed"
state = "closed"
created_at = "2023-02-02T09:59:50.647Z"
closed_at = "2023-02-20T17:01:02.464Z"
labels = ["block:curl"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/1475"
host-os = "Fedora Rawhide"
host-arch = "x86-64"
qemu-version = "qemu from git @ commit 13356edb87506c148b163b8c7eb0695647d00c2a"
guest-os = "n/a"
guest-arch = "n/a"
description = """Mixing driver=https with an http URL gives this assert fail in glib2:
```
$ ~/d/qemu/build/qemu-img convert -p -W -f qcow2 'json:{ "file.readahead": 67108864, "file.driver": "https", "file.url": "http://web/tmp/jammy-server-cloudimg-amd64.qcow2", "file.timeout":2000 }' -O raw jammy-server-cloudimg-amd64.img.raw
qemu-img: GLib: g_hash_table_foreach_remove: assertion 'hash_table != NULL' failed
qemu-img: GLib: g_hash_table_destroy: assertion 'hash_table != NULL' failed
qemu-img: Could not open 'json:{ "file.readahead": 67108864, "file.driver": "https", "file.url": "http://web/tmp/jammy-server-cloudimg-amd64.qcow2", "file.timeout":2000 }': https curl driver cannot handle the URL 'http://oirase.annexia.org/tmp/jammy-server-cloudimg-amd64.qcow2' (does not start with 'https://')
```
(It seems to be a warning rather than a crash)"""
reproduce = """1. Run the command above."""
additional = "n/a"
|