Rhythmbox UI lagging in actually_add_monitor

Bug #1323276 reported by Ville Ranki on 2014-05-26
This bug affects 2 people
Affects Status Importance Assigned to Milestone
rhythmbox (Ubuntu)

Bug Description

1. Launch rhythmbox, it works nicely for 15-30 mins
2. At some point RB's UI becomes very sluggish. For example changing song may take 15-30 seconds.

This happens every time i run RB so it's easily reproducable.

I investigated it a bit, and seems that the UI thread is blocked in actually_add_monitor. Full
backtrace follows:

(gdb) bt
#0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1 0x00007fba3586d68d in _L_lock_1082 () from /lib/x86_64-linux-gnu/libpthread.so.0
#2 0x00007fba3586d607 in __GI___pthread_mutex_lock (mutex=0x2413480) at ../nptl/pthread_mutex_lock.c:134
#3 0x00007fba35b0b991 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007fba30a848b0 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#5 0x00007fba30a84d47 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6 0x00007fba30a771b2 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#7 0x00007fba36ad36f3 in actually_add_monitor (db=0x1ba2230, directory=0x7fb9a8006b80, error=0x0) at rhythmdb-monitor.c:133
#8 0x00007fba36ad37ad in monitor_subdirectory (file=0x7fb9a8006b80, dir=1, db=0x1ba2230) at rhythmdb-monitor.c:154
#9 0x00007fba36af4831 in _uri_handle_file (dir=0x7fb9e79b73a0, fileinfo=<optimized out>, handled=0x2a668c0,
    func=0x7fba36ad3750 <monitor_subdirectory>, user_data=0x1ba2230, descend=0x7fffae8da6e0) at rb-file-helpers.c:751
#10 0x00007fba36af4b44 in _uri_handle_recursively_process_files (src=<optimized out>, result=<optimized out>, ptr=0x24ecec0)
    at rb-file-helpers.c:897
#11 0x00007fba309dd6a7 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#12 0x00007fba30a1041b in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#13 0x00007fba30a10439 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#14 0x00007fba35ac9ce5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007fba35aca048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007fba35aca0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007fba30a3267c in g_application_run () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#18 0x00007fba36a5a812 in rb_application_run (app=0x181e140, argc=argc@entry=1, argv=argv@entry=0x7fffae8daba8) at rb-application.c:659
#19 0x0000000000400d3a in main (argc=1, argv=0x7fffae8daba8) at main.c:89

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: rhythmbox 3.0.2-0ubuntu2
ProcVersionSignature: Ubuntu 3.11.0-19.33-generic
Uname: Linux 3.11.0-19-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: X-Cinnamon
Date: Mon May 26 15:15:46 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-01-13 (132 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
SourcePackage: rhythmbox
UpgradeStatus: Upgraded to trusty on 2014-05-15 (11 days ago)

Ville Ranki (ville-ranki) wrote :
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in rhythmbox (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers