<?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>15408</bug_id>
          
          <creation_ts>2007-10-07 01:53:48 -0700</creation_ts>
          <short_desc>Gtk Port crashes on dailymotion objects</short_desc>
          <delta_ts>2008-01-15 19:55:27 -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>523.x (Safari 3)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <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="Mike Hommey">mh+webkit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>alp</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>58002</commentid>
    <comment_count>0</comment_count>
    <who name="Mike Hommey">mh+webkit</who>
    <bug_when>2007-10-07 01:53:48 -0700</bug_when>
    <thetext>I&apos;ll attach a minimal testcase. The crash occurs in libcurl, but I don&apos;t know if this happens because of webkit misuse or because of a real buf in libcurl.

Backtrace:
#0  0xb6dd85c8 in multi_runsingle (multi=0x80c0a00, easy=0x80af470) at multi.c:1266
        gotourl = 0x80c0a00 &quot;\036&amp;#65533;\v&quot;
        disconnect_conn = false
        connected = 182
        async = 221
        protocol_connect = false
        dophase_done = 29
        done = true
        result = CURLM_OK
#1  0xb6dd951f in curl_multi_perform (multi_handle=0x80c0a00, running_handles=0xbff18c14) at multi.c:1479
        result = &lt;value optimized out&gt;
        multi = (struct Curl_multi *) 0x0
        easy = (struct Curl_one_easy *) 0x80af470
        returncode = CURLM_OK
        t = &lt;value optimized out&gt;
#2  0xb7bff908 in WebCore::ResourceHandleManager::downloadTimerCallback (this=0x80c08c8, timer=0x80c08c8)
    at ../../WebCore/platform/network/curl/ResourceHandleManager.cpp:186
        fdread = {fds_bits = {128, 0 &lt;repeats 31 times&gt;}}
        fdwrite = {fds_bits = {0 &lt;repeats 32 times&gt;}}
        fdexcep = {fds_bits = {0 &lt;repeats 32 times&gt;}}
        maxfd = 7
        timeout = {tv_sec = 0, tv_usec = 5000}
        rc = &lt;value optimized out&gt;
        runningHandles = 0
        curlCode = &lt;value optimized out&gt;
        started = &lt;value optimized out&gt;
#3  0xb7bffbcb in WebCore::Timer&lt;WebCore::ResourceHandleManager&gt;::fired (this=0x80c08c8) at ../../WebCore/platform/Timer.h:98
No locals.
#4  0xb7b30e6b in WebCore::TimerBase::fireTimers (fireTime=1191747092.172786, firingTimers=@0xbff18ccc) at ../../WebCore/platform/Timer.cpp:336
        timer = (class WebCore::TimerBase *) 0x80c08c8
        interval = 1
        i = 0
        size = 1
#5  0xb7b311e8 in WebCore::TimerBase::sharedTimerFired () at ../../WebCore/platform/Timer.cpp:357
        fireTime = 1191747092.172786
        firingTimers = {m_size = 1, m_impl = {m_buffer = 0x8116e40, m_capacity = 16}}
        firingTimersSet = {m_impl = {static m_minTableSize = &lt;optimized out&gt;, static m_maxLoad = &lt;optimized out&gt;, static m_minLoad = &lt;optimized out&gt;, 
    m_table = 0x8116e88, m_tableSize = 64, m_tableSizeMask = 63, m_keyCount = 0, m_deletedCount = 1}}
#6  0xb7bfc66e in timeout_cb () at ../../WebCore/platform/gtk/SharedTimerLinux.cpp:48
No locals.
#7  0xb76f88f6 in g_timeout_dispatch (source=0x8116c28, callback=0, user_data=0x0) at /tmp/buildd/glib2.0-2.14.1/glib/gmain.c:3488
No locals.
#8  0xb76f8186 in IA__g_main_context_dispatch (context=0x806a018) at /tmp/buildd/glib2.0-2.14.1/glib/gmain.c:2061
No locals.
#9  0xb76fb512 in g_main_context_iterate (context=0x806a018, block=1, dispatch=1, self=0x8058ab0) at /tmp/buildd/glib2.0-2.14.1/glib/gmain.c:2694
        got_ownership = &lt;value optimized out&gt;
        max_priority = 2147483647
        timeout = 1
        some_ready = 1
        nfds = &lt;value optimized out&gt;
        allocated_nfds = &lt;value optimized out&gt;
        fds = (GPollFD *) 0x80f98d8
        __PRETTY_FUNCTION__ = &quot;g_main_context_iterate&quot;
#10 0xb76fb8f7 in IA__g_main_loop_run (loop=0x80f0d08) at /tmp/buildd/glib2.0-2.14.1/glib/gmain.c:2898
        got_ownership = 0
        self = (GThread *) 0x8058ab0
        __PRETTY_FUNCTION__ = &quot;IA__g_main_loop_run&quot;
#11 0xb749a644 in IA__gtk_main () at /tmp/buildd/gtk+2.0-2.12.0/gtk/gtkmain.c:1144
        tmp_list = (GList *) 0x8066200
        functions = (GList *) 0x0
        init = (GtkInitFunction *) 0x8066ea8
        loop = (GMainLoop *) 0x80f0d08
#12 0x08049894 in main (argc=134805888, argv=0x1) at ../../../WebKitTools/GtkLauncher/main.cpp:181
        url = (gchar *) 0x806a3b0 &quot;file:///home/mh/webkit-crash.html&quot;
        menuMain = &lt;value optimized out&gt;
        menuMainBack = &lt;value optimized out&gt;
        menuMainForward = &lt;value optimized out&gt;
        menuMainQuit = &lt;value optimized out&gt;
        menuMainRoot = &lt;value optimized out&gt;
        menuBar = &lt;value optimized out&gt;
        vbox = (GtkWidget *) 0x80661b0
        hbox = (GtkWidget *) 0x8066200
        urlBarSubmitButton = &lt;value optimized out&gt;
        scrolledWindow = (GtkWidget *) 0x8066ea8
#13 0xb7129050 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#14 0x08049131 in _start ()
No symbol table info available.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58003</commentid>
    <comment_count>1</comment_count>
      <attachid>16573</attachid>
    <who name="Mike Hommey">mh+webkit</who>
    <bug_when>2007-10-07 01:54:12 -0700</bug_when>
    <thetext>Created attachment 16573
testcase</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60346</commentid>
    <comment_count>2</comment_count>
    <who name="Lars Lindner">lars.lindner</who>
    <bug_when>2007-11-05 15:29:40 -0800</bug_when>
    <thetext>I can also reliably produce this crash with different other rendering scenarios.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63316</commentid>
    <comment_count>3</comment_count>
    <who name="zaheer">zaheer.mot</who>
    <bug_when>2007-12-04 21:58:01 -0800</bug_when>
    <thetext>i see the same crash opening http://irctc.com in r26699, i havent checked in latest build though backtrace is following

#0  0xb65c0e2d in multi_runsingle (multi=0x80c42f0, easy=0x81ff580) at multi.c:1266
        dns = (struct Curl_dns_entry *) 0xb65c1364
        connected = 191
        async = 178
        protocol_connect = false
        dophase_done = 220
        done = true
        result = CURLM_OK
        k = (struct Curl_transfer_keeper *) 0x81b9328
#1  0xb65c1dff in curl_multi_perform (multi_handle=0x80c42f0, running_handles=0xbfb223c4) at multi.c:1479
        result = &lt;value optimized out&gt;
        multi = (struct Curl_multi *) 0x0
        easy = (struct Curl_one_easy *) 0x81ff580
        returncode = CURLM_OK
        t = &lt;value optimized out&gt;
#2  0xb7b67452 in WebCore::ResourceHandleManager::downloadTimerCallback () from /home/zaheer/tmp/WebKit-r26653/WebKitBuild/Release/lib/libWebKitGtk.so.1
No symbol table info available.
#3  0xb7b676fb in WebCore::Timer&lt;WebCore::ResourceHandleManager&gt;::fired () from /home/zaheer/tmp/WebKit-r26653/WebKitBuild/Release/lib/libWebKitGtk.so.1
No symbol table info available.
#4  0xb7a9474b in WebCore::TimerBase::fireTimers () from /home/zaheer/tmp/WebKit-r26653/WebKitBuild/Release/lib/libWebKitGtk.so.1
No symbol table info available.
#5  0xb7a94ac8 in WebCore::TimerBase::sharedTimerFired () from /home/zaheer/tmp/WebKit-r26653/WebKitBuild/Release/lib/libWebKitGtk.so.1
No symbol table info available.
#</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67338</commentid>
    <comment_count>4</comment_count>
    <who name="Alp Toker">alp</who>
    <bug_when>2008-01-15 19:55:27 -0800</bug_when>
    <thetext>This must have been fixed along the way. Please re-open this bug if the problem persists.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>16573</attachid>
            <date>2007-10-07 01:54:12 -0700</date>
            <delta_ts>2007-10-07 01:54:12 -0700</delta_ts>
            <desc>testcase</desc>
            <filename>webkit-crash.html</filename>
            <type>text/html</type>
            <size>180</size>
            <attacher name="Mike Hommey">mh+webkit</attacher>
            
              <data encoding="base64">PG9iamVjdCB3aWR0aD0iNDI1IiBoZWlnaHQ9IjI4MyI+PHBhcmFtIG5hbWU9Im1vdmllIiB2YWx1
ZT0iaHR0cDovL3d3dy5kYWlseW1vdGlvbi5jb20vc3dmLzZUZk1seVRIazdsNE1sSUZoIj48L3Bh
cmFtPjxwYXJhbSBuYW1lPSJhbGxvd2Z1bGxzY3JlZW4iIHZhbHVlPSJ0cnVlIj48L3BhcmFtPjwv
b2JqZWN0Pg0K
</data>

          </attachment>
      

    </bug>

</bugzilla>