WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
151087
ASSERTION FAILED: endOfSelection.isNotNull() in WebCore::InsertListCommand::doApply
https://bugs.webkit.org/show_bug.cgi?id=151087
Summary
ASSERTION FAILED: endOfSelection.isNotNull() in WebCore::InsertListCommand::d...
Renata Hodovan
Reported
2015-11-10 04:31:43 PST
Created
attachment 265165
[details]
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
Attachments
Test
(214 bytes, text/html)
2015-11-10 04:31 PST
,
Renata Hodovan
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
2016-08-04 18:14:05 PDT
This reproduces with
r204037
.
Radar WebKit Bug Importer
Comment 2
2016-08-04 18:14:18 PDT
<
rdar://problem/27711617
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug