Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 617902 - net-misc/vino-3.22.0 segfaults in wayland session
Summary: net-misc/vino-3.22.0 segfaults in wayland session
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-09 00:12 UTC by Randy Tupas
Modified: 2020-02-16 11:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Tupas 2017-05-09 00:12:26 UTC
In a gnome-wayland session, net-misc/vino-3.22.0 immediately segfaults when attempting to start from the command line (/usr/libexec/vino-server); however, in a gnome-X session, vino can be started successfully from the command-line.

Additionally, the option to enable "Screen Sharing" is missing from gnome-control-center "Sharing" applet when logged in a gnome-wayland session. The option is available in a gnome-X session.
Comment 1 Randy Tupas 2017-05-09 00:13:51 UTC
Possible related bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=1211040
Comment 2 Randy Tupas 2017-05-09 01:37:35 UTC
This is the output running "gdb --args /usr/libexec/vino-server", followed by "run":
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff451cd9d in XQueryExtension () from /usr/lib64/libX11.so.6

running backtrace provides:
#0  0x00007ffff451cd9d in XQueryExtension () from /usr/lib64/libX11.so.6
#1  0x00007ffff42e02c6 in ?? () from /usr/lib64/libXtst.so.6
#2  0x00007ffff42e04b6 in XTestQueryExtension () from /usr/lib64/libXtst.so.6
#3  0x000000000040fbdf in vino_input_init (display=0x6a0040)
    at server/vino-input.c:761
#4  0x0000000000410d67 in name_acquired (connection=0x7fffe400b0c0, 
    name=0x676c90 "org.gnome.Vino", user_data=0x7fffffffdc20)
    at server/vino-main.c:152
#5  0x00007ffff613187e in ?? () from /usr/lib64/libgio-2.0.so.0
#6  0x00007ffff6131aa8 in ?? () from /usr/lib64/libgio-2.0.so.0
#7  0x00007ffff60f2823 in ?? () from /usr/lib64/libgio-2.0.so.0
#8  0x00007ffff60f3346 in ?? () from /usr/lib64/libgio-2.0.so.0
#9  0x00007ffff61290b2 in ?? () from /usr/lib64/libgio-2.0.so.0
#10 0x00007ffff60f2823 in ?? () from /usr/lib64/libgio-2.0.so.0
#11 0x00007ffff60f2859 in ?? () from /usr/lib64/libgio-2.0.so.0
#12 0x00007ffff520c6a9 in g_main_context_dispatch ()
   from /usr/lib64/libglib-2.0.so.0
#13 0x00007ffff520ca45 in ?? () from /usr/lib64/libglib-2.0.so.0
#14 0x00007ffff520cd92 in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#15 0x000000000041137a in main (argc=1, argv=0x7fffffffdda8)
    at server/vino-main.c:310
Comment 3 Larry the Git Cow gentoo-dev 2019-03-01 18:34:31 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d6bb2617e6e5db6d21c9b1a3afd366f80d52c8d

commit 3d6bb2617e6e5db6d21c9b1a3afd366f80d52c8d
Author:     Dennis Lamm <expeditioneer@gentoo.org>
AuthorDate: 2019-03-01 18:34:02 +0000
Commit:     Dennis Lamm <expeditioneer@gentoo.org>
CommitDate: 2019-03-01 18:34:19 +0000

    net-misc/vino: fixed segfaults in wayland
    
    Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
    Bug: https://bugs.gentoo.org/617902
    Bug: https://bugs.gentoo.org/639264
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 .../vino-return-error-if-X11-is-no-detected.patch  | 41 ++++++++++++
 .../vino/files/vino-segfaults-on-wayland.patch     | 30 +++++++++
 net-misc/vino/vino-3.22.0-r1.ebuild                | 72 ++++++++++++++++++++++
 3 files changed, 143 insertions(+)
Comment 4 Mart Raudsepp gentoo-dev 2020-02-16 11:07:56 UTC
Actually closing as fixed then (that revision is long stable too)