Closed Bug 220418 Opened 21 years ago Closed 21 years ago

Crash during txExecutionState::init

Categories

(Core :: XSLT, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: sicking, Assigned: sicking)

Details

(Keywords: crash)

Attachments

(1 file)

We can sometimes crash in the txExecutionState during init since we call
findTemplate to find the initial template too early. The problem is that
findTemplate might call back into us during the patternmatching (in particular
it might ask for the recycler) which isn't set up yet.

The fix is to move the code to set up initial template to last in
txExecutionState::init. Patch comming up.
Attachment #132235 - Flags: superreview?(peterv)
Attachment #132235 - Flags: review?(axel)
Comment on attachment 132235 [details] [diff] [review]
patch to fix

>+    pushTemplateRule(frame, nullName, nsnull);
>+    rv = runTemplate(templ);
>+    NS_ENSURE_SUCCESS(rv, rv);
> 
>     return NS_OK;
> }

Just |return runTemplate(templ);|
Attachment #132235 - Flags: superreview?(peterv) → superreview+
Attachment #132235 - Flags: review?(axel) → review+
patch checked in, thanks for reviews
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: