Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #1561

Re: Java crash during startup (RESOLVED)

From Morrie Gasser <mgasser@mathworks.com>
Newsgroups mw.devel, mw.devel.java, comp.lang.java.help
Subject Re: Java crash during startup (RESOLVED)
Date 2012-02-10 11:05 -0500
Organization The MathWorks, Inc.
Message-ID <4F35405B.9040305@mathworks.com> (permalink)
References <jh1obi$igr$1@newscl01ah.mathworks.com> <jh3eoo$3q9$1@newscl01ah.mathworks.com>

Cross-posted to 3 groups.

Show all headers | View raw


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" <cnyce@mathworks.com> 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
>>
>>
>>

Back to comp.lang.java.help | Previous | NextPrevious in thread | Find similar


Thread

Java crash during startup "Colby Nyce" <cnyce@mathworks.com> - 2012-02-09 19:28 -0500
  Re: Java crash during startup (RESOLVED) "Colby Nyce" <cnyce@mathworks.com> - 2012-02-10 10:57 -0500
    Re: Java crash during startup (RESOLVED) Morrie Gasser <mgasser@mathworks.com> - 2012-02-10 11:05 -0500

csiph-web