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 645656 - e-addressbook-factory hangs in infinite loop with sched_yield()
e-addressbook-factory hangs in infinite loop with sched_yield()
Status: RESOLVED NOTGNOME
Product: evolution-data-server
Classification: Platform
Component: Contacts
2.32.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
: 645655 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-03-25 20:02 UTC by Serge Gavrilov
Modified: 2011-03-31 11:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Serge Gavrilov 2011-03-25 20:02:50 UTC
Generally this is gentoo bug http://bugs.gentoo.org/show_bug.cgi?id=354233

The symptoms are as follows. The evolution addressbook does not work at all. 

The problem is caused by /usr/libexec/e-addressbook-factory that goes into infinite loop eating 100% CPU. 

This is strace output from /usr/libexec/e-addressbook-factory stared from terminal:

http://pastebin.com/7xJxJAN3

Thanks a lot for your work, and please help!
Comment 1 Serge Gavrilov 2011-03-25 20:08:06 UTC
*** Bug 645655 has been marked as a duplicate of this bug. ***
Comment 2 Serge Gavrilov 2011-03-26 08:39:40 UTC
Rebuilding cairo without qt4 support, and then evolution-data-server fixes the problem
Comment 3 Milan Crha 2011-03-28 07:35:23 UTC
Thanks for the update. There was similar bug report downstream:
https://bugzilla.redhat.com/show_bug.cgi?id=676837

But because you didn't provide backtrace, then it was hard to guess. Either way I'm closing this.
Comment 4 Andrei Popa 2011-03-28 13:30:45 UTC
Hello,

The workarond propsed by Serge Gavrilov dosn't work for me.
Please reopen the bug.
I've attached the backtrace:

(gdb) bt
  • #0 sched_yield
    from /lib/libc.so.6
  • #1 ??
    from /usr/lib/libgio-2.0.so.0
  • #2 ??
    from /usr/lib/libgio-2.0.so.0
  • #3 g_bus_get_sync
    from /usr/lib/libgio-2.0.so.0
  • #4 ??
    from /usr/lib/libgconf-2.so.4
  • #5 gconf_activate_server
    from /usr/lib/libgconf-2.so.4
  • #6 ??
    from /usr/lib/libgconf-2.so.4
  • #7 ??
    from /usr/lib/libgconf-2.so.4
  • #8 gconf_engine_get_default
    from /usr/lib/libgconf-2.so.4
  • #9 gconf_client_get_default
    from /usr/lib/libgconf-2.so.4
  • #10 e_offline_listener_new
    from /usr/lib/libebackend-1.2.so.0
  • #11 ??
  • #12 __libc_start_main
    from /lib/libc.so.6
  • #13 ??
  • #14 ??
  • #15 ??
  • #16 ??
  • #17 ??
  • #18 ??

Comment 5 Pacho Ramos 2011-03-28 22:35:02 UTC
You probably need to recompile glib and gconf with debugging symbols also to get a better backtrace
Comment 6 Andrei Popa 2011-03-29 11:09:46 UTC
gdb) bt
  • #0 sched_yield
    from /lib/libc.so.6
  • #1 _g_dbus_shared_thread_ref
    at gdbusprivate.c line 354
  • #2 _g_dbus_worker_new
    at gdbusprivate.c line 1449
  • #3 initable_init
    at gdbusconnection.c line 2380
  • #4 g_bus_get_sync
    at gdbusconnection.c line 6291
  • #5 get_ior
    at gconf-internals.c line 2445
  • #6 gconf_get_server
    at gconf-internals.c line 2494
  • #7 gconf_activate_server
    at gconf-internals.c line 2844
  • #8 try_to_contact_server
    at gconf.c line 2315
  • #9 gconf_get_config_server
    at gconf.c line 2359
  • #10 gconf_engine_connect
    at gconf.c line 359
  • #11 gconf_engine_get_default
    at gconf.c line 608
  • #12 gconf_client_get_default
    at gconf-client.c line 452
  • #13 setup_offline_listener
    at e-offline-listener.c line 89
  • #14 e_offline_listener_new
    at e-offline-listener.c line 113
  • #15 main
    at e-data-book-factory.c line 599


(In reply to comment #5)
> You probably need to recompile glib and gconf with debugging symbols also to
> get a better backtrace
Comment 7 Pacho Ramos 2011-03-29 19:02:57 UTC
Can any user with enough permissions reopen this one? Thanks a lot
Comment 8 Andrei Popa 2011-03-29 19:33:07 UTC
I have glib-2.28.4 installed.
Comment 9 Milan Crha 2011-03-30 07:01:29 UTC
Thanks for the update. This is trying to run GConf, and that's the place where it crashes. There is filled bug #629945 about this. I do not recognize if your build has a commit mentioned in that bug included or not.
Comment 10 Andrei Popa 2011-03-31 11:03:30 UTC
I've installed evolution 2.91.92 and now the address-book works.