<?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>132174</bug_id>
          
          <creation_ts>2014-04-25 00:02:10 -0700</creation_ts>
          <short_desc>REGRESSION: Local debug build of Safari cannot open a new tab</short_desc>
          <delta_ts>2014-04-26 00:01:58 -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>WebKit2</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>andersca</cc>
    
    <cc>ap</cc>
    
    <cc>lforschler</cc>
    
    <cc>mrowe</cc>
    
    <cc>sam</cc>
    
    <cc>thorton</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1003985</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2014-04-25 00:02:10 -0700</bug_when>
    <thetext>At r167792, WebProcess instantly hits the following assertion and never opens a tab:

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000bbadbeef

VM Regions Near 0xbbadbeef:
--&gt; 
    __TEXT                 00000001020e9000-00000001020ea000 [    4K] r-x/rwx SM=COW  /System/Library/StagedFrameworks/Safari/WebKit2.framework/Versions/A/XPCServices/com.apple.WebKit.WebContent.xpc/Contents/MacOS/com.apple.WebKit.WebContent

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.JavaScriptCore      	0x000000010488b0aa WTFCrash + 42 (Assertions.cpp:333)
1   com.apple.WebKit2             	0x00000001028460d4 void IPC::handleMessage&lt;Messages::WebProcess::CreateWebPage, WebKit::WebProcess, void (WebKit::WebProcess::*)(unsigned long long, WebKit::WebPageCreationParameters const&amp;)&gt;(IPC::MessageDecoder&amp;, WebKit::WebProcess*, void (WebKit::WebProcess::*)(unsigned long long, WebKit::WebPageCreationParameters const&amp;)) + 244 (HandleMessage.h:116)
2   com.apple.WebKit2             	0x0000000102844877 WebKit::WebProcess::didReceiveWebProcessMessage(IPC::Connection*, IPC::MessageDecoder&amp;) + 295 (WebProcessMessageReceiver.cpp:59)
3   com.apple.WebKit2             	0x0000000102820698 WebKit::WebProcess::didReceiveMessage(IPC::Connection*, IPC::MessageDecoder&amp;) + 168 (WebProcess.cpp:591)
4   com.apple.WebKit2             	0x0000000102142e03 IPC::Connection::dispatchMessage(IPC::MessageDecoder&amp;) + 51 (Connection.cpp:771)
5   com.apple.WebKit2             	0x000000010213b170 IPC::Connection::dispatchMessage(std::__1::unique_ptr&lt;IPC::MessageDecoder, std::__1::default_delete&lt;IPC::MessageDecoder&gt; &gt;) + 368 (Connection.cpp:791)
6   com.apple.WebKit2             	0x0000000102142b91 IPC::Connection::dispatchOneMessage() + 1377 (Connection.cpp:817)
7   com.apple.WebKit2             	0x00000001021558b2 WTF::FunctionWrapper&lt;void (IPC::Connection::*)()&gt;::operator()(IPC::Connection*) + 114 (Functional.h:218)
8   com.apple.WebKit2             	0x0000000102155835 WTF::BoundFunctionImpl&lt;WTF::FunctionWrapper&lt;void (IPC::Connection::*)()&gt;, void (IPC::Connection*)&gt;::operator()() + 53 (Functional.h:496)
9   com.apple.WebKit2             	0x000000010215cbb2 WTF::Function&lt;void ()&gt;::operator()() const + 114 (Functional.h:704)
10  com.apple.WebKit2             	0x000000010215cb2c std::__1::__function::__func&lt;WTF::Function&lt;void ()&gt;, std::__1::allocator&lt;WTF::Function&lt;void ()&gt; &gt;, void ()&gt;::operator()() + 60 (functional:1059)
11  com.apple.JavaScriptCore      	0x00000001048b359a std::__1::function&lt;void ()&gt;::operator()() const + 26 (functional:1435)
12  com.apple.JavaScriptCore      	0x00000001048c2b64 WTF::RunLoop::performWork() + 276 (RunLoop.cpp:106)
13  com.apple.JavaScriptCore      	0x00000001048c4024 WTF::RunLoop::performWork(void*) + 36 (RunLoopCF.cpp:38)
14  com.apple.CoreFoundation      	0x00007fff88697731 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 (CFRunLoop.c:1767)
15  com.apple.CoreFoundation      	0x00007fff88688ea2 __CFRunLoopDoSources0 + 242 (CFRunLoop.c:1792)
16  com.apple.CoreFoundation      	0x00007fff8868862f __CFRunLoopRun + 831 (CFRunLoop.c:2513)
17  com.apple.CoreFoundation      	0x00007fff886880b5 CFRunLoopRunSpecific + 309 (CFRunLoop.c:2770)
18  com.apple.HIToolbox           	0x00007fff8634da0d RunCurrentEventLoopInMode + 226 (EventLoop.c:440)
19  com.apple.HIToolbox           	0x00007fff8634d7b7 ReceiveNextEventCommon + 479 (EventBlocking.c:264)
20  com.apple.HIToolbox           	0x00007fff8634d5bc _BlockUntilNextEventMatchingListInModeWithFilter + 65 (EventBlocking.c:161)
21  com.apple.AppKit              	0x00007fff8da293de _DPSNextEvent + 1434 (CGDPSReplacement.m:458)
22  com.apple.AppKit              	0x00007fff8da28a2b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122 (NSApplication.m:5085)
23  com.apple.AppKit              	0x00007fff8da1cb2c -[NSApplication run] + 553 (NSApplication.m:3445)
24  com.apple.AppKit              	0x00007fff8da07913 NSApplicationMain + 940 (NSApplication.m:9977)
25  com.apple.XPCService          	0x00007fff89194c0f _xpc_main + 385 (XPCServiceMain.m:349)
26  libxpc.dylib                  	0x00007fff8a9ebbde xpc_main + 399 (init.c:1080)
27  com.apple.WebKit.WebContent   	0x00000001020e9ba0 main + 16 (XPCServiceMain.mm:32)
28  libdyld.dylib                 	0x00007fff859435fd start + 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1004152</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-04-25 11:30:27 -0700</bug_when>
    <thetext>I cannot reproduce this with r167808.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1004308</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2014-04-25 20:39:52 -0700</bug_when>
    <thetext>It looks like this is specific to run-safari.  When I launch Safari from Xcode, I don&apos;t encounter this crash.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1004319</commentid>
    <comment_count>3</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2014-04-25 22:08:59 -0700</bug_when>
    <thetext>It looks like you&apos;re hitting:

    if (!decoder.decode(arguments)) {
        ASSERT(decoder.isInvalid());

Is that right?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1004321</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-04-25 23:01:15 -0700</bug_when>
    <thetext>Doesn&apos;t happen for me with run-safari either. Sounds like you may need to debug on your machine where it happens. What makes decode() return false?

Or perhaps a clean rebuild would do it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1004323</commentid>
    <comment_count>5</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2014-04-26 00:01:58 -0700</bug_when>
    <thetext>It does look like this is an issue with my local setup.  I can&apos;t reproduce on my MBP either.

Sorry about the noise.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>