[Bug 688707] New: rtsp-media: bus watch can outlive the rtsp-media object
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Nov 20 00:27:42 PST 2012
https://bugzilla.gnome.org/show_bug.cgi?id=688707
GStreamer | gst-rtsp-server | git
Summary: rtsp-media: bus watch can outlive the rtsp-media
object
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-rtsp-server
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: davidsf at axis.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=229447)
--> (https://bugzilla.gnome.org/attachment.cgi?id=229447)
Valgrind run
In gst-rtsp-server, I run a unit test in Valgrind:
GST_CHECKS=test_describe make -C tests/check gst/rtspserver.valgrind
I get several invalid reads. Please see the attached file. These invalid reads
come in the bus watch (bus_message) in rtsp-media.c. The RTSPClient has shut
down. Its finalize method has unreffed the last reference to its RTSPMedia,
which also gets finalized. gst_rtsp_media_finalize clears the state_lock
GRecMutex. Then, a (last) message comes to the bus_message handler. There,
state_lock is accessed after it has been cleared.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list