Bug 198697 - sysutils/consolekit: segfault causes gdm login not to display
Summary: sysutils/consolekit: segfault causes gdm login not to display
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-19 05:48 UTC by Pete Johanson
Modified: 2015-03-23 12:48 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (gnome)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pete Johanson 2015-03-19 05:48:15 UTC
After a recent rebuild world on 11.0-CURRENT, my gdm session stopped displaying any of the login UI.

Tracked this down to the fact that console-kit-daemon was segfaulting. Firing up in GDB confirmed I was seeing the issue reported here:

https://lists.debian.org/debian-bsd/2010/12/msg00080.html

Adding that one line patch fixed the port for me.

Happy to attach the updated port here, if that would help.

Thanks,
-pete
Comment 1 commit-hook freebsd_committer freebsd_triage 2015-03-23 12:19:00 UTC
A commit references this bug:

Author: kwm
Date: Mon Mar 23 12:18:16 UTC 2015
New revision: 381990
URL: https://svnweb.freebsd.org/changeset/ports/381990

Log:
  Fix a segvault, which was caused by a not validating if a enviroment string
    is empty or not [1]
  Add addition way to find the ttyv device from the Xorg.log [2]

  PR:		198697 [1]
  Submitted by:	Pete Johanson <peter@peterjohanson.com> [1], dumbbell@ [1][2]

Changes:
  head/sysutils/consolekit/Makefile
  head/sysutils/consolekit/files/ck-get-x11-display-device
  head/sysutils/consolekit/files/patch-src_ck-sysdeps-freebsd.c
Comment 2 Koop Mast freebsd_committer freebsd_triage 2015-03-23 12:48:27 UTC
Thanks for the research!