Bug 1244084 - gnome-screensaver: SIGSEGV in gs_fade_reset()
Summary: gnome-screensaver: SIGSEGV in gs_fade_reset()
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-screensaver
Version: 21
Hardware: All
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Yaakov Selkowitz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-17 03:53 UTC by Yaakov Selkowitz
Modified: 2015-07-29 01:48 UTC (History)
3 users (show)

Fixed In Version: gnome-screensaver-3.6.1-11.fc22
Clone Of:
Environment:
Last Closed: 2015-07-19 01:57:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.