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 782430 - plugin: Load validate tracer globals in the main namespace
plugin: Load validate tracer globals in the main namespace
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
unspecified
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-05-10 11:16 UTC by Thibault Saunier
Modified: 2018-11-03 12:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
plugin: Load validate tracer globals in the main namespace (1.04 KB, patch)
2017-05-10 11:16 UTC, Thibault Saunier
none Details | Review

Description Thibault Saunier 2017-05-10 11:16:37 UTC
Otherwise other GstValidate plugins won't be able to access
GstValidate static variables leading to totally broken behaviour and
segfaults
Comment 1 Thibault Saunier 2017-05-10 11:16:45 UTC
Created attachment 351533 [details] [review]
plugin: Load validate tracer globals in the main namespace
Comment 2 Tim-Philipp Müller 2017-05-13 08:55:09 UTC
Does the validate tracer have to be a separate plugin .so? Is it useful outside of validate? Can't it live inside the validate library .so?
Comment 3 Thibault Saunier 2017-05-13 13:21:17 UTC
(In reply to Tim-Philipp Müller from comment #2)
> Does the validate tracer have to be a separate plugin .so? Is it useful
> outside of validate? Can't it live inside the validate library .so?

Validate can be used in two different ways, as a tracer, or as a lib.

Using it as a tracer allows us to use it in any existing app, and it is pretty usefull fmpov to be able to run scenarios on random apps.

I started developing scenarios for gst-rtsp-server adding validate action in a dedicated plugin, and would like to be able to just use validate as a tracer in that case.
Comment 4 GStreamer system administrator 2018-11-03 12:41:04 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/235.