qemu-img convert is freezing for some DMG files.
Bug #1809304 reported by
Julio Faracco
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Recently, I created a file using hdiutil from MacOS (using Zlib compression):
$ hdiutil create -volname MyVolName -srcfolder /path/to/my/vol/ -ov -format UDZO myvolname.dmg
But, when I try to convert this volume using qemu-img convert, this command is freezing.
I'm using the upstream version to test it.
It is freezing inside the binary search method to retrieve the chunk.
But, I still don't know why.
I'm attaching the file as an example.
It can be mounted using MacOS or other Linux apps like hfsleuth and darling-dmg.
Changed in qemu: | |
status: | New → Fix Committed |
To post a comment you must log in.
I have submitted a patch to prevent hanging in binary search. lists.nongnu. org/archive/ html/qemu- devel/2018- 12/msg05453. html?fbclid= IwAR0ObsaZ4kVMV v6MWIdq0ZCAN5tG hDsd9GmFv8_ v7HBTl94Cu5EkRZ 3z4n4
See: http://
Thanks,
Yu-Chen Lin