GNOME Bugzilla – Bug 762870
rtspsrc crash
Last modified: 2016-05-22 18:24:08 UTC
Hi, while testing some other things on current git master I got this crash: Got message #149 from element "rtspsrc0" (warning): GstMessageWarning, gerror=(GError)NULL; WARNING: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Delayed linking failed. Additional debug info: `n� *** Error in `/home/nicola/gst/master/gstreamer/tools/.libs/lt-gst-launch-1.0': double free or corruption (!prev): 0x0000000000854a60 *** the pipeline was quite simple: rtspsrc ... ! rtponvifparse ! rtpjpegdepay ! fakesink the crash does not happen all the times, I tryed to reproduce inside valgrind with no success, eventually I'll try to produce a better test case later
Do you have a public stream to reproduce it? Can you get a backtrace with gdb? Also if it worked before, using git bisect to find the offending commit might be useful.
And: does it happen if you remove the rtpjpegdepay from the pipeline? If yes, does it still happen if you remove the rtponvifparse from the pipeline?
it is not easy to trigger, here is the output from gdb from the whole pipeline Thread 1 "lt-gst-launch-1" received signal SIGABRT, Aborted. 0x00007ffff66af2a8 in raise () from /usr/lib/libc.so.6 (gdb) bt
+ Trace 236016
Thread 12 (Thread 0x7fffe0ff9700 (LWP 13098))
Thread 11 (Thread 0x7fffe17fa700 (LWP 13096))
Thread 10 (Thread 0x7fffe1ffb700 (LWP 13095))
Thread 9 (Thread 0x7fffe27fc700 (LWP 13094))
Thread 8 (Thread 0x7fffe2ffd700 (LWP 13093))
a quick look at the backtrace seems to show that rtpjpegdepay and onvifparse are not doing anything bad when gst-launch crash however I'll do some more tests and eventually I'll provide a better report as soon as I have some spare time, thanks!
this seems relevant too: Got message #149 from element "rtspsrc0" (warning): GstMessageWarning, gerror=(GError)NULL; WARNING: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Delayed linking failed. Additional debug info: *** Error in `/home/nicola/gst/master/gstreamer/tools/.libs/lt-gst-launch-1.0': free(): invalid pointer: 0x00000000008083b0 *** the problem seems to happen only at the initial connection
Please install debug symbols for all the relevant libraries and get another backtrace
Can't fix this without more info (ie. stack trace or valgrind log with full debugging symbols), sorry! Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment. Thanks!