Bug 11487
Summary: | Safari Crashes on page load | ||
---|---|---|---|
Product: | WebKit | Reporter: | Srikanth <srikanth.ganugapati> |
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Critical | CC: | ddkilzer, mitz |
Priority: | P1 | ||
Version: | 419.x | ||
Hardware: | PC | ||
OS: | OS X 10.4 |
Srikanth
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
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
mitz
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.
Srikanth
(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
>
David Kilzer (:ddkilzer)
(In reply to comment #2)
> 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>
>
>
> ---------------------------------------------------------------------------
Is this XSL transformed on the server side, or on the browser side? I'm guessing it's transformed on the server side, which isn't what we need to reproduce the bug.
What we're looking for is the final HTML (and CSS) output from the server that may be opened as a file (or files) in Safari to cause the crash. Please do not include any sensitive information in the file(s), but please do attach the file(s) to this bug. Thanks!
Srikanth
(In reply to comment #3)
Hi,
I have tried installing the latest webkit available http://nightly.webkit.org/
and our application does not crash anymore.But one unresolved issue still remains.The nightly build available at webkit.org installs a new application containing a separate browser named Webkit (it has the same icon as Safari). It doesn't update the existing copy of Webkit and so is not getting used by Safari.
And our application still crashes when we use Safari
Can you let us know of how we can accomplish this
Thanks
Thanks,
Srikanth
> 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
>
David Kilzer (:ddkilzer)
(In reply to comment #4)
> Hi,
>
> I have tried installing the latest webkit available http://nightly.webkit.org/
> and our application does not crash anymore.But one unresolved issue still
> remains.The nightly build available at webkit.org installs a new application
> containing a separate browser named Webkit (it has the same icon as Safari).
> It doesn't update the existing copy of Webkit and so is not getting used by
> Safari.
> And our application still crashes when we use Safari
>
> Can you let us know of how we can accomplish this
> Thanks
The WebKit nightly build is not for production use, and is not a supported product. It is simply a development snapshot of the WebKit library that Apple uses with Safari. The point of testing the WebKit nightly build is to see if the bug you're reporting has already been fixed in development. Since it didn't crash, this bug has been fixed in the latest WebKit sources.
In order to get the bug fixed in Safari 2.0.4 in Mac OS X 10.4, you need to provide (1) a reproducible test case that causes Safari to crash (see Comment #3) and (2) you will next need to file a different bug with Apple directly using https://bugreport.apple.com/. (You may create a free "online" account to log into bugreport.apple.com using the https://connect.apple.com/ web site.)
Please report the bug number of this new bug back here once you've filed it.
mitz
I think this bug should be closed.
David Kilzer (:ddkilzer)
Per Comment #4, the original bug has been fixed in ToT WebKit. See Bug 12199 Comment #3 for details on when an updated Safari+WebKit may be released.