[Webkit-unassigned] [Bug 11487] Safari Crashes on page load

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 1 13:53:35 PST 2006


http://bugs.webkit.org/show_bug.cgi?id=11487





------- Comment #2 from srikanth.ganugapati at schwab.com  2006-11-01 13:53 PDT -------
(In reply to comment #1)
Can you provide the URL or a copy of the page that causes the crash? Does it
also crash the WebKit nightly build? You can download a nightly build from
http://nightly.webkit.org/ and try.

Hi,
Here's the code that gets invoked:
----------------------------------------------------------------------------

<xsl:template name="genYXMTableV2">
<div id="RowDetailsLayer">
   <table cellpadding="0" cellspacing="0" border="0" class="fiDataTable"
width="100%">
        <tr><td bgcolor="#333333" colspan="12"><img
src="/images/fi/nothing.gif"/></td></tr>

     <tr height="20" bgcolor="#CCCCCC">
       <td class="fiTDFontBottom" align="left">  <b>
Offerings</b></td>
       <xsl:for-each select="//TermLabels/TermLabel">
         <td class="fiTDFontBottom" align="center"><b>
           <xsl:value-of select="."/></b>
         </td>
       </xsl:for-each>
       <td width="1"><img src="/images/fi/nothing.gif"/></td>
     </tr>

     <tr height="20" ID="CDRows0" bgcolor="#e6e6e6">
       <td class="fiTDFontBottom" align="left"
colspan="12">  <b>CDs</b>
<input value="Expand " type="hidden" id="CDRows-expand_title"/>
<input value="Collapse " type="hidden" id="CDRows-collapse_title"/>
<a name="CDRows-collapse_title" id="CDRows-href" title="Collapse "
href="javascript:expandCollapse('CDRows', '2', 'CDRowsCDAll', 'CDRows0');">
<img width="16" src="/images/fi/arrow_open.gif" id="CDRows-ECImage" height="16"
border="0"/></a>
        </td>
     </tr>

       <xsl:for-each select="//reerex/Row">
           <xsl:variable name="productGroup" select="@ProductGroup"/>
           <xsl:variable name="rating" select="@Rating"/>
           <xsl:variable name="plabel" select="substring-before(@ProductLabel,
' ')"/>
           <xsl:variable name="subCategory" select="@SubCategory"/>
         <tr>
           <xsl:choose>
             <xsl:when test="$subCategory='CD'">
           <xsl:attribute name="ID">CDAll</xsl:attribute>
           <xsl:attribute name="style">display:none</xsl:attribute>
             </xsl:when>
             <xsl:otherwise>
           <xsl:attribute name="ID">CDRows<xsl:value-of
select="position()"/></xsl:attribute>
             </xsl:otherwise>
           </xsl:choose>

           <xsl:choose>
             <xsl:when test="position() mod 2=0">
               <xsl:attribute name="class">dataTableOdd</xsl:attribute>
             </xsl:when>
             <xsl:otherwise>
               <xsl:attribute name="class">dataTableEven</xsl:attribute>
             </xsl:otherwise>
           </xsl:choose>


---------------------------------------------------------------------------
> Hi,
> We use javascript extensively with in all our pages and consistently safari
> browser is crashing on one particular page.Is it the javascript or something
> else which is causing this crash.Also this page that i am talking of works fine
> on Firefox and IE browsers
> 
> 
> Here's the CRASH REPORT:
> 
> Date/Time: 2006-10-09 15:51:21.238 -0700
> OS Version: 10.4.8 (Build 8L127)
> Report Version: 4
> 
> Command: Safari
> Path: /Applications/Safari.app/Contents/MacOS/Safari
> Parent: WindowServer [370]
> 
> Version: 2.0.4 (419.3)
> Build Version: 1
> Project Name: WebBrowser
> Source Version: 4190300
> 
> PID: 412
> Thread: 0
> 
> Exception: EXC_BAD_ACCESS (0x0001)
> Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000004
> 
> Thread 0 Crashed:
> 0 com.apple.WebCore 0x95d13300
> khtml::RenderTableSection::paint(khtml::RenderObject::PaintInfo&, int, int) +
> 124
> 1 com.apple.WebCore 0x95d130f0
> khtml::RenderTable::paint(khtml::RenderObject::PaintInfo&, int, int) + 492
> 2 com.apple.WebCore 0x95d12b64
> khtml::RenderBlock::paintChildren(khtml::RenderObject::PaintInfo&, int, int) +
> 452
> 3 com.apple.WebCore 0x95d11284
> khtml::RenderBlock::paintObject(khtml::RenderObject::PaintInfo&, int, int) +
> 244
> 4 com.apple.WebCore 0x95d1117c
> khtml::RenderBlock::paint(khtml::RenderObject::PaintInfo&, int, int) + 296
> 5 com.apple.WebCore 0x95d0fafc
> khtml::RenderLayer::paintLayer(khtml::RenderLayer*, QPainter*, QRect const&,
> bool, bool, khtml::RenderObject*) + 780
> 6 com.apple.WebCore 0x95d0fc20
> khtml::RenderLayer::paintLayer(khtml::RenderLayer*, QPainter*, QRect const&,
> bool, bool, khtml::RenderObject*) + 1072
> 7 com.apple.WebCore 0x95d0fc20
> khtml::RenderLayer::paintLayer(khtml::RenderLayer*, QPainter*, QRect const&,
> bool, bool, khtml::RenderObject*) + 1072
> 8 com.apple.WebCore 0x95d0f774 KWQKHTMLPart::paint(QPainter*, QRect const&) +
> 164
> 9 com.apple.WebCore 0x95d0f6ac -[WebCoreBridge drawRect:withPainter:] + 80
> 10 com.apple.WebCore 0x95d0f43c -[WebCoreBridge drawRect:] + 112
> 11 com.apple.WebKit 0x95b19240 -[WebHTMLView drawSingleRect:] + 328
> 12 com.apple.WebKit 0x95ae6d70 -[WebHTMLView drawRect:] + 244
> 13 com.apple.AppKit 0x93774858 -[NSView _drawRect:clip:] + 2128
> 14 com.apple.AppKit 0x937735fc -[NSView
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
> + 736
> 15 com.apple.WebKit 0x95ae7dc8 -[WebHTMLView(WebPrivate)
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
> + 252
> 16 com.apple.AppKit 0x937739a8 -[NSView
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
> + 1676
> 17 com.apple.AppKit 0x937739a8 -[NSView
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
> + 1676
> 18 com.apple.AppKit 0x937739a8 -[NSView
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
> + 1676
> 19 com.apple.AppKit 0x9376d054 -[NSView
> _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 384
> 20 com.apple.AppKit 0x9384cf7c -[NSView displayIfNeededInRectIgnoringOpacity:]
> + 264
> 21 com.apple.AppKit 0x9384ce60 -[NSView displayRectIgnoringOpacity:] + 104
> 22 com.apple.WebCore 0x95d43860 QWidget::paint(QPainter*, QRect const&) + 180
> 23 com.apple.WebCore 0x95d42324
> khtml::RenderWidget::paint(khtml::RenderObject::PaintInfo&, int, int) + 380
> 24 com.apple.WebCore 0x95d9c674
> khtml::RenderBox::paint(khtml::RenderObject::PaintInfo&, int, int) + 92
> 25 com.apple.WebCore 0x95d12b64
> khtml::RenderBlock::paintChildren(khtml::RenderObject::PaintInfo&, int, int) +
> 452
> 26 com.apple.WebCore 0x95d11284
> khtml::RenderBlock::paintObject(khtml::RenderObject::PaintInfo&, int, int) +
> 244
> 27 com.apple.WebCore 0x95d1117c
> khtml::RenderBlock::paint(khtml::RenderObject::PaintInfo&, int, int) + 296
> 28 com.apple.WebCore 0x95d0fb50
> khtml::RenderLayer::paintLayer(khtml::RenderLayer*, QPainter*, QRect const&,
> bool, bool, khtml::RenderObject*) + 864
> 29 com.apple.WebCore 0x95d0fc20
> khtml::RenderLayer::paintLayer(khtml::RenderLayer*, QPainter*, QRect const&,
> bool, bool, khtml::RenderObject*) + 1072
> 30 com.apple.WebCore 0x95d0f774 KWQKHTMLPart::paint(QPainter*, QRect const&) +
> 164
> 31 com.apple.WebCore 0x95d0f6ac -[WebCoreBridge drawRect:withPainter:] + 80
> 32 com.apple.WebCore 0x95d0f43c -[WebCoreBridge drawRect:] + 112
> 33 com.apple.WebKit 0x95b19240 -[WebHTMLView drawSingleRect:] + 328
> 34 com.apple.WebKit 0x95ae6d70 -[WebHTMLView drawRect:] + 244
> 35 com.apple.AppKit 0x93774858 -[NSView _drawRect:clip:] + 2128
> 36 com.apple.AppKit 0x937735fc -[NSView
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
> + 736
> 37 com.apple.WebKit 0x95ae7dc8 -[WebHTMLView(WebPrivate)
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
> + 252
> 38 com.apple.AppKit 0x937739a8 -[NSView
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
> + 1676
> 39 com.apple.AppKit 0x937739a8 -[NSView
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
> + 1676
> 40 com.apple.AppKit 0x937739a8 -[NSView
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
> + 1676
> 41 com.apple.AppKit 0x937739a8 -[NSView
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
> + 1676
> 42 com.apple.AppKit 0x937739a8 -[NSView
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
> + 1676
> 43 com.apple.AppKit 0x937739a8 -[NSView
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
> + 1676
> 44 com.apple.AppKit 0x937739a8 -[NSView
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
> + 1676
> 45 com.apple.AppKit 0x93794044 -[NSThemeFrame
> _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
> + 192
> 46 com.apple.AppKit 0x9376d054 -[NSView
> _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 384
> 47 com.apple.AppKit 0x93762348 -[NSView displayIfNeeded] + 248
> 48 com.apple.AppKit 0x937621b8 -[NSWindow displayIfNeeded] + 180
> 49 com.apple.Safari 0x0001a5f8 0x1000 + 103928
> 50 com.apple.AppKit 0x93762064 _handleWindowNeedsDisplay + 2
> 


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list