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 502879 - videoparse segmentation fault
videoparse segmentation fault
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 0.10.6
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-12-10 17:00 UTC by Vincent Génieux
Modified: 2007-12-10 17:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fallback on default function to manage unexpected queries... (354 bytes, patch)
2007-12-10 17:06 UTC, Vincent Génieux
committed Details | Review

Description Vincent Génieux 2007-12-10 17:00:53 UTC
videoparse is doing a recursive loop while proceeding a query request on src pad.

here is my pipeline :
gst-launch-0.10 -v filesrc location=test.h264 ! h264parse ! videoparse ! 'video/x-h264,framerate=15/1' ! fakesink sync=true

here is the gdb backtrace : 
[...]
  • #30 gst_pad_query
    at gstpad.c line 3058
  • #31 gst_element_default_query
    at gstelement.c line 1462
  • #32 gst_video_parse_src_query
    at gstvideoparse.c line 358
  • #33 gst_pad_query

Comment 1 Vincent Génieux 2007-12-10 17:06:13 UTC
Created attachment 100700 [details] [review]
fallback on default function to manage unexpected queries...
Comment 2 Wim Taymans 2007-12-10 17:18:34 UTC
        Based on patch by: <mutex at runbox dot com>

        * gst/videoparse/gstvideoparse.c: (gst_video_parse_src_query):
        Forward the query upstream, the default element event handler does 
        something different. Fixes #502879.