* [Qemu-devel] [Bug 1809304] [NEW] qemu-img convert is freezing for some DMG files.
@ 2018-12-20 19:44 Julio Faracco
2018-12-21 14:45 ` [Qemu-devel] [Bug 1809304] " yuchenlin
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: Julio Faracco @ 2018-12-20 19:44 UTC (permalink / raw)
To: qemu-devel
Public bug reported:
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.
** Affects: qemu
Importance: Undecided
Status: New
** Tags: dmg qemu-img
** Attachment added: "Firefox-Zlib.dmg"
https://bugs.launchpad.net/bugs/1809304/+attachment/5223852/+files/Firefox-Zlib.dmg
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1809304
Title:
qemu-img convert is freezing for some DMG files.
Status in QEMU:
New
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1809304/+subscriptions
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Qemu-devel] [Bug 1809304] Re: qemu-img convert is freezing for some DMG files.
2018-12-20 19:44 [Qemu-devel] [Bug 1809304] [NEW] qemu-img convert is freezing for some DMG files Julio Faracco
@ 2018-12-21 14:45 ` yuchenlin
2018-12-21 19:57 ` Julio Faracco
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: yuchenlin @ 2018-12-21 14:45 UTC (permalink / raw)
To: qemu-devel
I have submitted a patch to prevent hanging in binary search.
See: http://lists.nongnu.org/archive/html/qemu-devel/2018-12/msg05453.html?fbclid=IwAR0ObsaZ4kVMVv6MWIdq0ZCAN5tGhDsd9GmFv8_v7HBTl94Cu5EkRZ3z4n4
Thanks,
Yu-Chen Lin
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1809304
Title:
qemu-img convert is freezing for some DMG files.
Status in QEMU:
New
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1809304/+subscriptions
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Qemu-devel] [Bug 1809304] Re: qemu-img convert is freezing for some DMG files.
2018-12-20 19:44 [Qemu-devel] [Bug 1809304] [NEW] qemu-img convert is freezing for some DMG files Julio Faracco
2018-12-21 14:45 ` [Qemu-devel] [Bug 1809304] " yuchenlin
@ 2018-12-21 19:57 ` Julio Faracco
2018-12-23 5:34 ` yuchenlin
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Julio Faracco @ 2018-12-21 19:57 UTC (permalink / raw)
To: qemu-devel
I'm almost sure that we need other improvements beyond fixing binary
search deadlock.
It is returning read errors when you apply your patch.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1809304
Title:
qemu-img convert is freezing for some DMG files.
Status in QEMU:
New
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1809304/+subscriptions
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Qemu-devel] [Bug 1809304] Re: qemu-img convert is freezing for some DMG files.
2018-12-20 19:44 [Qemu-devel] [Bug 1809304] [NEW] qemu-img convert is freezing for some DMG files Julio Faracco
2018-12-21 14:45 ` [Qemu-devel] [Bug 1809304] " yuchenlin
2018-12-21 19:57 ` Julio Faracco
@ 2018-12-23 5:34 ` yuchenlin
2018-12-24 15:31 ` Julio Faracco
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: yuchenlin @ 2018-12-23 5:34 UTC (permalink / raw)
To: qemu-devel
Because of lacking zero chunk table, reading zero sector will return EIO.
I have submitted a series to fix this problem.
Please refer to this series: http://lists.nongnu.org/archive/html/qemu-
devel/2018-12/msg05637.html
Thanks,
Yu-Chen Lin
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1809304
Title:
qemu-img convert is freezing for some DMG files.
Status in QEMU:
New
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1809304/+subscriptions
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Qemu-devel] [Bug 1809304] Re: qemu-img convert is freezing for some DMG files.
2018-12-20 19:44 [Qemu-devel] [Bug 1809304] [NEW] qemu-img convert is freezing for some DMG files Julio Faracco
` (2 preceding siblings ...)
2018-12-23 5:34 ` yuchenlin
@ 2018-12-24 15:31 ` Julio Faracco
2018-12-24 20:17 ` Julio Faracco
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Julio Faracco @ 2018-12-24 15:31 UTC (permalink / raw)
To: qemu-devel
Hi Yu-Chen.
The series looks good. It fixed the problems related to zero chunk. Nice
work!
I added a comment that I reviewed your patch considering my scenarios
here. At least, It contributes to merge your changes.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1809304
Title:
qemu-img convert is freezing for some DMG files.
Status in QEMU:
New
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1809304/+subscriptions
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Qemu-devel] [Bug 1809304] Re: qemu-img convert is freezing for some DMG files.
2018-12-20 19:44 [Qemu-devel] [Bug 1809304] [NEW] qemu-img convert is freezing for some DMG files Julio Faracco
` (3 preceding siblings ...)
2018-12-24 15:31 ` Julio Faracco
@ 2018-12-24 20:17 ` Julio Faracco
2019-01-09 16:27 ` Julio Faracco
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Julio Faracco @ 2018-12-24 20:17 UTC (permalink / raw)
To: qemu-devel
Additional info: tested with version 3.0.0. So, before pushing my
commits. Conclusion: This is not a new bug.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1809304
Title:
qemu-img convert is freezing for some DMG files.
Status in QEMU:
New
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1809304/+subscriptions
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Qemu-devel] [Bug 1809304] Re: qemu-img convert is freezing for some DMG files.
2018-12-20 19:44 [Qemu-devel] [Bug 1809304] [NEW] qemu-img convert is freezing for some DMG files Julio Faracco
` (4 preceding siblings ...)
2018-12-24 20:17 ` Julio Faracco
@ 2019-01-09 16:27 ` Julio Faracco
2019-04-24 9:12 ` Thomas Huth
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: Julio Faracco @ 2019-01-09 16:27 UTC (permalink / raw)
To: qemu-devel
** Changed in: qemu
Status: New => Fix Committed
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1809304
Title:
qemu-img convert is freezing for some DMG files.
Status in QEMU:
Fix Committed
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1809304/+subscriptions
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Qemu-devel] [Bug 1809304] Re: qemu-img convert is freezing for some DMG files.
2018-12-20 19:44 [Qemu-devel] [Bug 1809304] [NEW] qemu-img convert is freezing for some DMG files Julio Faracco
` (5 preceding siblings ...)
2019-01-09 16:27 ` Julio Faracco
@ 2019-04-24 9:12 ` Thomas Huth
2019-04-24 10:33 ` yuchenlin
2019-04-24 11:22 ` Thomas Huth
8 siblings, 0 replies; 10+ messages in thread
From: Thomas Huth @ 2019-04-24 9:12 UTC (permalink / raw)
To: qemu-devel
Since QEMU 4.0 has been released now, I assume we can close this ticket
as "Fix released"? Or is there still anything left to do here?
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1809304
Title:
qemu-img convert is freezing for some DMG files.
Status in QEMU:
Fix Committed
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1809304/+subscriptions
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Qemu-devel] [Bug 1809304] Re: qemu-img convert is freezing for some DMG files.
2018-12-20 19:44 [Qemu-devel] [Bug 1809304] [NEW] qemu-img convert is freezing for some DMG files Julio Faracco
` (6 preceding siblings ...)
2019-04-24 9:12 ` Thomas Huth
@ 2019-04-24 10:33 ` yuchenlin
2019-04-24 11:22 ` Thomas Huth
8 siblings, 0 replies; 10+ messages in thread
From: yuchenlin @ 2019-04-24 10:33 UTC (permalink / raw)
To: qemu-devel
I re-test the dmg img with QEMU 4.0 again, and it works.
In my opinion, the bug can be closed as "Fix released".
Thanks.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1809304
Title:
qemu-img convert is freezing for some DMG files.
Status in QEMU:
Fix Committed
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1809304/+subscriptions
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Qemu-devel] [Bug 1809304] Re: qemu-img convert is freezing for some DMG files.
2018-12-20 19:44 [Qemu-devel] [Bug 1809304] [NEW] qemu-img convert is freezing for some DMG files Julio Faracco
` (7 preceding siblings ...)
2019-04-24 10:33 ` yuchenlin
@ 2019-04-24 11:22 ` Thomas Huth
8 siblings, 0 replies; 10+ messages in thread
From: Thomas Huth @ 2019-04-24 11:22 UTC (permalink / raw)
To: qemu-devel
Thanks for testing. So I'm marking this now as "Fix released".
** Changed in: qemu
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1809304
Title:
qemu-img convert is freezing for some DMG files.
Status in QEMU:
Fix Released
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1809304/+subscriptions
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2019-04-24 11:46 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-20 19:44 [Qemu-devel] [Bug 1809304] [NEW] qemu-img convert is freezing for some DMG files Julio Faracco
2018-12-21 14:45 ` [Qemu-devel] [Bug 1809304] " yuchenlin
2018-12-21 19:57 ` Julio Faracco
2018-12-23 5:34 ` yuchenlin
2018-12-24 15:31 ` Julio Faracco
2018-12-24 20:17 ` Julio Faracco
2019-01-09 16:27 ` Julio Faracco
2019-04-24 9:12 ` Thomas Huth
2019-04-24 10:33 ` yuchenlin
2019-04-24 11:22 ` Thomas Huth
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.