Bug 214797 - [GTK][WPE] http/tests/images/jpeg-partial-load.html is a flaky timeout/crash
Summary: [GTK][WPE] http/tests/images/jpeg-partial-load.html is a flaky timeout/crash
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Images (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-07-26 06:18 PDT by Diego Pino
Modified: 2023-01-10 07:45 PST (History)
3 users (show)

See Also:


Attachments
full crash log with threads (86.08 KB, text/plain)
2021-04-02 08:21 PDT, Carlos Alberto Lopez Perez
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Pino 2020-07-26 06:18:34 PDT
http/tests/images/jpeg-partial-load.html [ Timeout Image ]

First flaky timeout failure on r264603.

Diff: https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20(Tests)/r264894%20(14899)/http/tests/images/jpeg-partial-load-diff.txt

--- /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/http/tests/images/jpeg-partial-load-expected.txt
+++ /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/http/tests/images/jpeg-partial-load-actual.txt
@@ -1 +1,2 @@
+FAIL: Timed out waiting for notifyDone to be called
Comment 1 Lauro Moura 2020-08-10 20:17:23 PDT
Same is happening to WPE with first known timeout in r264601.
Comment 2 Carlos Alberto Lopez Perez 2021-04-02 08:21:01 PDT
This test also crashes sometimes.

When it crashes it gives this backtrace:

Thread 1 (Thread 0x7f7a1b1fd700 (LWP 105935)):
#0  g_logv (log_domain=0x7f7bb06e9240 <g_log_domain_gstreamer> "GStreamer", log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>, args=<optimized out>) at ../glib/gmessages.c:1413
#1  0x00007f7bb0891973 in g_log (log_domain=<optimized out>, log_level=log_level@entry=G_LOG_LEVEL_CRITICAL, format=format@entry=0x7f7bb08e9ad0 "%s: assertion '%s' failed") at ../glib/gmessages.c:1451
#2  0x00007f7bb089219d in g_return_if_fail_warning (log_domain=<optimized out>, pretty_function=pretty_function@entry=0x7f7bb07056c0 <__func__.9> "gst_stream_get_stream_id", expression=expression@entry=0x7f7bb06f8533 "GST_IS_STREAM (stream)") at ../glib/gmessages.c:2883
#3  0x00007f7bb06ad822 in gst_stream_get_stream_id (stream=0x0 [GstStream]) at ../gst/gststreams.c:265
#4  gst_stream_get_stream_id (stream=0x0 [GstStream]) at ../gst/gststreams.c:263
#5  0x00007f7b340840c0 in get_output_for_slot (slot=slot@entry=0x7f7a7c06c730) at ../gst/playback/gstdecodebin3.c:1534
#6  0x00007f7b34088880 in idle_reconfigure (pad=0x7f7a7403b2d0 [GstMultiQueuePad|src_0], info=<optimized out>, slot=0x7f7a7c06c730) at ../gst/playback/gstdecodebin3.c:2324
#7  0x00007f7bb0686297 in gst_pad_add_probe (pad=0x7f7a7403b2d0 [GstMultiQueuePad|src_0], mask=<optimized out>, mask@entry=GST_PAD_PROBE_TYPE_IDLE, callback=callback@entry=0x7f7b340887c0 <idle_reconfigure>, user_data=0x7f7a7c06c730, destroy_data=destroy_data@entry=0x0) at ../gst/gstpad.c:1501
#8  0x00007f7b3408a488 in handle_stream_switch (dbin=0x7f7a88021140 [GstDecodebin3|decodebin3-3], select_streams=<optimized out>, seqnum=<optimized out>) at ../gst/playback/gstdecodebin3.c:2661
#9  0x00007f7b3408a91c in gst_decodebin3_send_event (element=0x7f7a88021140 [GstDecodebin3|decodebin3-3], event=0x7f7a7c0064a0 [GstEvent]) at ../gst/playback/gstdecodebin3.c:2784
#10 0x00007f7bb06664da in gst_element_send_event (element=0x7f7a88021140 [GstDecodebin3|decodebin3-3], event=0x7f7a7c0064a0 [GstEvent]) at ../gst/gstelement.c:1947
#11 0x00007f7bc3032647 in WebCore::ImageDecoderGStreamer::InnerDecoder::handleMessage(_GstMessage*) (this=0x7f7b34162000, message=0x7f7a74041130 [GstMessage]) at ../../Source/WebCore/platform/graphics/gstreamer/ImageDecoderGStreamer.cpp:336
#12 0x00007f7bc30326e1 in operator()() const (__closure=0x7f7b3413c1d0) at ../../Source/WebCore/platform/graphics/gstreamer/ImageDecoderGStreamer.cpp:364
#13 0x00007f7bc303567e in WTF::Detail::CallableWrapper<WebCore::ImageDecoderGStreamer::InnerDecoder::preparePipeline()::<lambda(GstBus*, GstMessage*, gpointer)>::<lambda()>, void>::call(void) (this=0x7f7b3413c1c8) at WTF/Headers/wtf/Function.h:52
#14 0x00007f7bbe731d77 in WTF::Function<void ()>::operator()() const (this=0x7f7a1b1fc8f0) at WTF/Headers/wtf/Function.h:83
#15 0x00007f7bc5af6dc5 in WTF::RunLoop::performWork() (this=0x7f7b3413a000) at ../../Source/WTF/wtf/RunLoop.cpp:133
#16 0x00007f7bc5b855ba in operator()(gpointer) const (__closure=0x0, userData=0x7f7b3413a000) at ../../Source/WTF/wtf/glib/RunLoopGLib.cpp:80
#17 0x00007f7bc5b855de in _FUN(gpointer) () at ../../Source/WTF/wtf/glib/RunLoopGLib.cpp:82
#18 0x00007f7bc5b8554d in operator()(GSource*, GSourceFunc, gpointer) const (__closure=0x0, source=0x7f7a30006e00, callback=0x7f7bc5b855c1 <_FUN(gpointer)>, userData=0x7f7b3413a000) at ../../Source/WTF/wtf/glib/RunLoopGLib.cpp:53
#19 0x00007f7bc5b8559b in _FUN(GSource*, GSourceFunc, gpointer) () at ../../Source/WTF/wtf/glib/RunLoopGLib.cpp:56
#20 0x00007f7bb0889dbf in g_main_dispatch (context=0x7f7a30006290) at ../glib/gmain.c:3337
#21 g_main_context_dispatch (context=0x7f7a30006290) at ../glib/gmain.c:4055
#22 0x00007f7bb088a168 in g_main_context_iterate (context=0x7f7a30006290, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#23 0x00007f7bb088a483 in g_main_loop_run (loop=0x7f7a300063b0) at ../glib/gmain.c:4329
#24 0x00007f7bc5b85b64 in WTF::RunLoop::run() () at ../../Source/WTF/wtf/glib/RunLoopGLib.cpp:108
#25 0x00007f7bc3032bc9 in WebCore::ImageDecoderGStreamer::InnerDecoder::run() (this=0x7f7b34162000) at ../../Source/WebCore/platform/graphics/gstreamer/ImageDecoderGStreamer.cpp:388
#26 0x00007f7bc3032cd9 in operator()() const (__closure=0x7f7a236cc2a8) at ../../Source/WebCore/platform/graphics/gstreamer/ImageDecoderGStreamer.cpp:405
#27 0x00007f7bc303563e in WTF::Detail::CallableWrapper<WebCore::ImageDecoderGStreamer::pushEncodedData(const WebCore::SharedBuffer&)::<lambda()>, void>::call(void) (this=0x7f7a236cc2a0) at WTF/Headers/wtf/Function.h:52
#28 0x00007f7bbe731d77 in WTF::Function<void ()>::operator()() const (this=0x7f7a1b1fcc30) at WTF/Headers/wtf/Function.h:83
#29 0x00007f7bc5afb8bb in WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) (newThreadContext=0x7f7b341ac410) at ../../Source/WTF/wtf/Threading.cpp:181
#30 0x00007f7bc5b8dd77 in WTF::wtfThreadEntryPoint(void*) (context=0x7f7b341ac410) at ../../Source/WTF/wtf/posix/ThreadingPOSIX.cpp:241
#31 0x00007f7badf3c4d2 in start_thread (arg=<optimized out>) at pthread_create.c:477
#32 0x00007f7bb01c6323 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Comment 3 Carlos Alberto Lopez Perez 2021-04-02 08:21:11 PDT
Created attachment 425023 [details]
full crash log with threads
Comment 4 Carlos Alberto Lopez Perez 2021-04-02 09:55:05 PDT
Updated expectations on r275423
Comment 5 Diego Pino 2023-01-10 07:44:50 PST
The test or tests filed under this bug are not failing anymore. Test expectations updated in https://commits.webkit.org/258724@main.
Comment 6 Radar WebKit Bug Importer 2023-01-10 07:45:53 PST
<rdar://problem/104077354>