X
Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

Firefox crashes when loading a java applet

Posted

On some of our computers the FireFox crashes on every applet call. This error occurs only with JRE 7 Update 4 or newer. It seems that the problem is caused by the JRE (Plugin npjp2.dll).
But the question is, why Firefox crashes due to an error within a plugin?


So far I've tried the following:

- Deinstall & Reinstall FireFox
- Clear FireFox Cache + Profile
- Deinstall & Reinstall JRE
- IE and Opera have no problem

More Informations:

LogFile (set NSPR_LOG_MODULES=all:5)
....
0[220f140]: nsHttpHandler::NewURI
0[220f140]: nsPluginHost::InstantiateEmbeddedPlugin Begin mime=application/x-java-applet, url=http://java.com/jsp_utils/
0[220f140]: nsPluginHost::TrySetupPluginInstance Begin mime=application/x-java-applet, owner=6ff98e0, url=http://java.com/jsp_utils/
0[220f140]: nsPluginHost::GetPlugin Begin mime=application/x-java-applet, plugin=npjp2.dll
0[220f140]: Loaded library C:\Program Files\Java\jre7\bin\plugin2\npjp2.dll (load lib)

WinDbg => Attach to a process (FireFox.exe)

....
> g ModLoad: 6ec30000 6ec55000 C:\Program Files\Java\jre7\bin\plugin2\npjp2.dll Aug 31 11:26:59.093 P:4696 T:4616 Load failed in ADVAPI32.dll at function RegOpenKeyExA (1258.1208): C++ EH exception - code e06d7363 (first chance) (1258.1208): C++ EH exception - code e06d7363 (!!! second chance !!!) eax=09cffcb8 ebx=00000000 ecx=00000000 edx=09cffd50 esi=09cffd40 edi=77e40000 eip=77e4bef7 esp=09cffcb4 ebp=09cffd08 iopl=0 nv up ei pl nz na pe nc cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000206 *** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\system32\kernel32.dll - kernel32!RaiseException+0x3c: 77e4bef7 5e pop esi >K *** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Program Files\Mozilla Firefox\MSVCR100.dll - ChildEBP RetAddr WARNING: Stack unwind information not available. Following frames may be wrong. 09cffd08 78ac7819 kernel32!RaiseException+0x3c *** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Program Files\Java\jre7\bin\plugin2\npjp2.dll - 09cffd40 6ec402a0 MSVCR100!CxxThrowException+0x45 09cffd60 6ec3c649 npjp2!Java_sun_plugin2_main_server_ServerPrintHelper_printBand0+0x1c23 09cffdd0 6ec3e771 npjp2!Java_sun_plugin2_util_PluginTrace_broadcast+0x332 09cffe0c 6ec3e048 npjp2!Java_sun_plugin2_main_server_ServerPrintHelper_printBand0+0xf4 09cffe5c 6ec3e0fd npjp2!Java_sun_plugin2_util_PluginTrace_broadcast+0x1d31 09cfff70 6ec3e1e5 npjp2!Java_sun_plugin2_util_PluginTrace_broadcast+0x1de6 09cfffac 78afc788 npjp2!NP_Initialize+0x12 09cfffb8 77e6482f MSVCR100!endthreadex+0xe4 09cfffec 00000000 kernel32!GetModuleHandleA+0xdf


Unfortunately I am not familiar with WinDbg and I don't have the npjp2 symbol file.

Thanks for any help.

Modified by cor-el

Additional System Details

Crash ID

bp-02bc1457-1aa3-4752-bfd9-f9ee72120831

Installed Plug-ins

  • Next Generation Java Plug-in 10.7.2 for Mozilla browsers
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Shockwave Flash 11.3 r300
  • 5.1.10411.0
  • Adobe PDF Plug-In For Firefox and Netscape 10.1.3
  • wpidetector
  • Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
  • DRM Store Netscape Plugin
  • DRM Netscape Network Object

Application

  • User Agent: Mozilla/5.0 (Windows NT 5.2; rv:15.0) Gecko/20100101 Firefox/15.0

More Information

Allgemeine Informationen
Name
Firefox
Version
15.0
User-Agent
Mozilla/5.0 (Windows NT 5.2; rv:15.0) Gecko/20100101 Firefox/15.0
Profilordner
Ordner anzeigen
Aktivierte Plugins
about:plugins
Build-Konfiguration
about:buildconfig
Absturzberichte
about:crashes
Speicherverwendung
about:memory
Erweiterungen
Name
Version
Aktiviert
ID
Java Console
6.0.35
true
{CAFEEFAC-0016-0000-0035-ABCDEFFEDCBA}
Wichtige modifizierte Einstellungen
Name
Wert
browser.cache.disk.capacity
1048576
browser.cache.disk.smart_size.first_run
false
browser.cache.disk.smart_size_cached_value
399360
browser.places.smartBookmarksVersion
4
browser.startup.homepage
http://www.intern.magwien.gv.at/
browser.startup.homepage_override.buildID
20120824154833
browser.startup.homepage_override.mstone
15.0
extensions.lastAppVersion
15.0
network.automatic-ntlm-auth.trusted-uris
.magwien.gv.at,.wien.gv.at,.akhwien.at,.kavwien.gv.at
network.cookie.prefsMigrated
true
network.ntlm.send-lm-response
true
places.history.expiration.transient_current_max_pages
57057
privacy.sanitize.migrateFx3Prefs
true
security.default_personal_cert
Select Automatically
Grafik
Vendor-ID
0x0000
Geräte-ID
0x0000
Karten-RAM
Unknown
Karten-Treiber
RDPDD
WebGL-Renderer
Wurde auf Grund Ihrer Grafikkarte blockiert, da ungelöste Treiberprobleme bestehen.
GPU-beschleunigte Fenster
0. Wurde auf Grund Ihrer Grafikkarte blockiert, da ungelöste Treiberprobleme bestehen.
JavaScript
Inkrementelle GC
0
Bibliotheken-Versionen
Minimal vorausgesetzte Version
Verwendete Version
NSPR
4.9.1
4.9.1
NSS
3.13.6.0 Basic ECC
3.13.6.0 Basic ECC
NSS Util
3.13.6.0
3.13.6.0
NSS SSL
3.13.6.0 Basic ECC
3.13.6.0 Basic ECC
NSS S/MIME
3.13.6.0 Basic ECC
3.13.6.0 Basic ECC

cor-el
  • Top 10 Contributor
  • Moderator
10758 solutions 96833 answers

Java can't run in a plugin-container process, but runs in the browser and dom.ipc.plugins.java.enabled is false because of that. So if Java crashes then it makes Firefox crash.

Oracle has released a Java update to fix a security vulnerability in Java 7U6 and 6U34 and lower versions that every user should apply.

Please update the Java JRE version to 7U7 or 6U35 because of that security vulnerability in older versions.

See Java Platform > Java SE 7U7 or Java 6U35 (Download JRE)

Question owner

Thank you for the explanation. Now I understand why the JRE causes FireFox to crash. I have already installed the JRE 7U7. Unfortunately, the error still occurs. Do you know how I can get a debug version of npjp2.dll? So maybe I could find the problem.