Closed Bug 347158 Opened 18 years ago Closed 18 years ago

Dojo inlineEditBox crashes Firefox 2.0b when clicking cancel [@ mozInlineSpellChecker::SaveCurrentSelectionPosition]

Categories

(Core :: Spelling checker, defect)

1.8 Branch
defect
Not set
critical

Tracking

()

VERIFIED FIXED

People

(Reporter: wastl, Assigned: mscott)

References

()

Details

(Keywords: crash, regression, verified1.8.1)

Crash Data

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.1b1) Gecko/20060710 Firefox/2.0b1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.1b1) Gecko/20060710 Firefox/2.0b1

When using Dojo's inlineEditBox and clicking "Cancel" afterwards (no change to the actual content), Firefox 2.0b1 crashes reproducibly with segmentation fault on Linux. The problem apparently only appears on paragraph/block-level elements (maybe those that are marked as "textarea" in Dojo), it seems to work on the header example.

Reproducible: Always

Steps to Reproduce:
1. click on the sample paragraph (not the header) to open a textarea for editing
2. click on cancel
3. boom

Actual Results:  
segmentation fault

Expected Results:  
not crash; textarea replaced by its contents
I further examined the problem and it appears indeed to be connected with marking editable areas with ' mode="textarea" '. It works properly with normal input fields.
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1b1) Gecko/20060802 BonEcho/2.0b1 ID:2006080300

I see this too.

TB21734575E
TB21734542E

Talkback doesn't seem to be working atm, so I don't know what the stacktraces point to.
Keywords: crash
This is also a regression, since the URL does not crash with
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
Keywords: regression
Attached file gdb stacktrace
Assignee: nobody → mscott
Component: General → Spelling checker
OS: Linux → All
Product: Firefox → Core
QA Contact: general → spelling-checker
Hardware: PC → All
Summary: dojo inlineEditBox crashes Firefox 2.0b when clicking cancel → Dojo inlineEditBox crashes Firefox 2.0b when clicking cancel [@ mozInlineSpellChecker::SaveCurrentSelectionPosition]
Version: unspecified → 1.8 Branch
(For some reason I did not get a mail when I was cc-ed on this bug, I found this bug 'accidentally')
This was somehow fixed on trunk between 2006-08-02 and 2006-08-04.
I have good hope that this was fixed by one of the spell-checking patches that recently got in on trunk, but are not yet checked in on branch.
So hopefully, this will get fixed 'by itself' after a few days.
Please check again in a few days.
Sebastian, Adam or Steve, is this still an issue with current branch build?
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1b1) Gecko/20060810 BonEcho/2.0b1 ID:2006081003
I am no longer seeing this crash.
Thanks, this was probably fixed by the recent crash fixes for the spellchecker.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Keywords: fixed1.8.1
Resolution: --- → FIXED
Do you have a bug number for a spellcheck fix that fixed this one?  I see that bug 341058 was fixed by bug 325386...
Probably bug 232046 and bug 347561.
Verified FIXED using Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1b1) Gecko/20060810 BonEcho/2.0b1.

I no longer crash after clicking to edit the text and then clicking Cancel.
Status: RESOLVED → VERIFIED
Crash Signature: [@ mozInlineSpellChecker::SaveCurrentSelectionPosition]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: