[Bug 753902] New: gstgl: make check fails for NVIDIA driver
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Aug 20 19:03:04 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=753902
Bug ID: 753902
Summary: gstgl: make check fails for NVIDIA driver
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: vineeth.tm at samsung.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
When i run make check for bad plugins, the gl elements fail with the below
error
*** Error in
`/home/vineethtm/gst/master/gst-plugins-bad/tests/check/libs/.libs/lt-gstglcontext':
double free or corruption (fasttop): 0x43200468 ***
*** Error in
`/home/vineethtm/gst/master/gst-plugins-bad/tests/check/libs/.libs/lt-gstglcontext':
double free or corruption (fasttop): 0x43200468 ***
This happens only with NVIDIA driver(version 346.82. It happened with older
version 340.76 as well). If i change to Nouveau driver, it doesn't give any
issue.
This seems to happen only with
gst_gl_context_create (context, 0, &error);
when 0/NULL is passed as the shared context.
Lets take example of test_share in gstglcontext.c test file
I removed everything else and just ran
GST_START_TEST (test_share)
{
GstGLContext *context;
GstGLWindow *window;
GError *error = NULL;
context = gst_gl_context_new (display);
window = gst_gl_window_new (display);
gst_gl_context_set_window (context, window);
gst_gl_context_create (context, 0, &error);
gst_object_unref (window);
gst_object_unref (context);
}
This gives the same failure.
If i just comment the line gst_gl_context_create (context, 0, &error);, then
it does not fail.
It does not fail even if i comment either of the window/context unref
functions. But that will cause memory leak i guess.
I debugged a bit. but could not find anything.
It is using context_glx and window_x11
--
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