Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

KWQKHTMLPart::attributedString is crashing on the Apple Store



I realize that we don't normally post crashes to here, but for the first time today our app crashed whilst getting the attributedString from the Apple Store web page:

http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore/

It has never crashed before on this page (or any other page), so I am posting here in the hope that someone in the WebCore team can investigate it before the page changes and the bug can't be replicated.

This is easy to reproduce in Safari, simply go to that web page, select all of its text and do Copy.

Our app's crash :
Thread 0 Crashed:
0 com.apple.WebCore 0x911f77f0 freeHandle(void*) + 0x4c
1 com.apple.WebCore 0x911d3860 _ZN7QStringD4Ev + 0xac
2 com.apple.WebCore 0x912aad5c KWQKHTMLPart::attributedString(DOM::NodeImpl*, int, DOM::NodeImpl*, int) + 0xd94
3 WebView+StringExtraction.ob 0x016533d0 +[WebView(StringExtraction) appendToAttributedString:andFrameIDDictionary:fromWebFrame: selectedOnly:] + 0x11c (WebView+StringExtraction.m:33)
4 WebView+StringExtraction.ob 0x016537e4 -[WebView(StringExtraction) attributedStringSelectedOnly:] + 0x1cc (WebView+StringExtraction.m:73)



Safari's crash:
0 com.apple.WebCore 0x911f0960 _ZN7QStringC4ERKS_ + 0x5c
1 com.apple.WebCore 0x912aacd0 KWQKHTMLPart::attributedString(DOM::NodeImpl*, int, DOM::NodeImpl*, int) + 0xd08
2 com.apple.WebKit 0x9533a404 -[WebHTMLView(WebPrivate) _writeSelectionToPasteboard:] + 0x5c
3 com.apple.AppKit 0x92e773ac -[NSApplication sendAction:to:from:] + 0x6c
4 com.apple.Safari 0x000270c4 0x1000 + 0x260c4
5 com.apple.AppKit 0x92eacc18 -[NSMenu performActionForItemAtIndex:] + 0x188
6 com.apple.AppKit 0x92ef1538 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 0x68
7 com.apple.AppKit 0x92ef7e68 -[NSMenu performKeyEquivalent:] + 0x104
8 com.apple.AppKit 0x92ed6ea0 -[NSApplication _handleKeyEquivalent:] + 0x124
9 com.apple.AppKit 0x92df4738 -[NSApplication sendEvent:] + 0xa5c
10 com.apple.Safari 0x0000aedc 0x1000 + 0x9edc
11 com.apple.AppKit 0x92dfcfb0 -[NSApplication run] + 0x240



Hoping this gets fixed

Matt Gough

P.S Yes, I will do a radar report too.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webcore-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webcore-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.