After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 663264 - Freeze after loading .m3u playlist from USB drive and clicking "Play" button
Freeze after loading .m3u playlist from USB drive and clicking "Play" button
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.10.35
Other Linux
: Normal critical
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-11-02 20:21 UTC by André Klapper
Modified: 2011-11-23 13:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description André Klapper 2011-11-02 20:21:41 UTC
STEPS:
1. Start rhythmbox.
2. Plug in a USB drive that contains music and also .m3u files
3. Open Nautilus and navigate to the USB drive.
4. Doubleclick the .m3u file to open it in Rhythmbox.
5. See that the playlist gets added in Rhythmbox in the sidepane under "Playlists".
6. Click the Play button in the toolbar.
7. Nautilus freezes.

REPRODUCIBILITY:
Always so far.

Not sure whether to blame Rhythmbox, gstreamer or orc, hence starting here.

Fedora 16beta with all updates.
clutter-gst-1.4.2-1.fc16.i686
gstreamer-0.10.35-1.fc16.i686
gstreamer-ffmpeg-0.10.12-1.fc16.i686
gstreamer-plugins-bad-0.10.22-2.fc16.i686
gstreamer-plugins-bad-free-0.10.22-2.fc16.1.i686
gstreamer-plugins-bad-free-extras-0.10.22-2.fc16.1.i686
gstreamer-plugins-bad-nonfree-0.10.22-2.fc16.i686
gstreamer-plugins-base-0.10.35-1.fc16.i686
gstreamer-plugins-good-0.10.30-2.fc16.i686
gstreamer-plugins-ugly-0.10.18-3.fc16.i686
gstreamer-python-0.10.19-2.fc15.i686
gstreamer-rtsp-0.10.8-1.fc16.i686
gstreamer-tools-0.10.35-1.fc16.i686
nautilus-3.2.1-1.fc16.i686
orc-0.4.16-3.fc16.i686
rhythmbox-2.90.1-17.git20110927.fc16.i686


$:andre\> gdb rhythmbox
GNU gdb (GDB) Fedora (7.3.50.20110722-9.fc16)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/rhythmbox...Reading symbols from /usr/lib/debug/usr/bin/rhythmbox.debug...done.
done.
(gdb) run
Starting program: /usr/bin/rhythmbox 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
warning: "/usr/lib/debug/usr/lib/libicudata.so.46.0.debug": separate debug info file has no debug info
[New Thread 0xb7d81b40 (LWP 5347)]
[New Thread 0xb73ffb40 (LWP 5348)]
[New Thread 0xb1cfcb40 (LWP 5349)]
[Thread 0xb1cfcb40 (LWP 5349) exited]
[New Thread 0xb1cfcb40 (LWP 5350)]
[New Thread 0xb12ffb40 (LWP 5352)]
[Thread 0xb12ffb40 (LWP 5352) exited]
[New Thread 0xb12ffb40 (LWP 5353)]
[New Thread 0xb0afeb40 (LWP 5354)]
[Thread 0xb0afeb40 (LWP 5354) exited]
[Thread 0xb1cfcb40 (LWP 5350) exited]
[New Thread 0xb1cfcb40 (LWP 5355)]
[New Thread 0xb0afeb40 (LWP 5356)]
[Thread 0xb0afeb40 (LWP 5356) exited]
[Thread 0xb1cfcb40 (LWP 5355) exited]
[New Thread 0xb1cfcb40 (LWP 5357)]
[Thread 0xb1cfcb40 (LWP 5357) exited]
[New Thread 0xb1cfcb40 (LWP 5358)]
[Thread 0xb1cfcb40 (LWP 5358) exited]
[New Thread 0xb1cfcb40 (LWP 5363)]
[New Thread 0xb0afeb40 (LWP 5364)]
[New Thread 0xb02fdb40 (LWP 5365)]
[Thread 0xb02fdb40 (LWP 5365) exited]
[Thread 0xb1cfcb40 (LWP 5363) exited]
[Thread 0xb0afeb40 (LWP 5364) exited]
[New Thread 0xb0afeb40 (LWP 5375)]
[New Thread 0xb1cfcb40 (LWP 5376)]
[Thread 0xb1cfcb40 (LWP 5376) exited]
[Thread 0xb0afeb40 (LWP 5375) exited]
[New Thread 0xb0afeb40 (LWP 5407)]
[New Thread 0xb1cfcb40 (LWP 5409)]
[Thread 0xb1cfcb40 (LWP 5409) exited]
[New Thread 0xb1cfcb40 (LWP 5411)]
[Thread 0xb1cfcb40 (LWP 5411) exited]
[New Thread 0xb1cfcb40 (LWP 5412)]
[Thread 0xb1cfcb40 (LWP 5412) exited]
[New Thread 0xb02fdb40 (LWP 5413)]
Detaching after fork from child process 5414.
[Thread 0xb02fdb40 (LWP 5413) exited]
[New Thread 0xb1cfcb40 (LWP 5415)]
[Thread 0xb1cfcb40 (LWP 5415) exited]
[New Thread 0xb02fdb40 (LWP 5416)]
[New Thread 0xb1cfcb40 (LWP 5417)]
[Thread 0xb02fdb40 (LWP 5416) exited]
[New Thread 0xafafcb40 (LWP 5418)]
[Thread 0xb1cfcb40 (LWP 5417) exited]
[New Thread 0xb02fdb40 (LWP 5419)]
[Thread 0xb02fdb40 (LWP 5419) exited]
[New Thread 0xb1cfcb40 (LWP 5420)]
[Thread 0xafafcb40 (LWP 5418) exited]
[New Thread 0xb02fdb40 (LWP 5421)]
[Thread 0xb1cfcb40 (LWP 5420) exited]
[New Thread 0xafafcb40 (LWP 5422)]
[Thread 0xafafcb40 (LWP 5422) exited]
[Thread 0xb02fdb40 (LWP 5421) exited]
[Thread 0xb0afeb40 (LWP 5407) exited]
[New Thread 0xb0afeb40 (LWP 5428)]
[New Thread 0xb02fdb40 (LWP 5429)]
[New Thread 0xafafcb40 (LWP 5430)]
[New Thread 0xb1cfcb40 (LWP 5431)]
[Thread 0xb0afeb40 (LWP 5428) exited]
[Thread 0xb1cfcb40 (LWP 5431) exited]
[Thread 0xafafcb40 (LWP 5430) exited]
[New Thread 0xafafcb40 (LWP 5432)]
[Thread 0xafafcb40 (LWP 5432) exited]
[New Thread 0xafafcb40 (LWP 5433)]
[New Thread 0xb1cfcb40 (LWP 5434)]

Program received signal SIGSEGV, Segmentation fault.
orc_code_region_get_free_chunk (size=448) at orccodemem.c:127
127	      if (!chunk->used && size <= chunk->size) {
Missing separate debuginfos, use: debuginfo-install gamin-0.1.10-10.fc16.i686 pygobject3-3.0.2-1.fc16.i686
(gdb) thread apply all bt

Thread 1 (Thread 0xb7fc38c0 (LWP 5344))

  • #0 orc_code_region_get_free_chunk
    at orccodemem.c line 127
  • #1 orc_code_allocate_codemem
    at orccodemem.c line 160
  • #2 orc_program_compile_full
    at orccompiler.c line 343
  • #3 orc_program_compile_for_target
    at orccompiler.c line 173
  • #4 orc_program_compile
    at orccompiler.c line 150
  • #5 gst_audio_convert_orc_init
    at tmp-orc.c line 5288
  • #6 plugin_init
    at plugin.c line 34
  • #7 gst_plugin_register_func
    at gstplugin.c line 557
  • #8 gst_plugin_register_func
    at gstplugin.c line 514
  • #9 gst_plugin_load_file
    at gstplugin.c line 843
  • #10 gst_plugin_load_by_name
    at gstplugin.c line 1297
  • #11 gst_plugin_feature_load
    at gstpluginfeature.c line 112
  • #12 gst_element_factory_create
    at gstelementfactory.c line 362
  • #13 gst_element_factory_make
    at gstelementfactory.c line 455
  • #14 rb_gst_create_filter_bin
    at rb-player-gst-helper.c line 429
  • #15 construct_pipeline
    at rb-player-gst.c line 682
  • #16 impl_open
    at rb-player-gst.c line 776
  • #17 rb_player_open
    at rb-player.c line 359
  • #18 rb_shell_player_open_location
    at rb-shell-player.c line 1652
  • #19 rb_shell_player_set_playing_entry
    at rb-shell-player.c line 1769
  • #20 rb_shell_player_playpause
    at rb-shell-player.c line 2428
  • #21 rb_shell_player_cmd_play
    at rb-shell-player.c line 2314
  • #22 g_cclosure_marshal_VOID__VOID
  • #23 g_closure_invoke
    at gclosure.c line 774
  • #24 signal_emit_unlocked_R
    at gsignal.c line 3272
  • #25 g_signal_emit_valist
    at gsignal.c line 3003
  • #26 g_signal_emit
    at gsignal.c line 3060
  • #27 _gtk_action_emit_activate
    at gtkaction.c line 799
  • #28 gtk_action_activate
    at gtkaction.c line 829
  • #29 button_clicked
    at gtktoolbutton.c line 811
  • #30 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 85
  • #31 g_closure_invoke
    at gclosure.c line 774
  • #32 signal_emit_unlocked_R
    at gsignal.c line 3272
  • #33 g_signal_emit_valist
    at gsignal.c line 3003
  • #34 g_signal_emit
    at gsignal.c line 3060
  • #35 gtk_button_clicked
    at gtkbutton.c line 1197
  • #36 gtk_toggle_button_released
    at gtktogglebutton.c line 631
  • #37 gtk_toggle_button_released
    at gtktogglebutton.c line 624
  • #38 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 85
  • #39 g_type_class_meta_marshal
    at gclosure.c line 885
  • #40 g_closure_invoke
    at gclosure.c line 774
  • #41 signal_emit_unlocked_R
    at gsignal.c line 3202
  • #42 g_signal_emit_valist
    at gsignal.c line 3003
  • #43 g_signal_emit
    at gsignal.c line 3060
  • #44 gtk_button_released
    at gtkbutton.c line 1183
  • #45 gtk_button_button_release
    at gtkbutton.c line 1718
  • #46 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 85
  • #47 g_type_class_meta_marshal
    at gclosure.c line 885
  • #48 g_closure_invoke
    at gclosure.c line 774
  • #49 signal_emit_unlocked_R
    at gsignal.c line 3310
  • #50 g_signal_emit_valist
    at gsignal.c line 3013
  • #51 g_signal_emit
    at gsignal.c line 3060
  • #52 gtk_widget_event_internal
    at gtkwidget.c line 6132
  • #53 gtk_propagate_event
    at gtkmain.c line 2614
  • #54 gtk_main_do_event
    at gtkmain.c line 1889
  • #55 _gdk_event_emit
    at gdkevents.c line 71
  • #56 gdk_event_source_dispatch
    at gdkeventsource.c line 360
  • #57 g_main_dispatch
    at gmain.c line 2425
  • #58 g_main_context_dispatch
    at gmain.c line 2995
  • #59 g_main_context_iterate
    at gmain.c line 3073
  • #60 g_main_loop_run
    at gmain.c line 3281
  • #61 gtk_main
    at gtkmain.c line 1362
  • #62 main
    at main.c line 324
122	
123	  orc_global_mutex_lock ();
124	  for(i=0;i<orc_code_n_regions;i++){
125	    region = orc_code_regions[i];
126	    for(chunk = region->chunks; chunk; chunk = chunk->next) {
127	      if (!chunk->used && size <= chunk->size) {
128	        orc_global_mutex_unlock ();
129	        return chunk;
130	      }
131	    }
(gdb)
Comment 1 Jonathan Matthew 2011-11-02 21:20:24 UTC
This looks like a gstreamer/orc problem.

Do you get the same symptoms when playing mp3 files from a hard disk in rhythmbox?  Or gst-launch-0.10 playbin2 uri=file:///media/path/to/file.mp3 ?
Comment 2 André Klapper 2011-11-03 18:58:58 UTC
(In reply to comment #0)
> STEPS:
> 7. Nautilus freezes.

This should have been "Rhythmbox freezes."

(In reply to comment #1)
> Do you get the same symptoms when playing mp3 files from a hard disk in
> rhythmbox?

Yes, same issue for local mp3s (darn, I should have tested before reporting).

>  Or gst-launch-0.10 playbin2 uri=file:///media/path/to/file.mp3 ?

$:andre\> gst-launch-0.10 playbin2 uri=file:///home/party/Music/Air\ -\ Sexy\ Boy\ \(Sharam\ Jey\ Edit\).mp3 
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...

ERROR: Caught a segmentation fault while loading plugin file:
/usr/lib/gstreamer-0.10/libgstaudioconvert.so

Please either:
- remove it and restart.
- run with --gst-disable-segtrap --gst-disable-registry-fork and debug.


$:andre\> gst-launch-0.10 playbin2 --gst-disable-segtrap --gst-disable-registry-fork uri=file:///home/party/Music/Air\ -\ Sexy\ Boy\ \(Sharam\ Jey\ Edit\).mp3 
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Caught SIGSEGV accessing address 0xc1f20f72

Thread 1 (process 6548)

  • #0 __kernel_vsyscall
  • #1 ??

Comment 3 André Klapper 2011-11-04 12:53:37 UTC
Still happens with today's latest updates for Fedora 16.
Same crash also happens when just going to Edit>Preferences in Rhythmbox.
Comment 4 André Klapper 2011-11-23 13:33:12 UTC
Seems to be working now.