[Webkit-unassigned] [Bug 151087] New: ASSERTION FAILED: endOfSelection.isNotNull() in WebCore::InsertListCommand::doApply

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 10 04:31:43 PST 2015


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

            Bug ID: 151087
           Summary: ASSERTION FAILED: endOfSelection.isNotNull() in
                    WebCore::InsertListCommand::doApply
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rhodovan.u-szeged at partner.samsung.com
                CC: cdumez at apple.com, rniwa at webkit.org
            Blocks: 116980

Created attachment 265165
  --> https://bugs.webkit.org/attachment.cgi?id=265165&action=review
Test

Load the attached test with debug MiniBrowser:

a
<li>
    <table>
        <script>
            document.designMode = 'on';
            document.execCommand("selectAll");
            document.execCommand("insertOrderedList");
        </script>
    </table>
</li>


OS: Ubuntu 15.04 x86_64
Checked build: debug EFL
Checked version: 009fb33


Backtrace:

ASSERTION FAILED: endOfSelection.isNotNull()
../../Source/WebCore/editing/InsertListCommand.cpp(171) : virtual void WebCore::InsertListCommand::doApply()
1   0x7f00f83f7f97 WTFCrash
2   0x7f00fe6a73bf WebCore::InsertListCommand::doApply()
3   0x7f00ff8253f0 WebCore::CompositeEditCommand::apply()
4   0x7f00ff8251a1 WebCore::applyCommand(WTF::PassRefPtr<WebCore::CompositeEditCommand>)
5   0x7f00fe68cb3f
6   0x7f00fe69062a WebCore::Editor::Command::execute(WTF::String const&, WebCore::Event*) const
7   0x7f00fe5363b5 WebCore::Document::execCommand(WTF::String const&, bool, WTF::String const&)
8   0x7f00ffc64119 WebCore::jsDocumentPrototypeFunctionExecCommand(JSC::ExecState*)
9   0x7f0097fff0c8
Aborted (core dumped)

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f00f83f7f9c in WTFCrash () at ../../Source/WTF/wtf/Assertions.cpp:321
321     *(int *)(uintptr_t)0xbbadbeef = 0;
#0  0x00007f00f83f7f9c in WTFCrash () at ../../Source/WTF/wtf/Assertions.cpp:321
#1  0x00007f00fe6a73bf in WebCore::InsertListCommand::doApply (this=0x7f00dfbb63c0) at ../../Source/WebCore/editing/InsertListCommand.cpp:171
#2  0x00007f00ff8253f0 in WebCore::CompositeEditCommand::apply (this=0x7f00dfbb63c0) at ../../Source/WebCore/editing/CompositeEditCommand.cpp:227
#3  0x00007f00ff8251a1 in WebCore::applyCommand (command=...) at ../../Source/WebCore/editing/CompositeEditCommand.cpp:186
#4  0x00007f00fe68cb3f in WebCore::executeInsertOrderedList (frame=...) at ../../Source/WebCore/editing/EditorCommand.cpp:518
#5  0x00007f00fe69062a in WebCore::Editor::Command::execute (this=0x7ffcdaf56d70, parameter=..., triggeringEvent=0x0) at ../../Source/WebCore/editing/EditorCommand.cpp:1703
#6  0x00007f00fe5363b5 in WebCore::Document::execCommand (this=0x7f00df826a40, commandName=..., userInterface=false, value=...) at ../../Source/WebCore/dom/Document.cpp:4657
#7  0x00007f00ffc64119 in WebCore::jsDocumentPrototypeFunctionExecCommand (state=0x7ffcdaf56e40) at DerivedSources/WebCore/JSDocument.cpp:5066
#8  0x00007f0097fff0c8 in ?? ()
#9  0x00007ffcdaf56eb0 in ?? ()
#10 0x00007f00f83a0764 in llint_entry () from webkit/WebKitBuild/Debug/lib/libjavascriptcore_efl.so.1
Backtrace stopped: frame did not save the PC

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151110/3bad48e4/attachment.html>


More information about the webkit-unassigned mailing list