Bug 1380339

Summary: [abrt] virt-manager: _XGetRequest(): python2.7 killed by SIGTRAP
Product: [Fedora] Fedora Reporter: Michael Stahl <mstahl>
Component: spice-gtkAssignee: Marc-Andre Lureau <marcandre.lureau>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: alon, berrange, bjrosen, cfergeau, crobinso, hdegoede, marcandre.lureau, mstahl, sandmann, victortoso, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/da21676bb974b630749f3d5b6a1731a2a06eb135
Whiteboard: abrt_hash:2d2b2c2eafe6c3a2e0d7aeb9d1c6b5be0395e8c6;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-13 18:05:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
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 Michael Stahl 2016-09-29 10:58:30 UTC
Description of problem:
1. ssh -X remote-box
2. virt-manager
3. run a virtual machine
4. open virtual machine window
5. crash

if i run strace -f virt-manager i get:
[pid 23172] write(2, "\n(virt-manager:23172): GSpice-CRITICAL **: egl init failed: cannot create EGL context\n", 86) = 86

presumably virt-manager should be able to cope without GL on remote X?

Version-Release number of selected component:
virt-manager-1.4.0-3.fc24

Additional info:
reporter:       libreport-2.7.2
backtrace_rating: 4
cmdline:        /usr/bin/python2 /usr/share/virt-manager/virt-manager
crash_function: _XGetRequest
executable:     /usr/bin/python2.7
global_pid:     20160
kernel:         4.7.4-200.fc24.x86_64
pkg_fingerprint: 73BD E983 81B4 6521
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           CCpp
uid:            1043

Truncated backtrace:
Thread no. 0 (7 frames)
 #9 _XGetRequest at XlibInt.c:1702
 #10 XCreateWindow at Window.c:118
 #11 _gdk_x11_display_create_window_impl at gdkwindow-x11.c:1109
 #12 gdk_window_ensure_native at gdkwindow.c:1787
 #13 gdk_x11_window_get_xid at gdkwindow-x11.c:5544
 #14 spice_egl_realize_display at spice-widget-egl.c:326
 #16 drawing_area_realize at spice-widget.c:581

Comment 1 Michael Stahl 2016-09-29 10:58:44 UTC
Created attachment 1205900 [details]
File: backtrace

Comment 2 Michael Stahl 2016-09-29 10:58:45 UTC
Created attachment 1205901 [details]
File: cgroup

Comment 3 Michael Stahl 2016-09-29 10:58:48 UTC
Created attachment 1205902 [details]
File: core_backtrace

Comment 4 Michael Stahl 2016-09-29 10:58:50 UTC
Created attachment 1205903 [details]
File: dso_list

Comment 5 Michael Stahl 2016-09-29 10:58:52 UTC
Created attachment 1205904 [details]
File: environ

Comment 6 Michael Stahl 2016-09-29 10:58:54 UTC
Created attachment 1205905 [details]
File: limits

Comment 7 Michael Stahl 2016-09-29 10:58:58 UTC
Created attachment 1205906 [details]
File: maps

Comment 8 Michael Stahl 2016-09-29 10:59:00 UTC
Created attachment 1205907 [details]
File: mountinfo

Comment 9 Michael Stahl 2016-09-29 10:59:02 UTC
Created attachment 1205908 [details]
File: namespaces

Comment 10 Michael Stahl 2016-09-29 10:59:04 UTC
Created attachment 1205909 [details]
File: open_fds

Comment 11 Michael Stahl 2016-09-29 10:59:05 UTC
Created attachment 1205910 [details]
File: proc_pid_status

Comment 12 Michael Stahl 2016-09-29 10:59:07 UTC
Created attachment 1205911 [details]
File: var_log_messages

Comment 13 Cole Robinson 2016-12-13 17:09:01 UTC
Looks like this comes from spice-gtk. Can you still reproduce with latest package versions on the remote host?

Comment 14 Victor Toso 2016-12-13 18:00:16 UTC
(In reply to Cole Robinson from comment #13)
> Looks like this comes from spice-gtk. Can you still reproduce with latest
> package versions on the remote host?

One could also test with our copr repo at
https://copr.fedorainfracloud.org/coprs/g/spice/nightly/

I think this was fixed by
https://cgit.freedesktop.org/spice/spice-gtk/commit/?id=a395ac59447dedfb922f997c7c9cff93edd53600

Comment 15 Cole Robinson 2016-12-13 18:05:33 UTC
Thanks victor, that makes sense, as the patch is in f24 with the 0.32-3 version, which is around when correlates with the slow down of faf reports. So I'm closing this, but if anyone is still reproducing with latest f24/f25 packages on the remote host, please reopen.

Comment 16 Cole Robinson 2016-12-13 18:09:08 UTC
*** Bug 1385267 has been marked as a duplicate of this bug. ***

Comment 17 Michael Stahl 2016-12-14 15:22:54 UTC
on Fedora 25 i can't reproduce this bug, thanks for fixing.