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 89573 - crash when unreffing gnomevfssrc
crash when unreffing gnomevfssrc
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other Linux
: Urgent critical
: 0.4.0
Assigned To: Bastien Nocera
GStreamer Maintainers
: 86384 91467 (view as bug list)
Depends on:
Blocks: 90477
 
 
Reported: 2002-08-01 01:36 UTC by Jorn Baayen
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jorn Baayen 2002-08-01 01:36:36 UTC
Sometimes (not always) unreffing a gnomevfssrc causes it to crash, trace:
(can be tested by playing a lot in for example rhythmbox)

Backtrace was generated from '/opt/gnome/bin/rhythmbox'

[New Thread 1024 (LWP 11471)]
[New Thread 2049 (LWP 11476)]
[New Thread 1026 (LWP 11477)]
[New Thread 2051 (LWP 11478)]
[New Thread 3076 (LWP 11796)]
0x420b4859 in wait4 () from /lib/i686/libc.so.6

Thread 1 (Thread 1024 (LWP 11471))

  • #0 wait4
    from /lib/i686/libc.so.6
  • #1 __DTOR_END__
    from /lib/i686/libc.so.6
  • #2 waitpid
    from /lib/i686/libpthread.so.0
  • #3 libgnomeui_module_info_get
    from /opt/gnome/lib/libgnomeui-2.so.0
  • #4 pthread_sighandler
    from /lib/i686/libpthread.so.0
  • #5 <signal handler called>
  • #6 g_hash_table_foreach_remove_or_steal
    from /opt/gnome/lib/libglib-2.0.so.0
  • #7 g_hash_table_foreach_remove
    from /opt/gnome/lib/libglib-2.0.so.0
  • #8 mime_extensions_empty
    from /opt/gnome/lib/libgnomevfs-2.so.0
  • #9 gnome_vfs_mime_shutdown
    from /opt/gnome/lib/libgnomevfs-2.so.0
  • #10 gnome_vfs_shutdown
    from /opt/gnome/lib/libgnomevfs-2.so.0
  • #11 gst_gnomevfssrc_dispose
    at gstgnomevfssrc.c line 255
  • #12 g_object_last_unref
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #13 g_object_unref
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #14 gst_object_unref
    from /opt/gnome/lib/libgstreamer-0.4.0.1.so.0
  • #15 gst_object_unparent
    from /opt/gnome/lib/libgstreamer-0.4.0.1.so.0
  • #16 gst_bin_remove
    from /opt/gnome/lib/libgstreamer-0.4.0.1.so.0
  • #17 gst_bin_dispose
    from /opt/gnome/lib/libgstreamer-0.4.0.1.so.0
  • #18 g_object_last_unref
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #19 g_object_unref
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #20 gst_object_unref
    from /opt/gnome/lib/libgstreamer-0.4.0.1.so.0
  • #21 monkey_media_stream_finalize
    from /opt/gnome/lib/libmonkey-media.so.0
  • #22 monkey_media_audio_stream_finalize
    from /opt/gnome/lib/libmonkey-media.so.0
  • #23 g_object_last_unref
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #24 g_object_unref
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #25 g_value_object_free_value
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #26 g_value_unset
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #27 g_signal_emit_valist
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #28 g_signal_emit
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #29 monkey_media_stream_timeout_cb
    from /opt/gnome/lib/libmonkey-media.so.0
  • #30 g_timeout_dispatch
    from /opt/gnome/lib/libglib-2.0.so.0
  • #31 g_main_dispatch
    from /opt/gnome/lib/libglib-2.0.so.0
  • #32 g_main_context_dispatch
    from /opt/gnome/lib/libglib-2.0.so.0
  • #33 g_main_context_iterate
    from /opt/gnome/lib/libglib-2.0.so.0
  • #34 g_main_loop_run
    from /opt/gnome/lib/libglib-2.0.so.0
  • #35 bonobo_main
    from /opt/gnome/lib/libbonobo-2.so.0
  • #36 main
  • #37 __libc_start_main
    from /lib/i686/libc.so.6
  • #0 wait4
    from /lib/i686/libc.so.6

Comment 1 Ben FrantzDale 2002-08-05 15:01:50 UTC

*** This bug has been marked as a duplicate of 86384 ***
Comment 2 Ben FrantzDale 2002-08-05 15:19:21 UTC
olive (on irc) tells me that I marked these as duplicates in the wrong
direction. I was just going by bug number (that bigger numbers are
dups of smaller numbers).
Comment 3 Ben FrantzDale 2002-08-05 15:19:57 UTC
*** Bug 86384 has been marked as a duplicate of this bug. ***
Comment 4 Thomas Vander Stichele 2002-08-10 22:48:34 UTC
Could someone tell me if this is still the case ? There have been
fixes put into cvs to gnomevfssrc.  Please let me know soon ;)
Comment 5 Bastien Nocera 2002-08-10 23:16:18 UTC
This is fixed as far as I'm concerned. I've been able to play songs
with Rhythmbox for 24 hours in a row without a crash. I think that's
gone now.

We might need a Gstreamer release for people to stop using the broken
gnomevfssrc though.
Comment 6 Jorn Baayen 2002-08-10 23:47:37 UTC
I'm still getting it with the latest cvs gst-plugins, especially on
quit or at the end of an album/group.
Comment 7 Jorn Baayen 2002-08-13 15:10:59 UTC
okay, found a reliable way to repro

update to the very very latest rb cvs, play something, and while
playing, quit. Whoop, there you go.
Comment 8 Jorn Baayen 2002-08-21 22:06:25 UTC
Changing severity to critical since it's quite a nasty one (still
getting it on exit and (sometimes) at the end of a list)
Comment 9 Olivier Martin 2002-08-23 08:22:31 UTC
*** Bug 91467 has been marked as a duplicate of this bug. ***
Comment 10 Christian Fredrik Kalager Schaller 2002-09-09 09:12:54 UTC
Wim Taymans have been trying unsucessfully to find this bug. A good
testcase would help a lot.
Comment 11 Wim Taymans 2002-09-15 11:42:58 UTC
gnomevfssrc performs gnome_vfs_init and gnome_vfs_shutdown based on
simple refcounting. gnomevfssrc should not open and shutdown vfs if it
was already initialized when the plugin loads.
fix in CVS
Comment 12 Olivier Martin 2002-09-15 12:05:48 UTC
Works with the latest gstreamer cvs. Thank you wim :)