Bug 173957
Summary: | [GTK] Layout test imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests1.html flaky crash | ||
---|---|---|---|
Product: | WebKit | Reporter: | Fujii Hironori <Hironori.Fujii> |
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | bugs-noreply |
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Fujii Hironori
[GTK] Layout test imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests1.html flaky crash
Gtk port, Release build.
https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20(Tests)/r218869%20(1966)/results.html
Log:
> STDERR: (WebKitTestRunner:17170): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Callstack:
> Thread 1 (Thread 0x7f9e777b3a80 (LWP 17263)):
> #0 0x00007f9e8b030434 in _ZN7WebCore13AXObjectCache26performDeferredCacheUpdateEv ()
> #1 0x00007f9e8b796f04 in _ZN7WebCore9FrameView6layoutEb ()
> #2 0x00007f9e8b7976b1 in _ZN7WebCore9FrameView18updateContentsSizeEv ()
> #3 0x00007f9e8b84f476 in _ZN7WebCore10ScrollView16updateScrollbarsERKNS_8IntPointE ()
> #4 0x00007f9e8b84fc27 in _ZN7WebCore10ScrollView15setContentsSizeERKNS_7IntSizeE ()
> #5 0x00007f9e8b795536 in _ZN7WebCore9FrameView15setContentsSizeERKNS_7IntSizeE ()
> #6 0x00007f9e8b795694 in _ZN7WebCore9FrameView14adjustViewSizeEv ()
> #7 0x00007f9e8b796fb6 in _ZN7WebCore9FrameView6layoutEb ()
> #8 0x00007f9e8b85c92a in _ZN7WebCore12ThreadTimers24sharedTimerFiredInternalEv ()
> #9 0x00007f9e85b5a6ba in _ZZN3WTF7RunLoop9TimerBaseC4ERS0_ENUlPvE_4_FUNES3_ () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18
> #10 0x00007f9e838535ca in g_main_dispatch () at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/WebKitBuild/DependenciesGTK/Source/glib-2.52.1/glib/gmain.c:3212
> #11 g_main_context_dispatch () at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/WebKitBuild/DependenciesGTK/Source/glib-2.52.1/glib/gmain.c:3865
> #12 0x00007f9e83853948 in g_main_context_iterate () at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/WebKitBuild/DependenciesGTK/Source/glib-2.52.1/glib/gmain.c:3938
> #13 0x00007f9e83853c62 in g_main_loop_run () at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/WebKitBuild/DependenciesGTK/Source/glib-2.52.1/glib/gmain.c:4134
> #14 0x00007f9e85b5aab0 in _ZN3WTF7RunLoop3runEv () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18
> #15 0x00007f9e87f94ad2 in _ZN6WebKit16ChildProcessMainINS_10WebProcessENS_14WebProcessMainEEEiiPPc () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
> #16 0x00007f9e7ed832b1 in __libc_start_main (main=0x7f9e8ae85f50 <main>, argc=2, argv=0x7ffeb7eb7c68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffeb7eb7c58) at ../csu/libc-start.c:291
> #17 0x00007f9e8ae8649a in _start ()
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Fujii Hironori
Demangled callstack:
> Thread 1 (Thread 0x7f9e777b3a80 (LWP 17263)):
> #0 0x00007f9e8b030434 in WebCore::AXObjectCache::performDeferredCacheUpdate() ()
> #1 0x00007f9e8b796f04 in WebCore::FrameView::layout(bool) ()
> #2 0x00007f9e8b7976b1 in WebCore::FrameView::updateContentsSize() ()
> #3 0x00007f9e8b84f476 in WebCore::ScrollView::updateScrollbars(WebCore::IntPoint const&) ()
> #4 0x00007f9e8b84fc27 in WebCore::ScrollView::setContentsSize(WebCore::IntSize const&) ()
> #5 0x00007f9e8b795536 in WebCore::FrameView::setContentsSize(WebCore::IntSize const&) ()
> #6 0x00007f9e8b795694 in WebCore::FrameView::adjustViewSize() ()
> #7 0x00007f9e8b796fb6 in WebCore::FrameView::layout(bool) ()
> #8 0x00007f9e8b85c92a in WebCore::ThreadTimers::sharedTimerFiredInternal() ()
> #9 0x00007f9e85b5a6ba in WTF::RunLoop::TimerBase::TimerBase(WTF::RunLoop&)::{lambda(void*)#1}::_FUN(void*) () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18
> #10 0x00007f9e838535ca in g_main_dispatch () at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/WebKitBuild/DependenciesGTK/Source/glib-2.52.1/glib/gmain.c:3212
> #11 g_main_context_dispatch () at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/WebKitBuild/DependenciesGTK/Source/glib-2.52.1/glib/gmain.c:3865
> #12 0x00007f9e83853948 in g_main_context_iterate () at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/WebKitBuild/DependenciesGTK/Source/glib-2.52.1/glib/gmain.c:3938
> #13 0x00007f9e83853c62 in g_main_loop_run () at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/WebKitBuild/DependenciesGTK/Source/glib-2.52.1/glib/gmain.c:4134
> #14 0x00007f9e85b5aab0 in WTF::RunLoop::run() () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18
> #15 0x00007f9e87f94ad2 in int WebKit::ChildProcessMain<WebKit::WebProcess, WebKit::WebProcessMain>(int, char**) () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
> #16 0x00007f9e7ed832b1 in __libc_start_main (main=0x7f9e8ae85f50 <main>, argc=2, argv=0x7ffeb7eb7c68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffeb7eb7c58) at ../csu/libc-start.c:291
> #17 0x00007f9e8ae8649a in _start ()
Fujii Hironori
> fujii@ubuntu $ ./Tools/Scripts/run-webkit-tests --gtk --release --no-new-test-results --iterations=1000 imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests1.html
> Using port 'gtk-wk2'
> Test configuration: <, x86, release>
> Placing test results in /home/fujii/work/webkit/gb/WebKitBuild/Release/layout-test-results
> Baseline search path: platform/gtk -> platform/wk2 -> generic
> Using Release build
> Pixel tests disabled
> Regular timeout: 15000, slow test timeout: 75000
> Command line: /home/fujii/work/webkit/gb/Tools/jhbuild/jhbuild-wrapper --gtk run /home/fujii/work/webkit/gb/WebKitBuild/Release/bin/WebKitTestRunner -
>
> Found 1 test; running 1 (1000 times each: --repeat-each=1 --iterations=1000), skipping 0.
>
> //////////
> WPT tests are not using the same testharness.js file as other WebKit Layout tests.
> WebKit testharness.js might need to be updated according WPT testharness.js.
> //////////
>
> Running 1 test
>
> Running 1 WebKitTestRunner.
>
> [672/1000] imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests1.html failed unexpectedly (WebProcess crashed [pid=91079])
> [958/1000] imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests1.html failed unexpectedly (WebProcess crashed [pid=95596])
> [967/1000] imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests1.html failed unexpectedly (WebProcess crashed [pid=97612])
>
> 997 tests ran as expected, 3 didn't:
>
> Stopping Web Platform Test server ...
> fujii@ubuntu $
Reproduction probability is 3/1000 on my linux box (Ubuntu 17.04).
Fujii Hironori
imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests2.html
imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests9.html
imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_webkit01.html
These tests also crash with same callstack.
Fujii Hironori
*** This bug has been marked as a duplicate of bug 173540 ***
Fujii Hironori
https://build.webkit.org/builders/GTK%20Linux%2064-bit%20Release%20(Tests)/builds/4037
> Thread 1 (Thread 0x2b2eb331aa40 (LWP 31061)):
> #0 0x00002b2ea44e3ad4 in WebCore::AXObjectCache::performDeferredCacheUpdate() () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
> #1 0x00002b2ea4b192ac in WebCore::LayoutContext::runAsynchronousTasks() () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
> #2 0x00002b2ea4b19a14 in WebCore::LayoutContext::runOrScheduleAsynchronousTasks() () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
> #3 0x00002b2ea4b195f8 in WebCore::LayoutContext::layout() () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
> #4 0x00002b2ea4b19f30 in WebCore::FrameView::updateContentsSize() () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
> #5 0x00002b2ea4bbb682 in WebCore::ScrollView::updateScrollbars(WebCore::IntPoint const&) () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
> #6 0x00002b2ea4bbbd57 in WebCore::ScrollView::setContentsSize(WebCore::IntSize const&) () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
> #7 0x00002b2ea4b18614 in WebCore::FrameView::setContentsSize(WebCore::IntSize const&) () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
> #8 0x00002b2ea4b18784 in WebCore::FrameView::adjustViewSize() () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
> #9 0x00002b2ea4b19878 in WebCore::LayoutContext::layout() () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
> #10 0x00002b2ea4bce33a in WebCore::ThreadTimers::sharedTimerFiredInternal() () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
> #11 0x00002b2ea7b8b9ca in WTF::RunLoop::TimerBase::TimerBase(WTF::RunLoop&)::{lambda(void*)#1}::_FUN(void*) () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18
> #12 0x00002b2ea9b375ca in g_main_dispatch () at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/WebKitBuild/DependenciesGTK/Source/glib-2.52.1/glib/gmain.c:3212
> #13 g_main_context_dispatch () at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/WebKitBuild/DependenciesGTK/Source/glib-2.52.1/glib/gmain.c:3865
> #14 0x00002b2ea9b37948 in g_main_context_iterate () at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/WebKitBuild/DependenciesGTK/Source/glib-2.52.1/glib/gmain.c:3938
> #15 0x00002b2ea9b37c62 in g_main_loop_run () at /home/slave/webkitgtk/gtk-linux-64-release-tests/build/WebKitBuild/DependenciesGTK/Source/glib-2.52.1/glib/gmain.c:4134
> #16 0x00002b2ea7b8bdc0 in WTF::RunLoop::run() () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18
> #17 0x00002b2ea3ed0a62 in int WebKit::ChildProcessMain<WebKit::WebProcess, WebKit::WebProcessMain>(int, char**) () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
> #18 0x00002b2eadea52b1 in __libc_start_main (main=0x2b2ea2615d40 <main>, argc=2, argv=0x7fff0fa1f238, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff0fa1f228) at ../csu/libc-start.c:291
> #19 0x00002b2ea2615dca in _start ()