Balsa git master consumes 100% CPU



Hi all,

since the latest updates of master I observe that Balsa /sometimes/ after startup consumes 100% CPU, and does 
show nothing in the open mailbox tabs.  I could reproduce the issue in gdb (see below); the thread consuming the 
100% CPU load is the main one (thread 1).  It is still possible to regularly terminate Balsa by clicking the 
main window close button (but File -> Quit does nothing).  I *think* this error was introduced last Sunday 
(Jan. 12, 2020), maybe with commit  e556a72068b2f9eb4acf0d56cf33f3eaedc0a522?

Any idea what is happening here?

Cheers, Albrecht.

Here the gdb output:

Thread 1 "balsa" received signal SIGINT, Interrupt.
0x00007ffff0b72567 in __libc_recvmsg (fd=8, msg=0x7fffffffe080, flags=0) at 
../sysdeps/unix/sysv/linux/recvmsg.c:28
28      ../sysdeps/unix/sysv/linux/recvmsg.c: Datei oder Verzeichnis nicht gefunden.
(gdb) info threads
  Id   Target Id         Frame
* 1    Thread 0x7ffff7f7aac0 (LWP 31856) "balsa" 0x00007ffff0b72567 in __libc_recvmsg (fd=8, 
msg=0x7fffffffe080, flags=0) at ../sysdeps/unix/sysv/linux/recvmsg.c:28
  2    Thread 0x7fffdbaab700 (LWP 31860) "gmain" 0x00007ffff0883bf9 in __GI___poll (fds=0x5555558dfc00, 
nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
  3    Thread 0x7fffdb2aa700 (LWP 31861) "gdbus" 0x00007ffff0883bf9 in __GI___poll (fds=0x5555558eb9d0, 
nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
  4    Thread 0x7fffda638700 (LWP 31873) "pool" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  5    Thread 0x7fffd92ac700 (LWP 31874) "dconf worker" 0x00007ffff0883bf9 in __GI___poll 
(fds=0x555555bb19a0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
(gdb) bt
#0  0x00007ffff0b72567 in __libc_recvmsg (fd=8, msg=0x7fffffffe080, flags=0) at 
../sysdeps/unix/sysv/linux/recvmsg.c:28
#1  0x00007fffe3f9b888 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fffe3f9c270 in xcb_poll_for_reply64 () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fffe8b7fed9 in  () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#4  0x00007fffe8b8020d in _XEventsQueued () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#5  0x00007fffe8b71d3d in XPending () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#6  0x00007ffff22de09e in  () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#7  0x00007ffff101cb28 in g_main_context_prepare () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007ffff101d4fb in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007ffff101d6dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ffff15dee3d in g_application_run () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#11 0x0000555555587011 in main (argc=1, argv=0x7fffffffe4a8) at main.c:823
(gdb) thread 2
[Switching to thread 2 (Thread 0x7fffdbaab700 (LWP 31860))]
#0  0x00007ffff0883bf9 in __GI___poll (fds=0x5555558dfc00, nfds=2, timeout=-1) at 
../sysdeps/unix/sysv/linux/poll.c:29
29      ../sysdeps/unix/sysv/linux/poll.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0  0x00007ffff0883bf9 in __GI___poll (fds=0x5555558dfc00, nfds=2, timeout=-1) at 
../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff101d5c9 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff101d6dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff101d721 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff1045195 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff0b676db in start_thread (arg=0x7fffdbaab700) at pthread_create.c:463
#6  0x00007ffff089088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) thread 3
[Switching to thread 3 (Thread 0x7fffdb2aa700 (LWP 31861))]
#0  0x00007ffff0883bf9 in __GI___poll (fds=0x5555558eb9d0, nfds=3, timeout=-1) at 
../sysdeps/unix/sysv/linux/poll.c:29
29      in ../sysdeps/unix/sysv/linux/poll.c
(gdb) bt
#0  0x00007ffff0883bf9 in __GI___poll (fds=0x5555558eb9d0, nfds=3, timeout=-1) at 
../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff101d5c9 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff101d962 in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff160b0e6 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007ffff1045195 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff0b676db in start_thread (arg=0x7fffdb2aa700) at pthread_create.c:463
#6  0x00007ffff089088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) thread 4
[Switching to thread 4 (Thread 0x7fffda638700 (LWP 31873))]
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
38      ../sysdeps/unix/sysv/linux/x86_64/syscall.S: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0  0x00007ffff088a839 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff106389a in g_cond_wait_until () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff0ff0571 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff0ff0b2c in g_async_queue_timeout_pop () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ffff1045c3e in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff1045195 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007ffff0b676db in start_thread (arg=0x7fffda638700) at pthread_create.c:463
#7  0x00007ffff089088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) thread 5
[Switching to thread 5 (Thread 0x7fffd92ac700 (LWP 31874))]
#0  0x00007ffff0883bf9 in __GI___poll (fds=0x555555bb19a0, nfds=1, timeout=-1) at 
../sysdeps/unix/sysv/linux/poll.c:29
29      ../sysdeps/unix/sysv/linux/poll.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0  0x00007ffff0883bf9 in __GI___poll (fds=0x555555bb19a0, nfds=1, timeout=-1) at 
../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff101d5c9 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff101d6dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fffd92b436d in  () at /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007ffff1045195 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ffff0b676db in start_thread (arg=0x7fffd92ac700) at pthread_create.c:463
#6  0x00007ffff089088f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) cont

Attachment: pgp2Ukf0FSHTX.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]