Bug 2095441

Summary: [abrt] lightdm-gtk: cairo_surface_get_type(): lightdm-gtk-greeter killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Dan Horák <dan>
Component: lightdm-gtkAssignee: Alternative GTK desktop environments <alt-gtk-de-sig>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: alt-gtk-de-sig, leigh123linux, rdieter, tdawson
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/7eb93af1f3163a87872ca43bf2278fca6d39c301
Whiteboard: abrt_hash:f1ee035cdb7353791eb9a66a76a68095fd2c1f34;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-25 15:26:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: cpuinfo
none
File: dso_list
none
File: environ
none
File: exploitable
none
File: limits
none
File: maps
none
File: mountinfo
none
File: open_fds
none
File: proc_pid_status none

Description Dan Horák 2022-06-09 17:49:23 UTC
Description of problem:
First try to login after boot, desktop is XFCE with LightDM

Version-Release number of selected component:
lightdm-gtk-2.0.8-3.fc36

Additional info:
reporter:       libreport-2.17.1
backtrace_rating: 4
cgroup:         0::/user.slice/user-987.slice/session-c1.scope
cmdline:        /usr/sbin/lightdm-gtk-greeter
crash_function: cairo_surface_get_type
executable:     /usr/sbin/lightdm-gtk-greeter
journald_cursor: s=cab0925fe09c4049b4a4dab196b63856;i=1943;b=771448001baf4a329fac90597d2d5614;m=cd583351;t=5dfff87423771;x=e372d714e36023bd
kernel:         5.17.5-300.fc36.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            987

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 cairo_surface_get_type at ../src/cairo-surface.c:222
 #1 set_surface_as_root at /usr/src/debug/lightdm-gtk-2.0.8-3.fc36.x86_64/src/greeterbackground.c:1743
 #2 greeter_background_save_xroot at /usr/src/debug/lightdm-gtk-2.0.8-3.fc36.x86_64/src/greeterbackground.c:1104
 #3 start_session at /usr/src/debug/lightdm-gtk-2.0.8-3.fc36.x86_64/src/lightdm-gtk-greeter.c:2245
 #4 _g_closure_invoke_va at ../gobject/gclosure.c:893
 #7 handle_end_authentication at /usr/src/debug/lightdm-1.30.0-16.fc36.x86_64/liblightdm-gobject/greeter.c:716
 #8 handle_message at /usr/src/debug/lightdm-1.30.0-16.fc36.x86_64/liblightdm-gobject/greeter.c:806
 #9 from_server_cb at /usr/src/debug/lightdm-1.30.0-16.fc36.x86_64/liblightdm-gobject/greeter.c:920
 #12 g_main_context_iterate.constprop.0 at ../glib/gmain.c:4211
 #14 gtk_main at ../gtk/gtkmain.c:1329

Potential duplicate: bug 1394472

Comment 1 Dan Horák 2022-06-09 17:49:26 UTC
Created attachment 1888416 [details]
File: backtrace

Comment 2 Dan Horák 2022-06-09 17:49:27 UTC
Created attachment 1888417 [details]
File: core_backtrace

Comment 3 Dan Horák 2022-06-09 17:49:28 UTC
Created attachment 1888418 [details]
File: cpuinfo

Comment 4 Dan Horák 2022-06-09 17:49:29 UTC
Created attachment 1888419 [details]
File: dso_list

Comment 5 Dan Horák 2022-06-09 17:49:30 UTC
Created attachment 1888420 [details]
File: environ

Comment 6 Dan Horák 2022-06-09 17:49:31 UTC
Created attachment 1888421 [details]
File: exploitable

Comment 7 Dan Horák 2022-06-09 17:49:33 UTC
Created attachment 1888422 [details]
File: limits

Comment 8 Dan Horák 2022-06-09 17:49:34 UTC
Created attachment 1888423 [details]
File: maps

Comment 9 Dan Horák 2022-06-09 17:49:35 UTC
Created attachment 1888424 [details]
File: mountinfo

Comment 10 Dan Horák 2022-06-09 17:49:36 UTC
Created attachment 1888425 [details]
File: open_fds

Comment 11 Dan Horák 2022-06-09 17:49:37 UTC
Created attachment 1888426 [details]
File: proc_pid_status

Comment 12 Dan Horák 2022-06-09 17:55:08 UTC
looks as the same issue from bug 1750557 ...

Comment 13 Dan Horák 2022-06-10 12:34:45 UTC
from /var/log/lightdm/seat0-greeter.log.old with an slightly instrumented greeter binary

...
(lightdm-gtk-greeter:1421): Gtk-WARNING **: 13:31:41.786: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node menubar owner GreeterMenuBar)

(lightdm-gtk-greeter:1421): Gtk-WARNING **: 13:31:41.803: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node menubar owner GreeterMenuBar)

(lightdm-gtk-greeter:1421): Gtk-WARNING **: 13:31:41.820: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node menubar owner GreeterMenuBar)
No protocol specified

** (lightdm-gtk-greeter:1421): WARNING **: 13:31:41.824: [Background] Failed to create root pixmap, screen=0x55b007468060, display=0x55b007460100, name=:0


which points to a failed XOpenDisplay() call (https://github.com/Xubuntu/lightdm-gtk-greeter/blob/master/src/greeterbackground.c#L1633)


Seems the first login after boot always fails due a greeter crash, but the next ones are OK ...

Comment 14 Dan Horák 2022-12-27 13:28:38 UTC
Seems I am hitting the same issue on a RHEL-9 + EPEL-9 XFCE x86_64 system as well ...

Comment 15 Dan Horák 2022-12-27 14:27:05 UTC
https://bugs.launchpad.net/ubuntu/+source/lightdm-gtk-greeter/+bug/1422794/comments/9 gives some hints and yes, setting a static hostname with "hostnamectl" makes the problem go away

Comment 16 Ben Cotton 2023-04-25 17:23:48 UTC
This message is a reminder that Fedora Linux 36 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '36'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 36 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 17 Ludek Smid 2023-05-25 15:26:58 UTC
Fedora Linux 36 entered end-of-life (EOL) status on 2023-05-16.

Fedora Linux 36 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.