| Summary: | [GStreamer] Several mediastream tests sporadically crash | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Diego Pino <dpino> |
| Component: | Media | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | pnormand, vjaquez, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=210498 | ||
|
Description
Diego Pino
2020-04-11 11:36:19 PDT
looks like https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/619 which need to be backported to 1.16 Another flaky crash test with a similar stacktrace: imported/w3c/web-platform-tests/mediacapture-streams/MediaStream-MediaElement-firstframe.https.html [ Crash ] First crash happened at: r263096 NOERROR r263097 UNKNOWN r263098 CRASH (Expected: PASS) Crash-log: https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20(Tests)/r263098%20(14096)/imported/w3c/web-platform-tests/mediacapture-streams/MediaStream-MediaElement-firstframe.https-crash-log.txt Thread 1 (Thread 0x7f0440ff9700 (LWP 17424)): #0 0x00007f0526be8ee5 in _g_log_abort (breakpoint=1) at ../glib/gmessages.c:554 #1 0x00007f0526bea1c9 in g_logv (log_domain=0x7f0526d002f7 "GLib-GObject", log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>, args=args@entry=0x7f0440ff5af0) at ../glib/gmessages.c:1373 #2 0x00007f0526bea393 in g_log (log_domain=log_domain@entry=0x7f0526d002f7 "GLib-GObject", log_level=log_level@entry=G_LOG_LEVEL_CRITICAL, format=format@entry=0x7f0526c3b77f "%s: assertion '%s' failed") at ../glib/gmessages.c:1415 #3 0x00007f0526beab8d in g_return_if_fail_warning (log_domain=log_domain@entry=0x7f0526d002f7 "GLib-GObject", pretty_function=pretty_function@entry=0x7f0526d03978 <__func__.15604> "g_object_ref", expression=expression@entry=0x7f0526d02715 "old_val > 0") at ../glib/gmessages.c:2771 #4 0x00007f0526cd39fa in g_object_ref (_object=0x55e5f08bf630) at ../gobject/gobject.c:3368 #5 0x00007f0526cd39fa in g_object_ref (_object=_object@entry=0x55e5f08bf630) at ../gobject/gobject.c:3360 #6 0x00007f05274bb1df in gst_object_ref (object=object@entry=0x55e5f08bf630) at ../gst/gstobject.c:239 #7 0x00007f05274bb659 in gst_object_replace (oldobj=0x55e5f0876e88, newobj=0x55e5f08bf630 [GstObject|p"^E^L^D^?]) at ../gst/gstobject.c:357 #8 0x00007f052729008f in gst_gl_upload_new (context=context@entry=0x55e5f08bf630 [GstGLContext|p"^E^L^D^?]) at ../gst-libs/gst/gl/gstglupload.c:1736 #9 0x00007f04c9f7866d in _gst_gl_upload_element_transform_caps (bt=0x55e5f086e1b0 [GstGLUploadElement|gluploadelement0], direction=GST_PAD_SRC, caps=0x7f040c051b70 [GstCaps], filter=0x0) at ../ext/gl/gstgluploadelement.c:163 #10 0x00007f052760de71 in gst_base_transform_transform_caps (trans=trans@entry=0x55e5f086e1b0 [GstGLUploadElement|gluploadelement0], direction=GST_PAD_SRC, caps=caps@entry=0x7f040c051b70 [GstCaps], filter=filter@entry=0x0) at ../libs/gst/base/gstbasetransform.c:474 #11 0x00007f0527611ce5 in gst_base_transform_query_caps (filter=0x0, pad=0x55e5f0536d60 [GstPad|sink], trans=0x55e5f086e1b0 [GstGLUploadElement|gluploadelement0]) at ../libs/gst/base/gstbasetransform.c:695 #12 0x00007f0527611ce5 in gst_base_transform_default_query (trans=0x55e5f086e1b0 [GstGLUploadElement|gluploadelement0], direction=<optimized out>, query=0x55e5f08bab20 [GstQuery]) at ../libs/gst/base/gstbasetransform.c:1550 #13 0x00007f052750b238 in gst_pad_query (pad=pad@entry=0x55e5f0536d60 [GstPad|sink], query=query@entry=0x55e5f08bab20 [GstQuery]) at ../gst/gstpad.c:4072 #14 0x00007f052750b99b in gst_pad_peer_query (pad=pad@entry=0x55e5f04c0c90 [GstProxyPad|proxypad4], query=0x55e5f08bab20 [GstQuery]) at ../gst/gstpad.c:4204 #15 0x00007f0527543d3c in query_caps_func (pad=pad@entry=0x55e5f04c0c90 [GstProxyPad|proxypad4], data=data@entry=0x7f0440ff5fa0) at ../gst/gstutils.c:2765 #16 0x00007f0527509d2e in gst_pad_forward (pad=pad@entry=0x55e5f04beaa0 [GstGhostPad|sink], forward=forward@entry=0x7f0527543d10 <query_caps_func>, user_data=user_data@entry=0x7f0440ff5fa0) at ../gst/gstpad.c:3008 #17 0x00007f0527546a6a in gst_pad_proxy_query_caps (pad=pad@entry=0x55e5f04beaa0 [GstGhostPad|sink], query=query@entry=0x55e5f08bab20 [GstQuery]) at ../gst/gstutils.c:2815 #18 0x00007f0527509f58 in gst_pad_query_caps_default (query=0x55e5f08bab20 [GstQuery], pad=0x55e5f04beaa0 [GstGhostPad|sink]) at ../gst/gstpad.c:3187 #19 0x00007f0527509f58 in gst_pad_query_default (pad=0x55e5f04beaa0 [GstGhostPad|sink], parent=<optimized out>, query=0x55e5f08bab20 [GstQuery]) at ../gst/gstpad.c:3415 #20 0x00007f052750b238 in gst_pad_query (pad=pad@entry=0x55e5f04beaa0 [GstGhostPad|sink], query=query@entry=0x55e5f08bab20 [GstQuery]) at ../gst/gstpad.c:4072 #21 0x00007f052750b99b in gst_pad_peer_query (pad=pad@entry=0x55e5f04c0ef0 [GstProxyPad|proxypad5], query=0x55e5f08bab20 [GstQuery]) at ../gst/gstpad.c:4204 #22 0x00007f0527543d3c in query_caps_func (pad=pad@entry=0x55e5f04c0ef0 [GstProxyPad|proxypad5], data=data@entry=0x7f0440ff6270) at ../gst/gstutils.c:2765 #23 0x00007f0527509d2e in gst_pad_forward (pad=pad@entry=0x55e5f04bed20 [GstGhostPad|sink], forward=forward@entry=0x7f0527543d10 <query_caps_func>, user_data=user_data@entry=0x7f0440ff6270) at ../gst/gstpad.c:3008 ... STDERR: Traceback (most recent call last): STDERR: File "<string>", line 3, in <module> STDERR: ModuleNotFoundError: No module named 'webkit' STDERR: /home/slave/.gdbinit:7: Error in sourced command file: STDERR: Error while executing Python code. STDERR: STDERR: warning: core file may not match specified executable file. STDERR: g_object_ref: assertion 'old_val > 0' failed imported/w3c/web-platform-tests/mediacapture-streams/MediaStream-MediaElement-firstframe.https.html is a text failure since r267140. r267137 PASS (Expected: PASS CRASH) [r267138-r267139] UNKNOWN r267140 TEXT PASS CRASH (Expected: PASS CRASH) Diff: https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20(Tests)/r267333%20(15940)/imported/w3c/web-platform-tests/mediacapture-streams/MediaStream-MediaElement-firstframe.https-diff.txt --- /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/mediacapture-streams/MediaStream-MediaElement-firstframe.https-expected.txt +++ /home/buildbot/worker/gtk-linux-64-release-tests/build/layout-test-results/imported/w3c/web-platform-tests/mediacapture-streams/MediaStream-MediaElement-firstframe.https-actual.txt @@ -1,3 +1,4 @@ +CONSOLE MESSAGE: Error: assert_unreached: Got unexpected event resize Reached unreachable code When prompted, accept to share your video stream. Description @@ -6,6 +7,8 @@ +Harness Error (FAIL), message = Error: assert_unreached: Got unexpected event resize Reached unreachable code + PASS Tests that loading a MediaStream in a media element eventually results in "canplay" even when not playing or autoplaying PASS Tests that loading a MediaStream in a media element sees all the expected (deterministic) events even when not playing or autoplaying The test has also crashed in several builds after r267140. I will update test expectations. This test has been passing in GTK in the last 4000 revisions ([r215703-r269242]). It's still very flaky in WPE though. In GTK Wayland it has only crashed 2 times in the last 4000 revisions. fast/mediastream/stream-switch.html no longer flaky since r276197. I will unflag it. (In reply to Philippe Normand from comment #5) > fast/mediastream/stream-switch.html no longer flaky since r276197. I will > unflag it. r278984 The test or tests filed under this bug are not failing anymore. Test expectations updated in https://commits.webkit.org/258724@main. |