<?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>30161</bug_id>
          
          <creation_ts>2009-10-07 03:14:45 -0700</creation_ts>
          <short_desc>[GTK] Segfault while testing media/video-document-types.html</short_desc>
          <delta_ts>2010-10-28 09:56:25 -0700</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>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>31352</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>0</everconfirmed>
          <reporter name="Philippe Normand">pnormand</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>gustavo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>153003</commentid>
    <comment_count>0</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2009-10-07 03:14:45 -0700</bug_when>
    <thetext>Happens with Debug build:

Starting program: /home/pnormand/gst/jhbuild/build/WebKit/WebKitBuild/Debug/Programs/DumpRenderTree /tmp/LayoutTests/media/video-document-types.html
warning: Lowest section in /usr/lib/libicudata.so.38 is .hash at 000000d4
[Thread debugging using libthread_db enabled]
[New Thread 0xb4831750 (LWP 7797)]
Gtk-Message: Failed to load module &quot;canberra-gtk-module&quot;: libcanberra-gtk-module.so: cannot open shared object file: No such file or directory
** Message: NP_Initialize
** Message: NP_Initialize succeeded
** Message: NP_Initialize
** Message: NP_Initialize succeeded
** Message: NP_Initialize
** Message: NP_Initialize succeeded
** Message: NP_Initialize
** Message: NP_Initialize succeeded
[New Thread 0xb28bcb90 (LWP 8120)]
ASSERTION FAILED: m_frame-&gt;document()-&gt;parsing()
(../../WebCore/loader/FrameLoader.cpp:1559 void WebCore::FrameLoader::addData(const char*, int))

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb4831750 (LWP 7797)]
0xb6e5f12a in WebCore::FrameLoader::addData (this=0x87799a4, bytes=0x87841b0 &quot;��\&quot;��#�!:Ȣf#Q\223\001\032p+j@\036\003�px\b\017D0\f\a\200�58C\036� �\036\003�\220x\b!�� [&quot;, 
    length=8192) at ../../WebCore/loader/FrameLoader.cpp:1559
1559	    ASSERT(m_frame-&gt;document()-&gt;parsing());
(gdb) bt full
#0  0xb6e5f12a in WebCore::FrameLoader::addData (this=0x87799a4, 
    bytes=0x87841b0 &quot;��\&quot;��#�!:Ȣf#Q\223\001\032p+j@\036\003�px\b\017D0\f\a\200�58C\036� �\036\003�\220x\b!�� [&quot;, length=8192) at ../../WebCore/loader/FrameLoader.cpp:1559
	__PRETTY_FUNCTION__ = &quot;void WebCore::FrameLoader::addData(const char*, int)&quot;
#1  0xb692d3b7 in WebKit::FrameLoaderClient::committedLoad (this=0x87798b0, loader=0x877fd28, 
    data=0x87841b0 &quot;��\&quot;��#�!:Ȣf#Q\223\001\032p+j@\036\003�px\b\017D0\f\a\200�58C\036� �\036\003�\220x\b!�� [&quot;, length=8192)
    at ../../WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp:150
	encoding = {m_impl = {&lt;WTF::FastAllocBase&gt; = {&lt;No data fields&gt;}, m_ptr = 0x0}}
	userChosen = false
	frameLoader = (WebCore::FrameLoader *) 0x87799a4
	__PRETTY_FUNCTION__ = &quot;virtual void WebKit::FrameLoaderClient::committedLoad(WebCore::DocumentLoader*, const char*, int)&quot;
#2  0xb6e55f94 in WebCore::FrameLoader::committedLoad (this=0x87799a4, loader=0x877fd28, 
    data=0x87841b0 &quot;��\&quot;��#�!:Ȣf#Q\223\001\032p+j@\036\003�px\b\017D0\f\a\200�58C\036� �\036\003�\220x\b!�� [&quot;, length=8192) at ../../WebCore/loader/FrameLoader.cpp:3360
No locals.
#3  0xb6e40781 in WebCore::DocumentLoader::commitLoad (this=0x877fd28, 
    data=0x87841b0 &quot;��\&quot;��#�!:Ȣf#Q\223\001\032p+j@\036\003�px\b\017D0\f\a\200�58C\036� �\036\003�\220x\b!�� [&quot;, length=8192) at ../../WebCore/loader/DocumentLoader.cpp:342
	frameLoader = (WebCore::FrameLoader *) 0x87799a4
	protect = {&lt;WTF::FastAllocBase&gt; = {&lt;No data fields&gt;}, m_ptr = 0x877fd28}
#4  0xb6e407ea in WebCore::DocumentLoader::receivedData (this=0x877fd28, 
    data=0x87841b0 &quot;��\&quot;��#�!:Ȣf#Q\223\001\032p+j@\036\003�px\b\017D0\f\a\200�58C\036� �\036\003�\220x\b!�� [&quot;, length=8192) at ../../WebCore/loader/DocumentLoader.cpp:354
No locals.
#5  0xb6e5b2f5 in WebCore::FrameLoader::receivedData (this=0x87799a4, 
    data=0x87841b0 &quot;��\&quot;��#�!:Ȣf#Q\223\001\032p+j@\036\003�px\b\017D0\f\a\200�58C\036� �\036\003�\220x\b!�� [&quot;, length=8192) at ../../WebCore/loader/FrameLoader.cpp:2147
No locals.
#6  0xb6e6fc0e in WebCore::MainResourceLoader::addData (this=0x877ba00, 
    data=0x87841b0 &quot;��\&quot;��#�!:Ȣf#Q\223\001\032p+j@\036\003�px\b\017D0\f\a\200�58C\036� �\036\003�\220x\b!�� [&quot;, length=8192, allAtOnce=false)
    at ../../WebCore/loader/MainResourceLoader.cpp:143
No locals.
#7  0xb6e79a69 in WebCore::ResourceLoader::didReceiveData (this=0x877ba00, 
    data=0x87841b0 &quot;��\&quot;��#�!:Ȣf#Q\223\001\032p+j@\036\003�px\b\017D0\f\a\200�58C\036� �\036\003�\220x\b!�� [&quot;, length=8192, lengthReceived=16384, allAtOnce=false)
    at ../../WebCore/loader/ResourceLoader.cpp:248
	protector = {&lt;WTF::FastAllocBase&gt; = {&lt;No data fields&gt;}, m_ptr = 0x877ba00}
#8  0xb6e6ef4a in WebCore::MainResourceLoader::didReceiveData (this=0x877ba00, 
    data=0x87841b0 &quot;��\&quot;��#�!:Ȣf#Q\223\001\032p+j@\036\003�px\b\017D0\f\a\200�58C\036� �\036\003�\220x\b!�� [&quot;, length=8192, lengthReceived=16384, allAtOnce=false)
    at ../../WebCore/loader/MainResourceLoader.cpp:356
	protect = {&lt;WTF::FastAllocBase&gt; = {&lt;No data fields&gt;}, m_ptr = 0x877ba00}
	__PRETTY_FUNCTION__ = &quot;virtual void WebCore::MainResourceLoader::didReceiveData(const char*, int, long long int, bool)&quot;
#9  0xb6e78dd6 in WebCore::ResourceLoader::didReceiveData (this=0x877ba00, 
    data=0x87841b0 &quot;��\&quot;��#�!:Ȣf#Q\223\001\032p+j@\036\003�px\b\017D0\f\a\200�58C\036� �\036\003�\220x\b!�� [&quot;, length=8192, lengthReceived=16384)
    at ../../WebCore/loader/ResourceLoader.cpp:398
No locals.
#10 0xb729eb3c in readCallback (source=0x8426cf0, res=0x873cf88) at ../../WebCore/platform/network/soup/ResourceHandleSoup.cpp:729
	handle = {&lt;WTF::FastAllocBase&gt; = {&lt;No data fields&gt;}, m_ptr = 0x877ae30}
	d = (class WebCore::ResourceHandleInternal *) 0x877c710
	client = (class WebCore::ResourceHandleClient *) 0x877ba00
	error = (GError *) 0x0
	bytesRead = 8192
#11 0xb4c9154f in async_ready_callback_wrapper (source_object=0x8426cf0, res=0x873cf88, user_data=0x0) at ginputstream.c:471
---Type &lt;return&gt; to continue, or q &lt;return&gt; to quit---
No locals.
#12 0xb4c9fef9 in IA__g_simple_async_result_complete (simple=0x873cf88) at gsimpleasyncresult.c:588
	current_source = &lt;value optimized out&gt;
	current_context = (GMainContext *) 0x83dbc90
	__PRETTY_FUNCTION__ = &quot;IA__g_simple_async_result_complete&quot;
#13 0xb4ca022e in complete_in_idle_cb_for_thread (_data=0x88a4318) at gsimpleasyncresult.c:650
	simple = (GSimpleAsyncResult *) 0x873cf88
#14 0xb4b3c531 in g_idle_dispatch (source=0x88a29a8, callback=0xbbadbeef, user_data=0x88a4318) at gmain.c:4065
No locals.
#15 0xb4b3e368 in IA__g_main_context_dispatch (context=0x83dbc90) at gmain.c:1960
No locals.
#16 0xb4b41bc3 in g_main_context_iterate (context=0x83dbc90, block=1, dispatch=1, self=0x83ad408) at gmain.c:2591
	max_priority = 0
	timeout = 0
	some_ready = 1
	nfds = 2
	allocated_nfds = &lt;value optimized out&gt;
	fds = (GPollFD *) 0x840df90
	__PRETTY_FUNCTION__ = &quot;g_main_context_iterate&quot;
#17 0xb4b41d48 in IA__g_main_context_iteration (context=0x83dbc90, may_block=1) at gmain.c:2654
	retval = &lt;value optimized out&gt;
#18 0x08056123 in runTest (testPathOrURL=@0xbf9d3b24) at ../../WebKitTools/DumpRenderTree/gtk/DumpRenderTree.cpp:484
	pathOrURL = {static npos = 4294967295, _M_dataplus = {&lt;std::allocator&lt;char&gt;&gt; = {&lt;__gnu_cxx::new_allocator&lt;char&gt;&gt; = {&lt;No data fields&gt;}, &lt;No data fields&gt;}, 
    _M_p = 0x8739384 &quot;/tmp/LayoutTests/media/video-document-types.html&quot;}}
	expectedPixelHash = {static npos = 4294967295, _M_dataplus = {&lt;std::allocator&lt;char&gt;&gt; = {&lt;__gnu_cxx::new_allocator&lt;char&gt;&gt; = {&lt;No data fields&gt;}, &lt;No data fields&gt;}, 
    _M_p = 0xb4afe6d4 &quot;&quot;}}
	separatorPos = 4294967295
	url = (gchar *) 0x0
	testURL = {static npos = 4294967295, _M_dataplus = {&lt;std::allocator&lt;char&gt;&gt; = {&lt;__gnu_cxx::new_allocator&lt;char&gt;&gt; = {&lt;No data fields&gt;}, &lt;No data fields&gt;}, 
    _M_p = 0x83e03ec &quot;file:///tmp/LayoutTests/media/video-document-types.html&quot;}}
	isSVGW3CTest = false
	size = {x = 0, y = 0, width = 800, height = 600}
	bfList = (WebKitWebBackForwardList *) 0x83ae708
	__PRETTY_FUNCTION__ = &quot;void runTest(const std::string&amp;)&quot;
#19 0x080566ab in main (argc=2, argv=0xbf9d43e4) at ../../WebKitTools/DumpRenderTree/gtk/DumpRenderTree.cpp:807
	i = 1
	options = {{name = 0x805c67c &quot;notree&quot;, has_arg = 0, flag = 0x805fcc0, val = 0}, {name = 0x805c683 &quot;pixel-tests&quot;, has_arg = 0, flag = 0x8060e94, val = 1}, {
    name = 0x805c68f &quot;tree&quot;, has_arg = 0, flag = 0x805fcc0, val = 1}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
	option = -1
(gdb)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>169974</commentid>
    <comment_count>1</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2009-12-09 05:19:02 -0800</bug_when>
    <thetext>Can we give this test another chance? I tested on the 32bit debug bot and it doesn&apos;t segfault anymore</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>171323</commentid>
    <comment_count>2</comment_count>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2009-12-14 02:34:17 -0800</bug_when>
    <thetext>We fixed this one already! =)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>301126</commentid>
    <comment_count>3</comment_count>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2010-10-28 09:56:25 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 31352 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>