Hang while trying to load large library
Submitted by Alex Lancaster
Link to original bug (#331876)
Description
Please describe the problem: When I try and load a large library of music (~80 GB) that has previously loaded (so metadata tags and the rhythmdb.xml is already created), I get a hang.
The application doesn't crash, but it just spins:
Steps to reproduce:
- gdb shell/rhythmbox
- (gdb) run -d > ~/rb.log 2>&1
- Ctrl-C when application hangs
Actual results: In step 1, interface comes up, lists in browser and songs start being populated, and status displays "Loading...", then it hangs, just after reaching (what I remember seems to be full count of songs).
In step 2, looking at the rb.log, the last entry in the log is different from run to run, here's one: [0x9fdf130] [rhythmdb_process_events] rhythmdb.c:1664 (01:44:25): processing RHYTHMDB_EVENT_STAT [0x9fdf130] [rhythmdb_process_stat_event] rhythmdb.c:1454 (01:44:25): not modified: file:///mnt/data/iTunes/Everything%20But%20The%20Girl/Missing/03%20Missing%20(Rockin'%20Blue%20Mix).mp3
In step 3:, here's the backtrace:
Program received signal SIGINT, Interrupt.
[Switching to Thread -1208973632 (LWP 26665)]
0x00521402 in __kernel_vsyscall ()
(gdb) bt
#0 0x00521402 in __kernel_vsyscall ()
#1 0x004980bb in __write_nocancel () from /lib/libpthread.so.0
#2 0x027126b5 in ?? () from /usr/lib/libfam.so.0
#3 0x02712884 in ?? () from /usr/lib/libfam.so.0
#4 0x02712fc6 in FAMMonitorDirectory () from /usr/lib/libfam.so.0
#5 0x0272a670 in ?? () from /usr/lib/gnome-vfs-2.0/modules/libfile.so
#6 0x00bf87db in _gnome_vfs_monitor_do_add () from /usr/lib/libgnomevfs-2.so.0
#7 0x00bfa230 in gnome_vfs_monitor_add () from /usr/lib/libgnomevfs-2.so.0
#8 0x080bfed1 in rhythmdb_monitor_uri_path (db=0xa186790, uri=Variable "uri" is
not available.
)
at rhythmdb.c:1164
#9 0x080c3b79 in rhythmdb_process_stat_event (db=0xa186790, event=0xa5173e8)
at rhythmdb.c:1456
#10 0x080c3c61 in rhythmdb_idle_poll_events (db=0xa186790) at rhythmdb.c:1665
#11 0x03009604 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#12 0x030073b0 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#13 0x0300a3a6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#14 0x0300a6c8 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#15 0x0023b625 in bonobo_main () from /usr/lib/libbonobo-2.so.0
#16 0x0806a1ad in main (argc=2, argv=0xbf9319d4) at main.c:407
Expected results: No hang, application should load.
Does this happen every time? Yes, with this library with current CVS HEAD. Previous versions have loaded successfully, but I have had problems like this in the past, intermittently, but a while ago now, so I thought they were fixed.
Other information:
Version: HEAD