Hi, Since several updates now, thunderbird-bin freezes every day, at least once, when I compose a new message. Some times I can copy/paste to a new thunderbird compose window after a "killall thunderbird-bin", and a few times, I have to take a screenshot. Any new update didn't correct this bug. # emerge --info Portage 3.0.51 (python 3.11.5-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-13, glibc-2.37-r7, 4.19.296-x86_64 x86_64) ================================================================= System uname: Linux-4.19.296-x86_64-x86_64-Intel-R-_Pentium-R-_CPU_G2030_@_3.00GHz-with-glibc2.37 KiB Mem: 16356912 total, 6165444 free KiB Swap: 10485756 total, 10485756 free Timestamp of repository gentoo: Thu, 26 Oct 2023 10:00:01 +0000 Head commit of repository gentoo: 9190ac39bf0347a2eea818cbea7590b1160133ba sh bash 5.1_p16-r6 ld GNU ld (Gentoo 2.40 p5) 2.40.0 app-misc/pax-utils: 1.3.5::gentoo app-shells/bash: 5.1_p16-r6::gentoo dev-lang/perl: 5.38.0-r1::gentoo dev-lang/python: 3.10.13::gentoo, 3.11.5::gentoo dev-lang/rust: 1.71.1::gentoo dev-util/cmake: 3.26.5-r2::gentoo dev-util/meson: 1.2.1-r1::gentoo sys-apps/baselayout: 2.14::gentoo sys-apps/openrc: 0.48::gentoo sys-apps/sandbox: 2.38::gentoo sys-devel/autoconf: 2.71-r6::gentoo sys-devel/automake: 1.16.5-r1::gentoo sys-devel/binutils: 2.40-r5::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 16.0.6::gentoo sys-devel/gcc: 13.2.1_p20230826::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/libtool: 2.4.7-r1::gentoo sys-devel/llvm: 16.0.6::gentoo sys-devel/make: 4.4.1-r1::gentoo sys-kernel/linux-headers: 6.1::gentoo (virtual/os-headers) sys-libs/glibc: 2.37-r7::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: False sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes MyLocalOverlay location: /var/db/repos/MyLocalOverlay masters: gentoo volatile: False crossdev-armv7a location: /var/db/repos/localrepo-crossdev-armv7a masters: gentoo priority: 10 volatile: False ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=ivybridge -mno-avx -mno-aes -mno-rdrnd -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=ivybridge -mno-avx -mno-aes -mno-rdrnd -O2 -pipe" DISTDIR="/var/cache/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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=ivybridge -mno-avx -mno-aes -mno-rdrnd -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 parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=ivybridge -mno-avx -mno-aes -mno-rdrnd -O2 -pipe" GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://ftp.free.fr/mirrors/ftp.gentoo.org/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/" LANG="fr_FR.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" MAKEOPTS="-j2" 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 activities alsa amd64 anthy bash-completion berkdb branding bzip2 cairo cdda cdr cli cpudetection crypt cups dbus declarative dri dts dvd dvdr elogind emboss encode exif fbcon ffmpeg flac fortran gdbm gif gpm gtk gui h224 h281 h323 ibus iconv icu ipv6 jpeg kde kipi kwallet lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg mpi multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf phonon pipewire plasma png policykit ppds pulseaudio qml qt5 readline screencast sdl seccomp semantic-desktop sip sound spell split-usr srtp ssl startup-notification svg tcpd test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xinerama xml xv xvid 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="mmx mmxext sse sse2" 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" INPUT_DEVICES="libinput" KERNEL="linux" L10N="fr en" 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="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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, LFLAGS, LIBTOOL, LINGUAS, 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
I wonder if this is the same problem I've had in Firefox for a few months now, where the entire browser will freeze sometimes while typing in a textarea. Usually the window is completely unresponsive and I have to kill it, sometimes it can be closed normally (even though it already stopped redrawing at that point). I haven't been able to narrow down the cause beyond "an editable textarea is in focus" but I'm beginning to suspect it may be related to ibus.
Hmm no immediate ideas either. I wonder if you're using wayland and/or nvidia? https://bugzilla.mozilla.org/show_bug.cgi?id=1843541 this is probably the closest upstream bug I found (there are some more with "wayland freeze"), but unfortunately no solution yet.
(In reply to Joonas Niilola from comment #2) > Hmm no immediate ideas either. I wonder if you're using wayland and/or > nvidia? Oh, I'm the total opposite of that. My desktop's been plain old boring OpenBox(+picom) for as long as I can remember and I'm using amdgpu. Have only been using ibus for a few years, but these problems are localised to Mozilla software and began much more recently. The age of the upstream bug does seem to be in the ballpark of when this started happening, I'll see if I can remember to gdb it next time it happens.
(In reply to Enne Eziarc from comment #1) > I wonder if this is the same problem I've had in Firefox for a few months > now, where the entire browser will freeze sometimes while typing in a > textarea. Usually the window is completely unresponsive and I have to kill > it, sometimes it can be closed normally (even though it already stopped > redrawing at that point). > > I haven't been able to narrow down the cause beyond "an editable textarea is > in focus" but I'm beginning to suspect it may be related to ibus. It actually happened while responding to this very message 5min ago. I had to kill firefox.
For Firefox issues, are there differences with 115esr and 119rapid? https://bugzilla.mozilla.org/show_bug.cgi?id=1861615 might hopefully resolve it, if related.
(In reply to Joonas Niilola from comment #5) > For Firefox issues, are there differences with 115esr and 119rapid? > > https://bugzilla.mozilla.org/show_bug.cgi?id=1861615 might hopefully resolve > it, if related. firefox-bin, 119.0-r1, is installed (rapid). I haven't tried 115.4.0. Since the bug doesn't happen that often in the case of firefox, unsure if I'll be able to see something soon unfortunately. But the issue doesn't say anything about previous affected versions. And I already had firefox freeze, from time to time (yet can't remember details when, etc.)
Created attachment 873559 [details] gdb backtrace Got a GDB dump of the top level process freezing just now. There's a few missing symbols, but it has enough in common with the upstream bug to confirm this is in fact the same thing. I notice the root of the backtrace isn't ibus itself, but GLib. Given the timing of all this, could it be fallout from when GLib decided earlier this year to break everything downstream of them?
Which versions of dev-libs/glib and app-i18n/ibus do you each have?
(In reply to Sam James from comment #8) I've got app-i18n/ibus-1.5.28-r1 and dev-libs/glib-2.76.4. Most of my system is ~arch *except* for glib, iirc because I'd previously dropped to stable after 2.76.0 happened.
(In reply to Sam James from comment #8) > Which versions of dev-libs/glib and app-i18n/ibus do you each have? dev-libs/glib 2.76.4 and app-i18n/ibus 1.5.27
According to that upstream bug this should have been fixed in Firefox 120.0 which is out now. Since it's basically impossible to reproduce on command, only time will tell, but I'm hopeful.
(In reply to Enne Eziarc from comment #11) > According to that upstream bug this should have been fixed in Firefox 120.0 > which is out now. Unfortunately, it's happened a few times since then. The last thing I can think to try at this point is to resume using ~arch dev-libs/glib - I should be safe now that bug 901805 has calmed down a bit. If that fixes it I'll try to remember to report back in, say, 2 weeks. Fingers crossed...
Still present in 115.5.1, happened a few minutes ago.
(In reply to yves.caniou from comment #13) > Still present in 115.5.1, happened a few minutes ago. And still present in 115.6.1.
Belated ping: with current versions (firefox-122.0, ibus-1.5.29, glib-2.78.4-r1), I haven't been seeing this hang at all in the last few weeks. Can't speak for thunderbird users, but it feels like one variant of the problem has gone away at least.
(In reply to Enne Eziarc from comment #15) > Belated ping: with current versions (firefox-122.0, ibus-1.5.29, > glib-2.78.4-r1), I haven't been seeing this hang at all in the last few > weeks. Can't speak for thunderbird users, but it feels like one variant of > the problem has gone away at least. mail-client/thunderbird-bin 115.7.0 did it again some minutes ago: it seems related to saving the mail currently written in the draft folder. After, keypresses were not taken into account, or after some moment, and Thunderbird can still be accessed with the mouse, but retained keypresses can then launch some action since the focus is not in the redaction window.
(In reply to Enne Eziarc from comment #15) > Belated ping: with current versions (firefox-122.0, ibus-1.5.29, > glib-2.78.4-r1), I haven't been seeing this hang at all in the last few > weeks. Can't speak for thunderbird users, but it feels like one variant of > the problem has gone away at least. Firefox-bin 123.0 just freezed while filling a field in a framadate similar apps. :/
I don't know if this is the same issue or it is unrelated. Thunderbird regularly becomes unresponsive here. This is not tied to any particular action. It takes a few seconds and then becomes responsive again. However it happens so often that it is barely usable. This is for thunderbird-128.3.1. No such problems with firefox-128.3.1.
If it happens with the -bin version, you should file a bug upstream. There's not much if anything that can be done from the ebuild level. I do wonder if it's WM/DE related though, or wayland/X related? Does switching help? Should be easy to test if it's easy to constantly reproduce.
(In reply to Joonas Niilola from comment #19) > If it happens with the -bin version, you should file a bug upstream. There's > not much if anything that can be done from the ebuild level. I am not using the -bin version. > I do wonder if it's WM/DE related though, or wayland/X related? Does > switching help? Should be easy to test if it's easy to constantly reproduce. I am using XFCE and X. However I think I know now what was/is causing the issue. Thunderbird now has native CalDAV/CardDAV support which previously was provided by the DAV-4-TbSync Add-On. I guess something went wrong with the migration. After deleting and configuring up all calendars and address books again it is way better now. It is still a bit laggy from time to time, probably when doing an address book or calendar sync.
(In reply to Daniel Pielmeier from comment #20) > > I am using XFCE and X. However I think I know now what was/is causing the > issue. Thunderbird now has native CalDAV/CardDAV support which previously > was provided by the DAV-4-TbSync Add-On. I guess something went wrong with > the migration. After deleting and configuring up all calendars and address > books again it is way better now. It is still a bit laggy from time to time, > probably when doing an address book or calendar sync. Yours is most likely https://bugzilla.mozilla.org/show_bug.cgi?id=1543953 - please follow that. I'm closing this one as the symptoms described originally are most likely fixed upstream. Please open new bugs if not, and remember that if the -bin version isn't working it's most likely good to report directly to upstream.