Bug 195267

Summary: [WPE][EME] Two tests crashing with same stacktrace
Product: WebKit Reporter: Claudio Saavedra <csaavedra>
Component: WPE WebKitAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, calvaris, cturner, magomez, zan
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Description Claudio Saavedra 2019-03-04 00:14:12 PST
Flaky crashes but happening at the same method, probably related.

imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-after-update.https.html
imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-again-after-resetting-src.https.html

Core was generated by `/home/buildbot/wpe/wpe-linux-64-release-tests/build/WebKitBuild/Release/bin/WPE'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f9231169530 in decrypt(_WebKitMediaCommonEncryptionDecrypt*, _GstBuffer*, _GstBuffer*, _GstBuffer*, unsigned int, _GstBuffer*) () from /home/buildbot/wpe/wpe-linux-64-release/build/WebKitBuild/Release/lib/libWPEWebKit-0.1.so.3
[Current thread is 1 (Thread 0x7f91aaffd700 (LWP 1117))]

[...]

Thread 1 (Thread 0x7f91aaffd700 (LWP 1117)):
#0  0x00007f9231169530 in decrypt(_WebKitMediaCommonEncryptionDecrypt*, _GstBuffer*, _GstBuffer*, _GstBuffer*, unsigned int, _GstBuffer*) () from /home/buildbot/wpe/wpe-linux-64-release/build/WebKitBuild/Release/lib/libWPEWebKit-0.1.so.3
#1  0x00007f923116b178 in transformInPlace(_GstBaseTransform*, _GstBuffer*) () from /home/buildbot/wpe/wpe-linux-64-release/build/WebKitBuild/Release/lib/libWPEWebKit-0.1.so.3
#2  0x00007f922bc5c9f6 in default_generate_output (trans=0x7f917400dd70, outbuf=0x7f91aaffc718) at /home/buildbot/wpe/wpe-linux-64-release-tests/build/WebKitBuild/DependenciesWPE/Source/gstreamer-1.14.4/libs/gst/base/gstbasetransform.c:2127
#3  0x00007f922bc5c227 in gst_base_transform_chain (pad=<optimized out>, parent=0x7f917400dd70, buffer=<optimized out>) at /home/buildbot/wpe/wpe-linux-64-release-tests/build/WebKitBuild/DependenciesWPE/Source/gstreamer-1.14.4/libs/gst/base/gstbasetransform.c:2285
#4  0x00007f922bb51826 in gst_pad_chain_data_unchecked (data=0x7f918c018df0, type=4112, pad=0x7f918c0083c0) at /home/buildbot/wpe/wpe-linux-64-release-tests/build/WebKitBuild/DependenciesWPE/Source/gstreamer-1.14.4/gst/gstpad.c:4322
#5  gst_pad_push_data (pad=pad@entry=0x7f917c2ce580, type=type@entry=4112, data=data@entry=0x7f918c018df0) at /home/buildbot/wpe/wpe-linux-64-release-tests/build/WebKitBuild/DependenciesWPE/Source/gstreamer-1.14.4/gst/gstpad.c:4578
#6  0x00007f922bb59a12 in gst_pad_push (pad=0x7f917c2ce580, buffer=0x7f918c018df0) at /home/buildbot/wpe/wpe-linux-64-release-tests/build/WebKitBuild/DependenciesWPE/Source/gstreamer-1.14.4/gst/gstpad.c:4697
#7  0x00007f922bb51826 in gst_pad_chain_data_unchecked (data=0x7f918c018df0, type=4112, pad=0x7f9140168070) at /home/buildbot/wpe/wpe-linux-64-release-tests/build/WebKitBuild/DependenciesWPE/Source/gstreamer-1.14.4/gst/gstpad.c:4322
#8  gst_pad_push_data (pad=pad@entry=0x7f91a40b2060, type=type@entry=4112, data=data@entry=0x7f918c018df0) at /home/buildbot/wpe/wpe-linux-64-release-tests/build/WebKitBuild/DependenciesWPE/Source/gstreamer-1.14.4/gst/gstpad.c:4578
#9  0x00007f922bb59a12 in gst_pad_push (pad=pad@entry=0x7f91a40b2060, buffer=buffer@entry=0x7f918c018df0) at /home/buildbot/wpe/wpe-linux-64-release-tests/build/WebKitBuild/DependenciesWPE/Source/gstreamer-1.14.4/gst/gstpad.c:4697
#10 0x00007f922bb3fe1b in gst_proxy_pad_chain_default (pad=<optimized out>, parent=<optimized out>, buffer=0x7f918c018df0) at /home/buildbot/wpe/wpe-linux-64-release-tests/build/WebKitBuild/DependenciesWPE/Source/gstreamer-1.14.4/gst/gstghostpad.c:127
#11 0x00007f922bb51826 in gst_pad_chain_data_unchecked (data=0x7f918c018df0, type=4112, pad=0x55ea083660c0) at /home/buildbot/wpe/wpe-linux-64-release-tests/build/WebKitBuild/DependenciesWPE/Source/gstreamer-1.14.4/gst/gstpad.c:4322
#12 gst_pad_push_data (pad=pad@entry=0x7f9140164950, type=type@entry=4112, data=data@entry=0x7f918c018df0) at /home/buildbot/wpe/wpe-linux-64-release-tests/build/WebKitBuild/DependenciesWPE/Source/gstreamer-1.14.4/gst/gstpad.c:4578
#13 0x00007f922bb59a12 in gst_pad_push (pad=pad@entry=0x7f9140164950, buffer=buffer@entry=0x7f918c018df0) at /home/buildbot/wpe/wpe-linux-64-release-tests/build/WebKitBuild/DependenciesWPE/Source/gstreamer-1.14.4/gst/gstpad.c:4697
#14 0x00007f922bb3fe1b in gst_proxy_pad_chain_default (pad=<optimized out>, parent=<optimized out>, buffer=0x7f918c018df0) at /home/buildbot/wpe/wpe-linux-64-release-tests/build/WebKitBuild/DependenciesWPE/Source/gstreamer-1.14.4/gst/gstghostpad.c:127
#15 0x00007f923116dd7b in webkitMediaSrcChain(_GstPad*, _GstObject*, _GstBuffer*) () from /home/buildbot/wpe/wpe-linux-64-release/build/WebKitBuild/Release/lib/libWPEWebKit-0.1.so.3
#16 0x00007f922bb51826 in gst_pad_chain_data_unchecked (data=0x7f918c018df0, type=4112, pad=0x7f91cc26c370) at /home/buildbot/wpe/wpe-linux-64-release-tests/build/WebKitBuild/DependenciesWPE/Source/gstreamer-1.14.4/gst/gstpad.c:4322
#17 gst_pad_push_data (pad=pad@entry=0x7f91401690a0, type=type@entry=4112, data=data@entry=0x7f918c018df0) at /home/buildbot/wpe/wpe-linux-64-release-tests/build/WebKitBuild/DependenciesWPE/Source/gstreamer-1.14.4/gst/gstpad.c:4578
#18 0x00007f922bb59a12 in gst_pad_push (pad=pad@entry=0x7f91401690a0, buffer=0x7f918c018df0) at /home/buildbot/wpe/wpe-linux-64-release-tests/build/WebKitBuild/DependenciesWPE/Source/gstreamer-1.14.4/gst/gstpad.c:4697
#19 0x00007f922bc583f5 in gst_base_src_loop (pad=0x7f91401690a0) at /home/buildbot/wpe/wpe-linux-64-release-tests/build/WebKitBuild/DependenciesWPE/Source/gstreamer-1.14.4/libs/gst/base/gstbasesrc.c:2957
#20 0x00007f922bb85701 in gst_task_func (task=0x7f91500a7050) at /home/buildbot/wpe/wpe-linux-64-release-tests/build/WebKitBuild/DependenciesWPE/Source/gstreamer-1.14.4/gst/gsttask.c:332
#21 0x00007f922a8f83be in g_thread_pool_thread_proxy (data=<optimized out>) at ../../Source/glib-2.58.1/glib/gthreadpool.c:307
#22 0x00007f922a8f79e5 in g_thread_proxy (data=0x7f9140003a80) at ../../Source/glib-2.58.1/glib/gthread.c:784
#23 0x00007f922c0bb494 in start_thread (arg=0x7f91aaffd700) at pthread_create.c:333
#24 0x00007f9229a7caff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97


Full stacktraces at:

https://build.webkit.org/results/WPE%20Linux%2064-bit%20Release%20(Tests)/r242340%20(12472)/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-playback-temporary-setMediaKeys-after-update.https-crash-log.txt
https://build.webkit.org/results/WPE%20Linux%2064-bit%20Release%20(Tests)/r242340%20(12472)/imported/w3c/web-platform-tests/encrypted-media/clearkey-mp4-setmediakeys-again-after-resetting-src.https-crash-log.txt
Comment 1 Miguel Gomez 2019-10-31 05:58:22 PDT
These are passing now.