Bug 78618 - Crash when copying patch text when reviewing a patch
Summary: Crash when copying patch text when reviewing a patch
Status: RESOLVED DUPLICATE of bug 78577
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P1 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2012-02-14 10:34 PST by Simon Fraser (smfr)
Modified: 2012-02-14 11:14 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2012-02-14 10:34:56 PST
I crash on Copy with TOT.

1. Open https://bugs.webkit.org/attachment.cgi?id=126895&action=review
2. Select some lines in the Changelog to start adding a comment
3. Select a word in the changelog (green) text, like "implicit"
4. Hit Command-C for copy.

The web process crasehes:



Process:         WebProcess [47029]
Path:            /Volumes/VOLUME/*/WebKit2.framework/WebProcess.app/Contents/MacOS/WebProcess
Identifier:      com.apple.WebProcess
Version:         535+ (535.17+)
Code Type:       X86-64 (Native)
Parent Process:  Safari [47028]

Date/Time:       2012-02-14 10:31:54.862 -0800
OS Version:      Mac OS X 10.7.2 (11C73)
Report Version:  9

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000068

VM Regions Near 0x68:
--> 
    __TEXT                 0000000109bb6000-0000000109bb7000 [    4K] r-x/rwx SM=COW  /Volumes/VOLUME/*/WebKit2.framework/WebProcess.app/Contents/MacOS/WebProcess

Application Specific Information:
objc[47029]: garbage collection is OFF
Bundle controller class:
BrowserBundleController
 

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.WebCore             	0x000000010c0afd4c WTF::RetainPtr<__CFData const*>::operator __CFData const* WTF::RetainPtr<__CFData const*>::*() const + 12 (RetainPtr.h:91)
1   com.apple.WebCore             	0x000000010cc87f3c WebCore::SharedBuffer::hasPlatformData() const + 28 (SharedBufferCF.cpp:64)
2   com.apple.WebCore             	0x000000010cc86709 WebCore::SharedBuffer::size() const + 25 (SharedBuffer.cpp:100)
3   com.apple.WebCore             	0x000000010cc8897b -[WebCoreSharedBufferData length] + 43 (SharedBufferMac.mm:84)
4   com.apple.CoreFoundation      	0x00007fff8c50ec66 CFDataGetLength + 118
5   com.apple.CoreFoundation      	0x00007fff8c5cd8d9 __CFPasteboardSetData + 57
6   com.apple.CoreFoundation      	0x00007fff8c5cd838 CFPasteboardSetData + 456
7   com.apple.AppKit              	0x00007fff90d1e1a8 -[NSPasteboard _setData:forType:index:usesPboardTypes:] + 369
8   com.apple.AppKit              	0x00007fff90d1b087 -[NSPasteboard setData:forType:] + 86
9   com.apple.WebCore             	0x000000010cfed8f1 WebCore::PlatformPasteboard::setBufferForType(WTF::PassRefPtr<WebCore::SharedBuffer>, WTF::String const&) + 113 (PlatformPasteboardMac.mm:91)
10  com.apple.WebKit2             	0x0000000109fc2d45 WebKit::WebPlatformStrategies::setBufferForType(WTF::PassRefPtr<WebCore::SharedBuffer>, WTF::String const&, WTF::String const&) + 85 (WebPlatformStrategies.cpp:176)
11  com.apple.WebKit2             	0x0000000109fc2da7 non-virtual thunk to WebKit::WebPlatformStrategies::setBufferForType(WTF::PassRefPtr<WebCore::SharedBuffer>, WTF::String const&, WTF::String const&) + 55
12  com.apple.WebCore             	0x000000010c8ff253 WebCore::Pasteboard::writeSelectionForTypes(WTF::Vector<WTF::String, 0ul> const&, WebCore::Range*, bool, WebCore::Frame*) + 5203 (PasteboardMac.mm:194)
13  com.apple.WebCore             	0x000000010c8ff6e4 WebCore::Pasteboard::writeSelection(WebCore::Range*, bool, WebCore::Frame*) + 84 (PasteboardMac.mm:207)
14  com.apple.WebCore             	0x000000010bd97df2 WebCore::Editor::copy() + 434 (Editor.cpp:1079)
15  com.apple.WebCore             	0x000000010bda9b88 _ZN7WebCoreL11executeCopyEPNS_5FrameEPNS_5EventENS_19EditorCommandSourceERKN3WTF6StringE + 40 (EditorCommand.cpp:285)
16  com.apple.WebCore             	0x000000010bda9040 WebCore::Editor::Command::execute(WTF::String const&, WebCore::Event*) const + 208 (EditorCommand.cpp:1664)
17  com.apple.WebKit2             	0x0000000109f2b86e WebKit::WebPage::executeEditingCommand(WTF::String const&, WTF::String const&) + 142 (WebPage.cpp:545)
18  com.apple.WebKit2             	0x0000000109f2f111 WebKit::WebPage::executeEditCommand(WTF::String const&) + 65 (WebPage.cpp:1413)
19  com.apple.WebKit2             	0x0000000109f5f337 void CoreIPC::callMemberFunction<WebKit::WebPage, void (WebKit::WebPage::*)(WTF::String const&), WTF::String>(CoreIPC::Arguments1<WTF::String> const&, WebKit::WebPage*, void (WebKit::WebPage::*)(WTF::String const&)) + 135 (HandleMessage.h:20)
20  com.apple.WebKit2             	0x0000000109f5aa9a void CoreIPC::handleMessage<Messages::WebPage::ExecuteEditCommand, WebKit::WebPage, void (WebKit::WebPage::*)(WTF::String const&)>(CoreIPC::ArgumentDecoder*, WebKit::WebPage*, void (WebKit::WebPage::*)(WTF::String const&)) + 122 (HandleMessage.h:297)
21  com.apple.WebKit2             	0x0000000109f57a2b WebKit::WebPage::didReceiveWebPageMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*) + 2891 (WebPageMessageReceiver.cpp:253)
22  com.apple.WebKit2             	0x0000000109f3248d WebKit::WebPage::didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*) + 301 (WebPage.cpp:2452)
23  com.apple.WebKit2             	0x0000000109fe34db WebKit::WebProcess::didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*) + 923 (WebProcess.cpp:669)
24  com.apple.WebKit2             	0x0000000109e8240f WebKit::WebConnectionToUIProcess::didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*) + 383 (WebConnectionToUIProcess.cpp:88)
25  com.apple.WebKit2             	0x0000000109e8245d non-virtual thunk to WebKit::WebConnectionToUIProcess::didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*) + 61
26  com.apple.WebKit2             	0x0000000109d2ab1c CoreIPC::Connection::dispatchMessage(CoreIPC::Connection::Message<CoreIPC::ArgumentDecoder>&) + 428 (Connection.cpp:692)
27  com.apple.WebKit2             	0x0000000109d2d3a3 CoreIPC::Connection::dispatchMessages() + 211 (Connection.cpp:720)
28  com.apple.WebKit2             	0x0000000109d34010 WTF::FunctionWrapper<void (CoreIPC::Connection::*)()>::operator()(CoreIPC::Connection*) + 112 (Functional.h:173)
29  com.apple.WebKit2             	0x0000000109d33f95 WTF::BoundFunctionImpl<WTF::FunctionWrapper<void (CoreIPC::Connection::*)()>, void ()(CoreIPC::Connection*)>::operator()() + 53 (Functional.h:373)
30  com.apple.WebCore             	0x000000010cbe9dcd WTF::Function<void ()()>::operator()() const + 141 (Functional.h:581)
31  com.apple.WebCore             	0x000000010cbe9ba3 WebCore::RunLoop::performWork() + 147 (RunLoop.cpp:66)
32  com.apple.WebCore             	0x000000010cbe8780 WebCore::RunLoop::performWork(void*) + 96 (RunLoopMac.mm:65)
Comment 1 Simon Fraser (smfr) 2012-02-14 10:35:18 PST
<rdar://problem/10861398>
Comment 2 Alexey Proskuryakov 2012-02-14 11:14:38 PST

*** This bug has been marked as a duplicate of bug 78577 ***