Bug 55843 - Crash of GNOME 3 in libgio-2.0.so when switching users
Summary: Crash of GNOME 3 in libgio-2.0.so when switching users
Status: RESOLVED DUPLICATE of bug 50112
Alias: None
Product: accountsservice
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium critical
Assignee: Matthias Clasen
QA Contact:
URL: http://bugs.debian.org/cgi-bin/bugrep...
Whiteboard:
Keywords: have-backtrace, regression
Depends on:
Blocks:
 
Reported: 2012-10-10 13:53 UTC by Paul Menzel
Modified: 2012-10-10 15:22 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Paul Menzel 2012-10-10 13:53:50 UTC
In Debian Wheezy with accountsservice 0.6.21-6 GNOME 3 crashes [1][2] due to the patch applied in commit 5e2f077e [3]

        lib: manage pending consolekit calls with cancellable

        Pending NewSession objects can disappear just as quickly
        as they appear in response to ConsoleKit signals.  If
        we're in the middle of talking to ConsoleKit when an
        object disappears and is subsequently freed, then we'll
        still try to access it from the reply callback.

        This commit cancels any pending messages to the consolekit
        daemon, when the session goes away.

        https://bugs.freedesktop.org/show_bug.cgi?id=50112

to fix bug 50112.

It would be awesome if you could take a look. Josselin Mouette found the reason for the crash already. It would be awesome if you could suggest a fix. Thanks!

#0  0x00007f70c5ea06c9 in g_cancellable_is_cancelled (
    cancellable=0x7f70c4a30660)
    at /tmp/buildd/glib2.0-2.33.12+really2.32.3/./gio/gcancellable.c:296
No locals.
#1  0x00007f70a7555d86 in on_get_unix_user_finished (object=<optimized out>, 
    result=0x4f93660, data=0x4e56240) at act-user-manager.c:1028
        proxy = <optimized out>
        new_session = 0x4e56240
        error = 0x0
        uid = <optimized out>
#2  0x00007f70c5ed93f7 in g_simple_async_result_complete (simple=0x4f93660)
    at /tmp/buildd/glib2.0-2.33.12+really2.32.3/./gio/gsimpleasyncresult.c:767
        current_source = 0x7f70980e4f90
        current_context = 0x0
        __PRETTY_FUNCTION__ = "g_simple_async_result_complete"
#3  0x00007f70c5f3177a in reply_cb (connection=<optimized out>, 
    res=<optimized out>, user_data=0x4f93660)
    at /tmp/buildd/glib2.0-2.33.12+really2.32.3/./gio/gdbusproxy.c:2614
        simple = 0x4f93660
        value = <optimized out>
        error = 0x38cfe60
        fd_list = 0x2740a00

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688413
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689651
[3] http://cgit.freedesktop.org/accountsservice/commit/?id=5e2f077e97a752092a31756eb6b3df03bc119c3d
Comment 1 Paul Menzel 2012-10-10 14:04:06 UTC
Here is a description from Josselin on how to reproduce this.

»the crash in unstable is 100% reproducible with the following : have 2 sessions open, open a 3rd one, close it, use the login prompt to switch to one of the first twos«
Comment 2 Ray Strode [halfline] 2012-10-10 15:22:21 UTC
let's dupe this to the original report, since we already reopened it.

*** This bug has been marked as a duplicate of bug 50112 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.