[Webkit-unassigned] [Bug 258200] [GStreamer][DMABuf] AV1 video is broken with the dav1d decoder

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 16 10:02:17 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=258200

--- Comment #4 from Philippe Normand <philn at igalia.com> ---
I got a crash in release after seeing a couple green frames. Wasn't able to make it crash in debug.

#0  __memcpy_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:265                                                                                                                   
265             VMOVU   (%rsi), %VMM(0) 

(gdb) bt                                                                                                                                                                                                             
#0  __memcpy_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:265                                                                                                                   
#1  0x00007fc9709d7dcc in WebCore::MediaPlayerPrivateGStreamer::pushDMABufToCompositor() () at /var/home/phil/WebKit/WebKitBuild/GTK/Release/lib/libwebkit2gtk-4.1.so.0                                              
#2  0x00007fc9709d90d5 in WebCore::MediaPlayerPrivateGStreamer::triggerRepaint(WTF::GRefPtr<_GstSample>&&) () at /var/home/phil/WebKit/WebKitBuild/GTK/Release/lib/libwebkit2gtk-4.1.so.0                            
#3  0x00007fc9709c0aae in webKitVideoSinkSetMediaPlayerPrivate(_GstElement*, WebCore::MediaPlayerPrivateGStreamer*)::$_1::__invoke(_GstElement*, WebCore::MediaPlayerPrivateGStreamer*) ()                           
    at /var/home/phil/WebKit/WebKitBuild/GTK/Release/lib/libwebkit2gtk-4.1.so.0                                                                                                                                      
#4  0x00007fc9656b1be6 in ffi_call_unix64 () at ../src/x86/unix64.S:104                                                                                                                                              
#5  0x00007fc9656ae4bf in ffi_call_int (cif=cif at entry=0x7fc87e41b580, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure at entry=0x0) at ../src/x86/ffi64.c:673                       
#6  0x00007fc9656b118e in ffi_call                                                                                                                                                                                   
    (cif=cif at entry=0x7fc87e41b580, fn=fn at entry=0x7fc9709c0a70 <webKitVideoSinkSetMediaPlayerPrivate(_GstElement*, WebCore::MediaPlayerPrivateGStreamer*)::$_1::__invoke(_GstElement*, WebCore::MediaPlayerPrivateGStr
eamer*)>, rvalue=rvalue at entry=0x7fc87e41b4e0, avalue=avalue at entry=0x7fc87e41b4a0) at ../src/x86/ffi64.c:710                                                                                                          
#7  0x00007fc96d406113 in g_cclosure_marshal_generic_va                                                                                                                                                              
    (closure=<optimized out>, return_value=<optimized out>, instance=<optimized out>, args_list=<optimized out>, marshal_data=<optimized out>, n_params=<optimized out>, param_types=<optimized out>)                
    at ../gobject/gclosure.c:1650                                                                                                                                                                                    
#8  0x00007fc96d41d608 in _g_closure_invoke_va (param_types=0x0, n_params=<optimized out>, args=0x7fc87e41b790, instance=0xb21590, return_value=0x7fc87e41b6c0, closure=0xb22410) at ../gobject/gclosure.c:895       
#9  g_signal_emit_valist (instance=0xb21590, signal_id=259, detail=0, var_args=var_args at entry=0x7fc87e41b790) at ../gobject/gsignal.c:3462                                                                           
#10 0x00007fc96d41d6f3 in g_signal_emit (instance=instance at entry=0xb21590, signal_id=<optimized out>, detail=detail at entry=0) at ../gobject/gsignal.c:3612                                                            
#11 0x00007fc9685635c3 in gst_app_sink_render_common (psink=0xb21590, data=0x7fc8840a3060 [None], is_list=<optimized out>) at ../gst-libs/gst/app/gstappsink.c:1103                                                  
#12 0x00007fc96853ad2d in gst_base_sink_chain_unlocked.isra.0 (basesink=0xb21590, obj=0x7fc8840a3060, is_list=0, pad=<optimized out>) at ../libs/gst/base/gstbasesink.c:3952                                         
#13 0x00007fc968508bde in gst_base_sink_chain_main (basesink=0xb21590, pad=<optimized out>, obj=0x7fc8840a3060, is_list=0) at ../libs/gst/base/gstbasesink.c:4078                                                    
#14 0x00007fc96841aa1c in gst_pad_chain_data_unchecked (pad=pad at entry=0xb21900, type=type at entry=4112, data=data at entry=0x7fc8840a3060) at ../gst/gstpad.c:4463                                                        
#15 0x00007fc96841b7ae in gst_pad_push_data (pad=pad at entry=0xb24290, type=type at entry=4112, data=data at entry=0x7fc8840a3060) at ../gst/gstpad.c:4739                                                                   
#16 0x00007fc96841bde4 in gst_pad_push (pad=0xb24290, buffer=0x7fc8840a3060 [None]) at ../gst/gstpad.c:4858                                                                                                          
#17 0x00007fc9683ff1bb in gst_proxy_pad_chain_default (pad=pad at entry=0xb23e70, parent=parent at entry=0xb20c70, buffer=buffer at entry=0x7fc8840a3060 [None]) at ../gst/gstghostpad.c:127                                  
#18 0x00007fc96841aa1c in gst_pad_chain_data_unchecked (pad=pad at entry=0xb23e70, type=type at entry=4112, data=data at entry=0x7fc8840a3060) at ../gst/gstpad.c:4463                                                        
#19 0x00007fc96841b7ae in gst_pad_push_data (pad=pad at entry=0x7fc880007eb0, type=type at entry=4112, data=data at entry=0x7fc8840a3060) at ../gst/gstpad.c:4739                                                             
#20 0x00007fc96841bde4 in gst_pad_push (pad=0x7fc880007eb0, buffer=0x7fc8840a3060 [None]) at ../gst/gstpad.c:4858                                                                                                    
#21 0x00007fc9683ff1bb in gst_proxy_pad_chain_default (pad=pad at entry=0x7fc880008f30, parent=parent at entry=0x7fc880007eb0, buffer=buffer at entry=0x7fc8840a3060 [None]) at ../gst/gstghostpad.c:127                      
#22 0x00007fc96841aa1c in gst_pad_chain_data_unchecked (pad=pad at entry=0x7fc880008f30, type=type at entry=4112, data=data at entry=0x7fc8840a3060) at ../gst/gstpad.c:4463                                                  
#23 0x00007fc96841b7ae in gst_pad_push_data (pad=pad at entry=0x7fc880045310, type=type at entry=4112, data=data at entry=0x7fc8840a3060) at ../gst/gstpad.c:4739                                                             
#24 0x00007fc96841bde4 in gst_pad_push (pad=0x7fc880045310, buffer=0x7fc8840a3060 [None]) at ../gst/gstpad.c:4858                                                                                                    
#25 0x00007fc968516a7c in gst_base_transform_chain (pad=pad at entry=0x7fc880044ee0, parent=parent at entry=0x7fc880044b00, buffer=buffer at entry=0x7fc8840a3060 [None]) at ../libs/gst/base/gstbasetransform.c:2391         
#26 0x00007fc96841aa1c in gst_pad_chain_data_unchecked (pad=pad at entry=0x7fc880044ee0, type=type at entry=4112, data=data at entry=0x7fc8840a3060) at ../gst/gstpad.c:4463                                                  
#27 0x00007fc96841b7ae in gst_pad_push_data (pad=pad at entry=0x7fc8800138a0, type=type at entry=4112, data=data at entry=0x7fc8840a3060) at ../gst/gstpad.c:4739                                                             
#28 0x00007fc96841bde4 in gst_pad_push (pad=0x7fc8800138a0, buffer=0x7fc8840a3060 [None]) at ../gst/gstpad.c:4858                                                                                                    
#29 0x00007fc968516a7c in gst_base_transform_chain (pad=pad at entry=0x7fc8800134b0, parent=parent at entry=0x7fc880011f70, buffer=buffer at entry=0x7fc8840a3060 [None]) at ../libs/gst/base/gstbasetransform.c:2391         
#30 0x00007fc96841aa1c in gst_pad_chain_data_unchecked (pad=pad at entry=0x7fc8800134b0, type=type at entry=4112, data=data at entry=0x7fc8840a3060) at ../gst/gstpad.c:4463                                                  
#31 0x00007fc96841b7ae in gst_pad_push_data (pad=pad at entry=0x7fc880044690, type=type at entry=4112, data=data at entry=0x7fc8840a3060) at ../gst/gstpad.c:4739                                                             
#32 0x00007fc96841bde4 in gst_pad_push (pad=0x7fc880044690, buffer=0x7fc8840a3060 [None]) at ../gst/gstpad.c:4858                                                                                                    
#33 0x00007fc968516a7c in gst_base_transform_chain (pad=pad at entry=0x7fc880044420, parent=parent at entry=0x7fc880044040, buffer=buffer at entry=0x7fc8840a3060 [None]) at ../libs/gst/base/gstbasetransform.c:2391         
#34 0x00007fc96841aa1c in gst_pad_chain_data_unchecked (pad=pad at entry=0x7fc880044420, type=type at entry=4112, data=data at entry=0x7fc8840a3060) at ../gst/gstpad.c:4463                                                  
#35 0x00007fc96841b7ae in gst_pad_push_data (pad=pad at entry=0x7fc880043c90, type=type at entry=4112, data=data at entry=0x7fc8840a3060) at ../gst/gstpad.c:4739                                                             
#36 0x00007fc96841bde4 in gst_pad_push (pad=0x7fc880043c90, buffer=0x7fc8840a3060 [None]) at ../gst/gstpad.c:4858                                                                                                    
#37 0x00007fc968516a7c in gst_base_transform_chain (pad=pad at entry=0x7fc88003c560, parent=parent at entry=0x7fc88003b070, buffer=buffer at entry=0x7fc8840a3060 [None]) at ../libs/gst/base/gstbasetransform.c:2391         
#38 0x00007fc96841aa1c in gst_pad_chain_data_unchecked (pad=pad at entry=0x7fc88003c560, type=type at entry=4112, data=data at entry=0x7fc8840a3060) at ../gst/gstpad.c:4463                                                  
#39 0x00007fc96841b7ae in gst_pad_push_data (pad=pad at entry=0x7fc88000b540, type=type at entry=4112, data=data at entry=0x7fc8840a3060) at ../gst/gstpad.c:4739                                                             
#40 0x00007fc96841bde4 in gst_pad_push (pad=0x7fc88000b540, buffer=0x7fc8840a3060 [None]) at ../gst/gstpad.c:4858                                                                                                    
#41 0x00007fc9683ff1bb in gst_proxy_pad_chain_default (pad=pad at entry=0x7fc880009960, parent=parent at entry=0x7fc88000b0a0, buffer=buffer at entry=0x7fc8840a3060 [None]) at ../gst/gstghostpad.c:127                      
#42 0x00007fc96841aa1c in gst_pad_chain_data_unchecked (pad=pad at entry=0x7fc880009960, type=type at entry=4112, data=data at entry=0x7fc8840a3060) at ../gst/gstpad.c:4463                                                  
#43 0x00007fc96841b7ae in gst_pad_push_data (pad=pad at entry=0x7fc88000a160, type=type at entry=4112, data=data at entry=0x7fc8840a3060) at ../gst/gstpad.c:4739                                                             
#44 0x00007fc96841bde4 in gst_pad_push (pad=0x7fc88000a160, buffer=buffer at entry=0x7fc8840a3060 [None]) at ../gst/gstpad.c:4858                                                                                       
#45 0x00007fc8e00a4ea9 in gst_queue_push_one (queue=0x7fc880006b10) at ../plugins/elements/gstqueue.c:1388
#46 gst_queue_loop (pad=<optimized out>) at ../plugins/elements/gstqueue.c:1541                                                                                                                                      
#47 0x00007fc968454ee4 in gst_task_func (task=0x7fc88005ec30) at ../gst/gsttask.c:384                                                                                                                                
#48 0x00007fc96925db02 in g_thread_pool_thread_proxy (data=<optimized out>) at ../glib/gthreadpool.c:350                                                                                                             
#49 0x00007fc96925b373 in g_thread_proxy (data=0x7fc944001b90) at ../glib/gthread.c:831                                                                                                                              
#50 0x00007fc968d24c57 in start_thread (arg=<optimized out>) at pthread_create.c:444                                                                                                                                 
#51 0x00007fc968daaa70 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230616/e6f94341/attachment-0001.htm>


More information about the webkit-unassigned mailing list