I see this with lightdm-gtk-greeter 2.0.3 on Gentoo. It appears that
this crash happens when the hostname changes between lightdm start and
login.

My system's hostname defaults to "localhost", but I set proper hostnames
via dhcp (the Linux installation boots on multiple computers). Network
setup is handled by networkmanager. It seems that the IP setup happens
somewhen between lightdm starting and the greeter screen appearing.

Not connecting the network (so the hostname stays as "localhost") or
setting the hostname earlier via the kernel's ip=dhcp boot argument
works around the bug.

Here is an excerpt from strace:

connect(11, {sa_family=AF_UNIX, sun_path=@"/tmp/.X11-unix/X0"}, 20) = 0
getpeername(11, {sa_family=AF_UNIX, sun_path=@"/tmp/.X11-unix/X0"}, [124->20]) 
= 0
uname({sysname="Linux", nodename="ripper", ...}) = 0
access("/root/.Xauthority", R_OK)       = 0
open("/root/.Xauthority", O_RDONLY)     = 12
fstat(12, {st_mode=S_IFREG|0600, st_size=54, ...}) = 0
read(12, "\1\0\0\tlocalhost\0\0010\0\22MIT-MAGIC-COOK"..., 4096) = 54
read(12, "", 4096)                      = 0
close(12)                               = 0
fcntl(11, F_GETFL)                      = 0x2 (flags O_RDWR)
fcntl(11, F_SETFL, O_RDWR|O_NONBLOCK)   = 0
fcntl(11, F_SETFD, FD_CLOEXEC)          = 0
poll([{fd=11, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=11, revents=POLLOUT}])
writev(11, [{iov_base="l\0\v\0\0\0\0\0\0\0\0\0", iov_len=12}, {iov_base="", 
iov_len=0}], 2) = 12
recvfrom(11, 0x1047e80, 8, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily 
unavailable)
poll([{fd=11, events=POLLIN}], 1, -1)   = 1 ([{fd=11, revents=POLLIN|POLLHUP}])
recvfrom(11, "\0\26\v\0\0\0\6\0", 8, 0, NULL, NULL) = 8
recvfrom(11, "No protocol specified\n\0\0", 24, 0, NULL, NULL) = 24
write(2, "No protocol specified\n", 22) = 22
shutdown(11, SHUT_RDWR)                 = 0
close(11)                               = 0
ioctl(2, TCGETS, 0x7ffe4bc60930)        = -1 ENOTTY (Inappropriate ioctl for 
device)
getpid()                                = 3418
write(2, "\n** (lightdm-gtk-greeter:3418): "..., 86) = 86
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x10} ---

I have attached the greeter log. I do not wish to attach the full strace
log because it will probably contain my password in one way or another.

** Attachment added: "logfile"
   
https://bugs.launchpad.net/ubuntu/+source/lightdm-gtk-greeter/+bug/1677058/+attachment/5024563/+files/seat0-greeter.log.old

** Bug watch added: Red Hat Bugzilla #1478720
   https://bugzilla.redhat.com/show_bug.cgi?id=1478720

** Bug watch added: Red Hat Bugzilla #1468864
   https://bugzilla.redhat.com/show_bug.cgi?id=1468864

-- 
You received this bug notification because you are a member of LightDM
Gtk+ Greeter Development Team, which is subscribed to lightdm-gtk-
greeter in Ubuntu.
https://bugs.launchpad.net/bugs/1677058

Title:
  /usr/sbin/lightdm-gtk-
  
greeter:11:cairo_surface_get_type:set_surface_as_root:greeter_background_save_xroot:start_session:user_combo_key_press_cb

Status in lightdm-gtk-greeter package in Ubuntu:
  New

Bug description:
  The Ubuntu Error Tracker has been receiving reports about a problem regarding 
lightdm-gtk-greeter.  This problem was most recently seen with package version 
2.0.1-2ubuntu4, the problem page at 
https://errors.ubuntu.com/problem/186a7f61dba62b6bcb526a43eb037ea4c310f596 
contains more details, including versions of packages affected, stacktrace or 
traceback, and individual crash reports.
  If you do not have access to the Ubuntu Error Tracker you can request it at 
http://forms.canonical.com/reports/.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm-gtk-greeter/+bug/1677058/+subscriptions

-- 
Mailing list: https://launchpad.net/~lightdm-gtk-greeter-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~lightdm-gtk-greeter-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to