Go Back   Coding Forum > Coding World > Java

Reply
 
LinkBack Thread Tools Display Modes
Old 02-09-2012, 11:30 PM   #1 (permalink)
Colby Nyce
Guest
 
Posts: n/a
Default Java crash during startup

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+000 73428 `anonymous
namespace'::windows::unwind_stack+000100
[ 1] 0x0000000073f823fe
D:\Aslrtw_asyncio\matlab\bin\win64\libmwfl.dll+000 74750
fl::diag::stacktrace_base::stacktrace_base+000030
[ 2] 0x0000000074475054
D:\Aslrtw_asyncio\matlab\bin\win64\libut.dll+00086 100
utDumpStackTrace+000484
[ 3] 0x0000000075747a6f
D:\Aslrtw_asyncio\matlab\bin\win64\jmi.dll+0022795 1 mwJavaAbort+000047
[ 4] 0x0000000078bf9f5d
D:\Aslrtw_asyncio\matlab\sys\java\jre\win64\jre\bi n\server\jvm.dll+03710813
( JVM_FindSignal+1219197 )
[ 5] 0x0000000078d02aaf
D:\Aslrtw_asyncio\matlab\sys\java\jre\win64\jre\bi n\server\jvm.dll+04795055
( JVM_FindSignal+2303439 )
[ 6] 0x00000000789927f4
D:\Aslrtw_asyncio\matlab\sys\java\jre\win64\jre\bi n\server\jvm.dll+01189876
( JVM_EnqueueOperation+655540 )
[ 7] 0x0000000078bff355
D:\Aslrtw_asyncio\matlab\sys\java\jre\win64\jre\bi n\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


  Reply With Quote
Old 02-10-2012, 03:30 PM   #2 (permalink)
Colby Nyce
Guest
 
Posts: n/a
Default Java crash during startup (RESOLVED)

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+000 73428 `anonymous
> namespace'::windows::unwind_stack+000100
> [ 1] 0x0000000073f823fe
> D:\Aslrtw_asyncio\matlab\bin\win64\libmwfl.dll+000 74750
> fl::diag::stacktrace_base::stacktrace_base+000030
> [ 2] 0x0000000074475054
> D:\Aslrtw_asyncio\matlab\bin\win64\libut.dll+00086 100
> utDumpStackTrace+000484
> [ 3] 0x0000000075747a6f
> D:\Aslrtw_asyncio\matlab\bin\win64\jmi.dll+0022795 1 mwJavaAbort+000047
> [ 4] 0x0000000078bf9f5d
> D:\Aslrtw_asyncio\matlab\sys\java\jre\win64\jre\bi n\server\jvm.dll+03710813
> ( JVM_FindSignal+1219197 )
> [ 5] 0x0000000078d02aaf
> D:\Aslrtw_asyncio\matlab\sys\java\jre\win64\jre\bi n\server\jvm.dll+04795055
> ( JVM_FindSignal+2303439 )
> [ 6] 0x00000000789927f4
> D:\Aslrtw_asyncio\matlab\sys\java\jre\win64\jre\bi n\server\jvm.dll+01189876
> ( JVM_EnqueueOperation+655540 )
> [ 7] 0x0000000078bff355
> D:\Aslrtw_asyncio\matlab\sys\java\jre\win64\jre\bi n\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
>
>
>

  Reply With Quote
Old 02-10-2012, 03:30 PM   #3 (permalink)
Morrie Gasser
Guest
 
Posts: n/a
Default Java crash during startup (RESOLVED)

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+000 73428 `anonymous
>> namespace'::windows::unwind_stack+000100
>> [ 1] 0x0000000073f823fe
>> D:\Aslrtw_asyncio\matlab\bin\win64\libmwfl.dll+000 74750
>> fl::diag::stacktrace_base::stacktrace_base+000030
>> [ 2] 0x0000000074475054
>> D:\Aslrtw_asyncio\matlab\bin\win64\libut.dll+00086 100
>> utDumpStackTrace+000484
>> [ 3] 0x0000000075747a6f
>> D:\Aslrtw_asyncio\matlab\bin\win64\jmi.dll+0022795 1 mwJavaAbort+000047
>> [ 4] 0x0000000078bf9f5d
>> D:\Aslrtw_asyncio\matlab\sys\java\jre\win64\jre\bi n\server\jvm.dll+03710813
>> ( JVM_FindSignal+1219197 )
>> [ 5] 0x0000000078d02aaf
>> D:\Aslrtw_asyncio\matlab\sys\java\jre\win64\jre\bi n\server\jvm.dll+04795055
>> ( JVM_FindSignal+2303439 )
>> [ 6] 0x00000000789927f4
>> D:\Aslrtw_asyncio\matlab\sys\java\jre\win64\jre\bi n\server\jvm.dll+01189876
>> ( JVM_EnqueueOperation+655540 )
>> [ 7] 0x0000000078bff355
>> D:\Aslrtw_asyncio\matlab\sys\java\jre\win64\jre\bi n\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
>>
>>
>>


  Reply With Quote
Reply

Thread Tools
Display Modes



All times are GMT. The time now is 01:27 AM.


Powered by vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Copyright ©2010, CodingForum.Org