Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 886485 - mail-client/evolution-3.46.2 hangs forever after printing out error message 'bwrap: Can't find source path /run/user/1000/at-spi: No such file or directory'
Summary: mail-client/evolution-3.46.2 hangs forever after printing out error message '...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-17 19:16 UTC by Alex Buell
Modified: 2023-05-29 21:57 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
strace with file traces when gives symlink error on /var/run (evolution-strace-log.txt,642.80 KB, text/plain)
2022-12-17 20:51 UTC, Quentin Retornaz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Buell 2022-12-17 19:16:33 UTC
Starting up Evolution after upgrading gives this error:

$ evolution 
bwrap: Can't find source path /run/user/1000/at-spi: No such file or directory

And hangs forever
Comment 1 Alex Buell 2022-12-17 19:17:07 UTC
Portage 3.0.41 (python 3.10.9-final-0, default/linux/amd64/17.1/desktop/gnome, gcc-11, glibc-2.36-r5, 6.0.1-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-6.0.1-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i5-9300H_CPU_@_2.40GHz-with-glibc2.36
KiB Mem:    32706888 total,  16775864 free
KiB Swap:    2097148 total,   2093820 free
Timestamp of repository gentoo: Sat, 17 Dec 2022 17:00:01 +0000
Head commit of repository gentoo: 48ec3b8115eca5ecf31d0e539c74e083ec1d6791
sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.38 p4) 2.38
distcc 3.4 x86_64-pc-linux-gnu [disabled]
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.1-r4::gentoo
dev-lang/python:           2.7.18_p16::gentoo, 3.9.13::gentoo, 3.10.9::gentoo, 3.11.1::gentoo
dev-lang/rust:             1.65.0::gentoo
dev-util/cmake:            3.24.3::gentoo
dev-util/meson:            0.63.3::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/openrc:           0.45.2-r2::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.69-r5::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           15.0.5::gentoo
sys-devel/gcc:             11.3.1_p20221209::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             15.0.5::gentoo
sys-devel/llvm:            15.0.5::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

The-Buell
    location: /var/lib/layman/thebuell
    masters: gentoo
    priority: 0

rion
    location: /var/lib/layman/rion
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=skylake -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=skylake -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=skylake -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=skylake -O2 -pipe"
GENTOO_MIRRORS="https://mirror.bytemark.co.uk/gentoo/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB"
MAKEOPTS="-j9"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli colord crypt cups dbus declarative drafts dri dts dvd dvdr eds elogind encode evo exif flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gui harfbuzz iconv icu inspector introspection ipv6 jpeg lcms libglvnd libnotify libsecret libtirpc lm-sensors mad minizip mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls nptl objc objc++ ogg opengl openmp pam pango pcre pdf png policykit postproc ppds pulseaudio qt5 readline sasl screencast sdl seccomp spell split-usr ssl startup-notification svg sysprof test-rust theora tiff tracker truetype udev udisks unicode upower usb vala vorbis vpx wayland webkit widgets wxwidgets x264 xattr xcb xml xv xvid xwayland zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="intel nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 2 Alex Buell 2022-12-17 20:15:44 UTC
I have tried reverting to Evolution 3.44.4 but that ends with an compiler error as something it depends on in Gnome no longer exists.
Comment 3 Quentin Retornaz 2022-12-17 20:51:52 UTC
Created attachment 843245 [details]
strace with file traces when gives symlink error on /var/run

Hello,
On my side, I’m getting the following error:
bwrap: Can't make symlink at /var/run: File exists
I’m attaching strace log for only file traces.
Comment 4 Alex Buell 2022-12-17 21:05:04 UTC
I have managed to successfully revert back to 3.44 - I had to downgrade some other gnome programs/libraries. 

# more /etc/portage/package.mask/evolution 
>gnome-extra/evolution-data-server-3.46
>mail-client/evolution-3.46
>dev-libs/libgweather-4.2
>gnome-extra/gnome-calendar-43
>gnome-base/gnome-settings-daemon-43
>gnome-base/gnome-desktop-43
>gnome-base/nautilus-43
Comment 5 Alex Buell 2022-12-17 21:05:31 UTC
(In reply to Quentin Retornaz from comment #3)
> Created attachment 843245 [details]
> strace with file traces when gives symlink error on /var/run
> 
> Hello,
> On my side, I’m getting the following error:
> bwrap: Can't make symlink at /var/run: File exists
> I’m attaching strace log for only file traces.

Does evolution hang forever after that?
Comment 6 Quentin Retornaz 2022-12-17 21:38:40 UTC
(In reply to Alex Buell from comment #5)
> (In reply to Quentin Retornaz from comment #3)
> > Created attachment 843245 [details]
> > strace with file traces when gives symlink error on /var/run
> > 
> > Hello,
> > On my side, I’m getting the following error:
> > bwrap: Can't make symlink at /var/run: File exists
> > I’m attaching strace log for only file traces.
> 
> Does evolution hang forever after that?

It does
Comment 7 Quentin Retornaz 2022-12-18 01:22:35 UTC
can anyone give what uses are set for mail-client/evolution and gnome-extra/evolution-data-server to see if it can affect it?

mine are :
mail-client/evolution: archive bogofilter highlight spamassassin ssl ytnef -geolocation -gtk-doc -ldap -spell -weather
gnome-extra/evolution-data-server: gtk introspection ipv6 -berkdb -gnome-online-accounts -gtk-doc -kerberos -ldap -oauth -test -vala -weather
Comment 8 Alex Buell 2022-12-18 12:54:20 UTC
(In reply to Quentin Retornaz from comment #7)
> can anyone give what uses are set for mail-client/evolution and
> gnome-extra/evolution-data-server to see if it can affect it?
> 
> mine are :
> mail-client/evolution: archive bogofilter highlight spamassassin ssl ytnef
> -geolocation -gtk-doc -ldap -spell -weather
> gnome-extra/evolution-data-server: gtk introspection ipv6 -berkdb
> -gnome-online-accounts -gtk-doc -kerberos -ldap -oauth -test -vala -weather

Mine's

gnome-extra/evolution-data-server USE="gnome-online-accounts gtk introspection ipv6 vala weather -berkdb -gtk-doc -kerberos -ldap -oauth -test" 
mail-client/evolution  USE="bogofilter spell ssl weather -archive -geolocation -gtk-doc -highlight -ldap -spamassassin -ytnef"
Comment 9 Mart Raudsepp gentoo-dev 2022-12-19 22:52:25 UTC
Does it work if you run

/usr/libexec/at-spi-bus-launcher --launch-immediately

before launching evolution (from same terminal, to be sure)?
Comment 10 Alex Buell 2022-12-21 00:29:26 UTC
(In reply to Mart Raudsepp from comment #9)
> Does it work if you run
> 
> /usr/libexec/at-spi-bus-launcher --launch-immediately
> 
> before launching evolution (from same terminal, to be sure)?

Sorry for the delay, I needed to disable my package masks and rebuild Evolution and its dependencies before I could re-test.

I can now confirm that command is definitely needed before starting Evolution, otherwise it just hangs forever. 

IMHO this should be fixed to auto launch if not already running.
Comment 11 Mart Raudsepp gentoo-dev 2022-12-21 07:52:59 UTC
It shouldn't be needed, but might give clues what's going on there then.
Evolution works fine for me, but I don't have /run/user/${USER_ID}/at-spi, for example.
I assume the command I gave to run before makes you end up having that directory in your case?
Comment 12 Mart Raudsepp gentoo-dev 2022-12-21 08:15:30 UTC
To clarify on what I said about my system (in lack of an edit button here): I haven't upgraded to the 3.46 version yet (though I think the issue would be somewhere else) and at-spi is handled by a systemd user service for me - it's running, but without a directory in the given runpath. The service itself is also conditional and I believe wouldn't be running if I didn't have a semi-a11y thing enabled in GNOME settings (highlight mouse cursor position on ctrl key that use during screen sharing sometimes)
Comment 13 Alex Buell 2022-12-21 13:02:35 UTC
(In reply to Mart Raudsepp from comment #12)
> To clarify on what I said about my system (in lack of an edit button here):
> I haven't upgraded to the 3.46 version yet (though I think the issue would
> be somewhere else) and at-spi is handled by a systemd user service for me -
> it's running, but without a directory in the given runpath. The service
> itself is also conditional and I believe wouldn't be running if I didn't
> have a semi-a11y thing enabled in GNOME settings (highlight mouse cursor
> position on ctrl key that use during screen sharing sometimes)

I don't use systemd, perhaps that's why the issue arose.
Comment 14 Volker Wegert 2023-05-29 18:37:00 UTC
I'm seeing the same issue, also not a systemd user.
Comment 15 Alex Buell 2023-05-29 21:57:13 UTC
(In reply to Volker Wegert from comment #14)
> I'm seeing the same issue, also not a systemd user.

Workaround at the moment is to forcibly launch the at-spi-bus-launcher daemon.

[b]
$ more bin/evolution.sh 
/usr/libexec/at-spi-bus-launcher --launch-immediately&
evolution&
[/b]

HTH.