ff crashes on xslt transformation when using oracle java plugin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mozilla Firefox |
New
|
Critical
|
|||
firefox (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Firefox crashes when performing an XSLT transformation when also loading any <applet> stanza when the Oracle java plugin is used.
= Environment =
* oracle jre 6u31 (*any* oracle/sun java plugin)
* Firefox (any version)
* Ubuntu 10.04 LTS , 11.04, 11.10 or 12.04 LTS 32-bit
* Web page containing xslt reproducer (attached)
= Reproducible =
100% (see attachment reproducer) but only with the Oracle Java plugin, not the iced tea plugins in the archive.
= Workaround =
Use the OpenJDK/IcedTea plugin - this is not a viable option due to the customers application certification.
= Further Information =
Reproducing on Ubuntu 12.04 LTS 32-bit with Firefox (11.0+build1-
1. Download the two JRE's from:
http://
2. Extract both Oracle JRE's:
$ bash ./jre-6u31-
$ tar -xvf jre-7u3-
$ sudo mv jre1.* /usr/lib/jvm
3. Install the plugins into the alternatives system to switch easily:
$ sudo update-alternatives --install /usr/lib/
$ sudo update-alternatives --install /usr/lib/
4. Unpack the xslt-crash-
$ unzip xslt-crash-
5. Open Firefox and check "about:plugins", open file://
sudo update-alternatives --config mozilla-
= backtrace =
[Thread 0xa38a7b40 (LWP 2384) exited]
nsPluginNativeW
--DOMWINDOW == 14 (0x811f4368) [serial = 14] [outer = 0x811e7e58] [url = about:blank]
Program received signal SIGSEGV, Segmentation fault.
0xb5fd9fbb in AssertActivityI
at /tmp/buildd/
167 /tmp/buildd/
(gdb) bt
#0 0xb5fd9fbb in AssertActivityI
at /tmp/buildd/
#1 0xb5fdc8d2 in NS_LogDtor_P (aPtr=0x81405fe0,
aType=
at /tmp/buildd/
#2 0xb5232e0e in txInstruction:
__in_
at /tmp/buildd/
#3 0xb5237966 in txStartLREEleme
__in_
at /tmp/buildd/
#4 0xb52379a7 in txStartLREEleme
__in_
at /tmp/buildd/
#5 0xb5237187 in nsAutoPtr<
__in_
#6 0xb5232e1c in txInstruction:
__in_
Changed in firefox: | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in firefox: | |
importance: | Medium → Critical |
Changed in firefox (Ubuntu): | |
importance: | Undecided → Medium |
Changed in firefox: | |
status: | New → Unknown |
Changed in firefox: | |
status: | Unknown → New |
Created attachment 624795
test.zip
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0
Build ID: 20120509213847
Steps to reproduce:
Firefox crashes when performing an XSLT transformation when also loading any <applet> stanza when the Oracle java plugin is used.
= Environment =
* oracle jre 6u31 (*any* oracle/sun java plugin)
* Firefox (any version)
* Ubuntu 10.04 LTS , 11.04, 11.10 or 12.04 LTS 32-bit
* Web page containing xslt reproducer (attached)
= Reproducible =
100% (see attachment reproducer) but only with the Oracle Java plugin, not the iced tea plugins in the archive.
= Workaround =
Use the OpenJDK/IcedTea plugin - this is not a viable option .
= Further Information =
Reproducing on Ubuntu 12.04 LTS 32-bit with Firefox 12
*. Download the two JRE's from: www.oracle. com/technetwork /java/javase/ downloads/ index.html
http://
* . Extract both Oracle JRE's: linux-i586. tar.gz
$ cd /usr
$ tar -xvf jre-7u3-
* . Install the plugins into the alternatives system to switch easily: 6.0_31/ lib/i386/ libnpjp2. so /usr/lib/ mozilla/ plugins
$ ln -s /usr/jre1.
* . Unpack test.zip
$ unzip test.zip
* . Open Firefox and check "about:plugins", open file:// /path/to/ test1.html .
= backtrace =
[Thread 0xa38a7b40 (LWP 2384) exited] indowGtk2: call SetWindow with xid=0x3e00291
nsPluginNativeW
--DOMWINDOW == 14 (0x811f4368) [serial = 14] [outer = 0x811e7e58] [url = about:blank]
Program received signal SIGSEGV, Segmentation fault. sLegal () firefox- 12.0+build1/ build-tree/ mozilla/ xpcom/base/ nsTraceRefcntIm pl.cpp: 167 firefox- 12.0+build1/ build-tree/ mozilla/ xpcom/base/ nsTraceRefcntIm pl.cpp: No such file or directory. sLegal () firefox- 12.0+build1/ build-tree/ mozilla/ xpcom/base/ nsTraceRefcntIm pl.cpp: 167 0xb6a941ab "txInstruction", aInstanceSize=8) firefox- 12.0+build1/ build-tree/ mozilla/ xpcom/base/ nsTraceRefcntIm pl.cpp: 1148 :~txInstruction (this=0x81405fe0, chrg=<optimized out>) firefox- 12.0+build1/ build-tree/ mozilla/ content/ xslt/src/ xslt/txInstruct ions.h: 64 nt::~txStartLRE Element (this=0x81405fe0, chrg=<optimized out>) firefox- 12.0+build1/ build-tree/ mozilla/ content/ xslt/src/ xslt/txInstruct ions.h: 388 nt::~txStartLRE Element (this=0x81405fe0, chrg=<optimized out>) firefox- 12.0+build1/ build-tree/ mozilla/ content/ xslt/src/ xslt/txInstruct ions.h: 388 txInstruction> ::~nsAutoPtr (this=0x81405fc4, chrg=<optimized out>) at ../../. ./../dist/ include/ nsAutoPtr. h:105 :~txInstruction (this=0x81405fc0, chrg=<optimized out>)
0xb5fd9fbb in AssertActivityI
at /tmp/buildd/
167 /tmp/buildd/
(gdb) bt
#0 0xb5fd9fbb in AssertActivityI
at /tmp/buildd/
#1 0xb5fdc8d2 in NS_LogDtor_P (aPtr=0x81405fe0,
aType=
at /tmp/buildd/
#2 0xb5232e0e in txInstruction:
__in_
at /tmp/buildd/
#3 0xb5237966 in txStartLREEleme
__in_
at /tmp/buildd/
#4 0xb52379a7 in txStartLREEleme
__in_
at /tmp/buildd/
#5 0xb5237187 in nsAutoPtr<
__in_
#6 0xb5232e1c in txInstruction:
__in_
...
#6479 0xb522b2f5 in txStylesheet: :Release (this=0x81394ac8) firefox- 12.0+build1/ build-tree/ mozilla/ content/ xslt/src/ xslt/txStyleshe et.h:71
at /tmp/buildd/
#6480 0xb522db66 in nsRefPtr< txStylesheet> ::~nsRefPtr (this=0x81392bec, __in_chrg= <optimized out>)
at ../../....