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 730641 - dvbbasebin: criticals/crash if tsparse is missing
dvbbasebin: criticals/crash if tsparse is missing
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
1.3.2
Other Linux
: Normal normal
: 1.3.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-05-23 14:08 UTC by Bernhard Graaf
Modified: 2014-06-22 12:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
add missed element cast (1.20 KB, patch)
2014-05-23 20:08 UTC, Stefan Ringel
rejected Details | Review
gst-launch-1.0 --gst-debug=*:5 (1.49 MB, text/plain)
2014-05-23 22:39 UTC, Bernhard Graaf
  Details

Description Bernhard Graaf 2014-05-23 14:08:03 UTC
I’ve got an error on a simple pipeline:

gst-launch-1.0 -vvv dvbbasebin frequency=12544000 program-numbers='17501' symbol-rate=22000 polarity='h' adapter=1 ! fakesink

 

The message is:

(gst-launch-1.0:3607): GStreamer-CRITICAL **: gst_element_get_static_pad: assertion 'GST_IS_ELEMENT (element)' failed

 

(gst-launch-1.0:3607): GStreamer-CRITICAL **: gst_ghost_pad_new: assertion 'GST_IS_PAD (target)' failed

 

(gst-launch-1.0:3607): GStreamer-CRITICAL **: gst_element_add_pad: assertion 'GST_IS_PAD (pad)' failed

 

(gst-launch-1.0:3607): GStreamer-CRITICAL **: gst_element_get_request_pad: assertion 'GST_IS_ELEMENT (element)' failed

0:00:00.015438600  3607       0x83e550 ERROR           GST_PIPELINE ./grammar.y:613:gst_parse_perform_link: dvbbasebin0 konnte nicht mit fakesink0 verknüpft werden

WARNUNG: Fehlerhafte Leitung: dvbbasebin0 konnte nicht mit fakesink0 verknüpft werden

 

I try to use GStreamer 1.3.2.1 for this (because of bug 709414).

 

If I try to make a ‘gst-inspect-1.0 dvbbasebin’ I got this:

 

(gst-inspect-1.0:3623): GStreamer-CRITICAL **: gst_element_get_static_pad: assertion 'GST_IS_ELEMENT (element)' failed

 

(gst-inspect-1.0:3623): GStreamer-CRITICAL **: gst_ghost_pad_new: assertion 'GST_IS_PAD (target)' failed

 

(gst-inspect-1.0:3623): GStreamer-CRITICAL **: gst_element_add_pad: assertion 'GST_IS_PAD (pad)' failed

Factory Details:

  Rank                     none (0)

  Long-name                DVB bin

  Klass                    Source/Bin/Video

  Description              Access descramble and split DVB streams

  Author                   Alessandro Decina <alessandro@nnva.org>

 

Plugin Details:

  Name                     dvb

  Description              DVB elements

  Filename                 /usr/local/lib/gstreamer-1.0/libgstdvb.so

  Version                  1.3.2.1

 

…
Comment 1 Stefan Ringel 2014-05-23 20:08:15 UTC
Created attachment 277083 [details] [review]
add missed element cast
Comment 2 Stefan Ringel 2014-05-23 20:11:01 UTC
Bernhard, can you test it and give a response?

(In reply to comment #0)
> I’ve got an error on a simple pipeline:
> 
> gst-launch-1.0 -vvv dvbbasebin frequency=12544000 program-numbers='17501'
> symbol-rate=22000 polarity='h' adapter=1 ! fakesink
> 
please add the required property "delsys" to your pipeline.
Comment 3 Tim-Philipp Müller 2014-05-23 20:21:29 UTC
I don't think those casts will fix these run-time criticals.
Comment 4 Stefan Ringel 2014-05-23 20:28:03 UTC
(In reply to comment #3)
> I don't think those casts will fix these run-time criticals.

Why not? I have tested it.
Comment 5 Bernhard Graaf 2014-05-23 21:46:37 UTC
Hi Stefan,
sorry, I've got the same result:
gst-launch-1.0 dvbbasebin frequency=12544000 program-numbers='17501' symbol-rate=22000 polarity='h' adapter=1 delsys=5 ! fakesink                                                                                        
(gst-launch-1.0:1776): GStreamer-CRITICAL **: gst_element_get_static_pad: assertion 'GST_IS_ELEMENT (element)' failed

(gst-launch-1.0:1776): GStreamer-CRITICAL **: gst_ghost_pad_new: assertion 'GST_IS_PAD (target)' failed

(gst-launch-1.0:1776): GStreamer-CRITICAL **: gst_element_add_pad: assertion 'GST_IS_PAD (pad)' failed

(gst-launch-1.0:1776): GStreamer-CRITICAL **: gst_element_get_request_pad: assertion 'GST_IS_ELEMENT (element)' failed
0:00:00.010387033  1776      0x19fe750 ERROR           GST_PIPELINE ./grammar.y:613:gst_parse_perform_link: dvbbasebin0 konnte nicht mit fakesink0 verknüpft werden
WARNUNG: Fehlerhafte Leitung: dvbbasebin0 konnte nicht mit fakesink0 verknüpft werden
Comment 6 Stefan Ringel 2014-05-23 21:52:07 UTC
Can you please start gst-launch-1.0 with --gst-debug=*:5 .
Comment 7 Bernhard Graaf 2014-05-23 22:39:17 UTC
Created attachment 277091 [details]
gst-launch-1.0  --gst-debug=*:5
Comment 8 Stefan Ringel 2014-05-24 05:24:37 UTC
>0:00:00.064265854 [332m 3253[00m      0x1fda830 [37mDEBUG  [00m [00m        GST_REGISTRY gstregistry.c:476:gst_registry_add_plugin:<registry0>[00m adding plugin 0x2097180 for filename "/usr/local/lib/gstreamer-1.0/libgstmpegtsdemux.so"
>0:00:00.064275153 [332m 3253[00m      0x1fda830 [37mDEBUG  [00m [00m        GST_REGISTRY gstregistrychunks.c:857:_priv_gst_registry_chunks_load_plugin:[00m Added plugin 'libgstmpegtsdemux.so' plugin with 0 features from binary registry
>0:00:00.064283354 [332m 3253[00m      0x1fda830 [37mDEBUG  [00m [00m        GST_REGISTRY gstregistrybinary.c:604:priv_gst_registry_binary_read_cache:[00m reading binary registry 245531(3bf1b)/281307

?? 0 elements ?? (tsparse, tsdemux)

>0:00:00.076713768 [332m 3253[00m      0x1fda830 [36mINFO   [00m [00;01;37;41m GST_ELEMENT_FACTORY gstelementfactory.c:454:gst_element_factory_make:[00m no such element factory "tsparse"!
Comment 9 Stefan Ringel 2014-05-24 05:25:42 UTC
(In reply to comment #8)
> >0:00:00.064265854 [332m 3253[00m      0x1fda830 [37mDEBUG  [00m [00m        GST_REGISTRY gstregistry.c:476:gst_registry_add_plugin:<registry0>[00m adding plugin 0x2097180 for filename "/usr/local/lib/gstreamer-1.0/libgstmpegtsdemux.so"
> >0:00:00.064275153 [332m 3253[00m      0x1fda830 [37mDEBUG  [00m [00m        GST_REGISTRY gstregistrychunks.c:857:_priv_gst_registry_chunks_load_plugin:[00m Added plugin 'libgstmpegtsdemux.so' plugin with 0 features from binary registry
> >0:00:00.064283354 [332m 3253[00m      0x1fda830 [37mDEBUG  [00m [00m        GST_REGISTRY gstregistrybinary.c:604:priv_gst_registry_binary_read_cache:[00m reading binary registry 245531(3bf1b)/281307
> 
> ?? 0 elements ?? (tsparse, tsdemux)
> 
> >0:00:00.076713768 [332m 3253[00m      0x1fda830 [36mINFO   [00m [00;01;37;41m GST_ELEMENT_FACTORY gstelementfactory.c:454:gst_element_factory_make:[00m no such element factory "tsparse"!

its not dvbbasebin!
Comment 10 Bernhard Graaf 2014-05-24 08:57:06 UTC
Is there a fault in libgstmpegtsdemux.so?
This lib is available in /usr/local/lib/gstreamer-1.0/!
If I make a gst-inspect with tsparse (as well with tsdemux -> same lib) I get a 'No element or plugin >>tsparse<<'
Comment 11 Edward Hervey 2014-05-24 09:56:13 UTC
Looks like you have a build issue. You should get this:

$ gst-inspect-1.0 mpegtsdemux
Plugin Details:
  Name                     mpegtsdemux
  Description              MPEG TS demuxer

...

  tsdemux: MPEG transport stream demuxer
  tsparse: MPEG transport stream parser

  2 features:
  +-- 2 elements
Comment 12 Bernhard Graaf 2014-05-24 18:01:11 UTC
I had removed GStreamer 1.2.x with purge before installing 1.3.x, 
but now, after new installation of OS (without GStreamer 1.2.x), it works.
I'm not shure, why other plugins works and mpegtsdemux not (build issue?) but now it works fine for me.
Comment 13 Tim-Philipp Müller 2014-06-01 10:03:26 UTC
dvbbasebin shouldn't crash just because tsparse isn't available. Fixed in git master:

 commit ef143252d07e7e3ed01b66e8c0fb10dfaff7ee9a
 Author: Tim-Philipp Müller <tim@centricular.com>
 Date:   Sun May 25 13:05:49 2014 +0100

    dvbbasebin: better error handling in case tsparse is missing
    
    https://bugzilla.gnome.org/show_bug.cgi?id=730641