Closed Bug 267273 Opened 20 years ago Closed 19 years ago

crash calling nsXFormsInputElement::WillSetAttribute

Categories

(Core Graveyard :: XForms, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: darin.moz, Assigned: bryner)

Details

(Keywords: crash)

Attachments

(2 files)

crash calling nsXFormsInputElement::WillSetAttribute

this crash may be a XTF bug, i'm not sure.  i can reproduce it pretty easily
with xforms, but from the look of the stack it looks like xforms may just be the
victim.  nonetheless, since i can repro it with xforms, i'm filing it against
xforms.

valgrind trace and xforms testcase coming up...
Attached file valgrind log
the action is at the bottom of the valgrind log.  looks like the HTML document
is getting deleted when JS_GC runs, and just after that we get a call to
nsXFormsInputElement::WillSetAttribute.  inside GetModelAndBind we try to use
the document, and so we crash.
Attached file xforms testcase
note: this xhtml document probably isn't very interesting without the code in
my tree that implements the <submit> element.  i've attached it here just in
case it contains something useful ;-)
Severity: normal → critical
Keywords: crash
hey alex, bryner thought you might be interested in this.  looks like the
document is getting released prematurely.  any thoughts?
Attachment #164263 - Attachment mime type: text/plain → text/xml
This has been here for some time.... I've never been able to reproduce this.
Anyone can?
I think we can close this. xf:input has anyway a new XBL-based implementation now.
Can't reproduce
I haven't seen this problem in ages.  I think that we can close it if no one
objects in the next day or two.
(In reply to comment #7)
> I haven't seen this problem in ages.  I think that we can close it if no one
> objects in the next day or two.

No one did.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: