Bug 469719 - Juk takes ~5 minutes to open and then freezes
Summary: Juk takes ~5 minutes to open and then freezes
Status: RESOLVED WORKSFORME
Alias: None
Product: juk
Classification: Applications
Component: general (show other bugs)
Version: 23.04.1
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Scott Wheeler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-13 21:39 UTC by Patrick Silva
Modified: 2024-02-29 14:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2023-05-13 21:39:09 UTC
SUMMARY
After double-click on Juk icon, Juk takes ~5 minutes to show up on the screen and then freezes saying "Not rresponding..." in its window decoration. I can't reproduce this bug when using another user account.

EXPECTED RESULT
Juk should be usable

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Graphics Platform: Wayland


backtrace of frozen Juk:


Thread 10 (Thread 0x7fffe2ffd6c0 (LWP 91676) "Qt bearer threa"):
#0  0x00007ffff5913c0f in __GI___poll (fds=0x7fffcc0013f0, nfds=1, timeout=9993) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff436c17f in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fffcc0013f0, timeout=<optimized out>, context=0x7fffcc000c30) at ../glib/glib/gmain.c:4584
#2  g_main_context_iterate.constprop.0 (context=0x7fffcc000c30, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4271
#3  0x00007ffff430e1a2 in g_main_context_iteration (context=0x7fffcc000c30, may_block=1) at ../glib/glib/gmain.c:4343
#4  0x00007ffff60d8d3c in QEventDispatcherGlib::processEvents (this=0x7fffcc000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007ffff608668c in QEventLoop::exec (this=0x7fffe2ffcac0, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007ffff5ee771f in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007ffff5ee424a in operator() (__closure=<optimized out>) at thread/qthread_unix.cpp:350
#8  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at thread/qthread_unix.cpp:287
#9  QThreadPrivate::start (arg=0x555555b36150) at thread/qthread_unix.cpp:310
#10 0x00007ffff589d44b in start_thread (arg=<optimized out>) at pthread_create.c:444
#11 0x00007ffff5920e40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 9 (Thread 0x7fffe37fe6c0 (LWP 91675) "threaded-ml"):
#0  0x00007ffff5913c0f in __GI___poll (fds=fds@entry=0x7fffc8005340, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff57f48c7 in poll (__timeout=-1, __nfds=2, __fds=0x7fffc8005340) at /usr/include/bits/poll2.h:39
#2  poll_func (ufds=0x7fffc8005340, nfds=2, timeout=-1, userdata=0x555555912270) at ../pulseaudio/src/pulse/thread-mainloop.c:70
#3  0x00007ffff57de46c in pa_mainloop_poll (m=m@entry=0x555555910ff0) at ../pulseaudio/src/pulse/mainloop.c:863
#4  0x00007ffff57e842c in pa_mainloop_iterate (m=m@entry=0x555555910ff0, block=block@entry=1, retval=retval@entry=0x0) at ../pulseaudio/src/pulse/mainloop.c:945
#5  0x00007ffff57e84e1 in pa_mainloop_run (m=0x555555910ff0, retval=0x0) at ../pulseaudio/src/pulse/mainloop.c:963
#6  0x00007ffff57f8c02 in thread (userdata=0x5555559122e0) at ../pulseaudio/src/pulse/thread-mainloop.c:101
#7  0x00007ffff4701c67 in internal_thread_func (userdata=0x555555910760) at ../pulseaudio/src/pulsecore/thread-posix.c:81
#8  0x00007ffff589d44b in start_thread (arg=<optimized out>) at pthread_create.c:444
#9  0x00007ffff5920e40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 5 (Thread 0x7fffe3fff6c0 (LWP 91671) "juk:disk$0"):
#0  0x00007ffff5899f0e in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55555578a198) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x55555578a198, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007ffff5899f8f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55555578a198, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007ffff589c7a0 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55555578a148, cond=0x55555578a170) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x55555578a170, mutex=0x55555578a148) at pthread_cond_wait.c:618
#5  0x00007fffe84c256c in cnd_wait () at ../mesa-23.0.3/src/c11/impl/threads_posix.c:135
#6  util_queue_thread_func () at ../mesa-23.0.3/src/util/u_queue.c:290
#7  0x00007fffe850b98c in impl_thrd_routine () at ../mesa-23.0.3/src/c11/impl/threads_posix.c:67
#8  0x00007ffff589d44b in start_thread (arg=<optimized out>) at pthread_create.c:444
#9  0x00007ffff5920e40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7fffeabfe6c0 (LWP 91642) "WaylandEventThr"):
#0  0x00007ffff5913c0f in __GI___poll (fds=fds@entry=0x7fffeabfdab0, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff41d7d2d in poll (__timeout=-1, __nfds=2, __fds=0x7fffeabfdab0) at /usr/include/bits/poll2.h:39
#2  QtWaylandClient::EventThread::run (this=0x5555556e4610) at /usr/src/debug/qt5-wayland/qtwayland/src/client/qwaylanddisplay.cpp:210
#3  0x00007ffff5ee424a in operator() (__closure=<optimized out>) at thread/qthread_unix.cpp:350
#4  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at thread/qthread_unix.cpp:287
#5  QThreadPrivate::start (arg=0x5555556e4610) at thread/qthread_unix.cpp:310
#6  0x00007ffff589d44b in start_thread (arg=<optimized out>) at pthread_create.c:444
#7  0x00007ffff5920e40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7fffeb3ff6c0 (LWP 91641) "WaylandEventThr"):
#0  0x00007ffff5899f0e in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x5555556e1420) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x5555556e1420, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007ffff5899f8f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x5555556e1420, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007ffff589c7a0 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x5555556e13d0, cond=0x5555556e13f8) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x5555556e13f8, mutex=0x5555556e13d0) at pthread_cond_wait.c:618
#5  0x00007ffff5eeb6f4 in QWaitConditionPrivate::wait (deadline=..., this=0x5555556e13d0) at thread/qwaitcondition_unix.cpp:146
#6  QWaitCondition::wait (this=this@entry=0x5555556e0940, mutex=mutex@entry=0x5555556e0938, deadline=...) at thread/qwaitcondition_unix.cpp:225
#7  0x00007ffff41d7cd4 in QtWaylandClient::EventThread::waitForReading (this=0x5555556e0900) at /usr/src/debug/qt5-wayland/qtwayland/src/client/qwaylanddisplay.cpp:244
#8  QtWaylandClient::EventThread::run (this=0x5555556e0900) at /usr/src/debug/qt5-wayland/qtwayland/src/client/qwaylanddisplay.cpp:208
#9  0x00007ffff5ee424a in operator() (__closure=<optimized out>) at thread/qthread_unix.cpp:350
#10 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at thread/qthread_unix.cpp:287
#11 QThreadPrivate::start (arg=0x5555556e0900) at thread/qthread_unix.cpp:310
#12 0x00007ffff589d44b in start_thread (arg=<optimized out>) at pthread_create.c:444
#13 0x00007ffff5920e40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7ffff0fff6c0 (LWP 91640) "QDBusConnection"):
#0  0x00007ffff5913c0f in __GI___poll (fds=0x7fffec001600, nfds=3, timeout=299896) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff436c17f in g_main_context_poll (priority=<optimized out>, n_fds=3, fds=0x7fffec001600, timeout=<optimized out>, context=0x7fffec000c50) at ../glib/glib/gmain.c:4584
#2  g_main_context_iterate.constprop.0 (context=0x7fffec000c50, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4271
#3  0x00007ffff430e1a2 in g_main_context_iteration (context=0x7fffec000c50, may_block=1) at ../glib/glib/gmain.c:4343
#4  0x00007ffff60d8d3c in QEventDispatcherGlib::processEvents (this=0x7fffec000b70, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007ffff608668c in QEventLoop::exec (this=0x7ffff0ffea90, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007ffff5ee771f in QThread::exec (this=this@entry=0x7ffff734a560 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007ffff72eecba in QDBusConnectionManager::run (this=0x7ffff734a560 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /usr/src/debug/qt5-base/qtbase/src/dbus/qdbusconnection.cpp:179
#8  0x00007ffff5ee424a in operator() (__closure=<optimized out>) at thread/qthread_unix.cpp:350
#9  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at thread/qthread_unix.cpp:287
#10 QThreadPrivate::start (arg=0x7ffff734a560 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:310
#11 0x00007ffff589d44b in start_thread (arg=<optimized out>) at pthread_create.c:444
#12 0x00007ffff5920e40 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7ffff12f6500 (LWP 91637) "juk"):
#0  0x00007ffff5899f0e in __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x555555c6b4e0) at futex-internal.c:57
#1  __futex_abstimed_wait_common (futex_word=futex_word@entry=0x555555c6b4e0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
#2  0x00007ffff5899f8f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x555555c6b4e0, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
#3  0x00007ffff589c7a0 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x555555c6b490, cond=0x555555c6b4b8) at pthread_cond_wait.c:503
#4  ___pthread_cond_wait (cond=0x555555c6b4b8, mutex=0x555555c6b490) at pthread_cond_wait.c:618
#5  0x00007ffff5eeb6f4 in QWaitConditionPrivate::wait (deadline=..., this=0x555555c6b490) at thread/qwaitcondition_unix.cpp:146
#6  QWaitCondition::wait (this=this@entry=0x555555da4060, mutex=mutex@entry=0x555555da4058, deadline=...) at thread/qwaitcondition_unix.cpp:225
#7  0x00007ffff7327d66 in QDBusPendingCallPrivate::waitForFinished (this=0x555555da4020) at /usr/src/debug/qt5-base/qtbase/src/dbus/qdbuspendingcall.cpp:240
#8  0x00007ffff7327d8e in QDBusPendingCall::waitForFinished (this=<optimized out>) at /usr/src/debug/qt5-base/qtbase/src/dbus/qdbuspendingcall.cpp:339
#9  0x00007ffff7a44bbb in QDBusReply<void>::operator= (pcall=..., this=0x7fffffffdd60) at /usr/include/qt/QtDBus/qdbusreply.h:166
#10 QDBusReply<void>::QDBusReply (pcall=..., this=0x7fffffffdd60) at /usr/include/qt/QtDBus/qdbusreply.h:161
#11 Registration::attemptRegistration (this=0x7fffffffddb0) at /usr/src/debug/kdbusaddons/kdbusaddons-5.105.0/src/kdbusservice.cpp:242
#12 Registration::registerOnBus (this=0x7fffffffddb0) at /usr/src/debug/kdbusaddons/kdbusaddons-5.105.0/src/kdbusservice.cpp:163
#13 Registration::run (this=0x7fffffffddb0) at /usr/src/debug/kdbusaddons/kdbusaddons-5.105.0/src/kdbusservice.cpp:115
#14 KDBusService::KDBusService (this=<optimized out>, options=..., parent=<optimized out>, this=<optimized out>, options=..., parent=<optimized out>) at /usr/src/debug/kdbusaddons/kdbusaddons-5.105.0/src/kdbusservice.cpp:287
#15 0x00005555555a99a1 in main (argc=<optimized out>, argv=<optimized out>) at /usr/include/qt/QtCore/qflags.h:121
Comment 1 Patrick Silva 2024-02-29 14:39:38 UTC
I can't reproduce with Juk 22.02.

Operating System: Arch Linux 
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Graphics Platform: Wayland