rhythmbox crash when I add a lot of music to the library

Bug #30555 reported by E-B
22
Affects Status Importance Assigned to Milestone
rhythmbox (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

When I add a lot (>15000) songs to the library rhytmbox crash:

user@ma:~$ rhythmbox

(rhythmbox:5993): Gtk-WARNING **: Theme directory 16x16/status16x16/stock/chart of theme gnome has no size field

(rhythmbox:5993): GStreamer-CRITICAL **: gst_pad_activate_pull: assertion `old == GST_ACTIVATE_NONE' failed

(rhythmbox:5993): GStreamer-CRITICAL **: gst_pad_push_event: assertion `GST_IS_PAD (pad)' failed

(rhythmbox:5993): GStreamer-CRITICAL **: gst_pad_push_event: assertion `GST_IS_PAD (pad)' failed
Segmentation fault

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. What version of Ubuntu do you use? Can you run "rhythmbox -d" and note on what song it crashes? Could you get a backtrace (the bug-buddy dialog the send the bug upstream has it)?

Changed in rhythmbox:
assignee: nobody → desktop-bugs
status: Unconfirmed → Needs Info
Revision history for this message
E-B (ebelt9hf) wrote :
Download full text (4.8 KiB)

I run Ubuntu Dapper, newest Version in the repository:
Gnome rhythmbox 0.9.3

[0x8295988] [rb_metadata_gst_load_tag] rb-metadata-gst.c:442 (12:20:19): uri: file:///media/usbdisk/downloaded/Shared/Shakira%20-%20Don't%20Botherr.mp3 tag: mode
[0x8295988] [rb_metadata_gst_load_tag] rb-metadata-gst.c:442 (12:20:19): uri: file:///media/usbdisk/downloaded/Shared/Shakira%20-%20Don't%20Botherr.mp3 tag: emphasis
[0x8295988] [rb_metadata_bus_handler] rb-metadata-gst.c:692 (12:20:19): message of type 64
[0x8295988] [rb_metadata_bus_handler] rb-metadata-gst.c:692 (12:20:19): message of type 64
[0x8295988] [rb_metadata_bus_handler] rb-metadata-gst.c:692 (12:20:19): message of type 64
[0x8295988] [rb_metadata_bus_handler] rb-metadata-gst.c:692 (12:20:19): message of type 64
[0x8295988] [rb_metadata_bus_handler] rb-metadata-gst.c:692 (12:20:19): message of type 16384
[0x8295988] [rb_metadata_load] rb-metadata-gst.c:887 (12:20:19): duration query succeeded
[0x8295988] [rb_metadata_load] rb-metadata-gst.c:961 (12:20:19): successfully read metadata for file:///media/usbdisk/downloaded/Shared/Shakira%20-%20Don't%20Botherr.mp3
[0x8295988] [action_thread_main] rhythmdb.c:2013 (12:20:19): executing RHYTHMDB_ACTION_LOAD for "file:///media/usbdisk/downloaded/Shared/Scottish%20Bagpipes%20-%20Auld%20Lang%20Syne.mp3"
[0x8295988] [rb_metadata_load] rb-metadata-gst.c:760 (12:20:19): loading metadata for uri: file:///media/usbdisk/downloaded/Shared/Scottish%20Bagpipes%20-%20Auld%20Lang%20Syne.mp3
[0x8295988] [rb_metadata_load] rb-metadata-gst.c:832 (12:20:19): going to PAUSED for metadata, uri: file:///media/usbdisk/downloaded/Shared/Scottish%20Bagpipes%20-%20Auld%20Lang%20Syne.mp3
[0x8295988] [rb_metadata_gst_new_decoded_pad_cb] rb-metadata-gst.c:590 (12:20:20): linking new decoded pad of type audio/x-raw-int to fakesink
[0x8295988] [rb_metadata_gst_typefind_cb] rb-metadata-gst.c:563 (12:20:20): found type audio/mpeg
[0x8295988] [rb_metadata_load] rb-metadata-gst.c:840 (12:20:20): element state changing asyncronously: 2, 136922392
[0x8295988] [rb_metadata_load] rb-metadata-gst.c:853 (12:20:20): gone to PAUSED for file:///media/usbdisk/downloaded/Shared/Scottish%20Bagpipes%20-%20Auld%20Lang%20Syne.mp3
[0x8295988] [rb_metadata_bus_handler] rb-metadata-gst.c:692 (12:20:20): message of type 512
[0x8295988] [rb_metadata_bus_handler] rb-metadata-gst.c:692 (12:20:20): message of type 64
[0x8295988] [rb_metadata_bus_handler] rb-metadata-gst.c:692 (12:20:20): message of type 64
[0x8295988] [rb_metadata_bus_handler] rb-metadata-gst.c:692 (12:20:20): message of type 64
[0x8295988] [rb_metadata_bus_handler] rb-metadata-gst.c:692 (12:20:20): message of type 64
[0x8295988] [rb_metadata_bus_handler] rb-metadata-gst.c:692 (12:20:20): message of type 64
[0x8295988] [rb_metadata_bus_handler] rb-metadata-gst.c:692 (12:20:20): message of type 64
[0x8295988] [rb_metadata_bus_handler] rb-metadata-gst.c:692 (12:20:20): message of type 64
[0x8295988] [rb_metadata_bus_handler] rb-metadata-gst.c:692 (12:20:20): message of type 64
[0x8295988] [rb_metadata_bus_handler] rb-metadata-gst.c:692 (12:20:20): message of type 64
[0x8295988] [rb_metadata_gst_load_tag] rb-metadata-gst.c:442 (12:20:20): uri: ...

Read more...

Revision history for this message
Sebastien Bacher (seb128) wrote :

It seems to crash on /media/usbdisk/downloaded/Shared/Revelations_DivX6.divx

Could you get a backtrace of the crash?
- gdb rhythmbox
(gdb) run
... crash
(gdb) thread apply all bt

Do you know if that .divx is downloadable somewhere on the web?

Revision history for this message
E-B (ebelt9hf) wrote :

here you can download the film: http://www.divx.com/movies/detail.php?movieID=23&cID=4

here the last lines,( he says that I have no debugging symbols installed... )

[Thread -1262879824 (LWP 15170) exited]
[Thread -1279665232 (LWP 15172) exited]
[Thread -1337984080 (LWP 15171) exited]
(no debugging symbols found)
[New Thread -1279665232 (LWP 15174)]
[New Thread -1337984080 (LWP 15175)]
[Thread -1279665232 (LWP 15174) exited]
[Thread -1337984080 (LWP 15175) exited]
[New Thread -1337984080 (LWP 15176)]
[Thread -1337984080 (LWP 15176) exited]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread -1337984080 (LWP 15177)]
[New Thread -1279665232 (LWP 15178)]
[New Thread -1262879824 (LWP 15179)]
(no debugging symbols found)
[New Thread -1244234832 (LWP 15180)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1337984080 (LWP 15177)]
0xb69884e7 in gst_avi_demux_get_type ()
   from /usr/lib/gstreamer-0.10/libgstavi.so

Revision history for this message
Hidde Brugmans (hcbrugmans-deactivatedaccount) wrote :

regardless of this issue, rhythmbox cvs now runs the import out of process, so something like this should no longer be able to take rhythmbox down.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Is that fix in Dapper now? I mean does it still happen with the newest version?

Revision history for this message
rubinstein (rubinstein) wrote :
Download full text (12.5 KiB)

It still crashes with dapper flight 7 when I want to import my music.

Bug Buddy says:
Backtrace was generated from '/usr/bin/rhythmbox'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1226688288 (LWP 6835)]
[New Thread -1289749584 (LWP 6862)]
[New Thread -1257100368 (LWP 6838)]
[New Thread -1248707664 (LWP 6837)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
...

Revision history for this message
Sebastien Bacher (seb128) wrote :

Could you get a backtrace with libglib2.0-0-dbg and rhythmbox-dbg installed using gdb?
- gdb rhythmbox
(gdb) run
... get the crash
(gdb) thread apply all bt

and copy that to a comment

Revision history for this message
rubinstein (rubinstein) wrote :
Download full text (9.3 KiB)

backtrace:

(gdb) thread apply all bt

Thread 14 (Thread -1268778064 (LWP 8215)):
#0 0xb6922400 in ogg_page_serialno () from /usr/lib/libogg.so.0
#1 0xb693c504 in ?? () from /usr/lib/gstreamer-0.10/libgstogg.so
#2 0xb45ff350 in ?? ()
#3 0x00000000 in ?? ()

Thread 12 (Thread -1258021968 (LWP 8213)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb713c33d in versionsort () from /lib/tls/i686/cmov/libc.so.6
#2 0xb713c6d1 in readdir64_r () from /lib/tls/i686/cmov/libc.so.6
#3 0xb69e94b8 in vfs_module_shutdown ()
   from /usr/lib/gnome-vfs-2.0/modules/libfile.so
#4 0xb7d0b8df in gnome_vfs_directory_read_next ()
   from /usr/lib/libgnomevfs-2.so.0
#5 0xb7d0babf in gnome_vfs_directory_close () from /usr/lib/libgnomevfs-2.so.0
#6 0xb7d0bcb6 in gnome_vfs_directory_close () from /usr/lib/libgnomevfs-2.so.0
#7 0xb7d0beb9 in gnome_vfs_directory_visit () from /usr/lib/libgnomevfs-2.so.0
#8 0x080e01be in rb_uri_handle_recursively (
    text_uri=0x8832a78 "file:///media/sda5/ph/audio", func=0x3a8,
    cancelflag=0x3a8, user_data=0x3a8) at rb-file-helpers.c:677
#9 0x080a5dca in add_thread_main (data=0x882fbd0) at rhythmdb.c:1811
#10 0xb7236582 in g_thread_create_proxy (data=0x882a700) at gthread.c:582
---Type <return> to continue, or q <return> to quit---
#11 0xb7a60341 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb717d4ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 11 (Thread -1258021968 (LWP 8213)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb713c33d in versionsort () from /lib/tls/i686/cmov/libc.so.6
#2 0xb713c6d1 in readdir64_r () from /lib/tls/i686/cmov/libc.so.6
#3 0xb69e94b8 in vfs_module_shutdown ()
   from /usr/lib/gnome-vfs-2.0/modules/libfile.so
#4 0xb7d0b8df in gnome_vfs_directory_read_next ()
   from /usr/lib/libgnomevfs-2.so.0
#5 0xb7d0babf in gnome_vfs_directory_close () from /usr/lib/libgnomevfs-2.so.0
#6 0xb7d0bcb6 in gnome_vfs_directory_close () from /usr/lib/libgnomevfs-2.so.0
#7 0xb7d0beb9 in gnome_vfs_directory_visit () from /usr/lib/libgnomevfs-2.so.0
#8 0x080e01be in rb_uri_handle_recursively (
    text_uri=0x8832a78 "file:///media/sda5/ph/audio", func=0x3a8,
    cancelflag=0x3a8, user_data=0x3a8) at rb-file-helpers.c:677
#9 0x080a5dca in add_thread_main (data=0x882fbd0) at rhythmdb.c:1811
#10 0xb7236582 in g_thread_create_proxy (data=0x882a700) at gthread.c:582
#11 0xb7a60341 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb717d4ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread -1268778064 (LWP 8215)):
---Type <return> to continue, or q <return> to quit---
#0 0xb6922400 in ogg_page_serialno () from /usr/lib/libogg.so.0
#1 0xb693c504 in ?? () from /usr/lib/gstreamer-0.10/libgstogg.so
#2 0xb45ff350 in ?? ()
#3 0x00000000 in ?? ()

Thread 7 (Thread -1258021968 (LWP 8213)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb713c33d in versionsort () from /lib/tls/i686/cmov/libc.so.6
#2 0xb713c6d1 in readdir64_r () from /lib/tls/i686/cmov/libc.so.6
#3 0xb69e94b8 in vfs_module_shutdown ()
   from /usr/lib/gnome-vfs-2.0/modules/libfile.so
#4 0xb7d0b8df in gnome_vfs_directory_read_next ()
   fro...

Read more...

Revision history for this message
draknet (n638jl66) wrote :

Same for me. Importing a folder with lots of files crashes rhythmbox. Version is 0.9.3.1-0ubuntu9.

Just before the pagefault I see a messagebox with something about mimetype. "The mime type could not be identified of file://music/.directory"

Running it again shows that it loaded some folders and during import it crashes on the next "mime problem".

So running it again and again it slowly loads everything.

Revision history for this message
Ilja Sidoroff (ilja-sidoroff) wrote :

I have the same problem (using dapper and rhythmbox 0.9.3.1-0ubuntu9). Rhythmbox segfaults after a short period of time. The console window shows this
assertion failure six times before the crash:

(rhythmbox:9880): GStreamer-CRITICAL **: gst_pad_activate_pull: assertion `old == GST_ACTIVATE_NONE' failed

This happens only when "Watch my library for new files" is checked in the preferences/library. My library is quite small (c. 2500 titles), so it's possible that this bug is not the same, but similar, as the above.

Revision history for this message
Daniel Holbach (dholbach) wrote :

Do you still have the problem in Dapper or Edgy?

Revision history for this message
Hennadiy Brych (superg) wrote :

The same problem for me!
Ubuntu Dapper 6.06 LTS
amd64

I tested it with many music files. When i add 500 and less files it works good. When add all my music collection (3000+), it crashes immediately or on the next launch (this occurs random, for example i can run rhytmbox for a couple of times and after 5-10 tries it don't crashes).

Revision history for this message
Sebastien Bacher (seb128) wrote :

If you have the same problem could you get a debug backtrace?

Revision history for this message
Ilja Sidoroff (ilja-sidoroff) wrote :
Download full text (6.0 KiB)

Ok, here is a backtrace for the crash: (dapper, rhythmbox 0.9.3.1-0ubuntu9)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1238172752 (LWP 13587)]
0xb7b6c803 in helper_find_peek (data=0xb632e2cc, offset=4, size=8)
    at gsttypefindhelper.c:114
114 gsttypefindhelper.c: No such file or directory.
        in gsttypefindhelper.c
(gdb) thread apply all bt

Thread 29 (Thread -1325425744 (LWP 13630)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb79a5eec in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb79b15dc in g_cond_timed_wait_posix_impl (cond=0xb4002a70,
    entered_mutex=0x818ced8, abs_time=0xb0ff9404) at gthread-posix.c:229
#3 0xb7147d8c in g_async_queue_pop_intern_unlocked (queue=0x818cec0,
    try=<value optimized out>, end_time=0xb0ff9404) at gasyncqueue.c:341
#4 0xb717b4ce in g_thread_pool_thread_proxy (data=0x8189b80)
    at gthreadpool.c:220
#5 0xb71795a2 in g_thread_create_proxy (data=0x8657a28) at gthread.c:582
#6 0xb79a3341 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0xb70c04ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 28 (Thread -1325425744 (LWP 13630)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb79a5eec in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb79b15dc in g_cond_timed_wait_posix_impl (cond=0xb4002a70,
    entered_mutex=0x818ced8, abs_time=0xb0ff9404) at gthread-posix.c:229
#3 0xb7147d8c in g_async_queue_pop_intern_unlocked (queue=0x818cec0,
    try=<value optimized out>, end_time=0xb0ff9404) at gasyncqueue.c:341
---Type <return> to continue, or q <return> to quit---
#4 0xb717b4ce in g_thread_pool_thread_proxy (data=0x8189b80)
    at gthreadpool.c:220
#5 0xb71795a2 in g_thread_create_proxy (data=0x8657a28) at gthread.c:582
#6 0xb79a3341 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0xb70c04ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 27 (Thread -1325425744 (LWP 13630)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb79a5eec in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb79b15dc in g_cond_timed_wait_posix_impl (cond=0xb4002a70,
    entered_mutex=0x818ced8, abs_time=0xb0ff9404) at gthread-posix.c:229
#3 0xb7147d8c in g_async_queue_pop_intern_unlocked (queue=0x818cec0,
    try=<value optimized out>, end_time=0xb0ff9404) at gasyncqueue.c:341
#4 0xb717b4ce in g_thread_pool_thread_proxy (data=0x8189b80)
    at gthreadpool.c:220
#5 0xb71795a2 in g_thread_create_proxy (data=0x8657a28) at gthread.c:582
#6 0xb79a3341 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0xb70c04ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread -1246565456 (LWP 13588)):
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb70b68c4 in poll () from /lib/tls/i686/cmov/libc.so.6
---Type <return> to continue, or q <return> to quit---
#2 0xb71607e8 in g_main_context_iterate (context=0x823be98, block=1,
    dispatch=1, self=0x81d1b40) at gmain.c:2849
#3 0xb7160cb8 in IA__g_main_loop_run (loop=0x8230660) at gmain.c:2751
#4 0xb79f470e in link_thread_io_context () from /usr/lib/libORBit-2.so.0
#5 0xb71795...

Read more...

Revision history for this message
Sebastien Bacher (seb128) wrote :

that backtrace doesn't look like the same issue, please open a different bug for it

Revision history for this message
Arik Kfir (arikkfir) wrote :

I also encountered a crash while rhytmbox was trying to add my music collection (for the first time, after a fresh ubuntu installation).

I attached the crash report.

Revision history for this message
Sebastien Bacher (seb128) wrote :

please open a different bug if you have a crash, that bug looks like a collection of different issues now, we can't work nicely on it

Revision history for this message
rubinstein (rubinstein) wrote :

With the new Rhythmbox 0.9.6 in edgy I have no problems importing my music collection.

Revision history for this message
Sebastien Bacher (seb128) wrote :

E-B, do you still have that bug on edgy?

Revision history for this message
Arik Kfir (arikkfir) wrote : Re: [Bug 30555] Re: rhythmbox crash when I add a lot of music to the library

nope.

On 12/1/06, Sebastien Bacher <email address hidden> wrote:
>
> E-B, do you still have that bug on edgy?
>
> --
> rhythmbox crash when I add a lot of music to the library
> https://launchpad.net/bugs/30555
>

Revision history for this message
E-B (ebelt9hf) wrote :

no.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Marking as fixed then, thank you for the update

Changed in rhythmbox:
status: Needs Info → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.