<?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>117688</bug_id>
          
          <creation_ts>2013-06-17 00:07:42 -0700</creation_ts>
          <short_desc>REGRESSION (r151021): http/tests/security/video-poster-cross-origin-crash.html is flakily crashing</short_desc>
          <delta_ts>2017-03-11 10:46:09 -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>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Gtk, LayoutTestFailure, Regression</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>115352</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Zan Dobersek">zan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>andrunko</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>pnormand</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>900945</commentid>
    <comment_count>0</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2013-06-17 00:07:42 -0700</bug_when>
    <thetext>The http/tests/security/video-poster-cross-origin-crash.html layout test is occasionally crashing on the GTK WK1 builders, most likely after r151021.
http://trac.webkit.org/changeset/151021

The crash is occurring in WebCore::MediaPlayer::referrer.
Crash log for DumpRenderTree (pid 32194):

...
[Thread debugging using libthread_db enabled]
Using host libthread_db library &quot;/lib/x86_64-linux-gnu/libthread_db.so.1&quot;.
Core was generated by `/home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/WebKitBuild/Debug/Programs/D&apos;.
Program terminated with signal 11, Segmentation fault.
#0  0x00002b56095ab018 in WebCore::MediaPlayer::referrer (this=0x2b5664095090) at ../../Source/WebCore/platform/graphics/MediaPlayer.cpp:1068
1068	    return m_mediaPlayerClient-&gt;mediaPlayerReferrer();

...

Thread 1 (Thread 0x2b5617b00460 (LWP 32194)):
#0  0x00002b56095ab018 in WebCore::MediaPlayer::referrer (this=0x2b5664095090) at ../../Source/WebCore/platform/graphics/MediaPlayer.cpp:1068
#1  0x00002b56095a5cb8 in webKitWebSrcStart (src=0x15b4360) at ../../Source/WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:487
#2  0x00002b560d3c4cf2 in g_timeout_dispatch () from /home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/WebKitBuild/Dependencies/Root/lib64/libglib-2.0.so.0
#3  0x00002b560d3c2f95 in g_main_dispatch () from /home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/WebKitBuild/Dependencies/Root/lib64/libglib-2.0.so.0
#4  0x00002b560d3c3cfa in g_main_context_dispatch () from /home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/WebKitBuild/Dependencies/Root/lib64/libglib-2.0.so.0
#5  0x00002b560d3c3eea in g_main_context_iterate () from /home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/WebKitBuild/Dependencies/Root/lib64/libglib-2.0.so.0
#6  0x00002b560d3c431a in g_main_loop_run () from /home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/WebKitBuild/Dependencies/Root/lib64/libglib-2.0.so.0
#7  0x00002b560c583c1d in gtk_main () from /home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/WebKitBuild/Dependencies/Root/lib64/libgtk-3.so.0
#8  0x00000000004a8e75 in runTest (inputLine=...) at ../../Tools/DumpRenderTree/gtk/DumpRenderTree.cpp:769
#9  0x00000000004a8540 in runTestingServerLoop () at ../../Tools/DumpRenderTree/gtk/DumpRenderTree.cpp:552
#10 0x00000000004ab76c in main (argc=2, argv=0x7fffe716aba8) at ../../Tools/DumpRenderTree/gtk/DumpRenderTree.cpp:1511</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>900948</commentid>
    <comment_count>1</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2013-06-17 00:27:51 -0700</bug_when>
    <thetext>Spooky stack-trace!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>900985</commentid>
    <comment_count>2</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2013-06-17 04:32:07 -0700</bug_when>
    <thetext>I guess it&apos;s a threading problem. I believe the call should be made on the main thread? And the crash occurs because it isn&apos;t on the main thread?

If so, this should hopefully be easy enough to fix by using WTF::callOnMainThread or something similar.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>901082</commentid>
    <comment_count>3</comment_count>
    <who name="Andre Moreira Magalhaes">andrunko</who>
    <bug_when>2013-06-17 10:19:59 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; I guess it&apos;s a threading problem. I believe the call should be made on the main thread? And the crash occurs because it isn&apos;t on the main thread?
&gt; 
&gt; If so, this should hopefully be easy enough to fix by using WTF::callOnMainThread or something similar.

This is strange, the changes I did on bug #115352 should make sure webKitWebSrcStart is called on the main thread with g_timeout_add as you can see from the backtrace.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>