[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2018-07-22 Thread Launchpad Bug Tracker
[Expired for qemu (Ubuntu) because there has been no activity for 60 days.] ** Changed in: qemu (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1257352

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2018-07-22 Thread Launchpad Bug Tracker
[Expired for QEMU because there has been no activity for 60 days.] ** Changed in: qemu Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1257352 Title: kvm hangs

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2018-05-23 Thread Thomas Huth
Could you please check with the latest version of QEMU (v2.12), and make sure that you're using SDL2 instead of SDL1.2 (since the latter is going to be removed soon)? ** Changed in: qemu (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2017-03-13 Thread Edoardo Tirtarahardja
It seems the issue is sdl related to change in sdl window size. If I started qemu and set the monitor (and serial & parallel) to the same VC size, it works much better. Instead of hangs on a 2-3 switches, it may hang after rapid switch of more than 10 times. Btw, it can hang in any windows, i.e.

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2017-03-09 Thread Edoardo Tirtarahardja
Still happened in qemu 2.5.0 on Ubuntu 16.04, it's random but you can only switch between console, monitor, serial, parallel several times, then it hangs. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2017-01-26 Thread Thomas Huth
Can you still reproduce this issue with the latest version of QEMU, or could we close this ticket nowadays? ** Changed in: qemu Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2014-04-17 Thread Serge Hallyn
Interestingly, after i lock the qemu console up with the xdo script, the screen is always locked in ctrl-alt-2, that is, the monitor, not the vm display, hitting ctrl-alt-1 never returns it to the vm display, but if i continue the xdo script running, it sometimes does return to the vm display,

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2014-04-17 Thread Serge Hallyn
Interestingly, after i lock the qemu console up with the xdo script, the screen is always locked in ctrl-alt-2, that is, the monitor, not the vm display, hitting ctrl-alt-1 never returns it to the vm display, but if i continue the xdo script running, it sometimes does return to the vm display,

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2014-04-16 Thread James Hunt
Hi Serge, I'm running on pure amd64 too so the problem is not arch-specific. The simplest way to recreate: $ kvm -cdrom /usr/lib/memtest86+/memtest86+.iso -m 512 Just hold down control+alt and frantically toggle the monitor using the '2' and '1'. Within a couple of seconds it hangs. -- You

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2014-04-16 Thread Serge Hallyn
Sadly a bisect pointed to the unlikely commit 7a239e46. Upstream git head is still affected. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu in Ubuntu. https://bugs.launchpad.net/bugs/1257352 Title: kvm hangs occasionally when

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2014-04-16 Thread Serge Hallyn
Maddeningly, I've not yet been able to reproduce this by doing for i in `seq 1 100`; do xdotool search --name qemu keydown ctrl+alt+2 xdotool search --name qemu keyup ctrl+alt+2 xdotool search --name qemu keydown ctrl+alt+1 xdotool search --name qemu keyup

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2014-04-16 Thread Serge Hallyn
A-ha, the reason is that this only triggers if the qemu window is focused. Running the script while focusing does reproduce (and do other weird things). So perhaps this is happening in sdl_grab_start(), which exits early if the app is not focused? -- You received this bug notification because

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2014-04-16 Thread Serge Hallyn
Sadly a bisect pointed to the unlikely commit 7a239e46. Upstream git head is still affected. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1257352 Title: kvm hangs occasionally when switching out

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2014-04-16 Thread Serge Hallyn
Maddeningly, I've not yet been able to reproduce this by doing for i in `seq 1 100`; do xdotool search --name qemu keydown ctrl+alt+2 xdotool search --name qemu keyup ctrl+alt+2 xdotool search --name qemu keydown ctrl+alt+1 xdotool search --name qemu keyup

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2014-04-16 Thread Serge Hallyn
A-ha, the reason is that this only triggers if the qemu window is focused. Running the script while focusing does reproduce (and do other weird things). So perhaps this is happening in sdl_grab_start(), which exits early if the app is not focused? -- You received this bug notification because

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2014-04-16 Thread James Hunt
Hi Serge, I'm running on pure amd64 too so the problem is not arch-specific. The simplest way to recreate: $ kvm -cdrom /usr/lib/memtest86+/memtest86+.iso -m 512 Just hold down control+alt and frantically toggle the monitor using the '2' and '1'. Within a couple of seconds it hangs. -- You

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2014-04-15 Thread James Hunt
Sorry - ignore that. However, problem persists on a separate fully- updated amd64 trusty system running kvm version 2.0.0~rc1+dfsg-0ubuntu3. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu in Ubuntu.

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2014-04-15 Thread Serge Hallyn
I've been trying to reproduce with current trusty, but on amd64, with no success. Which guest were you using? Can you reproduce it just booting a desktop iso with SDL graphics, i.e. kvm -cdrom ubuntu-13.10-desktop-$arch.iso -m 512 ? (Will test on i386. If that succeeds then I can bisect.)

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2014-04-15 Thread James Hunt
Sorry - ignore that. However, problem persists on a separate fully- updated amd64 trusty system running kvm version 2.0.0~rc1+dfsg-0ubuntu3. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1257352

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2014-04-15 Thread Serge Hallyn
I've been trying to reproduce with current trusty, but on amd64, with no success. Which guest were you using? Can you reproduce it just booting a desktop iso with SDL graphics, i.e. kvm -cdrom ubuntu-13.10-desktop-$arch.iso -m 512 ? (Will test on i386. If that succeeds then I can bisect.)

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2014-03-26 Thread Serge Hallyn
That is an odd looking list - why is qemu-system-x86 still on 1.7.0, while qemu-system-common is on 2.0? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu in Ubuntu. https://bugs.launchpad.net/bugs/1257352 Title: kvm hangs

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2014-03-26 Thread Serge Hallyn
That is an odd looking list - why is qemu-system-x86 still on 1.7.0, while qemu-system-common is on 2.0? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1257352 Title: kvm hangs occasionally when

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2014-03-25 Thread James Hunt
HI Serge - yes, problem is still there with the ppa versions: $ dpkg -l|egrep kvm|qemu ii ipxe-qemu 1.0.0+git-2013.c3d1e78-2ubuntu1 all PXE boot firmware - ROM images for qemu ii kvm-ipxe

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2014-03-25 Thread James Hunt
HI Serge - yes, problem is still there with the ppa versions: $ dpkg -l|egrep kvm|qemu ii ipxe-qemu 1.0.0+git-2013.c3d1e78-2ubuntu1 all PXE boot firmware - ROM images for qemu ii kvm-ipxe

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2014-03-18 Thread Serge Hallyn
Hi James, just a quick check - do you get this with the qemu package in ppa :ubuntu-virt/candidate? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu in Ubuntu. https://bugs.launchpad.net/bugs/1257352 Title: kvm hangs

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2014-03-18 Thread Serge Hallyn
Hi James, just a quick check - do you get this with the qemu package in ppa :ubuntu-virt/candidate? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1257352 Title: kvm hangs occasionally when

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2013-12-16 Thread James Hunt
Hi Serge, Yes, I get the hang on upstream too (HEAD e157b8fdd412d48eacfbb8c67d3d58780154faa3). -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu in Ubuntu. https://bugs.launchpad.net/bugs/1257352 Title: kvm hangs occasionally

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2013-12-16 Thread Serge Hallyn
** Also affects: qemu Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu in Ubuntu. https://bugs.launchpad.net/bugs/1257352 Title: kvm hangs occasionally when switching out of the qemu

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2013-12-16 Thread Serge Hallyn
Thanks, James. I'll aim to test on some older releases and bisect if possible. If you have a chance to test on precise, raring, and saucy, or to actually bisect in the upstream git tree, please let me know. -- You received this bug notification because you are a member of Ubuntu Server Team,

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2013-12-16 Thread James Hunt
Hi Serge, Yes, I get the hang on upstream too (HEAD e157b8fdd412d48eacfbb8c67d3d58780154faa3). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1257352 Title: kvm hangs occasionally when switching

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2013-12-16 Thread Serge Hallyn
** Also affects: qemu Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1257352 Title: kvm hangs occasionally when switching out of the qemu console To

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2013-12-16 Thread Serge Hallyn
Thanks, James. I'll aim to test on some older releases and bisect if possible. If you have a chance to test on precise, raring, and saucy, or to actually bisect in the upstream git tree, please let me know. -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2013-12-13 Thread James Hunt
Hi Serge, 1.7.0+dfsg-2ubuntu2 still exhibits the problem I'm afraid. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu in Ubuntu. https://bugs.launchpad.net/bugs/1257352 Title: kvm hangs occasionally when switching out of the

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2013-12-13 Thread James Hunt
Hi Serge, 1.7.0+dfsg-2ubuntu2 still exhibits the problem I'm afraid. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1257352 Title: kvm hangs occasionally when switching out of the qemu console To

Re: [Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2013-12-13 Thread Serge Hallyn
That's surprising. Can you test it with upstream qemu? ( git clone git://git.qemu.org/qemu.git cd qemu ./configure --target-list=x86_64-softmmu make cd x86_64-softmmu ./qemu-system-x86_64 --enable-kvm qemu-args ) -- You received this bug

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2013-12-09 Thread Serge Hallyn
Hi, 1.7 is currently building trusty. Could you please test with it and make sure that this bug is fixed with that version? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu in Ubuntu. https://bugs.launchpad.net/bugs/1257352

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2013-12-09 Thread Serge Hallyn
Hi, 1.7 is currently building trusty. Could you please test with it and make sure that this bug is fixed with that version? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1257352 Title: kvm hangs

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2013-12-04 Thread James Hunt
I never saw the issue with saucy. Downgrading to 1.5.0+dfsg-3ubuntu5.1 certainly appears to have resolved the issue for me, so it's looking like a regression introduced by 1.6.0+dfsg-2ubuntu4. -- You received this bug notification because you are a member of Ubuntu Server Team, which is

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2013-12-04 Thread Serge Hallyn
Thanks, James. I suspect this is due to the arm64-user-static patchset i added. As mjt has pointed out it has a lot of cruft in it. I'll have to drop it and try to come up with a smaller patchset. ** Changed in: qemu (Ubuntu) Status: New = Confirmed ** Changed in: qemu (Ubuntu)

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2013-12-04 Thread James Hunt
I never saw the issue with saucy. Downgrading to 1.5.0+dfsg-3ubuntu5.1 certainly appears to have resolved the issue for me, so it's looking like a regression introduced by 1.6.0+dfsg-2ubuntu4. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2013-12-04 Thread Serge Hallyn
Thanks, James. I suspect this is due to the arm64-user-static patchset i added. As mjt has pointed out it has a lot of cruft in it. I'll have to drop it and try to come up with a smaller patchset. ** Changed in: qemu (Ubuntu) Status: New = Confirmed ** Changed in: qemu (Ubuntu)

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2013-12-03 Thread James Hunt
... as if by magic it hung again :) I managed to trigger it by toggling the following two key combos rapidly starting from within the qemu console: ctrl-alt-1 # switch to console (actually, we're already there, but ...) ctrl-alt-2 # switch out of console ** Attachment added: kvm-strace.log.gz

Re: [Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2013-12-03 Thread Serge Hallyn
Is this new to this version? Can you reproduce it with either saucy's kvm, or with the previous version published in trusty? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu in Ubuntu. https://bugs.launchpad.net/bugs/1257352

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2013-12-03 Thread James Hunt
... as if by magic it hung again :) I managed to trigger it by toggling the following two key combos rapidly starting from within the qemu console: ctrl-alt-1 # switch to console (actually, we're already there, but ...) ctrl-alt-2 # switch out of console ** Attachment added: kvm-strace.log.gz

Re: [Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2013-12-03 Thread Serge Hallyn
Is this new to this version? Can you reproduce it with either saucy's kvm, or with the previous version published in trusty? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1257352 Title: kvm hangs