[Webkit-unassigned] [Bug 28992] New: Assertion failure in CompositeEditCommand::moveParagraphs() and crash in Node::nodeIndex() when pasting

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 4 16:53:10 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=28992

           Summary: Assertion failure in
                    CompositeEditCommand::moveParagraphs() and crash in
                    Node::nodeIndex() when pasting
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P1
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ap at webkit.org
                CC: ovafai at gmail.com, rniwa at webkit.org


Opening the attached test case results in a crash in release builds, or an
assertion failure in debug:

#0    0x03b3d6df in WebCore::CompositeEditCommand::moveParagraphs at
CompositeEditCommand.cpp:815
#1    0x03b3e21b in WebCore::CompositeEditCommand::moveParagraph at
CompositeEditCommand.cpp:747
#2    0x042db177 in WebCore::ReplaceSelectionCommand::mergeEndIfNeeded at
ReplaceSelectionCommand.cpp:699
#3    0x042df692 in WebCore::ReplaceSelectionCommand::doApply at
ReplaceSelectionCommand.cpp:960
#4    0x03d37ae3 in WebCore::EditCommand::apply at EditCommand.cpp:91
#5    0x03d37b77 in WebCore::applyCommand at EditCommand.cpp:217
#6    0x03d47097 in WebCore::executeInsertFragment at EditorCommand.cpp:196
#7    0x03d47122 in WebCore::executeInsertHTML at EditorCommand.cpp:479
#8    0x03d43d1f in WebCore::Editor::Command::execute at EditorCommand.cpp:1504
#9    0x03c45edd in WebCore::Document::execCommand at Document.cpp:3241
#10    0x03f509a2 in WebCore::jsDocumentPrototypeFunctionExecCommand at
JSDocument.cpp:1867

In real life, this happens when pasting into a contenteditable div.

<rdar://7148712>

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



More information about the webkit-unassigned mailing list