<?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>114214</bug_id>
          
          <creation_ts>2013-04-08 13:50:13 -0700</creation_ts>
          <short_desc>Crash in ScrollingCoordinator::mainThreadScrollingReasons() when going back</short_desc>
          <delta_ts>2013-04-08 13:58:59 -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>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Beth Dakin">bdakin</reporter>
          <assigned_to name="Beth Dakin">bdakin</assigned_to>
          <cc>andersca</cc>
    
    <cc>bdakin</cc>
    
    <cc>cmarcelo</cc>
    
    <cc>jamesr</cc>
    
    <cc>luiz</cc>
    
    <cc>tonikitoo</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>871145</commentid>
    <comment_count>0</comment_count>
    <who name="Beth Dakin">bdakin</who>
    <bug_when>2013-04-08 13:50:13 -0700</bug_when>
    <thetext>It&apos;s possible to hit the following crash when going back:

  1 com.apple.WebCore              0x7fff8ef4c02e WebCore::ScrollingCoordinator::mainThreadScrollingReasons() const + 0xae
   2 com.apple.WebCore              0x7fff8ea4dc4f non-virtual thunk to WebCore::FrameView::isRubberBandInProgress() const + 0x3f
   3 com.apple.WebCore              0x7fff8e4bad49 WebCore::ScrollView::updateScrollbars(WebCore::IntSize const&amp;) + 0x889
   4 com.apple.WebCore              0x7fff8e445398 WebCore::ScrollView::setFrameRect(WebCore::IntRect const&amp;) + 0x78
   5 com.apple.WebCore              0x7fff8e44528b WebCore::FrameView::setFrameRect(WebCore::IntRect const&amp;) + 0x4b
   6 com.apple.WebCore              0x7fff8e6c5d8b WebCore::FrameLoader::open(WebCore::CachedFrameBase&amp;) + 0x27b
   7 com.apple.WebCore              0x7fff8e6c5ae1 WebCore::CachedFrame::open() + 0x21
   8 com.apple.WebCore              0x7fff8e6c59e9 WebCore::CachedPage::restore(WebCore::Page*) + 0x19
   9 com.apple.WebCore              0x7fff8e32f74e WebCore::FrameLoader::commitProvisionalLoad() + 0x25e
  10 com.apple.WebCore              0x7fff8e397a29 WebCore::FrameLoader::continueLoadAfterNavigationPolicy(WebCore::ResourceRequest const&amp;, WTF::PassRefPtr&lt;WebCore::FormState&gt;, bool) + 0x319
  11 com.apple.WebCore              0x7fff8e3976e0 WebCore::FrameLoader::callContinueLoadAfterNavigationPolicy(void*, WebCore::ResourceRequest const&amp;, WTF::PassRefPtr&lt;WebCore::FormState&gt;, bool) + 0x20
  12 com.apple.WebCore              0x7fff8e396d1a WebCore::PolicyChecker::checkNavigationPolicy(WebCore::ResourceRequest const&amp;, WebCore::DocumentLoader*, WTF::PassRefPtr&lt;WebCore::FormState&gt;, void (*)(void*, WebCore::ResourceRequest const&amp;, WTF::PassRefPtr&lt;WebCore::FormState&gt;, bool), void*) + 0x25a
  13 com.apple.WebCore              0x7fff8e3968be WebCore::FrameLoader::loadWithDocumentLoader(WebCore::DocumentLoader*, WebCore::FrameLoadType, WTF::PassRefPtr&lt;WebCore::FormState&gt;) + 0x38e
  14 com.apple.WebCore              0x7fff8ea41141 WebCore::FrameLoader::loadDifferentDocumentItem(WebCore::HistoryItem*, WebCore::FrameLoadType, WebCore::FrameLoader::FormSubmissionCacheLoadPolicy) + 0x61
  15 com.apple.WebCore              0x7fff8e64a8cb WebCore::HistoryController::recursiveGoToItem(WebCore::HistoryItem*, WebCore::HistoryItem*, WebCore::FrameLoadType) + 0x1bb
  16 com.apple.WebCore              0x7fff8e64a483 WebCore::HistoryController::goToItem(WebCore::HistoryItem*, WebCore::FrameLoadType) + 0xd3
  17 com.apple.WebCore              0x7fff8e64a115 WebCore::Page::goToItem(WebCore::HistoryItem*, WebCore::FrameLoadType) + 0x55
  18 com.apple.WebKit2              0x7fff8f75d84b WebKit::WebPage::goForward(unsigned long long) + 0x27
  19 com.apple.WebKit2              0x7fff8f76d06e WebKit::WebPage::didReceiveWebPageMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&amp;) + 0x532
  20 com.apple.WebKit2              0x7fff8f6c8349 CoreIPC::MessageReceiverMap::dispatchMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&amp;) + 0x7d
  21 com.apple.WebKit2              0x7fff8f7978fa WebKit::WebProcess::didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageDecoder&amp;) + 0x1c
  22 com.apple.WebKit2              0x7fff8f6a484b CoreIPC::Connection::dispatchMessage(WTF::PassOwnPtr&lt;CoreIPC::MessageDecoder&gt;) + 0x65
  23 com.apple.WebKit2              0x7fff8f6a5b34 CoreIPC::Connection::dispatchOneMessage() + 0x6a
  24 com.apple.WebCore              0x7fff8ef3211f WebCore::RunLoop::performWork() + 0x9f
  25 com.apple.WebCore              0x7fff8ef327af WebCore::RunLoop::performWork(void*) + 0x3f
  26 com.apple.CoreFoundation       0x7fff9a3dc1b1 

&lt;rdar://problem/13208616&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>871150</commentid>
    <comment_count>1</comment_count>
      <attachid>196952</attachid>
    <who name="Beth Dakin">bdakin</who>
    <bug_when>2013-04-08 13:55:31 -0700</bug_when>
    <thetext>Created attachment 196952
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>871152</commentid>
    <comment_count>2</comment_count>
    <who name="Beth Dakin">bdakin</who>
    <bug_when>2013-04-08 13:58:59 -0700</bug_when>
    <thetext>Thanks Anders!

http://trac.webkit.org/changeset/147949</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>196952</attachid>
            <date>2013-04-08 13:55:31 -0700</date>
            <delta_ts>2013-04-08 13:56:29 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>for-review.txt</filename>
            <type>text/plain</type>
            <size>1746</size>
            <attacher name="Beth Dakin">bdakin</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDE0Nzk0OCkKKysrIFNvdXJjZS9XZWJDb3JlL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE4IEBACisyMDEzLTA0LTA4ICBCZXRoIERh
a2luICA8YmRha2luQGFwcGxlLmNvbT4KKworICAgICAgICBDcmFzaCBpbiBTY3JvbGxpbmdDb29y
ZGluYXRvcjo6bWFpblRocmVhZFNjcm9sbGluZ1JlYXNvbnMoKSB3aGVuIGdvaW5nIGJhY2sKKyAg
ICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTExNDIxNAorICAg
ICAgICAtYW5kIGNvcnJlc3BvbmRpbmctCisgICAgICAgIDxyZGFyOi8vcHJvYmxlbS8xMzIwODYx
Nj4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBXaGVu
IGEgcGFnZSBpcyByZXN0b3JpbmcgZnJvbSB0aGUgcGFnZSBjYWNoZSwgdGhlIG1haW5GcmFtZSBj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cnRDb25zdHJhaW5lZE9iamVjdHMoZnJhbWVWaWV3KSkKICAgICAgICAgbWFp
blRocmVhZFNjcm9sbGluZ1JlYXNvbnMgfD0gSGFzTm9uTGF5ZXJWaWV3cG9ydENvbnN0cmFpbmVk
T2JqZWN0czsKLSAgICBpZiAobV9wYWdlLT5tYWluRnJhbWUoKS0+ZG9jdW1lbnQoKS0+aXNJbWFn
ZURvY3VtZW50KCkpCisgICAgaWYgKG1fcGFnZS0+bWFpbkZyYW1lKCktPmRvY3VtZW50KCkgJiYg
bV9wYWdlLT5tYWluRnJhbWUoKS0+ZG9jdW1lbnQoKS0+aXNJbWFnZURvY3VtZW50KCkpCiAgICAg
ICAgIG1haW5UaHJlYWRTY3JvbGxpbmdSZWFzb25zIHw9IElzSW1hZ2VEb2N1bWVudDsKIAogICAg
IHJldHVybiBtYWluVGhyZWFkU2Nyb2xsaW5nUmVhc29uczsK
</data>
<flag name="review"
          id="219083"
          type_id="1"
          status="+"
          setter="andersca"
    />
          </attachment>
      

    </bug>

</bugzilla>