[Bug 749284] glimagesink crash on windows

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu May 14 02:19:35 PDT 2015


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

--- Comment #9 from Nicola <lists at svrinformatica.it> ---
thanks, in virtualbox I found the right settings and now it works (even the old
version), on real hardware some progress but still crash, now popup a window
before segfault, here is the trace


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 2540.0x13d4]
[New Thread 2540.0xea8]
[New Thread 2540.0x1320]
Setting pipeline to PAUSED ...
[New Thread 2540.0x980]
[New Thread 2540.0x1360]
[New Thread 2540.0xfb4]
Pipeline is PREROLLING ...
Got context from element 'sink': gst.gl.GLDisplay=context,
gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplay\)\ gldisplay0";

** (gst-launch-1.0:2540): CRITICAL **: gst_gl_shader_get_attribute_location:
assertion 'priv->program_handle != 0' failed

** (gst-launch-1.0:2540): CRITICAL **: gst_gl_shader_get_attribute_location:
assertion 'priv->program_handle != 0' failed
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

** (gst-launch-1.0:2540): CRITICAL **: gst_gl_shader_use: assertion
'priv->program_handle' failed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 2540.0x1360]
0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) thread apply all bt

Thread 6 (Thread 2540.0xfb4):
#0  0x00000000773df4ca in ntdll!ZwWaitForKeyedEvent () from
C:\Windows\SYSTEM32\ntdll.dll
#1  0x0000000077451c3d in ntdll!RtlSleepConditionVariableSRW () from
C:\Windows\SYSTEM32\ntdll.dll
#2  0x00000000771bb5f8 in SleepConditionVariableSRW () from
C:\Windows\system32\kernel32.dll
#3  0x00000000620976cd in gst_gl_window_default_send_message (window=0x10,
callback=<optimized out>, data=<optimized out>) at gstglwindow.c:563
#4  0x0000000062083d40 in gst_gl_context_thread_add (context=<optimized out>,
func=0x62084f90 <_generate_texture>, data=0x4f8f6d0)
    at gstglcontext.c:1601
#5  0x0000000062087159 in _gl_mem_new (allocator=0x2d2a130,
context=context at entry=0x2d55090, params=params at entry=0x2d73b08,
    info=info at entry=0x2d73b58, valign=valign at entry=0x2d73bf0,
plane=plane at entry=0, user_data=user_data at entry=0x0, notify=notify at entry=0x0,
    parent=0x0) at gstglmemory.c:781
#6  0x000000006208766a in gst_gl_memory_alloc (context=context at entry=0x2d55090,
params=params at entry=0x2d73b08, info=info at entry=0x2d73b58,
    plane=plane at entry=0, valign=valign at entry=0x2d73bf0) at gstglmemory.c:1280
#7  0x0000000062087928 in gst_gl_memory_setup_buffer (context=0x2d55090,
params=params at entry=0x2d73b08, info=info at entry=0x2d73b58,
    valign=valign at entry=0x2d73bf0, buffer=buffer at entry=0x2d5b1b0) at
gstglmemory.c:1427
#8  0x0000000062087b66 in gst_gl_buffer_pool_alloc (pool=0x2d73cc0,
buffer=0x4f8fa78, params=<optimized out>) at gstglbufferpool.c:258
#9  0x00000000614528e2 in do_alloc_buffer (pool=pool at entry=0x2d73cc0,
buffer=buffer at entry=0x4f8fa78, params=0x0) at gstbufferpool.c:270
#10 0x0000000061452b8e in default_acquire_buffer (pool=0x2d73cc0,
buffer=0x4f8fa78, params=0x0) at gstbufferpool.c:1093
#11 0x0000000062088448 in gst_gl_buffer_pool_acquire_buffer (bpool=0x2d73cc0,
buffer=0x4f8fa78, params=0x0) at gstglbufferpool.c:301
#12 0x0000000061453fcb in gst_buffer_pool_acquire_buffer (pool=0x2d73cc0,
buffer=0x4f8fa78, params=0x0) at gstbufferpool.c:1201
#13 0x0000000002f7d554 in gst_base_src_default_create (src=0x2d40bd0,
offset=18446744073709551615, size=4096, buffer=0x4f8fbc8) at gstbasesrc.c:1473
#14 0x0000000002f7ff95 in gst_base_src_get_range (src=src at entry=0x2d40bd0,
offset=offset at entry=18446744073709551615, length=0, length at entry=4096,
    buf=buf at entry=0x4f8fd08) at gstbasesrc.c:2455
#15 0x0000000002f81a43 in gst_base_src_loop (pad=0x2d41040) at
gstbasesrc.c:2731
#16 0x00000000614ac934 in gst_task_func (task=0x2d57050) at gsttask.c:331
#17 0x00000000686154b5 in g_thread_pool_thread_proxy (data=<optimized out>) at
gthreadpool.c:307
#18 0x0000000068614cc9 in g_thread_proxy (data=0x2d26a40) at gthread.c:764
#19 0x000000006863103a in g_thread_win32_proxy (data=<optimized out>) at
gthread-win32.c:450
#20 0x000007fefef9415f in srand () from C:\Windows\system32\msvcrt.dll
#21 0x000007fefef96ebd in msvcrt!_ftime64_s () from
C:\Windows\system32\msvcrt.dll
#22 0x00000000771859cd in KERNEL32!BaseThreadInitThunk () from
C:\Windows\system32\kernel32.dll
#23 0x00000000773bb891 in ntdll!RtlUserThreadStart () from
C:\Windows\SYSTEM32\ntdll.dll
#24 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 5 (Thread 2540.0x1360):
#0  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 2540.0x980):
#0  0x00000000773de18a in ntdll!ZwWaitForMultipleObjects () from
C:\Windows\SYSTEM32\ntdll.dll
#1  0x000007fefd511430 in KERNELBASE!GetCurrentProcess () from
C:\Windows\system32\KernelBase.dll
#2  0x0000000000000001 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 3 (Thread 2540.0x1320):
#0  0x00000000773df4da in ntdll!ZwWaitForWorkViaWorkerFactory () from
C:\Windows\SYSTEM32\ntdll.dll
#1  0x00000000773af68b in ntdll!RtlValidateHeap () from
C:\Windows\SYSTEM32\ntdll.dll
#2  0x00000000771859cd in KERNEL32!BaseThreadInitThunk () from
C:\Windows\system32\kernel32.dll
#3  0x00000000773bb891 in ntdll!RtlUserThreadStart () from
C:\Windows\SYSTEM32\ntdll.dll
#4  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread 2540.0xea8):
#0  0x00000000773df4da in ntdll!ZwWaitForWorkViaWorkerFactory () from
C:\Windows\SYSTEM32\ntdll.dll
---Type <return> to continue, or q <return> to quit---
#1  0x00000000773af68b in ntdll!RtlValidateHeap () from
C:\Windows\SYSTEM32\ntdll.dll
#2  0x00000000771859cd in KERNEL32!BaseThreadInitThunk () from
C:\Windows\system32\kernel32.dll
#3  0x00000000773bb891 in ntdll!RtlUserThreadStart () from
C:\Windows\SYSTEM32\ntdll.dll
#4  0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 1 (Thread 2540.0x13d4):
#0  0x00000000773de18a in ntdll!ZwWaitForMultipleObjects () from
C:\Windows\SYSTEM32\ntdll.dll
#1  0x000007fefd511430 in KERNELBASE!GetCurrentProcess () from
C:\Windows\system32\KernelBase.dll
#2  0x0000000000000002 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)

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