Safari Crash / Bug Webkit # 16196

I’ve been seeing this type of crash fairly often in Safari now. Not necessarily the same situation every time, but the culprit is almost always Javascript – not bad javascript – Safari just doesn’t like it. 

Here’s a stack trace:
0   com.apple.WebCore             	0x9535ff20 WebCore::ApplyStyleCommand::splitTextElementAtStartIfNeeded(WebCore::Position const&, WebCore::Position const&) + 32
1   com.apple.WebCore             	0x9535f02c WebCore::ApplyStyleCommand::applyInlineStyle(WebCore::CSSMutableStyleDeclaration*) + 396
2   com.apple.WebCore             	0x9535bcac WebCore::ApplyStyleCommand::doApply() + 284
3   com.apple.WebCore             	0x952e5eb8 WebCore::EditCommand::apply() + 168
4   com.apple.WebCore             	0x952e66cc WebCore::CompositeEditCommand::applyCommandToComposite(WTF::PassRefPtr) + 44
5   com.apple.WebCore             	0x9535baf8 WebCore::CompositeEditCommand::applyStyle(WebCore::CSSStyleDeclaration*, WebCore::Position const&, WebCore::Position const&, WebCore::EditAction) + 120
6   com.apple.WebCore             	0x9535b5fc WebCore::ReplaceSelectionCommand::completeHTMLReplacement(WebCore::Position const&) + 700
7   com.apple.WebCore             	0x95358240 WebCore::ReplaceSelectionCommand::doApply() + 11600
8   com.apple.WebCore             	0x952e5eb8 WebCore::EditCommand::apply() + 168
9   com.apple.WebCore             	0x953f0d0c -[WebCoreFrameBridge replaceSelectionWithFragment:selectReplacement:smartReplace:matchStyle:] + 236
10  com.apple.WebKit              	0x94b1a82c -[WebHTMLView(WebHTMLViewFileInternal) _pasteWithPasteboard:allowPlainText:] + 220
11  com.apple.AppKit              	0x918b9358 -[NSApplication sendAction:to:from:] + 104
12  com.apple.Safari              	0x00037870 0x1000 + 223344
13  com.apple.AppKit              	0x91954990 -[NSMenu performActionForItemAtIndex:] + 408
14  com.apple.AppKit              	0x919546c0 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 228
15  com.apple.AppKit              	0x91954388 -[NSMenu performKeyEquivalent:] + 744
16  com.apple.AppKit              	0x91952e6c -[NSApplication _handleKeyEquivalent:] + 456
17  com.apple.AppKit              	0x91889a94 -[NSApplication sendEvent:] + 3548
18  com.apple.Safari              	0x00032fb0 0x1000 + 204720
19  com.apple.AppKit              	0x917f6ed4 -[NSApplication run] + 776
20  com.apple.AppKit              	0x917c792c NSApplicationMain + 440
21  com.apple.Safari              	0x00002d10 0x1000 + 7440
22  ???                           	0x00000ffc 0 + 4092

For anyone blogging and trying to paste content into the blogger Compose post window, good luck in Safari!

Looks like WebKit folks are working on it, there’s an Apple bug filed as well. This bug leads to crashes. If it’s happening for you, know that you are not alone or crazy. Writing browsers ain’t easy!
I heart WebKit team.
Advertisements
Safari Crash / Bug Webkit # 16196