Bug 768760

Summary: Evolution fails to launch with an online-accounts issue
Product: [Fedora] Fedora Reporter: Boricua <ortizsantini>
Component: gnome-online-accountsAssignee: Bastien Nocera <bnocera>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 16CC: bnocera, davidz, lucilanga, mbarnes, mcrha
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-22 10:06:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Boricua 2011-12-18 17:21:10 UTC
Description of problem: Evolution refuses to start.


Version-Release number of selected component (if applicable): Latest stable version of evolution.


How reproducible: Every time I try to launch the program.


Steps to Reproduce:
1. Start evolution.
2. Evolution appears briefly to start.
3. Nothing else happens.
  
Actual results: Evolution does not start, even though it appears as a running application under system monitor.


Expected results: To start running and function normally.


Additional info: It seems to be deeply related with the online accounts feature, due to the error message and that online accounts settings ceased to work, so, this might really be an online accounts issue. Here's what I get when trying to launch evolution from a terminal:

[Francisco@Hogar ~]$ evolution
Gtk-Message: Failed to load module "pk-gtk-module"

(evolution:1995): evolution-online-accounts-WARNING **: Error calling StartServiceByName for org.gnome.OnlineAccounts: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/libexec/goa-daemon exited with status 127

Comment 1 Boricua 2011-12-18 18:26:47 UTC
Now I'm convinced this is not merely an evolution issue.  Libreoffice and gnucash are affected as well:

[Francisco@Hogar ~]$ gnucash
gnucash: error while loading shared libraries: /usr/lib64/libicudata.so.46: invalid ELF header
[Francisco@Hogar ~]$ writer
bash: writer: command not found...
Similar command is: 'write'
[Francisco@Hogar ~]$ libreoffice
/usr/lib64/libreoffice/program/soffice.bin: error while loading shared libraries: /usr/lib64/libicudata.so.46: invalid ELF header
[Francisco@Hogar ~]$

Comment 2 Matthew Barnes 2011-12-18 18:27:01 UTC
Evolution tries to contact the OnlineAccounts service on startup before showing the main window.  Looks like it's stuck waiting for the service to respond, which is exiting abnormally for some reason.

Reassigning this to gnome-online-accounts to see what David makes of it.

Comment 3 Boricua 2011-12-20 21:47:29 UTC
I updated libcicu from the updates-testing repo and issues regarding gnucash and libreoffice are gone.  Oddly enough, Online-Accounts is also working (not sure it's related to the libcicu thing), but evolution keeps failing. Now all I get from terminal is this:

[Francisco@Hogar ~]$ evolution
Gtk-Message: Failed to load module "pk-gtk-module"

** ERROR **: Timeout was reached
Trace/breakpoint trap (core dumped)
[Francisco@Hogar ~]$

Comment 4 Milan Crha 2011-12-21 09:04:19 UTC
Could you close al evolution related process, which are e-calendar-factory, e-addressbook-factory and evolution-alarm-notify, if they are running, and then run evolution under gdb, to see whether it'll have any backtrace of the trap, please? You can do that like this:
   $ gdb evolution --ex r --ex "t a a bt" --ex q

The best if you'll have installed debuginfo packages at least for evolution-data-server and evolution, with the same version as their binary packages, to have the backtrace usable, with debug information.

Comment 5 Boricua 2011-12-21 09:27:15 UTC
I closed all evolution-related process except for e-calendar-factory, which refused to do so. I stopped the service instead. Then I ran the suggested command and evolution started! I'm no expert dealing with debug files but, if it helps, I can try to collect debug info using fedora's automatic bug report, so please let me know.  Meanwhile, here's the output so far:

[Francisco@Hogar ~]$ gdb evolution --ex r --ex "t a a bt" --ex q
GNU gdb (GDB) Fedora (7.3.50.20110722-10.fc16)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/evolution...(no debugging symbols found)...done.
Starting program: /usr/bin/evolution 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Gtk-Message: Failed to load module "pk-gtk-module"
[New Thread 0x7fffefa30700 (LWP 13067)]
[New Thread 0x7fffef22f700 (LWP 13068)]
[New Thread 0x7fffe6d01700 (LWP 13069)]
[New Thread 0x7fffdb409700 (LWP 13070)]
[New Thread 0x7fffda16c700 (LWP 13072)]
[New Thread 0x7fffd996b700 (LWP 13073)]
[New Thread 0x7fffd916a700 (LWP 13074)]
[New Thread 0x7fffcbfff700 (LWP 13075)]
[New Thread 0x7fffcb7fe700 (LWP 13076)]
[New Thread 0x7fffcaffd700 (LWP 13077)]
[Thread 0x7fffd916a700 (LWP 13074) exited]
[Thread 0x7fffcb7fe700 (LWP 13076) exited]
[Thread 0x7fffd996b700 (LWP 13073) exited]
[Thread 0x7fffdb409700 (LWP 13070) exited]
[New Thread 0x7fffdb409700 (LWP 13078)]
[New Thread 0x7fffd996b700 (LWP 13079)]
[New Thread 0x7fffcb7fe700 (LWP 13080)]
[Thread 0x7fffcb7fe700 (LWP 13080) exited]
[New Thread 0x7fffcb7fe700 (LWP 13081)]
[New Thread 0x7fffd916a700 (LWP 13082)]
[New Thread 0x7fffbbfff700 (LWP 13083)]
[Thread 0x7fffd916a700 (LWP 13082) exited]
[New Thread 0x7fffd916a700 (LWP 13084)]
[New Thread 0x7fffc9ddb700 (LWP 13085)]
[New Thread 0x7fffc95da700 (LWP 13086)]
[New Thread 0x7fffc8bd2700 (LWP 13089)]
[Thread 0x7fffd996b700 (LWP 13079) exited]
[Thread 0x7fffbbfff700 (LWP 13083) exited]
[Thread 0x7fffcb7fe700 (LWP 13081) exited]
[New Thread 0x7fffcb7fe700 (LWP 13090)]
[Thread 0x7fffda16c700 (LWP 13072) exited]
[Thread 0x7fffdb409700 (LWP 13078) exited]
[Thread 0x7fffd916a700 (LWP 13084) exited]
[Thread 0x7fffc9ddb700 (LWP 13085) exited]
[New Thread 0x7fffc9ddb700 (LWP 13092)]
[Thread 0x7fffcbfff700 (LWP 13075) exited]
[Thread 0x7fffc9ddb700 (LWP 13092) exited]
[New Thread 0x7fffc9ddb700 (LWP 13093)]
[Thread 0x7fffc9ddb700 (LWP 13093) exited]
[Thread 0x7fffcb7fe700 (LWP 13090) exited]
[New Thread 0x7fffcb7fe700 (LWP 13098)]
[New Thread 0x7fffc9ddb700 (LWP 13099)]
[New Thread 0x7fffcbfff700 (LWP 13100)]
[New Thread 0x7fffd916a700 (LWP 13101)]
[Thread 0x7fffc9ddb700 (LWP 13099) exited]
[Thread 0x7fffcbfff700 (LWP 13100) exited]
[Thread 0x7fffcaffd700 (LWP 13077) exited]
[Thread 0x7fffd916a700 (LWP 13101) exited]
[New Thread 0x7fffd916a700 (LWP 13105)]
[New Thread 0x7fffcaffd700 (LWP 13106)]
[New Thread 0x7fffcbfff700 (LWP 13107)]
[New Thread 0x7fffc9ddb700 (LWP 13108)]
[Thread 0x7fffcb7fe700 (LWP 13098) exited]
[Thread 0x7fffcbfff700 (LWP 13107) exited]
[Thread 0x7fffc9ddb700 (LWP 13108) exited]
[Thread 0x7fffd916a700 (LWP 13105) exited]
[New Thread 0x7fffd916a700 (LWP 13110)]
[Thread 0x7fffd916a700 (LWP 13110) exited]
[New Thread 0x7fffd916a700 (LWP 13112)]
[Thread 0x7fffcaffd700 (LWP 13106) exited]
[Thread 0x7fffd916a700 (LWP 13112) exited]
Detaching after fork from child process 13119.
[New Thread 0x7fffd916a700 (LWP 13121)]
[New Thread 0x7fffcaffd700 (LWP 13140)]
[New Thread 0x7fffc9ddb700 (LWP 13141)]
[New Thread 0x7fffcbfff700 (LWP 13142)]
[New Thread 0x7fffd9f69700 (LWP 13143)]
[Thread 0x7fffcaffd700 (LWP 13140) exited]
[Thread 0x7fffcbfff700 (LWP 13142) exited]
[Thread 0x7fffc9ddb700 (LWP 13141) exited]
[Thread 0x7fffd9f69700 (LWP 13143) exited]
[New Thread 0x7fffd9f69700 (LWP 13146)]
[New Thread 0x7fffc9ddb700 (LWP 13147)]
[New Thread 0x7fffcbfff700 (LWP 13148)]
[Thread 0x7fffd916a700 (LWP 13121) exited]
[Thread 0x7fffcbfff700 (LWP 13148) exited]
[New Thread 0x7fffcbfff700 (LWP 13149)]
[Thread 0x7fffcbfff700 (LWP 13149) exited]
[Thread 0x7fffd9f69700 (LWP 13146) exited]
[New Thread 0x7fffd9f69700 (LWP 13151)]
[New Thread 0x7fffcbfff700 (LWP 13152)]
[New Thread 0x7fffd916a700 (LWP 13153)]
[Thread 0x7fffcbfff700 (LWP 13152) exited]
[Thread 0x7fffc9ddb700 (LWP 13147) exited]
[Thread 0x7fffd9f69700 (LWP 13151) exited]
[New Thread 0x7fffd9f69700 (LWP 13156)]
[Thread 0x7fffd9f69700 (LWP 13156) exited]
[New Thread 0x7fffd9f69700 (LWP 13159)]
[New Thread 0x7fffc9ddb700 (LWP 13161)]
[New Thread 0x7fffcbfff700 (LWP 13162)]
[New Thread 0x7fffcaffd700 (LWP 13163)]
[New Thread 0x7fffcb7fe700 (LWP 13164)]
[New Thread 0x7fffbbfff700 (LWP 13165)]
[Thread 0x7fffd916a700 (LWP 13153) exited]
[Thread 0x7fffcaffd700 (LWP 13163) exited]
[Thread 0x7fffbbfff700 (LWP 13165) exited]
[Thread 0x7fffcbfff700 (LWP 13162) exited]
[Thread 0x7fffcb7fe700 (LWP 13164) exited]
[New Thread 0x7fffcb7fe700 (LWP 13167)]
[Thread 0x7fffcb7fe700 (LWP 13167) exited]
[Thread 0x7fffc9ddb700 (LWP 13161) exited]
[New Thread 0x7fffc9ddb700 (LWP 13174)]
[Thread 0x7fffc9ddb700 (LWP 13174) exited]
[New Thread 0x7fffc9ddb700 (LWP 13176)]
[New Thread 0x7fffcb7fe700 (LWP 13177)]
[New Thread 0x7fffcbfff700 (LWP 13178)]
[New Thread 0x7fffbbfff700 (LWP 13179)]
[Thread 0x7fffcb7fe700 (LWP 13177) exited]
[Thread 0x7fffd9f69700 (LWP 13159) exited]
[Thread 0x7fffbbfff700 (LWP 13179) exited]
[Thread 0x7fffc9ddb700 (LWP 13176) exited]
[New Thread 0x7fffc9ddb700 (LWP 13180)]
[New Thread 0x7fffbbfff700 (LWP 13181)]
[New Thread 0x7fffd9f69700 (LWP 13182)]
[Thread 0x7fffbbfff700 (LWP 13181) exited]
[Thread 0x7fffcbfff700 (LWP 13178) exited]
[Thread 0x7fffd9f69700 (LWP 13182) exited]
[Thread 0x7fffc9ddb700 (LWP 13180) exited]
[New Thread 0x7fffc9ddb700 (LWP 13231)]
[Thread 0x7fffc9ddb700 (LWP 13231) exited]

Comment 6 Boricua 2011-12-21 10:12:27 UTC
Well, now evolution seems to be normal again. I closed evolution running with special commands and try as usual. Started without issues. Then I logged out / logged in and try again, and it started again even with all evolution-related services running. I did notice having two e-calendar-factory services visible via system monitor, one sleeping, the other stopped.  Just let me know if further info would be helpful.

Comment 7 Milan Crha 2011-12-22 08:33:58 UTC
Thanks for the update. Makes sense the gdb is "empty', when evolution didn't crash. What happened here is hard to guess. Maybe some old libraries being used after update, though I believe you either didn't update before this happened or you did restart your machine, thus new binaries were loaded as expected. I tend to close this for now, and let you reopen it if it shows up again. What do you think?

Comment 8 Boricua 2011-12-22 08:53:55 UTC
I fully agree. I use evolution heavily and on a daily basis and so far, so good. Thanks, Milan.

Comment 9 Milan Crha 2011-12-22 10:06:23 UTC
OK, thanks.