Closed Bug 156165 Opened 22 years ago Closed 22 years ago

Mozilla crashed after Flash MX is installed

Categories

(Core :: XPConnect, defect)

x86
Other
defect
Not set
critical

Tracking

()

VERIFIED INVALID

People

(Reporter: prodevp, Assigned: dbradley)

References

Details

(Keywords: crash)

Mozilla crashed during loading after Flash MX is installed. Error message title: Java Plug-in Proxy Configuration Warning message: Unable to obtain proxy configuration fron Netscape Navigator 3.x - fallback. I tried unstall Mozilla then re-install it. I tried install Flash MX but the same crash happened. Talkback: TB8090845H TB8090645W TB8089621E TB8089583H TB8089576W TB8089568K TB8089556Y I am using Mozilla 1.1a on window98.
All the stacks are basically the same: 0x6e050000 nsQueryInterface::operator() [nsCOMPtr.cpp, line 52] nsCOMPtr_base::assign_from_helper [nsCOMPtr.cpp, line 81] XPCWrappedNative::GetNewOrUsed [xpcwrappednative.cpp, line 213] XPCConvert::NativeInterface2JSObject [xpcconvert.cpp, line 1061] nsXPConnect::WrapNative [nsXPConnect.cpp, line 563] nsXPConnect::InitClassesWithNewWrappedGlobal [nsXPConnect.cpp, line 497] nsJSContext::InitContext [nsJSEnvironment.cpp, line 1181] NS_CreateScriptContext [nsJSEnvironment.cpp, line 1757] nsDOMSOFactory::NewScriptContext [nsDOMFactory.cpp, line 156] nsDocShell::EnsureScriptEnvironment [nsDocShell.cpp, line 6211] nsWebShell::GetInterface [nsWebShell.cpp, line 296] nsGetInterface::operator() [nsIInterfaceRequestor.cpp, line 55] nsCOMPtr_base::assign_from_helper [nsCOMPtr.cpp, line 81] nsAppShellService::GetHiddenWindowAndJSContext [nsAppShellService.cpp, line 784] nsAppShellService::SetXPConnectSafeContext [nsAppShellService.cpp, line 205] nsAppShellService::CreateHiddenWindow [nsAppShellService.cpp, line 441] main1 [nsAppRunner.cpp, line 1429] main [nsAppRunner.cpp, line 1808] WinMain [nsAppRunner.cpp, line 1826] WinMainCRTStartup() KERNEL32.DLL + 0x1b6e6 (0xbff8b6e6) KERNEL32.DLL + 0x1b598 (0xbff8b598) KERNEL32.DLL + 0x19f5b (0xbff89f5b)
Assignee: Matti → dbradley
Severity: normal → critical
Component: Browser-General → XPConnect
Keywords: crash
QA Contact: asa → pschwartau
oh, jst's cced because it looks like his sort of thing. ;)
Status: UNCONFIRMED → NEW
Ever confirmed: true
This is great, this looks to be a specific instance of Bug 151585 which we had no steps to reproduce and marked WORKSFORME since it hadn't been showing up in recent talkbacks. I'll give the flash plugin a try and see what I can find.
I'm wondering if this might be a worse case senario of the problem seen in bug 78220. Could the reporter try turning off Java in the preferences and see if this crash goes away.
Also, what version of the the JRE does the reporter have installed? java -version will get you that.
jre 1.3
Mozilla crashed after I installed Flash MX. To answer comment #4: Mozilla crashed during loading, so i have no access to the browser, no preferences. I tried uninstalling and reinstalling Mozilla, but the same crash, same error popup message appeared. I then tried unstalling Flash MX, but same crash, and same error message. Then i checked "control panel -> install/uninstall" and I saw that i had jre 1.1 and 1.3 on my machine. I uninstalled jre 1.3, then I could load Mozilla again. Now I had Flash MX reinstalled again and Mozilla is loading OK, no crash. Now i have jre 1.1 uninstalled as well. I will try reinstalling jre and see what will happen. I will do this tomorrow.
Thanks for your efforts in this, this is all good information. I wonder if there was a bug that was introduced in a later version of the 1.3 JRE that I have. The crash resumed for me as well when I reinstalled 1.4, unfortunately the only thing newer is a beta, I'll give that a try, too.
So, there is no work around for this bug at the moment? I have to use Mozilla with Java. Because I need my Flash MX.
*** Bug 151585 has been marked as a duplicate of this bug. ***
From what I can tell it's a bug in Java. I downloaded the beta version of 1.4.1 and it worked for me. If you can live with the beta version give it a try. Report back on your results, if you please. That will allow me to double check my findings. I reported it to Sun's bug database. I'm going to mark this invalid, since it's not a Mozilla bug. However, do post any more information you have to this bug. I'll post any answers from Sun here as well.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
Marking Verified - on the assumption that XPConnect is doing the best it can with the Java failure. Is that correct? Or might it be our fault for crashing, even though Java is causing the initial problem?
Status: RESOLVED → VERIFIED
The assumption on my part is that the error in Java is corrupting memory. After that happens all bets are off and I don't think there's much we could do to detect or correct the situation. I may have been a bit hasty in closing this bug, though. If the reporter finds that the 1.4.1 beta version of the JRE does not address this problem, then there may be additional issues and this bug should definitely be reopened. Given that the absence of Java allowed him to run, I'm betting the beta version will work for him. The calls to startup the JVM happen just before the code that is executed here.
I now have j2re-1_4_1-beta-windows-i586-i.exe installed. Both Flash MX and Mozilla load up ok. Mozilla does not crash during loading anymore. However java does not work in Mozilla. When Mozilla encounter web page with java applet for the first time, this message popups: java.lang.NullPointerException at sun.plugin.net.proxy.WNetscape4ProxyConfig.getNSVersion(Unknown Source) at sun.plugin.net.proxy.WNetscape4ProxyConfig.getBrowserProxyInfo(Unknown Source) at sun.plugin.net.proxy.PluginProxyManager.reset(Unknown Source) at sun.plugin.AppletViewer.initEnvironment(Unknown Source) I usually use this page to confirm my browser's java installation: http://www.eming.org/e/all/time.shtml With java installed, i can see the swatch internet time below "watch dealer". If that helps, these are the messages in java console: java.lang.NullPointerException at sun.plugin.viewer.LifeCycleManager.startAppletPanel(Unknown Source) at sun.plugin.viewer.WNetscapePluginObject.startPlugin(Unknown Source) at sun.plugin.viewer.WNetscapePluginObject$Initer.run(Unknown Source) java.lang.NullPointerException at sun.plugin.net.proxy.PluginProxyManager.getProxyInfo(Unknown Source) at sun.plugin.net.protocol.http.HttpURLConnection.connectSetup(Unknown Source) at sun.plugin.net.protocol.http.HttpURLConnection.connect(Unknown Source) at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at sun.plugin.net.protocol.http.HttpUtils.followRedirects(Unknown Source) at sun.plugin.cache.CachedFileLoader.isUpToDate(Unknown Source) at sun.plugin.cache.CachedFileLoader.loadFromCache(Unknown Source) at sun.plugin.cache.CachedFileLoader.load(Unknown Source) at sun.plugin.cache.FileCache.get(Unknown Source) at sun.plugin.net.protocol.http.HttpURLConnection.connectWithCache(Unknown Source) at sun.plugin.net.protocol.http.HttpURLConnection.connect(Unknown Source) at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source) at java.net.HttpURLConnection.getResponseCode(Unknown Source) at sun.applet.AppletClassLoader.getBytes(Unknown Source) at sun.applet.AppletClassLoader.access$100(Unknown Source) at sun.applet.AppletClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.applet.AppletClassLoader.findClass(Unknown Source) at sun.plugin.security.PluginClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadCode(Unknown Source) at sun.applet.AppletPanel.createApplet(Unknown Source) at sun.plugin.AppletViewer.createApplet(Unknown Source) at sun.applet.AppletPanel.runLoader(Unknown Source) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
RE: comment#14 Everything that happened until comment #14 (including #14) happened on my notebook. Now with my desktop (windows 98, Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.1a+) Gecko/20020621): I uninstalled all previous versions of jre and installed j2re-1_4_1-beta on my desktop. Then i installed Flash MX. Everything is fine. No problems so far with flash, java or Mozilla. Everything loads up without any problems.
Hmm, that's odd. I'm still having problems under Purify and the beta, although outside of Purify it runs fine. It looks as though the JVM tries to start and then terminates the process. I don't think this really has anything to do with Flash, other than it might change what's in memory and trigger the crash. And I think that's what's happening with Purify. It changes the memory enough to trip up the errant code in the JVM. Now that you've reinstalled, it may have changed things enough to allow the JVM to run. In any case, I think the problem is in Sun's JVM and not Mozilla. I'm glad it's working for you now, hopefully it will continue. I'll continue to try and work the Sun/Purify issue.
You need to log in before you can comment on or make changes to this bug.