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 542220 - SIGSEGV when trying to get audio from an MPEG
SIGSEGV when trying to get audio from an MPEG
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.10.19
Other Linux
: High critical
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-07-09 14:41 UTC by Wolfram
Modified: 2008-07-10 21:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Wolfram 2008-07-09 14:41:28 UTC
Hi,

I was trying to send the audio part of a video file to a softphone. A MPEG file I own produces a SIGSEGV when I create a pipeline

cat /root/video.mpg | gst-launch -v fdsrc fd=0 ! decodebin ! audioresample ! alawenc ! rtppcmapay ssrc=1234 ! udpsink host=<address> port=<port>

It does not crash when I replace decodebin with mpegdemux ! mad ! audioconvert :

cat /root/video.mpg | gst-launch -v fdsrc fd=0 ! mpegdemux ! mad ! audioconvert ! audioresample ! alawenc ! rtppcmapay ssrc=1234 ! udpsink host=<address> port=<port>

So I suspect decodebin is the culprit. It still crashes when I place a fakesink rather early in the pipeline, so the RTP encoding is most likely not the problem.

I ripped the file off some website, so I can't attach it here due to copyright/terms of license problems. 

Please send me a mail if you wish to deal with this.
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2008-07-09 18:29:26 UTC
Thanks for taking the time to report this bug.
Without a stack trace from the crash it's very hard to determine what caused it.
Can you get us a stack trace? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance!

If you can google for the name of the video and find the page again you could also tell us the link.
Comment 2 Wolfram 2008-07-10 16:33:54 UTC
I grabbed the latest release versions and compiled with --enable-debug. Unfortunately I can't get mpeg files to work at all at the moment, so I can't reproduce.

But, somebody I chatted with yesterday on the IRC channel, Benoit, tried the file on his own installation, which was CVS HEAD, and it worked.

For the moment I can only assume that the error is due to a broken installation on my system. Should I be able to reproduce the error, I will amend this bug, but for the moment it can be closed.

Thanks,
Wolfram
Comment 3 Stefan Sauer (gstreamer, gtkdoc dev) 2008-07-10 21:28:38 UTC
Ok, please reopen if you can reproduce.