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 536309 - Seeking in pipeline with videoparse crashes
Seeking in pipeline with videoparse crashes
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other All
: Normal critical
: 0.10.8
Assigned To: Wim Taymans
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-06-02 19:49 UTC by Stian Selnes (stianse)
Modified: 2008-06-09 12:05 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Stian Selnes (stianse) 2008-06-02 19:49:55 UTC
Steps to reproduce:
1. Short python script producing the bug may be found at http://www.pvv.org/~stianse/files/gst-bug/
2. Run script. This launches the pipeline "filesrc location=./bus_cif.yuv ! videoparse width=352 height=288 ! ffmpegcolorspace ! ximagesink".
3. Start video with "play" button and hit "next" button soon after. This will run a seek command similar to "self.pipeline.seek_simple(gst.FORMAT_DEFAULT, gst.SEEK_FLAG_FLUSH, 30)".


Stack trace:
Program received signal SIGSEGV, Segmentation fault.

Thread 3056847760 (LWP 12543)

  • #0 gst_caps_unref
    at gstcaps.c line 391
  • #1 gst_caps_replace
    at gstcaps.c line 1746
  • #2 gst_buffer_set_caps
    at gstbuffer.c line 424
  • #3 gst_raw_parse_push_buffer
    at gstrawparse.c line 232
  • #4 gst_raw_parse_loop
    at gstrawparse.c line 359
  • #5 gst_task_func
    at gsttask.c line 192
  • #6 g_thread_pool_thread_proxy
    at gthreadpool.c line 265
  • #7 g_thread_create_proxy
    at gthread.c line 635
  • #8 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #9 clone
    from /lib/tls/i686/cmov/libc.so.6

Other information:
Comment 1 Wim Taymans 2008-06-09 12:05:09 UTC
        * gst/rawparse/gstrawparse.c: (gst_raw_parse_reset),
        (gst_raw_parse_push_buffer), (gst_raw_parse_chain),
        (gst_raw_parse_loop), (gst_raw_parse_sink_activatepull),
        (gst_raw_parse_convert), (gst_raw_parse_sink_event),
        (gst_raw_parse_handle_seek_push), (gst_raw_parse_handle_seek_pull),
        (gst_raw_parse_src_query), (gst_raw_parse_get_fps):
        * gst/rawparse/gstrawparse.h:
        Fix seeking, timestamps, duration and some more. Fixes #536309.