Bug 1244084

Summary: gnome-screensaver: SIGSEGV in gs_fade_reset()
Product: [Fedora] Fedora Reporter: Yaakov Selkowitz <yselkowi>
Component: gnome-screensaverAssignee: Yaakov Selkowitz <yselkowi>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: dmarlin, jmccann, yselkowi
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: gnome-screensaver-3.6.1-11.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-19 01:57: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:

Description Yaakov Selkowitz 2015-07-17 03:53:25 UTC
On F21 (seen on both x86_64 and aarch64 so far), gnome-screensaver running under Xvnc (tigervnc-server built with xorg-x11-server-source-1.16.3) will crash immediately upon attempting to lock the screen.  This does not occur under Xorg, nor on F22 where tigervnc-server is built with xorg-x11-server-source-1.17.1.

Backtrace:
#0  0x0000000000000000 in  ()
#1  0x00000000004177a8 in gs_fade_reset (fade=0x2641ba0) at gs-fade.c:839
#2  0x000000000040dc8c in unfade_idle (manager=0x2486d90) at gs-manager.c:757
#3  0x00000036a664a263 in g_timeout_dispatch () at /lib64/libglib-2.0.so.0
#4  0x00000036a66497fb in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#5  0x00000036a6649b98 in g_main_context_iterate.isra ()
    at /lib64/libglib-2.0.so.0
#6  0x00000036a6649ec2 in g_main_loop_run () at /lib64/libglib-2.0.so.0
#7  0x0000003ad8bec715 in gtk_main () at /lib64/libgtk-3.so.0
#8  0x0000000000409772 in main (argc=1, argv=0x7ffcc59afae8)
    at gnome-screensaver.c:105

Which AFAICS comes to this code:

        for (i = 0; i < fade->priv->num_screens; i++)
                fade->priv->screen_priv[i].fade_finish (fade, i);

The problem is fade_finish is never defined where FADE_TYPE_NONE, so the result is a NULL reference.

Comment 2 Fedora Update System 2015-07-17 04:14:53 UTC
gnome-screensaver-3.6.1-11.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/gnome-screensaver-3.6.1-11.fc22

Comment 3 Fedora Update System 2015-07-17 04:30:48 UTC
gnome-screensaver-3.6.1-11.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/gnome-screensaver-3.6.1-11.fc21

Comment 4 Fedora Update System 2015-07-18 01:56:03 UTC
Package gnome-screensaver-3.6.1-11.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gnome-screensaver-3.6.1-11.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-11684/gnome-screensaver-3.6.1-11.fc21
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2015-07-19 01:57:33 UTC
gnome-screensaver-3.6.1-11.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2015-07-29 01:48:14 UTC
gnome-screensaver-3.6.1-11.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.