Activity log for bug #1313042

Date Who What changed Old value New value Message
2014-04-26 08:38:13 Ariel Faigon bug added bug
2014-04-26 08:41:20 Ariel Faigon tags konsolekit libglib2 ssh consolekit libglib2 ssh
2014-04-26 08:43:16 Ariel Faigon affects gnome-control-center (Ubuntu) consolekit (Ubuntu)
2014-04-26 08:53:37 Ariel Faigon description The day I upgraded from 13.10 to 14.04 some of my ssh sessions into the new system (server side is Ubuntu 14.04) started hanging. The symptom is: I run some command with a lot of output in an ssh session, and the second the command completes and the shell displays a new prompt, it stops responding to keyboard input. At the exact time of the hang (to the second) I always see these 3 warnings in syslog: Apr 21 18:15:25 xx console-kit-daemon[3357]: GLib-CRITICAL: Source ID 469 was not found when attempting to remove it Apr 21 18:15:25 xx console-kit-daemon[3357]: GLib-CRITICAL: Source ID 86 was not found when attempting to remove it Apr 21 18:15:25 xx console-kit-daemon[3357]: GLib-CRITICAL: Source ID 86 was not found when attempting to remove it A quote from an upstream (bugzilla.gnome.org) comment: https://bugzilla.gnome.org/show_bug.cgi?id=721369 GLib recently started throwing a warning when g_source_remove() is passed garbage (as per warning). Your applications have probably been broken for a while, and there's no telling what could actually have happened in the past when g_source_remove() would happily close any random source because the programmer got the wrong argument to g_source_remove(). So based on this I'm opening a bug against consolekit for bad calls to g_source_remove() which seem to be related to the ssh hang. The day I upgraded from 13.10 to 14.04 some of my ssh sessions into the new system (server side is Ubuntu 14.04) started hanging. The symptom is: I run some command with a lot of output (say a few hundreds of lines) in an ssh session, and the second the command completes, and the shell displays a new prompt, the shell stops responding to keyboard input. At the exact time of the hang (to the second) I always see these 3 warnings in syslog: Apr 21 18:15:25 xx console-kit-daemon[3357]: GLib-CRITICAL: Source ID 469 was not found when attempting to remove it Apr 21 18:15:25 xx console-kit-daemon[3357]: GLib-CRITICAL: Source ID 86 was not found when attempting to remove it Apr 21 18:15:25 xx console-kit-daemon[3357]: GLib-CRITICAL: Source ID 86 was not found when attempting to remove it The Source ID numbers vary, but the warnings always come in triplets at the time of the hang. I was able to reproduce this about 10 times today. Every time the session hangs, these warnings appear in the log and vice versa: every time they appear in the log, I have a hanged remote session. A quote from an upstream (bugzilla.gnome.org) comment: https://bugzilla.gnome.org/show_bug.cgi?id=721369     GLib recently started throwing a warning when g_source_remove()     is passed garbage (as per warning). Your applications have probably been broken     for a while, and there's no telling what could actually have happened in the     past when g_source_remove() would happily close any random source because the     programmer got the wrong argument to g_source_remove(). So based on this I'm opening a bug against consolekit for bad calls to g_source_remove() which seem to be related to the ssh hang.
2014-04-28 17:54:24 Seth Arnold information type Private Security Public Security
2014-04-28 17:54:27 Seth Arnold consolekit (Ubuntu): status New Confirmed
2014-04-29 15:56:23 Ariel Faigon summary console-kit-daemon related ssh session hang w/ Glib-CRITICAL warning console-kit-daemon session hang (sometimes w/ Glib-CRITICAL warning)
2014-05-20 09:36:24 Manfred Hampl bug added subscriber Manfred Hampl
2014-07-07 22:29:31 Ariel Faigon summary console-kit-daemon session hang (sometimes w/ Glib-CRITICAL warning) console-kit-daemon Glib-CRITICAL warning
2014-10-09 06:33:36 samaer3 bug added subscriber samaer3
2015-05-29 10:23:24 H.-Dirk Schmitt bug added subscriber H.-Dirk Schmitt
2015-10-16 21:05:08 Laurent Salle bug added subscriber Laurent Salle
2015-10-26 14:12:47 Laurent Simon bug added subscriber Laurent Simon
2015-11-10 17:44:50 Simon Déziel bug added subscriber Simon Déziel
2015-12-09 10:10:43 Ken Sharp tags consolekit libglib2 ssh amd64 i386 saucy trusty
2016-05-11 09:36:55 Laurent Bonnaud marked as duplicate 1264368
2016-10-21 00:26:26 Jared Fernandez bug added subscriber Jared Fernandez