Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1172036

Summary: Vm automaticly shutdown after played over the video, the log shows that application transferred too few scanlines
Product: Red Hat Enterprise Linux 6 Reporter: 杨清玉 <qingyu.yang>
Component: spice-serverAssignee: Default Assignee for SPICE Bugs <rh-spice-bugs>
Status: CLOSED DUPLICATE QA Contact: SPICE QE bug list <spice-qe-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.5CC: cfergeau, dblechte, djasa, gscrivan, mkenneth, qingyu.yang, rbalakri, tpelka, victortoso
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-31 11:58:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
video: Robotica_720.wmv
none
libvirtd.log
none
虚拟机winxp.log
none
virsh dumpxml winxp结果 none

Description 杨清玉 2014-12-09 09:30:42 UTC
Created attachment 966158 [details]
video: Robotica_720.wmv

Description of problem:
When the video played over, the vm is automaticly shutdown

Version-Release number of selected component (if applicable):


How reproducible:
1.the vm is created by virt-manager
2.the vm system is windowsxp, video model is qxl, graphics uses spice
3.the video player is potplayer, the video is Robotica_720.wmv

Steps to Reproduce:
1.view the vm console by select vm, then click [Open] on the virt-manager
2.play the Robotica_720.wmv video with potplayer in vm

Actual results:
2.when the video played over, the vm automaticly shutdown

Expected results:

How often does this happen?
every time

Additional info:
the /var/log/libvirt/libvirtd.log shows as follows:
2014-12-09 08:40:41.318+0000: 2779: error : qemuMonitorIO:614 : internal error End of file from monitor

the /var/log/libvirt/qemu/vm.log shows as follows:
inputs_connect: inputs channel client create
Application transferred too few scanlines
red_channel_client_disconnect_dummy: rcc=0x7f55a4b1f610 (channel=0x7f55a45e1cd0 type=5 id=0)
((null):4231): Spice-Warning **: red_channel.c:1680:red_channel_remove_client: channel type 5 id 0 - channel->thread_id (0x7f55a3370
980) != pthread_self (0x7f5592fb5700).If one of the threads is != io-thread && != vcpu-thread, this might be a BUG
snd_channel_put: SndChannel=0x7f55a4b157c0 freed
2014-12-09 07:58:49.233+0000: shutting down

Comment 2 Victor Toso 2014-12-12 18:15:56 UTC
Not able to reproduce here, Video and Audio were good and sync.
Can you provide the logs and a backtrance if possible?
Which version of virt-viewer are you using?
Do you have spice-guest-tools installed?

Comment 3 David Blechter 2014-12-13 15:32:03 UTC
(In reply to 杨清玉 from comment #0)
> Created attachment 966158 [details]
> video: Robotica_720.wmv
> 
> Description of problem:
> When the video played over, the vm is automaticly shutdown
> 
> Version-Release number of selected component (if applicable):
> 
> 
> How reproducible:
> 1.the vm is created by virt-manager
> 2.the vm system is windowsxp, video model is qxl, graphics uses spice
> 3.the video player is potplayer, the video is Robotica_720.wmv
> 
> Steps to Reproduce:
> 1.view the vm console by select vm, then click [Open] on the virt-manager
> 2.play the Robotica_720.wmv video with potplayer in vm
> 
> Actual results:
> 2.when the video played over, the vm automaticly shutdown
> 
> Expected results:
> 
> How often does this happen?
> every time
> 
> Additional info:
> the /var/log/libvirt/libvirtd.log shows as follows:
> 2014-12-09 08:40:41.318+0000: 2779: error : qemuMonitorIO:614 : internal
> error End of file from monitor
> 
> the /var/log/libvirt/qemu/vm.log shows as follows:
> inputs_connect: inputs channel client create
> Application transferred too few scanlines
> red_channel_client_disconnect_dummy: rcc=0x7f55a4b1f610
> (channel=0x7f55a45e1cd0 type=5 id=0)
> ((null):4231): Spice-Warning **:
> red_channel.c:1680:red_channel_remove_client: channel type 5 id 0 -
> channel->thread_id (0x7f55a3370
> 980) != pthread_self (0x7f5592fb5700).If one of the threads is != io-thread
> && != vcpu-thread, this might be a BUG
> snd_channel_put: SndChannel=0x7f55a4b157c0 freed
> 2014-12-09 07:58:49.233+0000: shutting down

most important information is missing from your report: what RHEL version is running on your server? What client do oyu using connecting to the VM? Versions of the vdagent and qxl driver too.

Comment 4 杨清玉 2014-12-15 01:47:01 UTC
RHEL version is 6.5, the kernel is 2.6.32-431.el6.x86_64.
# uname -a

the vm is created by virt-manager, the rpm of virt-manager is virt-manager-0.9.0-19.el6.x86_64, which is default installed in the RHEL 6.5.
# rpm -qa | grep virt-manager

the vm is connected by virt-manager (select vm, then click [Open] on the virt-manager), the rpm of virt-view is virt-viewer-0.5.6-8.el6.x86_64, which is is default installed in the RHEL 6.5.
# rpm -qa | grep virt-view

The vdagen and qxl is used default in virt-manager. The vdagent is spice-vdagent-0.14.0-2.el6.x86_64, the qxl is xorg-x11-drv-qxl-0.1.0-7.el6.x86_64.
# rpm -qa | grep vdagent
# rpm -qa | grep qxl

Comment 5 杨清玉 2014-12-15 01:55:20 UTC
(In reply to Victor Toso from comment #2)
> Not able to reproduce here, Video and Audio were good and sync.
> Can you provide the logs and a backtrance if possible?
> Which version of virt-viewer are you using?
> Do you have spice-guest-tools installed?

The bug has provided the part of vm log and libvirt log, which logs do you need? 

The vm is connected by virt-manager (select vm, then click [Open] on the virt-manager), the rpm of virt-view is virt-viewer-0.5.6-8.el6.x86_64, which is is default installed in the RHEL 6.5.

I have not installed spice-guest-tools. The RHEL 6.5 is installed with selected all the rpms. The number of rpm in the system is 2498.

Comment 6 Victor Toso 2014-12-15 16:59:42 UTC
(In reply to 杨清玉 from comment #5)
> The bug has provided the part of vm log and libvirt log, which logs do you
> need?

Could you provide the full logs from vm and libvirt and also the output from:
# virsh dumpxml $vm

> The vm is connected by virt-manager (select vm, then click [Open] on the
> virt-manager), the rpm of virt-view is virt-viewer-0.5.6-8.el6.x86_64, which
> is is default installed in the RHEL 6.5.
> 
> I have not installed spice-guest-tools. The RHEL 6.5 is installed with
> selected all the rpms. The number of rpm in the system is 2498.

I'm still not able to reproduce. I have a VM running Robotica for 4 hours straight.

Comment 7 Victor Toso 2014-12-15 17:48:19 UTC
Also, could you check the result using VNC instead of spice?

Comment 8 杨清玉 2014-12-19 01:48:30 UTC
Created attachment 970938 [details]
libvirtd.log

Comment 9 杨清玉 2014-12-19 01:49:10 UTC
Created attachment 970939 [details]
虚拟机winxp.log

Comment 10 杨清玉 2014-12-19 01:49:40 UTC
Created attachment 970940 [details]
virsh dumpxml winxp结果

Comment 11 杨清玉 2014-12-19 02:32:38 UTC
the server and vm were reboot several times, and now I'm also not able to reproduce.
the winxp.log before 2014-12-09 08:40:41 is important.

Comment 13 David Jaša 2015-03-30 18:57:17 UTC
杨清玉,

what emulated sound device do you use, ac97 or es1371? I found an old bug - bug 823472 - that might have regressed. If you use es1371, could you try switching to ac97 and see if it helps?

Comment 14 David Jaša 2015-03-30 19:01:09 UTC
> es1371

I meant es1370 of course.

Comment 15 Victor Toso 2015-03-31 08:56:10 UTC
杨清玉,

Are you still able to reproduce the bug?
If yes, could you try with VNC to see if happens?
Also, I would like to know if you have spice-guest-tools installed in your VM and where you got it.

From the info you have attached, I can see that your sound device is ac97 so it's not related to bug 823472

Comment 16 Victor Toso 2015-03-31 11:58:33 UTC
As per comment #11 you are not able to reproduce this bug anymore. I was not able to reproduce it before and neither David recently.

Closing the bug as CURRENTRELEASE

Feel free to reopen this bug if it happens again. In this case, please reply to comment #15

Comment 17 Victor Toso 2015-10-23 13:29:59 UTC
Seems that this bug is not solved. As the reporter of this one is not able to reproduce anymore, I'll change the closed as CURRENTRELEASE to DUPLICATE of the new bug.

*** This bug has been marked as a duplicate of bug 1274575 ***