[Bug 749284] glimagesink crash on windows

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed May 13 06:11:04 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=749284

--- Comment #7 from Nicola <lists at svrinformatica.it> ---
native installation has a different issue

D:\gstreamer\1.0\x86_64\bin>f:/gdb_64.exe --args gst-launch-1.0.exe
videotestsrc ! glimagesink
GNU gdb (GDB) 7.9
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-w64-mingw32".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
This binary was built by Equation Solution <http://www.Equation.com>...
Reading symbols from gst-launch-1.0.exe...done.
(gdb) run
Starting program: D:\gstreamer\1.0\x86_64\bin\gst-launch-1.0.exe videotestsrc
"!" glimagesink
[New Thread 2892.0xdcc]
[New Thread 2892.0x1168]
[New Thread 2892.0xbc4]
[New Thread 2892.0xc64]
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'glimagesink0': gst.gl.GLDisplay=con[New Thread
2892.0xb94]
text, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplay\)\ gldisplay0";
[New Thread 2892.0x12c4]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 2892.0xb94]
0x0000000062091ef1 in gst_gl_upload_perform_with_buffer (upload=0x2e113f0,
buffer=0x2e29070, tex_id=0x2d60638) at gstglupload.c:275
275     gstglupload.c: No such file or directory.
(gdb) bt
#0  0x0000000062091ef1 in gst_gl_upload_perform_with_buffer (upload=0x2e113f0,
buffer=0x2e29070, tex_id=0x2d60638) at gstglupload.c:275
#1  0x00000000635c25d1 in gst_glimage_sink_prepare (bsink=0x2d602a0,
buf=0x2e29070) at gstglimagesink.c:759
#2  0x000000000375a34b in __fu912_GST_CAT_QOS () at gstbasesink.c:3375
#3  0x000000000375b76c in gst_base_sink_chain_main (basesink=0x2d602a0,
pad=<optimized out>, obj=0x2e29070, is_list=<optimized out>)
    at gstbasesink.c:3538
#4  0x000000006147e345 in gst_pad_chain_data_unchecked (data=0x2e29070,
type=4112, pad=0x2d606d0) at gstpad.c:3836
#5  gst_pad_push_data (pad=pad at entry=0x2d0b8b0, type=type at entry=4112,
data=<optimized out>) at gstpad.c:4069
#6  0x0000000061484d26 in gst_pad_push (pad=pad at entry=0x2d0b8b0,
buffer=<optimized out>) at gstpad.c:4180
#7  0x0000000003760c85 in gst_base_src_loop (pad=0x2d0b8b0) at
gstbasesrc.c:2835
#8  0x00000000614aa69b in gst_task_func (task=0x2e25050) at gsttask.c:317
#9  0x00000000686150f2 in g_thread_pool_thread_proxy (data=<optimized out>) at
gthreadpool.c:307
#10 0x00000000686148f9 in g_thread_proxy (data=0x2cd3b40) at gthread.c:764
#11 0x0000000068630cea in g_thread_win32_proxy (data=<optimized out>) at
gthread-win32.c:450
#12 0x000007fefef9415f in srand () from C:\Windows\system32\msvcrt.dll
#13 0x000007fefef96ebd in msvcrt!_ftime64_s () from
C:\Windows\system32\msvcrt.dll
#14 0x00000000771859cd in KERNEL32!BaseThreadInitThunk () from
C:\Windows\system32\kernel32.dll
#15 0x00000000773bb891 in ntdll!RtlUserThreadStart () from
C:\Windows\SYSTEM32\ntdll.dll
#16 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)


however it does not crash if I enable debug logs, it fail this way

D:\gstreamer\1.0\x86_64\bin>gst-launch-1.0.exe videotestsrc ! glimagesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'glimagesink0': gst.gl.GLDisplay=context,
gst.gl.GLDisp
ERROR: from element /GstPipeline:pipeline0/GstGLImageSink:glimagesink0:
glGetStr
Additional debug info:
gstglimagesink.c(458): _ensure_gl_setup ():
/GstPipeline:pipeline0/GstGLImageSin
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

with log disabled it crash

-- 
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