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 660519 - goa-daemon segfaults with configured accounts
goa-daemon segfaults with configured accounts
Status: RESOLVED FIXED
Product: gnome-online-accounts
Classification: Core
Component: general
3.2.x
Other Linux
: Normal critical
: ---
Assigned To: GNOME Online Accounts maintainer(s)
GNOME Online Accounts maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2011-09-29 20:27 UTC by Dominique Leuenberger
Modified: 2012-08-14 13:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
My olf accounts.conf (336 bytes, text/plain)
2012-03-26 18:06 UTC, Dominique Leuenberger
Details

Description Dominique Leuenberger 2011-09-29 20:27:33 UTC
goa-daemon 3.2.0.1 segfaults as soon as there are accounts configured (accounts.conf from 'earlier' installs...)

Backtrace: (replaced my email address with <my gmail address here>)

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff65e6c0f in __strlen_sse42 () from /lib64/libc.so.6
(gdb) bt full
  • #0 __strlen_sse42
    from /lib64/libc.so.6
  • #1 g_strdup
    from /usr/lib64/libglib-2.0.so.0
  • #2 ??
    from /usr/lib64/libgobject-2.0.so.0
  • #3 g_object_set_valist
    from /usr/lib64/libgobject-2.0.so.0
  • #4 g_object_set
    from /usr/lib64/libgobject-2.0.so.0
  • #5 update_account_object
    at goadaemon.c line 443
  • #6 process_config_entries
  • #7 goa_daemon_reload_configuration
    at goadaemon.c line 662
  • #8 goa_daemon_init
    at goadaemon.c line 232
  • #9 g_type_create_instance
    from /usr/lib64/libgobject-2.0.so.0
  • #10 ??
    from /usr/lib64/libgobject-2.0.so.0
  • #11 g_object_newv
    from /usr/lib64/libgobject-2.0.so.0
  • #12 g_object_new
    from /usr/lib64/libgobject-2.0.so.0
  • #13 goa_daemon_new
    at goadaemon.c line 250
  • #14 on_bus_acquired
    at main.c line 55
  • #15 ??
    from /usr/lib64/libgio-2.0.so.0
  • #16 g_simple_async_result_complete
    from /usr/lib64/libgio-2.0.so.0
  • #17 ??
    from /usr/lib64/libgio-2.0.so.0
  • #18 g_main_context_dispatch
    from /usr/lib64/libglib-2.0.so.0
  • #19 ??
    from /usr/lib64/libglib-2.0.so.0
  • #20 g_main_loop_run
    from /usr/lib64/libglib-2.0.so.0
  • #21 main
    at main.c line 138
A debugging session is active.

	Inferior 1 [process 11685] will be killed.

Quit anyway? (y or n) y
Comment 1 Debarshi Ray 2012-03-26 11:50:26 UTC
Do you still have the ~/.config/goa-1.0/accounts.conf that was causing the crashes? There are no secrets (like passwords) in this file.
Comment 2 Dominique Leuenberger 2012-03-26 18:06:39 UTC
Created attachment 210648 [details]
My olf accounts.conf
Comment 3 Dominique Leuenberger 2012-03-26 18:07:00 UTC
Old file uploaded... did not try if with current goa it would still crash.
Comment 4 Matthias Clasen 2012-03-27 05:31:50 UTC
goa doesn't support twitter -> Ubuntu bug ?
Comment 5 Dominique Leuenberger 2012-03-27 15:21:02 UTC
It's well possible that this file was from a time that the twitter backend was enabled in the openSUSE builds of g-o-a (which, yes, was in the first versions of g-o-a an option at least... never worked though).

Either way: crashing on that is a no-go! So I don't agree on claiming it to be a downstream bug.
Comment 6 Debarshi Ray 2012-03-28 00:05:35 UTC
GOA does support Twitter, but being a desktop application it is hard for us to carry a secret key as compared to Web applications. Therefore all services requiring such secrets (Twitter being one) were disabled by default and their keys removed.

commit c16341e940baa65f6f743596eba1d33aef7a8cdf
Author: David Zeuthen <davidz@redhat.com>
Date:   Tue May 31 11:33:14 2011 -0400

    Strip out API keys and disable services without API keys
    
    This leaves us with only the Google provider.
    
    Other providers can be added back in the future once TOS etc. for the
    provider in question have been properly reviewed.
    
    Signed-off-by: David Zeuthen <davidz@redhat.com>

(Recently it has been possible to use Facebook and Windows Live without carrying any secrets alongwith Google.)
Comment 7 Debarshi Ray 2012-08-14 13:10:02 UTC
(In reply to comment #3)
> Old file uploaded... did not try if with current goa it would still crash.

Sorry for the delay. I tried to reproduce the crashes on current (ie. 3.5.x) GOA and failed. Given that I have not touched this part of the code in the recent past, and that the bug was filed against 3.2.x, I suspect that this got quite a while ago.

I am closing this, but feel free to reopen if you manage to reproduce it.

Thanks for the report, and, once again, sorry for the delayed response.