<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>173957</bug_id>
          
          <creation_ts>2017-06-28 20:15:28 -0700</creation_ts>
          <short_desc>[GTK] Layout test imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests1.html flaky crash</short_desc>
          <delta_ts>2017-11-06 00:35:15 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>173540</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Fujii Hironori">fujii</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1323818</commentid>
    <comment_count>0</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2017-06-28 20:15:28 -0700</bug_when>
    <thetext>[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:

&gt; STDERR: (WebKitTestRunner:17170): GLib-GObject-CRITICAL **: g_object_unref: assertion &apos;G_IS_OBJECT (object)&apos; failed

Callstack:

&gt; Thread 1 (Thread 0x7f9e777b3a80 (LWP 17263)):
&gt; #0  0x00007f9e8b030434 in _ZN7WebCore13AXObjectCache26performDeferredCacheUpdateEv ()
&gt; #1  0x00007f9e8b796f04 in _ZN7WebCore9FrameView6layoutEb ()
&gt; #2  0x00007f9e8b7976b1 in _ZN7WebCore9FrameView18updateContentsSizeEv ()
&gt; #3  0x00007f9e8b84f476 in _ZN7WebCore10ScrollView16updateScrollbarsERKNS_8IntPointE ()
&gt; #4  0x00007f9e8b84fc27 in _ZN7WebCore10ScrollView15setContentsSizeERKNS_7IntSizeE ()
&gt; #5  0x00007f9e8b795536 in _ZN7WebCore9FrameView15setContentsSizeERKNS_7IntSizeE ()
&gt; #6  0x00007f9e8b795694 in _ZN7WebCore9FrameView14adjustViewSizeEv ()
&gt; #7  0x00007f9e8b796fb6 in _ZN7WebCore9FrameView6layoutEb ()
&gt; #8  0x00007f9e8b85c92a in _ZN7WebCore12ThreadTimers24sharedTimerFiredInternalEv ()
&gt; #9  0x00007f9e85b5a6ba in _ZZN3WTF7RunLoop9TimerBaseC4ERS0_ENUlPvE_4_FUNES3_ () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18
&gt; #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
&gt; #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
&gt; #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
&gt; #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
&gt; #14 0x00007f9e85b5aab0 in _ZN3WTF7RunLoop3runEv () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18
&gt; #15 0x00007f9e87f94ad2 in _ZN6WebKit16ChildProcessMainINS_10WebProcessENS_14WebProcessMainEEEiiPPc () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
&gt; #16 0x00007f9e7ed832b1 in __libc_start_main (main=0x7f9e8ae85f50 &lt;main&gt;, argc=2, argv=0x7ffeb7eb7c68, init=&lt;optimized out&gt;, fini=&lt;optimized out&gt;, rtld_fini=&lt;optimized out&gt;, stack_end=0x7ffeb7eb7c58) at ../csu/libc-start.c:291
&gt; #17 0x00007f9e8ae8649a in _start ()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1323827</commentid>
    <comment_count>1</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2017-06-28 20:27:16 -0700</bug_when>
    <thetext>Demangled callstack:

&gt; Thread 1 (Thread 0x7f9e777b3a80 (LWP 17263)):
&gt; #0  0x00007f9e8b030434 in WebCore::AXObjectCache::performDeferredCacheUpdate() ()
&gt; #1  0x00007f9e8b796f04 in WebCore::FrameView::layout(bool) ()
&gt; #2  0x00007f9e8b7976b1 in WebCore::FrameView::updateContentsSize() ()
&gt; #3  0x00007f9e8b84f476 in WebCore::ScrollView::updateScrollbars(WebCore::IntPoint const&amp;) ()
&gt; #4  0x00007f9e8b84fc27 in WebCore::ScrollView::setContentsSize(WebCore::IntSize const&amp;) ()
&gt; #5  0x00007f9e8b795536 in WebCore::FrameView::setContentsSize(WebCore::IntSize const&amp;) ()
&gt; #6  0x00007f9e8b795694 in WebCore::FrameView::adjustViewSize() ()
&gt; #7  0x00007f9e8b796fb6 in WebCore::FrameView::layout(bool) ()
&gt; #8  0x00007f9e8b85c92a in WebCore::ThreadTimers::sharedTimerFiredInternal() ()
&gt; #9  0x00007f9e85b5a6ba in WTF::RunLoop::TimerBase::TimerBase(WTF::RunLoop&amp;)::{lambda(void*)#1}::_FUN(void*) () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18
&gt; #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
&gt; #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
&gt; #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
&gt; #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
&gt; #14 0x00007f9e85b5aab0 in WTF::RunLoop::run() () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18
&gt; #15 0x00007f9e87f94ad2 in int WebKit::ChildProcessMain&lt;WebKit::WebProcess, WebKit::WebProcessMain&gt;(int, char**) () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
&gt; #16 0x00007f9e7ed832b1 in __libc_start_main (main=0x7f9e8ae85f50 &lt;main&gt;, argc=2, argv=0x7ffeb7eb7c68, init=&lt;optimized out&gt;, fini=&lt;optimized out&gt;, rtld_fini=&lt;optimized out&gt;, stack_end=0x7ffeb7eb7c58) at ../csu/libc-start.c:291
&gt; #17 0x00007f9e8ae8649a in _start ()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1323829</commentid>
    <comment_count>2</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2017-06-28 20:28:17 -0700</bug_when>
    <thetext>&gt; 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
&gt; Using port &apos;gtk-wk2&apos;
&gt; Test configuration: &lt;, x86, release&gt;
&gt; Placing test results in /home/fujii/work/webkit/gb/WebKitBuild/Release/layout-test-results
&gt; Baseline search path: platform/gtk -&gt; platform/wk2 -&gt; generic
&gt; Using Release build
&gt; Pixel tests disabled
&gt; Regular timeout: 15000, slow test timeout: 75000
&gt; Command line: /home/fujii/work/webkit/gb/Tools/jhbuild/jhbuild-wrapper --gtk run /home/fujii/work/webkit/gb/WebKitBuild/Release/bin/WebKitTestRunner -
&gt; 
&gt; Found 1 test; running 1 (1000 times each: --repeat-each=1 --iterations=1000), skipping 0.
&gt;                                      
&gt; //////////
&gt; WPT tests are not using the same testharness.js file as other WebKit Layout tests.
&gt; WebKit testharness.js might need to be updated according WPT testharness.js.
&gt; //////////
&gt; 
&gt; Running 1 test
&gt; 
&gt; Running 1 WebKitTestRunner.     
&gt; 
&gt; [672/1000] imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests1.html failed unexpectedly (WebProcess crashed [pid=91079])
&gt; [958/1000] imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests1.html failed unexpectedly (WebProcess crashed [pid=95596])
&gt; [967/1000] imported/w3c/web-platform-tests/html/syntax/parsing/html5lib_tests1.html failed unexpectedly (WebProcess crashed [pid=97612])
&gt;                                                                                           
&gt; 997 tests ran as expected, 3 didn&apos;t:
&gt; 
&gt; Stopping Web Platform Test server ...
&gt; fujii@ubuntu $

Reproduction probability is 3/1000 on my linux box (Ubuntu 17.04).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1323848</commentid>
    <comment_count>3</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2017-06-28 20:57:21 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1330267</commentid>
    <comment_count>4</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2017-07-18 21:22:35 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 173540 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1368574</commentid>
    <comment_count>5</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2017-11-06 00:35:15 -0800</bug_when>
    <thetext>https://build.webkit.org/builders/GTK%20Linux%2064-bit%20Release%20(Tests)/builds/4037

&gt; Thread 1 (Thread 0x2b2eb331aa40 (LWP 31061)):
&gt; #0  0x00002b2ea44e3ad4 in WebCore::AXObjectCache::performDeferredCacheUpdate() () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
&gt; #1  0x00002b2ea4b192ac in WebCore::LayoutContext::runAsynchronousTasks() () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
&gt; #2  0x00002b2ea4b19a14 in WebCore::LayoutContext::runOrScheduleAsynchronousTasks() () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
&gt; #3  0x00002b2ea4b195f8 in WebCore::LayoutContext::layout() () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
&gt; #4  0x00002b2ea4b19f30 in WebCore::FrameView::updateContentsSize() () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
&gt; #5  0x00002b2ea4bbb682 in WebCore::ScrollView::updateScrollbars(WebCore::IntPoint const&amp;) () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
&gt; #6  0x00002b2ea4bbbd57 in WebCore::ScrollView::setContentsSize(WebCore::IntSize const&amp;) () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
&gt; #7  0x00002b2ea4b18614 in WebCore::FrameView::setContentsSize(WebCore::IntSize const&amp;) () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
&gt; #8  0x00002b2ea4b18784 in WebCore::FrameView::adjustViewSize() () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
&gt; #9  0x00002b2ea4b19878 in WebCore::LayoutContext::layout() () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
&gt; #10 0x00002b2ea4bce33a in WebCore::ThreadTimers::sharedTimerFiredInternal() () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
&gt; #11 0x00002b2ea7b8b9ca in WTF::RunLoop::TimerBase::TimerBase(WTF::RunLoop&amp;)::{lambda(void*)#1}::_FUN(void*) () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18
&gt; #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
&gt; #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
&gt; #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
&gt; #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
&gt; #16 0x00002b2ea7b8bdc0 in WTF::RunLoop::run() () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libjavascriptcoregtk-4.0.so.18
&gt; #17 0x00002b2ea3ed0a62 in int WebKit::ChildProcessMain&lt;WebKit::WebProcess, WebKit::WebProcessMain&gt;(int, char**) () from /home/slave/webkitgtk/gtk-linux-64-release/build/WebKitBuild/Release/lib/libwebkit2gtk-4.0.so.37
&gt; #18 0x00002b2eadea52b1 in __libc_start_main (main=0x2b2ea2615d40 &lt;main&gt;, argc=2, argv=0x7fff0fa1f238, init=&lt;optimized out&gt;, fini=&lt;optimized out&gt;, rtld_fini=&lt;optimized out&gt;, stack_end=0x7fff0fa1f228) at ../csu/libc-start.c:291
&gt; #19 0x00002b2ea2615dca in _start ()</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>