Bug 1268666

Summary: [abrt] spice-vdagent: vdagentd_uinput_destroy(): spice-vdagentd killed by SIGABRT
Product: [Fedora] Fedora Reporter: Giulio 'juliuxpigface' <juliux.pigface>
Component: spice-vdagentAssignee: Christophe Fergeau <cfergeau>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: alon, bhurtelashish, cfergeau, marcandre.lureau, sandmann, victortoso, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/7f63e4ede03b64e7b19f6cf8ca7f832a69ed6e5b
Whiteboard: abrt_hash:0d1d2ec7c09eabfb022dd02e20172881605696eb;
Fixed In Version: spice-vdagent-0.16.0-2.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-07 16:34:57 UTC Type: ---
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
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: mountinfo
none
File: namespaces
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description Giulio 'juliuxpigface' 2015-10-04 12:55:44 UTC
Description of problem:
Description of the problem:
ABRT caught a crash of spice-vdagentd


How reproducible:
I haven't tried to reproduce it yet


Steps to reproduce:
1. Prepare a qemu-kvm guest with virt-manager. Edit /etc/libvirt/qemu/guest.xml

Enable 'suspend-to-mem' and 'suspend-to-disk':

<pm>
	<suspend-to-mem enabled='yes' />
	<suspend-to-disk enabled='yes' />
</pm>


2. Install the 32bit spin Fedora Xfce (Final TC1 compose).
3. Run the guest and login to a standard Xfce session.
4. Suspend to disk via GUI.
5. Resume the session, then switch VT sending "CTRL+ALT+F2" (via virt-manager)


Actual results:
spice-vdagentd crashes and ABRT catches the issue. I'm not exactly sure when did the crash occur (if after step 4 nor step 5).

Expected results:
spice-vdagentd should not crash.

Version-Release number of selected component:
spice-vdagent-0.16.0-1.fc23

Additional info:
reporter:       libreport-2.6.2
backtrace_rating: 4
cmdline:        /usr/sbin/spice-vdagentd
crash_function: vdagentd_uinput_destroy
executable:     /usr/sbin/spice-vdagentd
global_pid:     716
kernel:         4.2.1-300.fc23.i686
runlevel:       N 5
type:           CCpp
uid:            0

Truncated backtrace:
Thread no. 1 (4 frames)
 #7 vdagentd_uinput_destroy at src/vdagentd-uinput.c:83
 #8 check_xorg_resolution at src/vdagentd.c:571
 #9 update_active_session_connection at src/vdagentd.c:645
 #10 main_loop at src/vdagentd.c:881

Potential duplicate: bug 1262635

Comment 1 Giulio 'juliuxpigface' 2015-10-04 12:55:54 UTC
Created attachment 1079763 [details]
File: backtrace

Comment 2 Giulio 'juliuxpigface' 2015-10-04 12:55:58 UTC
Created attachment 1079764 [details]
File: cgroup

Comment 3 Giulio 'juliuxpigface' 2015-10-04 12:56:04 UTC
Created attachment 1079765 [details]
File: core_backtrace

Comment 4 Giulio 'juliuxpigface' 2015-10-04 12:56:07 UTC
Created attachment 1079766 [details]
File: dso_list

Comment 5 Giulio 'juliuxpigface' 2015-10-04 12:56:10 UTC
Created attachment 1079767 [details]
File: environ

Comment 6 Giulio 'juliuxpigface' 2015-10-04 12:56:13 UTC
Created attachment 1079768 [details]
File: limits

Comment 7 Giulio 'juliuxpigface' 2015-10-04 12:56:18 UTC
Created attachment 1079769 [details]
File: maps

Comment 8 Giulio 'juliuxpigface' 2015-10-04 12:56:26 UTC
Created attachment 1079770 [details]
File: mountinfo

Comment 9 Giulio 'juliuxpigface' 2015-10-04 12:56:29 UTC
Created attachment 1079771 [details]
File: namespaces

Comment 10 Giulio 'juliuxpigface' 2015-10-04 12:56:33 UTC
Created attachment 1079772 [details]
File: open_fds

Comment 11 Giulio 'juliuxpigface' 2015-10-04 12:56:36 UTC
Created attachment 1079773 [details]
File: proc_pid_status

Comment 12 Giulio 'juliuxpigface' 2015-10-04 12:56:39 UTC
Created attachment 1079774 [details]
File: var_log_messages

Comment 13 Victor Toso 2015-10-05 05:36:00 UTC
Hello,

Could you please test with scratch-build bellow? It contains the patches from bug 1262635

koji.fedoraproject.org/koji/taskinfo?taskID=11091414

Comment 14 Fedora Update System 2015-10-05 10:06:39 UTC
spice-vdagent-0.16.0-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-a7f21b1850

Comment 15 Fedora Update System 2015-10-06 04:22:13 UTC
spice-vdagent-0.16.0-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update spice-vdagent'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-a7f21b1850

Comment 16 Fedora Update System 2015-10-07 16:34:53 UTC
spice-vdagent-0.16.0-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 17 Cole Robinson 2015-10-21 18:59:36 UTC
*** Bug 1262635 has been marked as a duplicate of this bug. ***