Closed Bug 563190 Opened 14 years ago Closed 14 years ago

XForms crash with Firefox release build

Categories

(Core Graveyard :: XForms, defect)

1.9.2 Branch
x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: imphil, Unassigned)

References

Details

Latest XForms builds work fine with the Firefox version it was compiled with, but crash with a released Firefox build.

The last working nightly was 2010-04-13:
http://philipp.wagner.name/mozilla-xforms/builds/nightly-1.9.2/2010041322/xforms-merged_2010-04-13.xpi
The next one crashes when loading a page with a form on it:
http://philipp.wagner.name/mozilla-xforms/builds/nightly-1.9.2/2010041422/xforms-merged_2010-04-14.xpi
(reproducible on Windows and linux32, this pretty much rules out changes to the build system)

There seems to be no XForms commit in that timeframe, and I was not yet able to identify a Firefox/Gecko commit that caused this. 

The problem seems to be independent of the Firefox version (3.6.0 is the same as 3.6.3).

I'm actually rather confused right now ...
btw, on Windows the debugger says
nsXFormsModelElement.cpp:166
 nsCOMPtr<nsIDocument> doc = do_QueryInterface(domDoc);
returns a null pointer for doc. 
Could have commit 34075:5af70883c1de (bug 489127) caused this?
Yes, bug 489127 looks very suspicious and wrong for release branch.
Blocks: 539184
(In reply to comment #1)
> btw, on Windows the debugger says
> nsXFormsModelElement.cpp:166
>  nsCOMPtr<nsIDocument> doc = do_QueryInterface(domDoc);
> returns a null pointer for doc. 

that's not possible until domDoc is null

> Could have commit 34075:5af70883c1de (bug 489127) caused this?

it's not possible since bug 489127 was landed on 1.9.2.5. We build xforms for 1.9.2.3.

(In reply to comment #0)
> Latest XForms builds work fine with the Firefox version it was compiled with,
> but crash with a released Firefox build.

That's a reason. nsIDocument  has been changed (as you pointed above). You should install xforms exactly on the same firefox version you've built xforms for.

It sounds this bug is invalid.
your packaging should prevent people from doing this...
Depends on: 567310
No longer blocks: 539184
Blocks: 567310
No longer depends on: 567310
fixed with bug 563235.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.