I re-open this bug as apport marks newer crashes duplicate against this bug and 
there was no actual fix for this bug yet.
The crash happened for me with version 0.4.3-0ubuntu1 (see bug 809781). I 
attached lightdm.log to my bug which shows:
[+27.77s] WARNING: Greeter did not quit, sending kill signal
[+27.77s] DEBUG: Sending signal 15 to process 1557
[+28.04s] DEBUG: Process 1557 closed communication channel
[+28.04s] DEBUG: Process 1557 exited with return value 0
[+28.04s] DEBUG: Greeter quit

[+28.77s] WARNING: Greeter did not quit, sending kill signal
[+28.77s] WARNING: invalid unclassed pointer in cast to `Session'
[+28.77s] WARNING: invalid unclassed pointer in cast to `ChildProcess'

So the greeter is getting killed twice, even though the first kill was 
successful.
In src/greeter.c I see:
greeter->priv->quit_timeout = g_timeout_add (GREETER_QUIT_TIMEOUT, 
quit_greeter_cb, greeter);

which means quit_greeter_cb will be called periodically, until quit_greeter_cb 
returns FALSE. However, quit_greeter_cb has a hard coded return TRUE, so the 
killing never stops. When the greeter was killed successfully, the next kill 
will result in a crash.
In my opinion, quit_greeter_cb should return FALSE, at least when killing the 
greeter was successful.

** Changed in: lightdm (Ubuntu)
       Status: Invalid => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/798716

Title:
  lightdm crashed with SIGSEGV in g_main_context_dispatch()

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to