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 695328 - decodebin: crash if shut down while in typefind "have-type" or "pad-added" callback
decodebin: crash if shut down while in typefind "have-type" or "pad-added" ca...
Status: RESOLVED DUPLICATE of bug 700342
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal critical
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-03-06 22:05 UTC by Nicolas Dufresne (ndufresne)
Modified: 2013-05-15 14:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Race condition (4.82 KB, text/x-log)
2013-03-06 22:05 UTC, Nicolas Dufresne (ndufresne)
Details
C code to reproduce (447 bytes, text/x-csrc)
2013-03-06 22:06 UTC, Nicolas Dufresne (ndufresne)
Details

Description Nicolas Dufresne (ndufresne) 2013-03-06 22:05:03 UTC
Created attachment 238255 [details]
Race condition

While doing test on PTV I started to notice crash when quickly going to NULL state after having set state to PLAYING. I have written a C code to try and catch this error and endup with this valgrind trace that seem to show a race in decodebin.
Comment 1 Nicolas Dufresne (ndufresne) 2013-03-06 22:06:17 UTC
Created attachment 238256 [details]
C code to reproduce

This C code helps reproduce the bug. It does not always occur, playing with the usleep() helps.
Comment 2 Tim-Philipp Müller 2013-03-25 22:21:35 UTC
Actually, your stack trace is slightly different, retitling.
Comment 3 Sebastian Dröge (slomo) 2013-05-15 14:12:34 UTC

*** This bug has been marked as a duplicate of bug 700342 ***