The default bug view has changed. See this FAQ.

Crash loading form with select inside repeat

RESOLVED FIXED

Status

Core Graveyard
XForms
--
major
RESOLVED FIXED
10 years ago
9 months ago

People

(Reporter: aaronr, Assigned: smaug)

Tracking

({fixed1.8.0.12, fixed1.8.1.4})

Trunk
x86
Windows XP
fixed1.8.0.12, fixed1.8.1.4

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

10 years ago
I have a form that crashes on load.  It is supposed to repeat a select control 3 times.  The problem is with the nsXFormsControlList again.  Even though we added the addref logic to the list, we seem to be encountering items on the list that should not be there (they've been freed already).

This is possibly related to bug 371121, but in that case the crash was when doing an insert.
(Reporter)

Comment 1

10 years ago
Created attachment 256057 [details]
testcase
Created attachment 256281 [details] [diff] [review]
proposed patch
Assignee: xforms → Olli.Pettay
Status: NEW → ASSIGNED
Attachment #256281 - Flags: review?(aaronr)
Attachment #256281 - Flags: review?(surkov.alexander)
(Reporter)

Comment 3

10 years ago
Comment on attachment 256281 [details] [diff] [review]
proposed patch

The crash is gone, but the testcase still doesn't work correctly (no items show up in the selects).  Please open a bug and attach this testcase for that issue.

with that, r=me
Attachment #256281 - Flags: review?(aaronr) → review+
Blocks: 371595

Updated

10 years ago
Attachment #256281 - Flags: review?(surkov.alexander) → review+
bug 371595 filed, patch checked in.
Status: ASSIGNED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
Whiteboard: xf-to-branch
(Reporter)

Comment 5

10 years ago
checked into 1.8 branch on 2007-04-12
checked into 1.8.0 branch on 2007-04-16
Keywords: fixed1.8.0.12, fixed1.8.1.4
Whiteboard: xf-to-branch
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.