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 614591 - [h264parse] Not cleaning internal state properly for reuse
[h264parse] Not cleaning internal state properly for reuse
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.21
Other Linux
: Normal critical
: 0.10.19
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-04-01 14:57 UTC by Levente Farkas
Modified: 2010-04-02 17:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
test prog (3.77 KB, text/x-csrc)
2010-04-01 14:57 UTC, Levente Farkas
Details

Description Levente Farkas 2010-04-01 14:57:00 UTC
Created attachment 157700 [details]
test prog

hi,
we finally wrote a small test program which also segfault. 
just call this test program with any h264 rtsp source eg camera like this:
-------------------------------
./gst_rtsp_test rtsp://root:123456@10.30.0.107/axis-media/media.amp?videocodec=h264
-------------------------------
and you'll got a segfault. we test it with many camera and even with our own rtsp server. after the 2-3 run the program cause segfault
-------------------------------
Program received signal SIGSEGV, Segmentation fault.
0x03f934df in g_slice_alloc () from /lib/libglib-2.0.so.0
(gdb) bt
  • #0 g_slice_alloc
    from /lib/libglib-2.0.so.0
  • #1 g_slist_prepend
    from /lib/libglib-2.0.so.0
  • #2 ??
    from /usr/lib/gstreamer-0.10/libgstrtsp.so
  • #3 ??
    from /usr/lib/gstreamer-0.10/libgstrtsp.so
  • #4 ??
    from /usr/lib/gstreamer-0.10/libgstrtsp.so
  • #5 gst_element_change_state
    from /usr/lib/libgstreamer-0.10.so.0
  • #6 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #7 gst_element_set_state
    from /usr/lib/libgstreamer-0.10.so.0
  • #8 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #9 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #10 gst_element_change_state
    from /usr/lib/libgstreamer-0.10.so.0
  • #11 gst_element_continue_state
    from /usr/lib/libgstreamer-0.10.so.0
  • #12 gst_element_change_state
    from /usr/lib/libgstreamer-0.10.so.0
  • #13 ??
    from /usr/lib/libgstreamer-0.10.so.0
  • #14 gst_element_set_state
    from /usr/lib/libgstreamer-0.10.so.0
  • #15 main
    at gst_rtsp_test.c line 132

Comment 1 Sebastian Dröge (slomo) 2010-04-02 17:47:38 UTC
That's a bug in h264parse... it's not cleaning up properly.
Comment 2 Sebastian Dröge (slomo) 2010-04-02 17:49:50 UTC
commit c55b24b43dd03f09cad17d2eab1510dc0c030020
Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
Date:   Fri Apr 2 19:48:56 2010 +0200

    h264parse: Correctly clean up internal state for reuse
    
    Fixes bug #614591.