Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1211040
Summary: | vino segfaults on Wayland Gnome | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Pedro Francisco <pedrogfrancisco> | ||||
Component: | vino | Assignee: | Søren Sandmann Pedersen <sandmann> | ||||
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | autarch, christianklomp, code, debarshir, i18n-bugs, jcwebb, jorti, lantw44, liblit, oholy, pedrogfrancisco, samuel.rakitnican, sandmann, tfujiwar, yajo.sk8 | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-01-26 07:49:14 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1277927 | ||||||
Attachments: |
|
Description
Pedro Francisco
2015-04-12 12:39:08 UTC
*** Bug 1217321 has been marked as a duplicate of this bug. *** This does not happen in non-Wayland GNOME but GNOME Wayland. % /usr/libexec/vino-server Program received signal SIGSEGV, Segmentation fault. #0 0x000000000088dae0 in () #1 0x00000033932390ab in XQueryExtension () at /lib64/libX11.so.6 #2 0x00000033b5203066 in find_display () at /lib64/libXtst.so.6 #3 0x00000033b5203242 in XTestQueryExtension () at /lib64/libXtst.so.6 #4 0x000000000040dee9 in vino_input_init () #5 0x000000000040e693 in name_acquired () #6 0x0000003392ad98f6 in do_call () at /lib64/libgio-2.0.so.0 #7 0x0000003392ad9b38 in request_name_cb () at /lib64/libgio-2.0.so.0 #8 0x0000003392a74b67 in g_simple_async_result_complete () at /lib64/libgio-2.0.so.0 #9 0x0000003392ad18d2 in g_dbus_connection_call_done () at /lib64/libgio-2.0.so.0 #10 0x0000003392a74b67 in g_simple_async_result_complete () at /lib64/libgio-2.0.so.0 #11 0x0000003392a74bc9 in complete_in_idle_cb () at /lib64/libgio-2.0.so.0 #12 0x0000003390e4a0ba in g_main_context_dispatch () at /lib64/libglib-2.0.so.0 #13 0x0000003390e4a450 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0 #14 0x0000003390e4a772 in g_main_loop_run () at /lib64/libglib-2.0.so.0 #15 0x000000000040b2fa in main () Fedora 23 have the same issue: [ +0,000007] vino-server[2489]: segfault at 7fb200005a00 ip 00007fb2fb7bd0e9 sp 00007fffb89355d0 error 4 in libX11.so.6.3.0[7fb2fb784000+13a000] *** Bug 1280274 has been marked as a duplicate of this bug. *** *** Bug 1277270 has been marked as a duplicate of this bug. *** Another user experienced a similar problem: Had just started a "GNOME on Wayland" session. reporter: libreport-2.6.3 backtrace_rating: 4 cmdline: /usr/libexec/vino-server crash_function: _XGetRequest executable: /usr/libexec/vino-server global_pid: 2624 kernel: 4.2.8-300.fc23.x86_64 package: vino-3.18.1-1.fc23 reason: vino-server killed by SIGSEGV runlevel: N 5 type: CCpp uid: 29364 Created attachment 1117726 [details]
File: backtrace
I think I’m that other user that Ben was talking about. The crash happens every time I start a GNOME on Wayland session. 100% reproducible. System Settings: Sharing: Screen Sharing is set to Active. Doesn’t happen with non-Wayland sessions. Another user experienced a similar problem: Logged in to the system after a forceful restart. reporter: libreport-2.6.3 backtrace_rating: 4 cmdline: /usr/libexec/vino-server crash_function: XQueryExtension executable: /usr/libexec/vino-server global_pid: 2696 kernel: 4.3.3-301.fc23.x86_64 package: vino-3.18.1-1.fc23 reason: vino-server killed by SIGSEGV runlevel: N 5 type: CCpp uid: 1000 I've filed upstream bug report for it: https://bugzilla.gnome.org/show_bug.cgi?id=761120 Vino is not working under wayland, disable remote sharing in control center to avoid those segfaults. Developers are working on a screen sharing for wayland already, see: https://blogs.gnome.org/mclasen/2016/01/22/a-wayland-status-update-2/ Similar problem has been detected: Immediately after reaching main desktop screen after booting the Gnome on Wayland reporter: libreport-2.6.4 backtrace_rating: 4 cmdline: /usr/libexec/vino-server crash_function: _XGetRequest executable: /usr/libexec/vino-server global_pid: 5088 kernel: 4.3.5-300.fc23.x86_64 package: vino-3.18.1-1.fc23 reason: vino-server killed by SIGSEGV runlevel: N 5 type: CCpp uid: 1000 Easiest work around (except for disabling the feature altogether, i.e. for people that switch between Wayland and X11) seems to be to disable the systemd user service and start vino via xdg autostart. # disable vino systemd user service $ systemctl --user mask vino-server Created symlink /home/user/.config/systemd/user/vino-server.service → /dev/null. # create .desktop file for xdg autostart $ cat <<EOF > ~/.config/autostart/vino-server.desktop [Desktop Entry] Name=vino-server Comment=Work around for only starting vino-server on X11 sessions Exec=bash -c '[[ \$XDG_SESSION_TYPE == x11 ]] && /usr/libexec/vino-server' Encoding=UTF-8 Type=Application X-GNOME-Autostart-enabled=true EOF |