<?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>13700</bug_id>
          
          <creation_ts>2007-05-12 15:41:46 -0700</creation_ts>
          <short_desc>REGRESSION: Reproducible assertion failure in Page::goToItem()</short_desc>
          <delta_ts>2007-05-12 16:14:30 -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>History</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>13038</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Kilzer (:ddkilzer)">ddkilzer</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mjs</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>10213</commentid>
    <comment_count>0</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-05-12 15:41:46 -0700</bug_when>
    <thetext>* SUMMARY
Unreproducible assertion failure in Page::goToItem() in a local debug build of WebKit r21333 with Safari 2.0.4 (419.3) on Mac OS X 10.4.9 (8P135).

* STEPS TO REPRODUCE
1. Opened Safari/WebKit.
2. Read Bugzilla bug mail in Yahoo! Mail.
3. Command-clicked on link to open bug in a second tab (Bug 13685).
4. Clicked on attachment to read patch (Attachment 14514).
5. Hit Command-Left-Arrow to go back to the previous page.

* EXPECTED RESULTS
Browser should have returned to the previous page.

* ACTUAL RESULTS
Browser crashed due to an assertion failure.

* NOTES
- Console output:

ASSERTION FAILED: item-&gt;target().isEmpty() || m_mainFrame-&gt;tree()-&gt;find(item-&gt;target()) == m_mainFrame
(/path/to/WebKit/WebCore/page/Page.cpp:132 void WebCore::Page::goToItem(WebCore::HistoryItem*, WebCore::FrameLoadType))
Segmentation fault

- Stack trace:

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0xbbadbeef

Thread 0 Crashed:
0   com.apple.WebCore        	0x011f78c0 WebCore::Page::goToItem(WebCore::HistoryItem*, WebCore::FrameLoadType) + 312 (Page.cpp:132)
1   com.apple.WebCore        	0x011f7a10 WebCore::Page::goBack() + 88 (Page.cpp:113)
2   com.apple.WebKit         	0x00385ee4 -[WebView goBack] + 80 (WebView.mm:2000)
3   com.apple.WebKit         	0x0037a834 -[WebFrameView _goBack] + 92 (WebFrameView.mm:485)
4   com.apple.WebKit         	0x0037c248 -[WebFrameView keyDown:] + 2948 (WebFrameView.mm:738)
5   com.apple.AppKit         	0x9386ff84 forwardMethod + 92
6   com.apple.AppKit         	0x9386ff84 forwardMethod + 92
7   com.apple.AppKit         	0x9386ff84 forwardMethod + 92
8   com.apple.AppKit         	0x939113f0 -[NSControl keyDown:] + 112
9   com.apple.WebKit         	0x0035488c -[WebHTMLView keyDown:] + 748 (WebHTMLView.mm:3429)
10  com.apple.AppKit         	0x937fdfa0 -[NSWindow sendEvent:] + 6424
11  com.apple.Safari         	0x00021734 0x1000 + 132916
12  com.apple.AppKit         	0x937a68d4 -[NSApplication sendEvent:] + 4172
13  com.apple.Safari         	0x00021238 0x1000 + 131640
14  com.apple.AppKit         	0x9379dd10 -[NSApplication run] + 508
15  com.apple.AppKit         	0x9388e87c NSApplicationMain + 452
16  com.apple.Safari         	0x0005c77c 0x1000 + 374652
17  com.apple.Safari         	0x0005c624 0x1000 + 374308</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10171</commentid>
    <comment_count>1</comment_count>
    <who name="">mitz</who>
    <bug_when>2007-05-12 16:08:19 -0700</bug_when>
    <thetext>See also bug 13038.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10173</commentid>
    <comment_count>2</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-05-12 16:14:10 -0700</bug_when>
    <thetext>I have steps to reproduce!



*** This bug has been marked as a duplicate of 13038 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>