<?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>27112</bug_id>
          
          <creation_ts>2009-07-09 04:47:46 -0700</creation_ts>
          <short_desc>Crash in v8::internal::Context::global_context()</short_desc>
          <delta_ts>2009-07-09 08:50:53 -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>WebCore JavaScript</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows Vista</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://code.google.com/p/chromium/issues/detail?id=16275</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="Yury Semikhatsky">yurys</reporter>
          <assigned_to name="Yury Semikhatsky">yurys</assigned_to>
          <cc>ager</cc>
    
    <cc>dglazkov</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>130645</commentid>
    <comment_count>0</comment_count>
    <who name="Yury Semikhatsky">yurys</who>
    <bug_when>2009-07-09 04:47:46 -0700</bug_when>
    <thetext>This crash was detected in 3.0.192.1 and appears to be a regression from 3.0.191.3.
It is currently ranked #2 (based on the relative number of reports in the release).  There have been 43 reports from 9 clients.
Search query: http://crash/search?query=Chrome+3.0.192.1+v8%3A%3Ainternal%3A%3AContext%3A%3Aglobal_context%28%29
----------------------------
*       Summary Data       *
----------------------------
Report Link: http://crash/reportdetail?reportid=55151b8b0c3cbe24
Mini Dump Link: http://crash/file?reportid=55151b8b0c3cbe24&amp;name=upload_file_minidump

Uptime: 0 sec
User Comments: null
OS: Windows Vista or Windows Server 2008 Service Pack 1
CPU Architecture: x86
CPU Info: GenuineIntel family 6 model 15 stepping 13
rept: null
ptype: renderer
plat: Win32
crash type:(EXCEPTION_ACCESS_VIOLATION@0x00000017)

----------------------------
*        Crash Trace       *
----------------------------
                 [contexts.cc:52] - v8::internal::Context::global_context()
                    [api.cc:2968] - v8::Object::New()
               [v8proxy.cpp:3239] - WebCore::V8Proxy::setContextDebugId(int)
  [debugger_agent_manager.cc:225] - DebuggerAgentManager::SetHostId(WebFrameImpl *,int)
   [webdevtoolsagent_impl.cc:169] - WebDevToolsAgentImpl::WindowObjectCleared(WebFrameImpl *)
[webframeloaderclient_impl.cc:121] - WebFrameLoaderClient::windowObjectCleared()
           [frameloader.cpp:5059] - WebCore::FrameLoader::dispatchWindowObjectAvailable()
            [frameloader.cpp:861] - WebCore::FrameLoader::receivedFirstData()
           [frameloader.cpp:1787] - WebCore::FrameLoader::setEncoding(WebCore::String const &amp;,bool)
          [webframe_impl.cc:1525] - WebFrameImpl::DidReceiveData(WebCore::DocumentLoader *,char const *,int)
[webframeloaderclient_impl.cc:1068] - WebFrameLoaderClient::committedLoad(WebCore::DocumentLoader *,char const *,int)
           [frameloader.cpp:3618] - WebCore::FrameLoader::committedLoad(WebCore::DocumentLoader *,char const *,int)
         [documentloader.cpp:361] - WebCore::DocumentLoader::commitLoad(char const *,int)
         [documentloader.cpp:373] - WebCore::DocumentLoader::receivedData(char const *,int)
           [frameloader.cpp:2435] - WebCore::FrameLoader::receivedData(char const *,int)
     [mainresourceloader.cpp:148] - WebCore::MainResourceLoader::addData(char const *,int,bool)
         [resourceloader.cpp:257] - WebCore::ResourceLoader::didReceiveData(char const *,int,__int64,bool)
     [mainresourceloader.cpp:360] - WebCore::MainResourceLoader::didReceiveData(char const *,int,__int64,bool)
         [resourceloader.cpp:411] - WebCore::ResourceLoader::didReceiveData(WebCore::ResourceHandle *,char const *,int,int)
         [resourcehandle.cpp:137] - WebCore::ResourceHandleInternal::didReceiveData(WebKit::WebURLLoader *,char const *,int,__int64)
       [weburlloader_impl.cc:446] - webkit_glue::WebURLLoaderImpl::Context::OnReceivedData(char const *,int)
     [resource_dispatcher.cc:376] - ResourceDispatcher::OnReceivedData(IPC::Message const &amp;,int,void *,int)
       [ipc_message_utils.h:1188] - IPC::MessageWithTuple&lt;Tuple3&lt;int,void *,int&gt; &gt;::Dispatch&lt;ResourceDispatcher,int,void *,int&gt;(IPC::Message const *,ResourceDispatcher *,void ( ResourceDispatcher::*)(IPC::Message const &amp;,int,void *,int))
     [resource_dispatcher.cc:486] - ResourceDispatcher::DispatchMessageW(IPC::Message const &amp;)
     [resource_dispatcher.cc:293] - ResourceDispatcher::OnMessageReceived(IPC::Message const &amp;)
             [child_thread.cc:70] - ChildThread::OnMessageReceived(IPC::Message const &amp;)
                     [task.h:307] - RunnableMethod&lt;CancelableRequest&lt;CallbackRunner&lt;Tuple5&lt;int,bool,scoped_refptr&lt;RefCountedVector&lt;unsigned char&gt; &gt;,bool,GURL&gt; &gt; &gt;,void ( CancelableRequest&lt;CallbackRunner&lt;Tuple5&lt;int,bool,scoped_refptr&lt;RefCountedVector&lt;unsigned char&gt; &gt;,bool,GURL&gt; &gt; &gt;::*)(Tuple5&lt;int,bool,scoped_refptr&lt;RefCountedVector&lt;unsigned char&gt; &gt;,bool,GURL&gt; const &amp;),Tuple1&lt;Tuple5&lt;int,bool,scoped_refptr&lt;RefCountedVector&lt;unsigned char&gt; &gt;,bool,GURL&gt; &gt; &gt;::Run()
            [message_loop.cc:313] - MessageLoop::RunTask(Task *)
            [message_loop.cc:321] - MessageLoop::DeferOrRunPendingTask(MessageLoop::PendingTask const &amp;)
            [message_loop.cc:427] - MessageLoop::DoWork()
     [message_pump_default.cc:50] - base::MessagePumpDefault::Run(base::MessagePump::Delegate *)
            [message_loop.cc:198] - MessageLoop::RunInternal()
            [message_loop.cc:181] - MessageLoop::RunHandler()
            [message_loop.cc:155] - MessageLoop::Run()
                  [thread.cc:156] - base::Thread::ThreadMain()
      [platform_thread_win.cc:26] - `anonymous namespace&apos;::ThreadFunc(void *)
        [kernel32.dll+0x00044910] - BaseThreadInitThunk
           [ntdll.dll+0x0003e4b5] - __RtlUserThreadStart
           [ntdll.dll+0x0003e488] - _RtlUserThreadStart

----------------------------
*      Loaded Modules      *
----------------------------
    mzvkbd.dll
    mzvkbd3.dll
    avcodec-52.dll
    avformat-52.dll
    avutil-50.dll
    chrome.dll
    icudt38.dll
    pthreadGC2.dll
    chrome.exe
    Wldap32.dll
    advapi32.dll
    gdi32.dll
    imm32.dll
    kernel32.dll
    lpk.dll
    msctf.dll
    msvcrt.dll
    netapi32.dll
    nsi.dll
    ntdll.dll
    ntmarta.dll
    ole32.dll
    oleacc.dll
    oleaut32.dll
    psapi.dll
    rpcrt4.dll
    samlib.dll
    secur32.dll
    shell32.dll
    shlwapi.dll
    t2embed.dll
    user32.dll
    userenv.dll
    usp10.dll
    uxtheme.dll
    version.dll
    winmm.dll
    ws2_32.dll
    wsock32.dll
    comctl32.dll</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>130647</commentid>
    <comment_count>1</comment_count>
      <attachid>32512</attachid>
    <who name="Yury Semikhatsky">yurys</who>
    <bug_when>2009-07-09 04:58:38 -0700</bug_when>
    <thetext>Created attachment 32512
Enter the frame&apos;s context before creating new objects.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>130652</commentid>
    <comment_count>2</comment_count>
    <who name="Mads Ager">ager</who>
    <bug_when>2009-07-09 05:46:45 -0700</bug_when>
    <thetext>Looks good to me.  Dimitri, could you do the official review?

Thanks,    -- Mads</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>130666</commentid>
    <comment_count>3</comment_count>
      <attachid>32512</attachid>
    <who name="Dimitri Glazkov (Google)">dglazkov</who>
    <bug_when>2009-07-09 08:44:28 -0700</bug_when>
    <thetext>Comment on attachment 32512
Enter the frame&apos;s context before creating new objects.

r=me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>130668</commentid>
    <comment_count>4</comment_count>
    <who name="Dimitri Glazkov (Google)">dglazkov</who>
    <bug_when>2009-07-09 08:50:39 -0700</bug_when>
    <thetext>Landed as http://trac.webkit.org/changeset/45661.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>32512</attachid>
            <date>2009-07-09 04:58:38 -0700</date>
            <delta_ts>2009-07-09 08:44:28 -0700</delta_ts>
            <desc>Enter the frame&apos;s context before creating new objects.</desc>
            <filename>enter-context.patch</filename>
            <type>text/plain</type>
            <size>1224</size>
            <attacher name="Yury Semikhatsky">yurys</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA0NTY2MCkKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTQgQEAKKzIwMDktMDctMDkgIFl1cnkgU2VtaWtoYXRza3kgIDx5dXJ5c0BjaHJv
bWl1bS5vcmc+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAg
ICAgRW50ZXIgdGhlIEZyYW1lJ3MgY29udGV4dCBiZWZvcmUgY3JlYXRpbmcgbmV3IG9iamVjdHMg
aW4gc2V0Q29udGV4dERlYnVnSWQuCisKKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcv
c2hvd19idWcuY2dpP2lkPTI3MTEyCisKKyAgICAgICAgKiBiaW5kaW5ncy92OC9WOFByb3h5LmNw
cDoKKyAgICAgICAgKFdlYkNvcmU6OlY4UHJveHk6OnNldENvbnRleHREZWJ1Z0lkKToKKwogMjAw
OS0wNy0wOSAgU2ltb24gSGF1c21hbm4gIDxoYXVzbWFubkB3ZWJraXQub3JnPgogCiAgICAgICAg
IEZpeCB0aGUgUXQgYnVpbGQuCkluZGV4OiBXZWJDb3JlL2JpbmRpbmdzL3Y4L1Y4UHJveHkuY3Bw
Cj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT0KLS0tIFdlYkNvcmUvYmluZGluZ3MvdjgvVjhQcm94eS5jcHAJKHJldmlzaW9u
IDQ1NjYwKQorKysgV2ViQ29yZS9iaW5kaW5ncy92OC9WOFByb3h5LmNwcAkod29ya2luZyBjb3B5
KQpAQCAtMjg0MCw2ICsyODQwLDcgQEAgYm9vbCBWOFByb3h5OjpzZXRDb250ZXh0RGVidWdJZChp
bnQgZGVidQogICAgIGlmICghbV9jb250ZXh0LT5HZXREYXRhKCktPklzVW5kZWZpbmVkKCkpCiAg
ICAgICAgIHJldHVybiBmYWxzZTsKIAorICAgIHY4OjpDb250ZXh0OjpTY29wZSBjb250ZXh0U2Nv
cGUobV9jb250ZXh0KTsKICAgICB2ODo6SGFuZGxlPHY4OjpPYmplY3Q+IGNvbnRleHREYXRhID0g
djg6Ok9iamVjdDo6TmV3KCk7CiAgICAgY29udGV4dERhdGEtPlNldCh2ODo6U3RyaW5nOjpOZXco
a0NvbnRleHREZWJ1Z0RhdGFUeXBlKSwgdjg6OlN0cmluZzo6TmV3KCJwYWdlIikpOwogICAgIGNv
bnRleHREYXRhLT5TZXQodjg6OlN0cmluZzo6TmV3KGtDb250ZXh0RGVidWdEYXRhVmFsdWUpLCB2
ODo6SW50ZWdlcjo6TmV3KGRlYnVnSWQpKTsK
</data>
<flag name="review"
          id="16937"
          type_id="1"
          status="+"
          setter="dglazkov"
    />
          </attachment>
      

    </bug>

</bugzilla>