Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656886 - app-emulation/qemu-2.11.1-r2 - Windows guest shutting down unexpectedly
Summary: app-emulation/qemu-2.11.1-r2 - Windows guest shutting down unexpectedly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL: https://bugzilla.redhat.com/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-30 07:29 UTC by Stefan G. Weichinger
Modified: 2018-06-12 16:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan G. Weichinger 2018-05-30 07:29:36 UTC
guest: windows server 2012 R2
host: gentoo amd64 server, stable

Guest shuts down without visible reason.
Today I found:

# cat windows-server.log
qemu-system-x86_64: /var/tmp/portage/app-emulation/qemu-2.11.1-r2/work/qemu-2.11.1/exec.c:1212: cpu_physical_memory_snapshot_get_dirty: Assertion `start + length <= snap->end' failed.
2018-05-30 04:20:13.979+0000: shutting down, reason=crashed

google leads me to this bug-report from yesterday:

https://bugzilla.redhat.com/show_bug.cgi?id=1575541

Would need advice/workaround/fix for that as the VM is rather system critical.
Comment 1 Stefan G. Weichinger 2018-06-12 09:42:07 UTC
I think this patch is missing:

https://github.com/qemu/qemu/commit/a89fe6c329799e47aaa1663650f076b28808e186

Would love to get it via portage and avoid to provide local patches here.

tia, Stefan
Comment 2 Matthias Maier gentoo-dev 2018-06-12 16:14:11 UTC
Thanks a lot for the upstream patch! I will add it to the patchset for 2.12.0-r2. Please test this version an reopen the bug report if the problem persists.
Comment 3 Larry the Git Cow gentoo-dev 2018-06-12 16:14:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e20d625b0c1aa3518c3e531f26692b5b4ef8f5a

commit 4e20d625b0c1aa3518c3e531f26692b5b4ef8f5a
Author:     Matthias Maier <tamiko@gentoo.org>
AuthorDate: 2018-06-12 16:12:04 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2018-06-12 16:14:45 +0000

    app-emulation/qemu: fix crash during Windows guest installation
    
    Closes: https://bugs.gentoo.org/656886
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 app-emulation/qemu/Manifest                                         | 2 +-
 app-emulation/qemu/{qemu-2.12.0-r1.ebuild => qemu-2.12.0-r2.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 4 Stefan G. Weichinger 2018-06-12 16:17:38 UTC
(In reply to Matthias Maier from comment #2)
> Thanks a lot for the upstream patch! I will add it to the patchset for
> 2.12.0-r2. Please test this version an reopen the bug report if the problem
> persists.

I patched it myself already and run the VM with the patched QEMU since ~1 hour or so. We will see.