Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!news.glorb.com!solaris.cc.vt.edu!news.vt.edu!newsfeed-00.mathworks.com!news.mathworks.com!not-for-mail From: Morrie Gasser Newsgroups: mw.devel,mw.devel.java,comp.lang.java.help Subject: Re: Java crash during startup (RESOLVED) Date: Fri, 10 Feb 2012 11:05:47 -0500 Organization: The MathWorks, Inc. Lines: 86 Message-ID: <4F35405B.9040305@mathworks.com> References: Reply-To: mgasser@mathworks.com NNTP-Posting-Host: ah-mgasser.dhcp.mathworks.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: newscl01ah.mathworks.com 1328889947 5743 172.31.44.95 (10 Feb 2012 16:05:47 GMT) X-Complaints-To: news@mathworks.com NNTP-Posting-Date: Fri, 10 Feb 2012 16:05:47 +0000 (UTC) To: Colby Nyce User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100722 Eudora/3.0.4 In-Reply-To: Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.help:1561 It's strange why reinstalling the JDK fixed it because MATLAB should be using its own JRE, not yours. (And this is obvious from the trace.) Normally when we see a customer crash at startup, and MATLAB_JAVA has not been set, we assume the installed JDK has nothing to do with it (except on the Mac). I'm guessing it was those other "sketchy programs". On 2/10/2012 10:57 AM, Colby Nyce wrote: > Just in case anyone else faces this problem in the future, and none of > the "traditional" fixes are having any effect (regenerating preferences, > rebooting in safe mode, etc) I finally fixed this issue by uninstalling > all existing JRE/JDK's from my machine, as well as any sketchy programs > that magically downloaded themselves to my machine around the timeframe > when the issue started to occur. Seems to work fine now. > > > > > > > "Colby Nyce" wrote in message > news:jh1obi$igr$1@newscl01ah.mathworks.com... >> Hi all, >> >> Has anyone encountered a Java crash occurring during MATLAB startup, >> right after the splash screen is displayed? I recently starting seeing >> this problem on my machine, and it is not isolated to a single >> sandbox. Freshly synced sandboxes also cannot launch on my machine, >> and the same goes for network job archives. There seems to be some >> sort of JVM issue that affects all MATLAB's on my computer. >> >> I have gone through a lot of technical solutions that I found, and >> none of the proposed workarounds had any positive effect. I have tried: >> >> 1. Regenerating the preferences directory >> 2. Reinstalling the MSVC redistributable >> 3. Disabling Windows themes >> 4. Disabling Kaspersky >> 5. Launching with -nodesktop >> 6. Using Process Explorer to track down any JVM clashes >> >> Both SSG and Installation Tech Support were unable to give further >> ideas (except for posting this to the newsgroup). Here is the stack >> trace: >> >> [ 0] 0x0000000073f81ed4 >> D:\Aslrtw_asyncio\matlab\bin\win64\libmwfl.dll+00073428 `anonymous >> namespace'::windows::unwind_stack+000100 >> [ 1] 0x0000000073f823fe >> D:\Aslrtw_asyncio\matlab\bin\win64\libmwfl.dll+00074750 >> fl::diag::stacktrace_base::stacktrace_base+000030 >> [ 2] 0x0000000074475054 >> D:\Aslrtw_asyncio\matlab\bin\win64\libut.dll+00086100 >> utDumpStackTrace+000484 >> [ 3] 0x0000000075747a6f >> D:\Aslrtw_asyncio\matlab\bin\win64\jmi.dll+00227951 mwJavaAbort+000047 >> [ 4] 0x0000000078bf9f5d >> D:\Aslrtw_asyncio\matlab\sys\java\jre\win64\jre\bin\server\jvm.dll+03710813 >> ( JVM_FindSignal+1219197 ) >> [ 5] 0x0000000078d02aaf >> D:\Aslrtw_asyncio\matlab\sys\java\jre\win64\jre\bin\server\jvm.dll+04795055 >> ( JVM_FindSignal+2303439 ) >> [ 6] 0x00000000789927f4 >> D:\Aslrtw_asyncio\matlab\sys\java\jre\win64\jre\bin\server\jvm.dll+01189876 >> ( JVM_EnqueueOperation+655540 ) >> [ 7] 0x0000000078bff355 >> D:\Aslrtw_asyncio\matlab\sys\java\jre\win64\jre\bin\server\jvm.dll+03732309 >> ( JVM_FindSignal+1240693 ) >> [ 8] 0x0000000077929d0d C:\Windows\SYSTEM32\ntdll.dll+00171277 ( >> RtlDecodePointer+000189 ) >> >> >> If anyone has any other ideas, besides launching with -nojvm, I would >> greatly appreciate any help. This issue has seriously hampered my >> ability to develop and debug my code. >> >> Thanks! >> >> Colby Nyce >> Simulink HMI Development >> x7888 >> >> >>