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 143086 - [artsdsink] crash
[artsdsink] crash
Status: RESOLVED DUPLICATE of bug 138830
Product: GStreamer
Classification: Platform
Component: dont know
0.8.1
Other Linux
: Normal critical
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 144593 144802 146038 146456 151570 151583 151600 151687 152295 164429 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-05-24 18:03 UTC by Alexis Rimbaud
Modified: 2005-06-05 09:50 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Alexis Rimbaud 2004-05-24 18:03:45 UTC
Description of Problem:
GStreamer crashes when I try to play an audio file in Rhythmbox or by
using gst-launch-0.8 (both with the artsd sink).
                                                                                
---
$ gst-launch-0.8 gnomevfssrc location=music.mp3 ! spider !
volume ! audioscale ! audioconvert ! $(gconftool-2 -g
/system/gstreamer/0.8/default/audiosink)
RUNNING pipeline ...
artsdsink: closed connection
Segmentation fault
---
 
 
Steps to reproduce the problem:
1. Configure gstreamer to use the artsd sink.
2. Try to play an audio file with gstreamer.
 
 
Actual Results:
Segmentation Fault.
 
 
Expected Results:
Play the audio file.
 
 
How often does this happen?
Every time.
 
 
Additional Information:
I'm running Debian Sid.
 
Backtrace:
---
(gdb) bt
  • #0 Arts::StartupManager::startup
    from /usr/lib/libmcop.so.1
  • #1 Arts::Dispatcher::Dispatcher
    from /usr/lib/libmcop.so.1
  • #2 arts_backend_init
    from /usr/lib/libartscbackend.so.0
  • #3 arts_init
    from /usr/lib/libartsc.so.0
  • #4 gst_artsdsink_get_type
    from /usr/lib/gstreamer-0.8/libgstartsdsink.so
  • #5 gst_artsdsink_get_type
    from /usr/lib/gstreamer-0.8/libgstartsdsink.so
  • #6 gst_pad_is_linked
    from /usr/lib/libgstreamer-0.8.so.1
  • #7 gst_pad_is_linked
    from /usr/lib/libgstreamer-0.8.so.1
  • #8 gst_audio_convert_get_type
    from /usr/lib/gstreamer-0.8/libgstaudioconvert.so
  • #9 gst_pad_is_linked
    from /usr/lib/libgstreamer-0.8.so.1
  • #10 gst_pad_is_linked
    from /usr/lib/libgstreamer-0.8.so.1
  • #11 gst_element_set_state
    from /usr/lib/libgstreamer-0.8.so.1
  • #12 gst_element_set_state
    from /usr/lib/libgstreamer-0.8.so.1
  • #13 gst_element_set_state
    from /usr/lib/libgstreamer-0.8.so.1
  • #14 gst_bin_child_state_change
    from /usr/lib/libgstreamer-0.8.so.1
  • #15 gst_pipeline_new
    from /usr/lib/libgstreamer-0.8.so.1
  • #16 gst_element_set_state
    from /usr/lib/libgstreamer-0.8.so.1
  • #17 main

Comment 1 Tim-Philipp Müller 2004-05-25 12:03:26 UTC
Happens as well here, with up-to-date debian sid: 
 
sceptic [tim] - ~ ---> valgrind --num-callers=15 gst-launch-0.8 filesrc 
location=foo.mp3 ! mad ! spider ! artsdsink 
 
RUNNING pipeline ... 
artsdsink: closed connection 
 
 Invalid read of size 4 
    at 0x3CE2D36C: Arts::StartupManager::startup() 
(in /usr/lib/libmcop.so.1.0.0) 
    by 0x3CE13023: Arts::Dispatcher::Dispatcher(Arts::IOManager*, 
Arts::Dispatcher::StartServer) (in /usr/lib/libmcop.so.1.0.0) 
    by 0x3CAE2C74: arts_backend_init (in /usr/lib/libartscbackend.so.0.0.0) 
    by 0x3C969755: arts_init (in /usr/lib/libartsc.so.0.0.0) 
    by 0x3C14BDCD: gst_artsdsink_open_audio (gstartsdsink.c:296) 
    by 0x3C14B87E: gst_artsdsink_link (gstartsdsink.c:174) 
    by 0x3C05B8DE: gst_pad_link_call_link_functions (gstpad.c:1300) 
    by 0x3C05BD29: gst_pad_link_try (gstpad.c:1371) 
    by 0x3C938A92: gst_spider_identity_link (gstspideridentity.c:261) 
    by 0x3C05B8DE: gst_pad_link_call_link_functions (gstpad.c:1300) 
    by 0x3C05BD29: gst_pad_link_try (gstpad.c:1371) 
    by 0x3C938A92: gst_spider_identity_link (gstspideridentity.c:261) 
    by 0x3C05B8DE: gst_pad_link_call_link_functions (gstpad.c:1300) 
    by 0x3C05BD29: gst_pad_link_try (gstpad.c:1371) 
    by 0x3C060003: gst_pad_set_explicit_caps (gstpad.c:2480) 
  Address 0x3CB89DD4 is not stack'd, malloc'd or free'd 
 
 Process terminating with default action of signal 11 (SIGSEGV): dumping core 
  Access not within mapped region at address 0x3CB89DD4 
    at 0x3CE2D36C: Arts::StartupManager::startup() 
(in /usr/lib/libmcop.so.1.0.0) 
    by 0x3CE13023: Arts::Dispatcher::Dispatcher(Arts::IOManager*, 
Arts::Dispatcher::StartServer) (in /usr/lib/libmcop.so.1.0.0) 
    by 0x3CAE2C74: arts_backend_init (in /usr/lib/libartscbackend.so.0.0.0) 
    by 0x3C969755: arts_init (in /usr/lib/libartsc.so.0.0.0) 
    by 0x3C14BDCD: gst_artsdsink_open_audio (gstartsdsink.c:296) 
    by 0x3C14B87E: gst_artsdsink_link (gstartsdsink.c:174) 
    by 0x3C05B8DE: gst_pad_link_call_link_functions (gstpad.c:1300) 
    by 0x3C05BD29: gst_pad_link_try (gstpad.c:1371) 
    by 0x3C938A92: gst_spider_identity_link (gstspideridentity.c:261) 
    by 0x3C05B8DE: gst_pad_link_call_link_functions (gstpad.c:1300) 
    by 0x3C05BD29: gst_pad_link_try (gstpad.c:1371) 
    by 0x3C938A92: gst_spider_identity_link (gstspideridentity.c:261) 
    by 0x3C05B8DE: gst_pad_link_call_link_functions (gstpad.c:1300) 
    by 0x3C05BD29: gst_pad_link_try (gstpad.c:1371) 
    by 0x3C060003: gst_pad_set_explicit_caps (gstpad.c:2480) 
 
Segmentation fault (core dumped) 
 
 
However, when run like this: 
 
sceptic [tim] - ~ ---> gst-launch-0.8 filesrc location=foo.mp3 ! mad ! 
artsdsink 
RUNNING pipeline ... 
artsdsink: closed connection 
Segmentation fault (core dumped) 
 
it also segfaults, but not when run with valgrind: 
 
sceptic [tim] - ~ ---> valgrind --num-callers=15 gst-launch-0.8 filesrc 
location=xaa.mp3 ! mad ! artsdsink 
 
**29892** GStreamer has detected that it is running inside valgrind. 
**29892** It might now take different code paths to ease debugging. 
**29892** Of course, this may also lead to different bugs. 
 
RUNNING pipeline ... 
artsdsink: closed connection 
 
.... long time of nothing happening ..... 
 
Execution ended after 65 iterations (sum 19756033000 ns, average 303938969 ns, 
min 20790000 ns, max 3992515000 ns). 
warning: leaving MCOP Dispatcher and still 146 types alive. 
artsdsink: closed connection 
 
Same thing with filesrc ! mad ! audioconvert ! artsdsink  (e.g. no crash or 
warnings in valgrind, but crash without valgrind) 
 
Can't get any useful stack trace with gdb. 
 
Cheers 
-Tim 
 
Comment 2 Tim-Philipp Müller 2004-05-25 14:21:24 UTC
I've rebuilt libarts1 from scratch from the debian source. Same thing. 
 
However, if I change the debian/rules to use 
 
        ../configure $(configkde)  --enable-debug=full\ 
        --with-alsa 
 
instead of 
 
        ../configure $(configkde)  --enable-final\ 
        --with-alsa 
 
and install the resulting .debs, it all works fine (both with and without 
dh_strip). 
 
Cheers 
 -Tim 
 
 
Comment 3 Christophe Fergeau 2004-06-23 07:11:27 UTC
Bug #144593 and #144802 are duplicates but each of those are giving different
kind of info about the bug, so it's worth reading them.
Comment 4 Christophe Fergeau 2004-06-23 07:11:54 UTC
*** Bug 144593 has been marked as a duplicate of this bug. ***
Comment 5 Christophe Fergeau 2004-06-23 07:12:05 UTC
*** Bug 144802 has been marked as a duplicate of this bug. ***
Comment 6 Alexis Rimbaud 2004-07-08 23:01:39 UTC
*** Bug 146038 has been marked as a duplicate of this bug. ***
Comment 7 Christophe Fergeau 2004-07-09 08:35:51 UTC
*** Bug 146456 has been marked as a duplicate of this bug. ***
Comment 8 Vincent Noel 2004-09-01 14:13:48 UTC
*** Bug 151570 has been marked as a duplicate of this bug. ***
Comment 9 Vincent Noel 2004-09-01 14:14:21 UTC
*** Bug 151583 has been marked as a duplicate of this bug. ***
Comment 10 Vincent Noel 2004-09-01 14:14:37 UTC
*** Bug 151600 has been marked as a duplicate of this bug. ***
Comment 11 Vincent Noel 2004-09-03 14:15:52 UTC
*** Bug 151687 has been marked as a duplicate of this bug. ***
Comment 12 Vincent Noel 2004-09-10 13:23:50 UTC
*** Bug 152295 has been marked as a duplicate of this bug. ***
Comment 13 Ronald Bultje 2005-01-19 11:13:40 UTC
*** Bug 164429 has been marked as a duplicate of this bug. ***
Comment 14 Loïc Minier 2005-06-05 09:44:15 UTC
Looks like an arts bug anyway, see http://bugs.kde.org/show_bug.cgi?id=62603 and
bug 138830.

I'm considering closing this as NOT GNOME, or as a dup of the totem dup pool,
bug 138830.

Please have a look at the upstream report and report any difference which might
indicate a different bug is present in GStreamer than the upstream described one.
Comment 15 Loïc Minier 2005-06-05 09:50:29 UTC

*** This bug has been marked as a duplicate of 138830 ***