GNOME Bugzilla – Bug 660993
Crash when creating facebook account
Last modified: 2011-10-07 19:07:28 UTC
I've created a client-id and client-secret for Facebook app and build gnome-online-account with them. Now creating a facebook account crash. Here is backtrace with fatal-warnings: GoaBackend-CRITICAL **: goa_provider_store_credentials_sync: assertion `GOA_IS_OBJECT (object) && goa_object_peek_account (object) != NULL' failed Program received signal SIGTRAP, Trace/breakpoint trap. g_logv (log_domain=0x7fffd5bdd952 "GoaBackend", log_level=<optimized out>, format=0x7ffff5dbb712 "%s: assertion `%s' failed", args1=0x7fffffffc998) at /build/buildd/glib2.0-2.30.0/./glib/gmessages.c:577 577 /build/buildd/glib2.0-2.30.0/./glib/gmessages.c: Aucun fichier ou dossier de ce type. in /build/buildd/glib2.0-2.30.0/./glib/gmessages.c (gdb) bt
+ Trace 228691
Hm, after a reboot this morning I've got lots of facebook accounts appearing (those that I couldn't see because g-c-c crashed each time I tried). And now I cannot reproduce this bug for facebook anymore. But it's now happening with my messenger provider (bug #661067) which is just a copy/paste of the facebook one.
Sorry I haven't had time to look at this and I'm still a bit busy. I guess it's because the daemon and library gets out of sync - did you run the daemon from the source tree after making changes?
Created attachment 198446 [details] [review] Make sure there is an error set when returning FALSE
That patch fix the assertion which happens if something goes wrong. At least now I get an error dialog showing the error message.
Comment on attachment 198446 [details] [review] Make sure there is an error set when returning FALSE Looks good - Thanks! Please commit.
ok, pushed.