Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Evolution no longer starts
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Da51d
n00b
n00b


Joined: 27 Mar 2024
Posts: 42

PostPosted: Wed Jan 29, 2025 8:17 am    Post subject: Evolution no longer starts Reply with quote

Good morning. After a recent update the evolution mail client no longer starts. However in spite of this a number of processes have started:

Code:
Kryten /home/david # pgrep evolution
2354
2375
2390
2401


Code:
david     2354  0.0  0.3 459536 25344 ?        Sl   07:54   0:00 /usr/libexec/evolution-source-registry
david     2375  0.0  0.6 803552 53316 ?        Sl   07:54   0:00 /usr/libexec/evolution-data-server/evolution-alarm-notify
david     2390  0.0  0.2 882280 21632 ?        Sl   07:54   0:00 /usr/libexec/evolution-calendar-factory
david     2401  0.0  0.3 732728 23808 ?        Sl   07:54   0:00 /usr/libexec/evolution-addressbook-factory


There is also this message in /var/log/messages

Code:

Jan 29 09:00:55 Kryten kernel: traps: evolution[7765] trap int3 ip:7f7413199827 sp:7ffe87231f90 error:0 in libglib-2.0.so.0.8000.5[7f7413152000+9e000]


Trying to start from the terminal produces

Code:
david@Kryten ~ $ evolution

(evolution:8411): dbind-WARNING **: 09:24:15.525: Couldn't connect to accessibility bus: Failed to connect to socket /run/user/134/at-spi/bus_0: Permission denied

(evolution-alarm-notify:8420): dbind-WARNING **: 09:24:15.592: Couldn't connect to accessibility bus: Failed to connect to socket /run/user/134/at-spi/bus_0: Permission denied
bwrap: Can't find source path /run/user/134/at-spi: Permission denied

** (evolution:8411): ERROR **: 09:24:15.740: Failed to fully launch dbus-proxy: Child process exited with code 1
Trace/breakpoint trap



I tried unemerging and reemerging evolution but the same thing happens. Does anyone know what might be wrong here?
_________________
What can be said at all can be said clearly and what we cannot talk about we must pass over in silence.
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1838
Location: PB, Germany

PostPosted: Wed Jan 29, 2025 12:20 pm    Post subject: Reply with quote

Yes, I stumbled on that issue this morning too: I solved it by manually rebuilding…
Code:
emerge -atv1 mail-client/evolution gnome-extra/evolution-ews gnome-extra/evolution-data-server
Could also have been solved by…
Code:
emerge -atv --keep-going @preserved-rebuild
where I noticed the evolution-data-server in the list. So might be the only package that needs to be rebuilt.
_________________
HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Back to top
View user's profile Send private message
Da51d
n00b
n00b


Joined: 27 Mar 2024
Posts: 42

PostPosted: Wed Jan 29, 2025 1:51 pm    Post subject: Reply with quote

Thank you Massimo, I tried the first command but still have the same problem, and when I then tried the second it simply said "Nothing to merge; quitting".
_________________
What can be said at all can be said clearly and what we cannot talk about we must pass over in silence.
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1838
Location: PB, Germany

PostPosted: Wed Jan 29, 2025 1:57 pm    Post subject: Reply with quote

You already did a
Code:
emerge -auUDtv world --keep-going
and rebooted the system?
_________________
HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Back to top
View user's profile Send private message
Da51d
n00b
n00b


Joined: 27 Mar 2024
Posts: 42

PostPosted: Wed Jan 29, 2025 2:14 pm    Post subject: Reply with quote

I have tried this too but the problem persists.
_________________
What can be said at all can be said clearly and what we cannot talk about we must pass over in silence.
Back to top
View user's profile Send private message
Da51d
n00b
n00b


Joined: 27 Mar 2024
Posts: 42

PostPosted: Wed Jan 29, 2025 7:57 pm    Post subject: Reply with quote

Ok I am at my wits' end. I have completely unmerged evolution, and depclean removed 70 packages (dev-ruby/loads-of-stuff), expunged everything with evolution from my home folder, then updated (nothing to do), and tried to emerge evolution from scratch (which takes ages), but the problem persists. The last update has done something sinister...or the mail-client/evolution package is broken. I will try one more time...and if it fails again I will try Thunderbird instead.
_________________
What can be said at all can be said clearly and what we cannot talk about we must pass over in silence.
Back to top
View user's profile Send private message
Da51d
n00b
n00b


Joined: 27 Mar 2024
Posts: 42

PostPosted: Thu Jan 30, 2025 1:10 am    Post subject: Reply with quote

It didn't work...I have installed Thunderbird...that works. On the bright side I'll never have to compile webkit-gtk again.
_________________
What can be said at all can be said clearly and what we cannot talk about we must pass over in silence.
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1838
Location: PB, Germany

PostPosted: Thu Jan 30, 2025 5:52 am    Post subject: Re: Evolution no longer starts Reply with quote

Evolution is a lot more than Thunderbird can provide. It's a complete PIM suite like Kontakt or Outlook, it's for more than 10 years my daily workhorse and got absolutely important. I was also severely hit by this issue and like to understand and support why I got it fixed by a simple rebuild of evolution.
While I got this one repaired like this I still have another issue Evolution and broken webkit-gtk and also struggling with a long rebuild of the previous webkit-gtk version. So there are some issues with these new (stable) versions.
Da51d wrote:
Code:
david@Kryten ~ $ evolution

(evolution:8411): dbind-WARNING **: 09:24:15.525: Couldn't connect to accessibility bus: Failed to connect to socket /run/user/134/at-spi/bus_0: Permission denied

(evolution-alarm-notify:8420): dbind-WARNING **: 09:24:15.592: Couldn't connect to accessibility bus: Failed to connect to socket /run/user/134/at-spi/bus_0: Permission denied
bwrap: Can't find source path /run/user/134/at-spi: Permission denied

** (evolution:8411): ERROR **: 09:24:15.740: Failed to fully launch dbus-proxy: Child process exited with code 1
Trace/breakpoint trap
I have another almost identical installation having this similar issue now and going to investigate. I wonder about the user ID, it's not my user ID but the user ID of lightdm, the login manager before Xfce starts. Same for you?
_________________
HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Back to top
View user's profile Send private message
Da51d
n00b
n00b


Joined: 27 Mar 2024
Posts: 42

PostPosted: Thu Jan 30, 2025 9:00 am    Post subject: Reply with quote

Good morning Massimo. Yes, user 134 is lightdm. I too prefer evolution. It is the only Gnome application I use. I'd like to understand why your repair didn't work for me too. Please let me know if you do identify the problem. Thanks. And if I can supply you with more info, do ask.
_________________
What can be said at all can be said clearly and what we cannot talk about we must pass over in silence.
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1838
Location: PB, Germany

PostPosted: Thu Jan 30, 2025 3:06 pm    Post subject: Reply with quote

Curiously on this machine I wasn't able to solve it by re-emerging evolution. I talked to the evolution developers. That dbind from the error message is not used in evolution, it might be called from webkit-gtk.
There already have been issues when starting evolution with some other user id:
https://bugzilla.redhat.com/show_bug.cgi?id=2162351#c13
https://bugzilla.redhat.com/show_bug.cgi?id=2254965#c15
https://gitlab.gnome.org/GNOME/epiphany/-/issues/1780#note_1946293
We also had other issues with webkit-gtk and downgrading solved it: https://forums.gentoo.org/viewtopic-p-8853284.html#8853284 It solved it here as well.
So please try:
Code:
emerge -atv1 =net-libs/webkit-gtk-2.44.4-r410
If after all the current 2.46.5-r410(4.1/0) is responsible for all these issues we need to mask it. You can mask it for yourself in /etc/portage/package.mask

It might be - just guessing - that some bug is making using the lightdm user ID instead of the current user ID which is already wrong, leading to the other bug where starting evolution with some other user ID leads to the same error message…

Finally I'm still building with debug symbols, trying to get a callstack from the webkit-gtk crash, for a better upstream bug report.
_________________
HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Back to top
View user's profile Send private message
Da51d
n00b
n00b


Joined: 27 Mar 2024
Posts: 42

PostPosted: Thu Jan 30, 2025 3:35 pm    Post subject: Reply with quote

Thanks Massimo...I will try it. I'll wait til bedtime, and let webkit-gtk compile while I'm asleep.
_________________
What can be said at all can be said clearly and what we cannot talk about we must pass over in silence.
Back to top
View user's profile Send private message
Da51d
n00b
n00b


Joined: 27 Mar 2024
Posts: 42

PostPosted: Thu Jan 30, 2025 10:47 pm    Post subject: Reply with quote

So, I don't know if I've done something wrong, but even with the earlier version of webkit-gtk I still get the same problem.
Code:
david@Kryten ~ $ cat /etc/portage/package.mask/webkit-gtk
>net-libs/webkit-gtk-2.44.4-r410
david@Kryten ~ $ emerge --search webkit-gtk
 
[ Results for search key : webkit-gtk ]
Searching...

*  net-libs/webkit-gtk
      Latest version available: 2.44.4-r410
      Latest version installed: 2.44.4-r410
      Size of files: 35,018 KiB
      Homepage:      https://www.webkitgtk.org
      Description:   Open source web browser engine
      License:       LGPL-2+ BSD

[ Applications found : 1 ]

david@Kryten ~ $ evolution

(evolution:21858): dbind-WARNING **: 22:43:39.753: Couldn't connect to accessibility bus: Failed to connect to socket /run/user/134/at-spi/bus_0: Permission denied

(evolution-alarm-notify:21867): dbind-WARNING **: 22:43:39.831: Couldn't connect to accessibility bus: Failed to connect to socket /run/user/134/at-spi/bus_0: Permission denied
bwrap: Can't find source path /run/user/134/at-spi: Permission denied

** (evolution:21858): ERROR **: 22:43:39.990: Failed to fully launch dbus-proxy: Child process exited with code 1
Trace/breakpoint trap


From the syslog:
Code:
Kryten /home/david # tail -n 100 /var/log/syslog | grep evolution
Jan 30 22:53:50 Kryten dbus-daemon[2286]: [session uid=1000 pid=2284 pidfd=4] Activating service name='org.gnome.evolution.dataserver.Sources5' requested by ':1.5' (uid=1000 pid=2379 comm="evolution")
Jan 30 22:53:50 Kryten dbus-daemon[2286]: [session uid=1000 pid=2284 pidfd=4] Activating service name='org.gnome.OnlineAccounts' requested by ':1.6' (uid=1000 pid=2386 comm="/usr/libexec/evolution-source-registry")
Jan 30 22:53:50 Kryten dbus-daemon[2286]: [session uid=1000 pid=2284 pidfd=4] Successfully activated service 'org.gnome.evolution.dataserver.Sources5'
Jan 30 22:53:50 Kryten dbus-daemon[2286]: [session uid=1000 pid=2284 pidfd=4] Activating service name='ca.desrt.dconf' requested by ':1.5' (uid=1000 pid=2379 comm="evolution")
Jan 30 22:53:50 Kryten dbus-daemon[2286]: [session uid=1000 pid=2284 pidfd=4] Activating service name='org.gnome.evolution.dataserver.Calendar8' requested by ':1.9' (uid=1000 pid=2407 comm="/usr/libexec/evolution-data-server/evolution-alarm")
Jan 30 22:53:50 Kryten dbus-daemon[2286]: [session uid=1000 pid=2284 pidfd=4] Successfully activated service 'org.gnome.evolution.dataserver.Calendar8'
Jan 30 22:53:50 Kryten dbus-daemon[2286]: [session uid=1000 pid=2284 pidfd=4] Activating service name='org.gnome.evolution.dataserver.AddressBook10' requested by ':1.10' (uid=1000 pid=2419 comm="/usr/libexec/evolution-calendar-factory")
Jan 30 22:53:50 Kryten dbus-daemon[2286]: [session uid=1000 pid=2284 pidfd=4] Activating service name='org.gtk.vfs.Metadata' requested by ':1.10' (uid=1000 pid=2419 comm="/usr/libexec/evolution-calendar-factory")
Jan 30 22:53:51 Kryten dbus-daemon[2286]: [session uid=1000 pid=2284 pidfd=4] Successfully activated service 'org.gnome.evolution.dataserver.AddressBook10'
Jan 30 22:53:51 Kryten kernel: traps: evolution[2379] trap int3 ip:7f4bc8202827 sp:7fffe10edf90 error:0 in libglib-2.0.so.0.8000.5[7f4bc81bb000+9e000]

_________________
What can be said at all can be said clearly and what we cannot talk about we must pass over in silence.
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1838
Location: PB, Germany

PostPosted: Fri Jan 31, 2025 9:20 am    Post subject: Reply with quote

Weird. Before doing an evolution restart, close it properly:
Code:
evolution --force-shutdown
Then check if there is any evolution process left:
Code:
pgrep -alf evolution
There should not be any, if properly closed. Killing is generally not required as the shutdown does it itself if the quit fails for several seconds. If not you could kill evolution yourself:
Code:
killall -r evolution*
For viewing and checking package states emerge app-portage/eix. My current webkit-gtk looks like
Code:
[U] net-libs/webkit-gtk
     Available versions: 
     (4)    2.44.4(4/37)^t 2.46.5(4/37)^t
     (4.1)  2.44.4-r410(4.1/0)^t 2.46.5-r410(4.1/0)^t
     (6)    2.44.4-r600(6/0)^t 2.46.5-r600(6/0)^t
       {X aqua avif examples gamepad +gstreamer +introspection jpegxl +jumbo-build keyring lcms pdf seccomp spell systemd wayland}
     Installed versions:  2.46.5-r410(4.1/0)^t(01:30:52 25.01.2025)(X gstreamer introspection jumbo-build lcms pdf seccomp spell wayland -aqua -avif -examples -gamepad -jpegxl -keyring -systemd)
     Homepage:            https://www.webkitgtk.org
     Description:         Open source web browser engine

For evolution you need to stay in slot 4.1 which is for Gtk3. The versioning thing is kind of a shenanigans…
Please check which webkit-gtk is loaded by evolution:
Code:
equery belongs "$(ldd /usr/bin/evolution |grep webkit | cut -d " " -f 3)"
That should switch from net-libs/webkit-gtk-2.46.5-r410 to net-libs/webkit-gtk-2.44.4-r410.

But I'm a bit lost too. I have built 2.46.5-r410 with debug symbols for debugging the other bug and now I can't reproduce neither of them, everything is working.
_________________
HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Back to top
View user's profile Send private message
Da51d
n00b
n00b


Joined: 27 Mar 2024
Posts: 42

PostPosted: Fri Jan 31, 2025 10:05 am    Post subject: Reply with quote

Code:
david@Kryten ~ $ evolution

(evolution:2764): dbind-WARNING **: 09:58:49.625: Couldn't connect to accessibility bus: Failed to connect to socket /run/user/134/at-spi/bus_0: Permission denied

(evolution-alarm-notify:2792): dbind-WARNING **: 09:58:49.741: Couldn't connect to accessibility bus: Failed to connect to socket /run/user/134/at-spi/bus_0: Permission denied
bwrap: Can't find source path /run/user/134/at-spi: Permission denied

** (evolution:2764): ERROR **: 09:58:49.942: Failed to fully launch dbus-proxy: Child process exited with code 1
Trace/breakpoint trap
david@Kryten ~ $ pgrep evolution
2771
2792
2804
2815
david@Kryten ~ $ kill -9 $(pgrep evolution)
david@Kryten ~ $ pgrep evolution
david@Kryten ~ $ evolution --force-shutdown
**
evolution:ERROR:/var/tmp/portage/mail-client/evolution-3.52.4-r2/work/evolution-3.52.4/src/shell/main.c:215:shell_force_shutdown: code should not be reached
Bail out! evolution:ERROR:/var/tmp/portage/mail-client/evolution-3.52.4-r2/work/evolution-3.52.4/src/shell/main.c:215:shell_force_shutdown: code should not be reached
Aborted
david@Kryten ~ $ emerge --search app-portage/eix
 
[ Results for search key : app-portage/eix ]
Searching...

*  app-portage/eix
      Latest version available: 0.36.9
      Latest version installed: 0.36.9
      Size of files: 628 KiB
      Homepage:      https://github.com/vaeth/eix/
      Description:   Search and query ebuilds
      License:       GPL-2

[ Applications found : 1 ]

david@Kryten ~ $ equery belongs "$(ldd /usr/bin/evolution |grep webkit | cut -d " " -f 3)"
bash: equery: command not found
david@Kryten ~ $ su
Password:
Kryten /home/david # equery belongs "$(ldd /usr/bin/evolution |grep webkit | cut -d " " -f 3)"
bash: equery: command not found
Kryten /home/david #
exit
david@Kryten ~ $ evolution

(evolution:2978): dbind-WARNING **: 10:04:20.105: Couldn't connect to accessibility bus: Failed to connect to socket /run/user/134/at-spi/bus_0: Permission denied

(evolution-alarm-notify:2995): dbind-WARNING **: 10:04:20.196: Couldn't connect to accessibility bus: Failed to connect to socket /run/user/134/at-spi/bus_0: Permission denied
bwrap: Can't find source path /run/user/134/at-spi: Permission denied

** (evolution:2978): ERROR **: 10:04:20.338: Failed to fully launch dbus-proxy: Child process exited with code 1
Trace/breakpoint trap

_________________
What can be said at all can be said clearly and what we cannot talk about we must pass over in silence.
Back to top
View user's profile Send private message
Da51d
n00b
n00b


Joined: 27 Mar 2024
Posts: 42

PostPosted: Fri Jan 31, 2025 10:23 am    Post subject: Reply with quote

OK, needed to emerge gentoolkit

Code:
Kryten /home/david # equery belongs "$(ldd /usr/bin/evolution |grep webkit | cut -d " " -f 3)"
 * Searching for /usr/lib64/libwebkit2gtk-4.1.so.0 ...
net-libs/webkit-gtk-2.44.4-r410 (/usr/lib64/libwebkit2gtk-4.1.so.0.13.8)
net-libs/webkit-gtk-2.44.4-r410 (/usr/lib64/libwebkit2gtk-4.1.so.0 -> libwebkit2gtk-4.1.so.0.13.8)

_________________
What can be said at all can be said clearly and what we cannot talk about we must pass over in silence.
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1838
Location: PB, Germany

PostPosted: Fri Jan 31, 2025 10:28 am    Post subject: Reply with quote

Always try the --force-shutdown before kill as it better knows to shutdown in the right order. And always try kill before kill -9 because kill -9 should be the absolute exception, just like you always prefer to shutdown your machine before just switching off power supply.
Code:
grep lightdm /etc/passwd
I guess that id is still the user ID from lightdm? I'm lost, out of ideas...
_________________
HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Back to top
View user's profile Send private message
Da51d
n00b
n00b


Joined: 27 Mar 2024
Posts: 42

PostPosted: Fri Jan 31, 2025 10:40 am    Post subject: Reply with quote

Yes 134 is still lightdm. Thanks for all your efforts. Should I file a bug report? I've not done that before, so it will be an opportunity to learn a new trick.
_________________
What can be said at all can be said clearly and what we cannot talk about we must pass over in silence.
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1838
Location: PB, Germany

PostPosted: Fri Jan 31, 2025 12:17 pm    Post subject: Reply with quote

I would say yes. You can reference this discussion for more details. An upstream bug would be more useful, but that needs to be exactly reproducible. For the other bug I was going to file a bug report to https://bugs.webkit.org/ but then after building the debug symbols I was not able to reproduce anymore.
_________________
HP ZBook Power 15.6" G8 i7-11800H|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Back to top
View user's profile Send private message
dumi
n00b
n00b


Joined: 17 Mar 2004
Posts: 20
Location: Czech Republic

PostPosted: Fri Jan 31, 2025 2:29 pm    Post subject: Reply with quote

Hi i have the same problem. But my path to socket is different: /run/user/0/at-spi/bus_0:

id 0 is user root, maybe it is related to which user runs X?

i can fix problem by setting permission on that socket

if i set o+rx on /run/user/0/ and /run/user/0/at-spi, socket has 777 already, then evolution starts and work fine. But it is very annoying and maybe security problem...


i have to different computers and after upgrade (lots of packages) on both is same error. I think it's not a coincidence.

I you need more info from my system, please write what i can do to test it.
_________________
Software is like sex.
It's better when it's free.
Back to top
View user's profile Send private message
Da51d
n00b
n00b


Joined: 27 Mar 2024
Posts: 42

PostPosted: Sat Feb 01, 2025 9:36 am    Post subject: Reply with quote

OK I will try to get this report done today or tomorrow, and I'll reference this thread. I'll come back here with any further news/progress. Thanks for your help both.
_________________
What can be said at all can be said clearly and what we cannot talk about we must pass over in silence.
Back to top
View user's profile Send private message
Da51d
n00b
n00b


Joined: 27 Mar 2024
Posts: 42

PostPosted: Sun Feb 02, 2025 8:47 pm    Post subject: Reply with quote

You're not going to believe this. I unmerged it and then re-emerged it along with the latest verson of webkit-gtk in order to generate a build log. And now it just works. No errors at all. I can't file a bug report, because I can no longer find anything to report. Before reemerging, I did an update, but there was nothing to update.
_________________
What can be said at all can be said clearly and what we cannot talk about we must pass over in silence.
Back to top
View user's profile Send private message
Da51d
n00b
n00b


Joined: 27 Mar 2024
Posts: 42

PostPosted: Sun Feb 02, 2025 10:36 pm    Post subject: Reply with quote

And now I have rebooted and it has stopped working...I can now file a bug report.
_________________
What can be said at all can be said clearly and what we cannot talk about we must pass over in silence.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum