[Webkit-unassigned] [Bug 127340] New: ASSERTION FAILED: container->renderer() in WebCore::CompositeEditCommand::appendBlockPlaceholder

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 21 05:17:09 PST 2014


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

           Summary: ASSERTION FAILED: container->renderer() in
                    WebCore::CompositeEditCommand::appendBlockPlaceholder
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: reni at webkit.org
                CC: sullivan at apple.com, darin at apple.com
            Blocks: 116980


Created an attachment (id=221735)
 --> (https://bugs.webkit.org/attachment.cgi?id=221735&action=review)
Test case

The failing test:

<body style="-webkit-flow-from: foo; "> 
<script> 
    document.designMode="on"; 
    document.execCommand("selectall");  
    document.execCommand("insertparagraph"); 
</script>


The backtrace:

ASSERTION FAILED: container->renderer()
/home/reni/Data/REPOS/webkit_sec/Source/WebCore/editing/CompositeEditCommand.cpp(912) : WTF::PassRefPtr<WebCore::Node> WebCore::CompositeEditCommand::appendBlockPlaceholder(WTF::PassRefPtr<WebCore::Element>)
1   0x7ffff5c172a1 WTFCrash
2   0x7ffff0a7c883 WebCore::CompositeEditCommand::appendBlockPlaceholder(WTF::PassRefPtr<WebCore::Element>)
3   0x7ffff0ac8e16 WebCore::InsertParagraphSeparatorCommand::doApply()
4   0x7ffff0a78e94 WebCore::CompositeEditCommand::applyCommandToComposite(WTF::PassRefPtr<WebCore::EditCommand>)
5   0x7ffff0af551a WebCore::TypingCommand::insertParagraphSeparator()
6   0x7ffff0af4ef5 WebCore::TypingCommand::doApply()
7   0x7ffff0a78c54 WebCore::CompositeEditCommand::apply()
8   0x7ffff0a78a4c WebCore::applyCommand(WTF::PassRefPtr<WebCore::CompositeEditCommand>)
9   0x7ffff0af4c30 WebCore::TypingCommand::insertParagraphSeparator(WebCore::Document&, unsigned int)
10  0x7ffff0aaeea1
11  0x7ffff0ab1f22 WebCore::Editor::Command::execute(WTF::String const&, WebCore::Event*) const
12  0x7ffff0976ab2 WebCore::Document::execCommand(WTF::String const&, bool, WTF::String const&)
13  0x7ffff1812910 WebCore::jsDocumentPrototypeFunctionExecCommand(JSC::ExecState*)
14  0x7fff9d5640e5

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff5c172a6 in WTFCrash () at /home/reni/Data/REPOS/webkit_sec/Source/WTF/wtf/Assertions.cpp:333
333        *(int *)(uintptr_t)0xbbadbeef = 0;
(gdb) bt
#0  0x00007ffff5c172a6 in WTFCrash () at /home/reni/Data/REPOS/webkit_sec/Source/WTF/wtf/Assertions.cpp:333
#1  0x00007ffff0a7c883 in WebCore::CompositeEditCommand::appendBlockPlaceholder (this=0x12244c0, container=...)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/editing/CompositeEditCommand.cpp:912
#2  0x00007ffff0ac8e16 in WebCore::InsertParagraphSeparatorCommand::doApply (this=0x12244c0)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/editing/InsertParagraphSeparatorCommand.cpp:222
#3  0x00007ffff0a78e94 in WebCore::CompositeEditCommand::applyCommandToComposite (this=0x1218800, prpCommand=...)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/editing/CompositeEditCommand.cpp:278
#4  0x00007ffff0af551a in WebCore::TypingCommand::insertParagraphSeparator (this=0x1218800)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/editing/TypingCommand.cpp:395
#5  0x00007ffff0af4ef5 in WebCore::TypingCommand::doApply (this=0x1218800) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/editing/TypingCommand.cpp:272
#6  0x00007ffff0a78c54 in WebCore::CompositeEditCommand::apply (this=0x1218800)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/editing/CompositeEditCommand.cpp:227
#7  0x00007ffff0a78a4c in WebCore::applyCommand (command=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/editing/CompositeEditCommand.cpp:182
#8  0x00007ffff0af4c30 in WebCore::TypingCommand::insertParagraphSeparator (document=..., options=0)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/editing/TypingCommand.cpp:219
#9  0x00007ffff0aaeea1 in WebCore::executeInsertParagraph (frame=...) at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/editing/EditorCommand.cpp:557
#10 0x00007ffff0ab1f22 in WebCore::Editor::Command::execute (this=0x7fffffffb110, parameter=..., triggeringEvent=0x0)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/editing/EditorCommand.cpp:1740
#11 0x00007ffff0976ab2 in WebCore::Document::execCommand (this=0x11c7fa0, commandName=..., userInterface=false, value=...)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/dom/Document.cpp:4220
#12 0x00007ffff1812910 in WebCore::jsDocumentPrototypeFunctionExecCommand (exec=0x7fff93d8bf48)
    at /home/reni/Data/REPOS/webkit_sec/WebKitBuild/Debug/DerivedSources/WebCore/JSDocument.cpp:3369
#13 0x00007fff9d5640e5 in ?? ()
#14 0x00007fff93d8bf98 in ?? ()
#15 0x00007ffff5c05421 in llint_op_call () from /home/reni/Data/REPOS/webkit_sec/WebKitBuild/Debug/lib/libjavascriptcore_efl.so.0
#16 0x00007fff9d5648e0 in ?? ()
#17 0x0000000001141690 in ?? ()
#18 0x0000000001150ce0 in ?? ()
#19 0x00007fffed3ea9a0 in thread_context_stack () from /home/reni/Data/REPOS/webkit_sec/WebKitBuild/Dependencies/Root/lib64/libglib-2.0.so.0
#20 0x0000000001158030 in ?? ()
#21 0x00007ffff16b79a0 in WebCore::JSDOMWindowBase::supportsProfiling (object=0x7fff9d5648e0)
    at /home/reni/Data/REPOS/webkit_sec/Source/WebCore/bindings/js/JSDOMWindowBase.cpp:125
#22 0x00007fffffffb2a0 in ?? ()
#23 0x00007ffff59c7864 in JSC::JITCode::execute (this=0xf0458b4832eb0000, vm=0xb8077500f07d, protoCallFrame=0x8348f0458948fed4, topOfStack=0x1a36e8c7894860c0)
    at /home/reni/Data/REPOS/webkit_sec/Source/JavaScriptCore/jit/JITCode.cpp:48
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

-- 
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