[Webkit-unassigned] [Bug 8928] REPRODUCIBLE ASSERT: Cannot paste HTML into a contenteditable region in an XHTML document

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 5 03:58:39 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=8928


ddkilzer at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |justin.garcia at apple.com,
                   |                            |ddkilzer at webkit.org
           Keywords|                            |HasReduction, NeedsRadar
         OS/Version|Mac OS X 10.0               |Mac OS X 10.4
           Priority|P2                          |P1
            Summary|Cannot paste HTML into a    |REPRODUCIBLE ASSERT: Cannot
                   |contenteditable region in an|paste HTML into a
                   |XHTML document              |contenteditable region in an
                   |                            |XHTML document




------- Comment #3 from ddkilzer at webkit.org  2007-03-05 03:58 PDT -------
On a local debug build of WebKit r19953, the steps in Comment #1 lead to an
assertion failure.  Console output:

ASSERTION FAILED: fragment
(/path/to/WebKit/WebCore/editing/markup.cpp:586
WTF::PassRefPtr<WebCore::DocumentFragment>
WebCore::createFragmentFromMarkup(WebCore::Document*, const WebCore::String&,
const WebCore::String&))
Segmentation fault

Stack trace:

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0xbbadbeef

Thread 0 Crashed:
0   com.apple.WebCore           0x01249e00
WebCore::createFragmentFromMarkup(WebCore::Document*, WebCore::String const&,
WebCore::String const&) + 288 (markup.cpp:586)
1   com.apple.WebCore           0x01115478 -[WebCoreFrameBridge
documentFragmentWithMarkupString:baseURLString:] + 232
(WebCoreFrameBridge.mm:1058)
2   com.apple.WebKit            0x0033bc2c -[WebDataSource(WebInternal)
_documentFragmentWithArchive:] + 532 (WebDataSource.mm:245)
3   com.apple.WebKit            0x00366958 -[WebHTMLView(WebPrivate)
_documentFragmentFromPasteboard:forType:inContext:subresources:] + 328
(WebHTMLView.mm:1814)
4   com.apple.WebKit            0x00344330
-[WebHTMLView(WebHTMLViewFileInternal)
_documentFragmentFromPasteboard:inContext:allowPlainText:chosePlainText:] + 220
(WebHTMLView.mm:450)
5   com.apple.WebKit            0x00344e70
-[WebHTMLView(WebHTMLViewFileInternal) _pasteWithPasteboard:allowPlainText:] +
136 (WebHTMLView.mm:560)
6   com.apple.WebKit            0x00359b24 -[WebHTMLView(WebInternal) paste:] +
360 (WebHTMLView.mm:5104)
7   com.apple.AppKit            0x937adc4c -[NSApplication sendAction:to:from:]
+ 108
8   com.apple.Safari            0x0002956c 0x1000 + 165228
9   com.apple.AppKit            0x938084b8 -[NSMenu
performActionForItemAtIndex:] + 392
10  com.apple.AppKit            0x9380823c -[NSCarbonMenuImpl
performActionWithHighlightingForItemAtIndex:] + 104
11  com.apple.AppKit            0x93807ce4 -[NSMenu performKeyEquivalent:] +
272
12  com.apple.AppKit            0x93807930 -[NSApplication
_handleKeyEquivalent:] + 328
13  com.apple.AppKit            0x93711408 -[NSApplication sendEvent:] + 2944
14  com.apple.Safari            0x00021238 0x1000 + 131640
15  com.apple.AppKit            0x93708d10 -[NSApplication run] + 508
16  com.apple.AppKit            0x937f987c NSApplicationMain + 452
17  com.apple.Safari            0x0005c77c 0x1000 + 374652
18  com.apple.Safari            0x0005c624 0x1000 + 374308


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



More information about the webkit-unassigned mailing list