After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 685434 - Freeze because of exception on unlock when there is an authentication error
Freeze because of exception on unlock when there is an authentication error
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: lock-screen
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2012-10-03 19:23 UTC by Olivier Blin
Modified: 2012-10-03 20:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ShellUserVerifier: fix typo in function name, caught on auth error (831 bytes, patch)
2012-10-03 19:26 UTC, Olivier Blin
committed Details | Review

Description Olivier Blin 2012-10-03 19:23:18 UTC
When an authentication error occurs (in this case a dbus access issue), gnome-shell freeze.
This is because of an uncaught exception occuring, caused by a typo (spotted by Olav).

Agent unregistration failed: GDBus.Error:org.freedesktop.DBus.Error.UnknownObject: Method "UnregisterAgent" with signature "o" on interface "org.bluez.Adapter" doesn't exist
 'g-io-error-quark'
    JS ERROR: !!! Failed to open reauthentication channel
    JS ERROR: !!! message = '"GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Aucune session disponible pour la réauthentification de blino"'
    JS ERROR: !!! fileName = '"/usr/share/gnome-shell/js/gdm/util.js"'
    JS ERROR: !!! lineNumber = '154'
    JS ERROR: !!! stack = '"0 anonymous("result" = [object _private_Gio_SimpleAsyncResult], "client" = [object _private_Gdm_Client])@/usr/share/gnome-shell/js/gdm/util.js:154
1 wrapper([object _private_Gdm_Client], [object _private_Gio_SimpleAsyncResult])@/usr/share/gjs-1.0/lang.js:204
"'
    JS ERROR: !!! Exception was: TypeError: this._hold.relase is not a function
    JS ERROR: !!! message = '"this._hold.relase is not a function"'
    JS ERROR: !!! fileName = '"/usr/share/gnome-shell/js/gdm/util.js"'
    JS ERROR: !!! lineNumber = '146'
    JS ERROR: !!! stack = '"("Failed to open reauthentication channel",[object _private_Gio_DBusError])@/usr/share/gnome-shell/js/gdm/util.js:146
wrapper("Failed to open reauthentication channel",[object _private_Gio_DBusError])@/usr/share/gjs-1.0/lang.js:204
([object _private_Gdm_Client],[object _private_Gio_SimpleAsyncResult])@/usr/share/gnome-shell/js/gdm/util.js:165
wrapper([object _private_Gdm_Client],[object _private_Gio_SimpleAsyncResult])@/usr/share/gjs-1.0/lang.js:204
"'
Comment 1 Olivier Blin 2012-10-03 19:26:43 UTC
Created attachment 225708 [details] [review]
ShellUserVerifier: fix typo in function name, caught on auth error

This patch fixes the typo.
Comment 2 Giovanni Campagna 2012-10-03 19:31:49 UTC
Review of attachment 225708 [details] [review]:

I thought I had fixed that before merging, but yes, that's it.
Comment 3 Olav Vitters 2012-10-03 20:08:32 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.