Summary: | REGRESSION (r83322): Many crashes in Mail.app in WebCore::Node::nodeIndex | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Adele Peterson <adele> | ||||||||||
Component: | HTML Editing | Assignee: | Ryosuke Niwa <rniwa> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | ademar, darin, dglazkov, enrica, rniwa, tony, webkit.review.bot | ||||||||||
Priority: | P1 | Keywords: | InRadar | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Bug Depends on: | 61102 | ||||||||||||
Bug Blocks: | |||||||||||||
Attachments: |
|
Description
Adele Peterson
2011-05-17 18:29:51 PDT
I also had to disable some debug assertions in the text checking code to get the same backtrace. What's the relationship? (In reply to comment #2) > Also see https://bugs.webkit.org/show_bug.cgi?id=60914. (In reply to comment #3) > What's the relationship? > > (In reply to comment #2) > > Also see https://bugs.webkit.org/show_bug.cgi?id=60914. I'm reverting these two changesets in that bug. I pasted the wrong link above. This was caused by the follow up fix in http://trac.webkit.org/changeset/83322 I'm hoping we can find a way to fix the crash without backing out the correctness change in r81887. Agh, I keep getting confused between all the revisions here. I didn't describe these changes correctly, but I maintain that I'd like to fix the crash before addressing the behavior changes. Let me look into this later. Created attachment 94018 [details]
work in progress
Here's my work in progress patch. I'd have to convert editing/pasteboard/paste-blockquote-into-blockquote-3.html to a dump-as-markup test first to verify the correctness.
Created attachment 94044 [details]
fixes the crash
Unfortunately, I have to admit the defeat and only fix the crash. There's really tricky conflicts of conditions in merging the start of paragraph, and this is what I can do best for now. Also, I had to revert some of improvements done in http://trac.webkit.org/changeset/81887 (and subsequently in r83322) but bloated markup is better than crashing after all. My current plan is to land this patch and re-visit the bloating issue in https://bugs.webkit.org/show_bug.cgi?id=60988 and https://bugs.webkit.org/show_bug.cgi?id=34564. Comment on attachment 94044 [details] fixes the crash Attachment 94044 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/8710842 New failing tests: editing/pasteboard/paste-text-011.html Created attachment 94049 [details]
Archive of layout-test-results from ec2-cr-linux-02
The attached test failures were seen while running run-webkit-tests on the chromium-ews.
Bot: ec2-cr-linux-02 Port: Chromium Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
(In reply to comment #10) > Also, I had to revert some of improvements done in http://trac.webkit.org/changeset/81887 (and subsequently in r83322) but bloated markup is better than crashing after all. Disappointing. (In reply to comment #13) > (In reply to comment #10) > > Also, I had to revert some of improvements done in http://trac.webkit.org/changeset/81887 (and subsequently in r83322) but bloated markup is better than crashing after all. > > Disappointing. Yeah, I'm sad too :( But we can make a huge improvement once we fix the bug 34564. Unfortunately, it's blocked by the bug 60988 and the patch for the bug 60988 is likely to mid-air collide with this one but I'm hopeful that we can make a progress. Committed r86852: <http://trac.webkit.org/changeset/86852> Revision r86852 cherry-picked into qtwebkit-2.2 with commit 66e7630 <http://gitorious.org/webkit/qtwebkit/commit/66e7630> |