LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-03-2014, 12:51 AM   #16
aaditya
Member
 
Registered: Oct 2013
Location: India
Distribution: Slackware
Posts: 272
Blog Entries: 2

Rep: Reputation: 85

Hi,

Consolekit2 will prefer upower for suspend/hibernate.
https://github.com/ConsoleKit2/Conso...mment-62304054

Last edited by aaditya; 12-03-2014 at 12:53 AM.
 
1 members found this post helpful.
Old 12-06-2014, 01:01 AM   #17
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
I just commented on that issue, but after a bit of time spent doing a git bisect, I found this commit to be the cause of my issues:
Code:
commit 417e387750920b9e092705863a863e71a77ea431
Author: Halton Huo <halton.huo@gmail.com>
Date:   Wed Oct 8 19:56:25 2014 +0300

    Fix crash on logout/login via SunRay
    
    Turns out this bug is introduced by commit
    b4f893eb294883909759fc9fd825eade1a9f308c, which is later than
    when themulti-seat branch was created.
    
    This happens when user logout, c-k-d tries to activate the reserved
    Login window session, and send out the two signals in
    change_active_session().
    
    The old_session is the session that user just log out, which should
    be removed after logout. There is race condition here, if the
    old_session get unrefed to 0 before the g_signal_emit call,
    then a core dump happens. Reported in:
    https://bugs.freedesktop.org/show_bug.cgi?id=28598

diff --git a/src/ck-seat.c b/src/ck-seat.c
index 6e6800f..7f79fea 100644
--- a/src/ck-seat.c
+++ b/src/ck-seat.c
@@ -514,7 +514,9 @@ change_active_session (CkSeat    *seat,
          * must be sent when the database dump is finished it is
          * important that the '-full' signalled is emitted first. */
 
-        g_signal_emit (seat, signals [ACTIVE_SESSION_CHANGED_FULL], 0, old_session, session);
+        if (CK_IS_SESSION (old_session)) {
+                g_signal_emit (seat, signals [ACTIVE_SESSION_CHANGED_FULL], 0, old_session, session);
+        }
         g_signal_emit (seat, signals [ACTIVE_SESSION_CHANGED], 0, ssid);
 
         if (old_session != NULL) {
Upstream report filed: https://github.com/ConsoleKit2/ConsoleKit2/issues/16

Last edited by rworkman; 12-06-2014 at 01:14 AM. Reason: Note upstream bug report
 
3 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is ConsoleKit for? stf92 General 2 04-14-2013 03:43 AM
Turn off KDM consolekit error fogpipe Linux - Desktop 1 06-14-2012 09:37 PM
Consolekit is unmaintained. What now? Gullible Jones Slackware 12 12-23-2011 02:01 PM
ConsoleKit and PolicyKit Woodsman Slackware 14 04-15-2011 12:55 PM
LXer: Microsoft! needs! Yahoo! developers! developers! developers! LXer Syndicated Linux News 0 02-01-2008 11:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration