<?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>21218</bug_id>
          
          <creation_ts>2008-09-29 12:59:04 -0700</creation_ts>
          <short_desc>REGRESSION: Crash in Frame::prohibitsScrolling() when releasing a page from the back/forward cache</short_desc>
          <delta_ts>2008-09-29 13:10:20 -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>Platform</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>PlatformOnly</keywords>
          <priority>P1</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mitz</reporter>
          <assigned_to name="Dave Hyatt">hyatt</assigned_to>
          <cc>hyatt</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>93261</commentid>
    <comment_count>0</comment_count>
    <who name="">mitz</who>
    <bug_when>2008-09-29 12:59:04 -0700</bug_when>
    <thetext>Steps to reproduce:
1) Go to data:text/html,a
2) In the same window, go to data:text/html,b
3) Open a new tab
4) Close the tab in which you visited a and b
5) Wait (do not interact with Safari while waiting)

Backtrace:
&gt;	WebKit_debug.dll!WebCore::Frame::prohibitsScrolling()  Line 1732 + 0x3 bytes	C++
 	WebKit_debug.dll!WebCore::ScrollView::updateScrollbars(const WebCore::IntSize &amp; desiredOffset={...})  Line 270 + 0xf bytes	C++
 	WebKit_debug.dll!WebCore::ScrollView::setScrollbarModes(WebCore::ScrollbarMode horizontalMode=ScrollbarAuto, WebCore::ScrollbarMode verticalMode=ScrollbarAuto)  Line 76	C++
 	WebKit_debug.dll!WebCore::FrameView::resetScrollbars()  Line 215	C++
 	WebKit_debug.dll!WebCore::FrameView::~FrameView()  Line 184	C++
 	WebKit_debug.dll!WebCore::FrameView::`scalar deleting destructor&apos;()  + 0x16 bytes	C++
 	WebKit_debug.dll!WebCore::FrameView::deref()  Line 68 + 0x55 bytes	C++
 	WebKit_debug.dll!WTF::RefPtr&lt;WebCore::FrameView&gt;::operator=(WebCore::FrameView * optr=0x00000000)  Line 119	C++
 	WebKit_debug.dll!WebCore::CachedPage::clear()  Line 169	C++
 	WebKit_debug.dll!WebCore::PageCache::releaseAutoreleasedPagesNow()  Line 167 + 0x16 bytes	C++
 	WebKit_debug.dll!WebCore::PageCache::releaseAutoreleasedPagesNowOrReschedule(WebCore::Timer&lt;WebCore::PageCache&gt; * timer=0x0447e6b0)  Line 153	C++
 	WebKit_debug.dll!WebCore::Timer&lt;WebCore::PageCache&gt;::fired()  Line 99 + 0x23 bytes	C++
 	WebKit_debug.dll!WebCore::TimerBase::fireTimers(double fireTime=1222718154.5365591, const WTF::Vector&lt;WebCore::TimerBase *,0&gt; &amp; firingTimers={...})  Line 347 + 0xf bytes	C++
 	WebKit_debug.dll!WebCore::TimerBase::sharedTimerFired()  Line 368 + 0x12 bytes	C++
 	WebKit_debug.dll!WebCore::TimerWindowWndProc(HWND__ * hWnd=0x00020676, unsigned int message=0x0000c1bb, unsigned int wParam=0x00000000, long lParam=0x00000000)  Line 102 + 0x8 bytes	C++

Note:
The Frame is null in the topmost stack frame.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93263</commentid>
    <comment_count>1</comment_count>
      <attachid>23916</attachid>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2008-09-29 13:08:28 -0700</bug_when>
    <thetext>Created attachment 23916
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93264</commentid>
    <comment_count>2</comment_count>
      <attachid>23916</attachid>
    <who name="">mitz</who>
    <bug_when>2008-09-29 13:09:35 -0700</bug_when>
    <thetext>Comment on attachment 23916
Patch

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93266</commentid>
    <comment_count>3</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2008-09-29 13:10:10 -0700</bug_when>
    <thetext>Fixed in r37069.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>23916</attachid>
            <date>2008-09-29 13:08:28 -0700</date>
            <delta_ts>2008-09-29 13:09:35 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>patch.txt</filename>
            <type>text/plain</type>
            <size>1281</size>
            <attacher name="Dave Hyatt">hyatt</attacher>
            
              <data encoding="base64">SW5kZXg6IENoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBDaGFuZ2VMb2cJKHJldmlzaW9uIDM3MDY4
KQorKysgQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTUgQEAKKzIwMDgtMDkt
MjkgIERhdmlkIEh5YXR0ICA8aHlhdHRAYXBwbGUuY29tPgorCisgICAgICAgIGh0dHBzOi8vYnVn
cy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0yMTIxOAorCisgICAgICAgIEFjY2lkZW50YWxs
eSByZW1vdmVkIGEgY2hlY2sgdG8gc2VlIGlmIHRoZSBzY3JvbGxiYXIgbW9kZXMgd2VyZSBlcXVh
bC4gIFRoaXMgY2F1c2VkIGEgY3Jhc2ggb24gV2luZG93cy4KKyAgICAgICAgSXQncyBzaWxseSB0
aGF0IHRoZSBjb2RlIHdhcyB0aGlzIGZyYWdpbGUsIGJ1dCBmb3Igbm93IGp1c3QgcHV0IHRoZSBj
aGVjayBi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SkK
</data>
<flag name="review"
          id="10786"
          type_id="1"
          status="+"
          setter="mitz"
    />
          </attachment>
      

    </bug>

</bugzilla>