<?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>6398</bug_id>
          
          <creation_ts>2006-01-06 10:28:11 -0800</creation_ts>
          <short_desc>REGRESSION (TOT): crash in KWQKHTMLPart::generateFrameName due to nil _bridge</short_desc>
          <delta_ts>2006-01-07 05:44:27 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Frames</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>6382</dup_id>
          
          <bug_file_loc>http://www.the-lizard-lounge.com/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="John Sullivan">sullivan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>chezsmithy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>27860</commentid>
    <comment_count>0</comment_count>
    <who name="John Sullivan">sullivan</who>
    <bug_when>2006-01-06 10:28:11 -0800</bug_when>
    <thetext>To reproduce:

1. Go to http://www.the-lizard-lounge.com/
2. Click &quot;Web Design&quot; link at bottom of page

This crashes with the following abbreviated backtrace:

#0  0x01d46d70 in KWQKHTMLPart::generateFrameName (this=0x0) at /Volumes/Big/johnsullivan/
Projects/Labyrinth/WebCore/kwq/KWQKHTMLPart.mm:205
#1  0x01dbc4e8 in KHTMLPart::requestFrameName (this=0x0) at /Volumes/Big/johnsullivan/Projects/
Labyrinth/WebCore/khtml/khtml_part.cpp:1742
#2  0x01d59780 in KWQKHTMLPart::setName (this=0xd96fe00, name=@0xbfffcfd0) at /Volumes/Big/
johnsullivan/Projects/Labyrinth/WebCore/kwq/KWQKHTMLPart.mm:3830
#3  0x01daf4a8 in -[WebCoreBridge setName:] (self=0x22d13490, _cmd=0x90a31188, 
name=0x22de2c60) at /Volumes/Big/johnsullivan/Projects/Labyrinth/WebCore/kwq/
WebCoreBridge.mm:1627
#4  0x01257880 in -[WebFrame(WebPrivate) 
_continueLoadRequestAfterNewWindowPolicy:frameName:formState:] (self=0xe132e10, 
_cmd=0x909da6e8, request=0x22dec3e0, frameName=0x22de2c60, formState=0x0) at /Volumes/
Big/johnsullivan/Projects/Labyrinth/WebKit/WebView.subproj/WebFrame.m:1825
#5  0x0125011c in -[NSObject(WebExtraPerformMethod) 
performSelector:withObject:withObject:withObject:] (self=0xe132e10, _cmd=0x90a253d0, 
aSelector=0x909da6e8, object1=0x22dec3e0, object2=0x22de2c60, object3=0x0) at /Volumes/Big/
johnsullivan/Projects/Labyrinth/WebKit/WebView.subproj/WebFrame.m:125
#6  0x01256be8 in -[WebFrame(WebPrivate) _continueAfterNewWindowPolicy:] (self=0xe132e10, 
_cmd=0x909da638, policy=WebPolicyUse) at /Volumes/Big/johnsullivan/Projects/Labyrinth/WebKit/
WebView.subproj/WebFrame.m:1660
#7  0x012a0af4 in -[WebPolicyDecisionListener _usePolicy:] (self=0x22d82c20, _cmd=0x909feba8, 
policy=WebPolicyUse) at /Volumes/Big/johnsullivan/Projects/Labyrinth/WebKit/WebView.subproj/
WebPolicyDelegate.m:90
#8  0x012a0bcc in -[WebPolicyDecisionListener use] (self=0x22d82c20, _cmd=0x90a3aa70) at /
Volumes/Big/johnsullivan/Projects/Labyrinth/WebKit/WebView.subproj/WebPolicyDelegate.m:106
#9  0x00133268 in -[BrowserWebView informDecisionListener:ofPolicyDecision:] (self=0xe166100, 
_cmd=0x18fd68, listener=0x22d82c20, decision=PolicyUse) at /Volumes/Big/johnsullivan/Projects/
Labyrinth/WebBrowser/BrowserWebView.m:1435

The immediate cause of the crash is that _bridge is nil in KWQKHTMLPart::generateFrameName. This 
causes [_bridge generateFrameName] to return nil, which then causes QString::fromNSString() to choke.

This seems likely to be fallout from Maciej&apos;s recent refactoring of where the frame traversal code lives.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27861</commentid>
    <comment_count>1</comment_count>
    <who name="John Sullivan">sullivan</who>
    <bug_when>2006-01-06 10:29:06 -0800</bug_when>
    <thetext>I should explicitly add that this does not occur on released versions of Safari.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27907</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-01-07 01:09:34 -0800</bug_when>
    <thetext>*** Bug 6406 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27917</commentid>
    <comment_count>3</comment_count>
    <who name="">mitz</who>
    <bug_when>2006-01-07 05:44:27 -0800</bug_when>
    <thetext>

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

    </bug>

</bugzilla>