EmuNewz Network
Java stopped working - Printable Version

+- EmuNewz Network (https://www.emunewz.net/forum)
+-- Forum: PSP Emulation (https://www.emunewz.net/forum/forumdisplay.php?fid=191)
+--- Forum: JPCSP Official Forum (https://www.emunewz.net/forum/forumdisplay.php?fid=51)
+---- Forum: General discussion (https://www.emunewz.net/forum/forumdisplay.php?fid=57)
+---- Thread: Java stopped working (/showthread.php?tid=2671)



Java stopped working - Jon010 - 11-03-2010

So I'm playing Disgaea: Afternoon of Darkness, which should allegedly be completely playable on JPCSP. I found that to be true after fixing immense lag and Xuggle (or lack thereof) issues...somewhat. After it passes the "Now Loading" screen the emulator just shuts up and leaves an error log, which reads:

Quote:#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x532b22c0, pid=1288, tid=3448
#
# JRE version: 6.0_22-b04
# Java VM: Java HotSpot™ Client VM (17.1-b03 mixed mode windows-x86 )
# Problematic frame:
# C [avcodec-52.dll+0x6322c0]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

--------------- T H R E A D ---------------

Current thread (0x4d1e1800): JavaThread "Atrac3 Play Thread" [_thread_in_native, id=3448, stack(0x52a00000,0x52a50000)]

siginfo: ExceptionCode=0xc0000005, writing address 0x00000000

Registers:
EAX=0x00000000, EBX=0x44f9c5c0, ECX=0x4d1e1918, EDX=0x002d0000
ESP=0x52a4ef8c, EBP=0x52a4efe8, ESI=0x44f9c5c0, EDI=0x4d1e1800
EIP=0x532b22c0, EFLAGS=0x00010212

Top of Stack: (sp=0x52a4ef8c)
0x52a4ef8c: 6c99066c 6c99045c 6d9d70c2 00000068
0x52a4ef9c: 6d7f27fe 00000000 002f6770 52a4f008
0x52a4efac: ffffffff 4d1a4328 4d2c6598 52a4efd8
0x52a4efbc: 6c9f5845 6c9ecb0c 6c9fff4c 52a4efdc
0x52a4efcc: 6c9906cc 52a4efa0 4d1e1800 52a4f048
0x52a4efdc: 44f9c5c0 44f9c5c0 4d1e1800 52a4f048
0x52a4efec: 6c9aaa4a 00000000 00000005 4d285ecc
0x52a4effc: 6c9aaa08 00000001 4d1e1800 00000000

Instructions: (pc=0x532b22c0)
0x532b22b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x532b22c0: 00 00 00 00 dd 92 4d 53 00 00 00 00 f0 bb 0f 53


Stack: [0x52a00000,0x52a50000], sp=0x52a4ef8c, free space=13b52a4eaa8k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [avcodec-52.dll+0x6322c0]
C [libxuggle-xuggler-3.dll+0x2aa4a]
j com.xuggle.xuggler.XugglerJNI.Global_init()V+0
j com.xuggle.xuggler.Global.init()V+0
j com.xuggle.xuggler.XugglerJNI.<clinit>()V+18
v ~StubRoutines::call_stub
V [jvm.dll+0xf3a9c]
V [jvm.dll+0x186591]
V [jvm.dll+0xf3b1d]
V [jvm.dll+0xe32fc]
V [jvm.dll+0xe37ab]
V [jvm.dll+0xe3a8c]
V [jvm.dll+0xe3bd2]
V [jvm.dll+0x158c5f]
V [jvm.dll+0x15940f]
V [jvm.dll+0x159620]
V [jvm.dll+0xf150b]
j com.xuggle.xuggler.IContainer.<clinit>()V+0
v ~StubRoutines::call_stub
V [jvm.dll+0xf3a9c]
V [jvm.dll+0x186591]
V [jvm.dll+0xf3b1d]
V [jvm.dll+0xe32fc]
V [jvm.dll+0xe37ab]
V [jvm.dll+0xe3a8c]
V [jvm.dll+0xe3bd2]
V [jvm.dll+0x158c5f]
V [jvm.dll+0x15940f]
V [jvm.dll+0x159620]
V [jvm.dll+0xf150b]
j jpcsp.media.MediaEngine.init(Ljava/lang/StringWinkV+0
j jpcsp.connector.AtracCodec.atracSetData(IIIIIZ)V+79
j jpcsp.HLE.modules150.sceAtrac3plus.hleAtracSetData(IIII)V+171
j jpcsp.HLE.modules150.sceAtrac3plus.sceAtracSetHalfwayBuffer(Ljpcsp/ProcessorWinkV+264
j jpcsp.HLE.modules150.sceAtrac3plus$6.execute(Ljpcsp/ProcessorWinkV+5
J jpcsp.HLE.SyscallHandler.syscall(I)V
J jpcsp.Allegrex.compiler.RuntimeContext.syscall(I)V
j _S1_2_88BA5F8.s(IIZ)I+29
j _S1_2_88A6650.s(IIZ)I+1887
j _S1_2_88A6650.exec(IIZ)I+3
j jpcsp.Allegrex.compiler.RuntimeContext.runThread(Ljpcsp/Allegrex/compiler/RuntimeThreadWinkV+53
j jpcsp.Allegrex.compiler.RuntimeThread.run()V+1
v ~StubRoutines::call_stub
V [jvm.dll+0xf3a9c]
V [jvm.dll+0x186591]
V [jvm.dll+0xf3c67]
V [jvm.dll+0xf3cdd]
V [jvm.dll+0x11da00]
V [jvm.dll+0x1e7004]
V [jvm.dll+0x185f3c]
C [msvcr71.dll+0x9565]
C [kernel32.dll+0x51194]
C [ntdll.dll+0x5b495]
C [ntdll.dll+0x5b468]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.xuggle.xuggler.XugglerJNI.Global_init()V+0
j com.xuggle.xuggler.Global.init()V+0
j com.xuggle.xuggler.XugglerJNI.<clinit>()V+18
v ~StubRoutines::call_stub
j com.xuggle.xuggler.IContainer.<clinit>()V+0
v ~StubRoutines::call_stub
j jpcsp.media.MediaEngine.init(Ljava/lang/StringWinkV+0
j jpcsp.connector.AtracCodec.atracSetData(IIIIIZ)V+79
j jpcsp.HLE.modules150.sceAtrac3plus.hleAtracSetData(IIII)V+171
j jpcsp.HLE.modules150.sceAtrac3plus.sceAtracSetHalfwayBuffer(Ljpcsp/ProcessorWinkV+264
j jpcsp.HLE.modules150.sceAtrac3plus$6.execute(Ljpcsp/ProcessorWinkV+5
J jpcsp.HLE.SyscallHandler.syscall(I)V
J jpcsp.Allegrex.compiler.RuntimeContext.syscall(I)V
j _S1_2_88BA5F8.s(IIZ)I+29
j _S1_2_88A6650.s(IIZ)I+1887
j _S1_2_88A6650.exec(IIZ)I+3
j jpcsp.Allegrex.compiler.RuntimeContext.runThread(Ljpcsp/Allegrex/compiler/RuntimeThreadWinkV+53
j jpcsp.Allegrex.compiler.RuntimeThread.run()V+1
v ~StubRoutines::call_stub

--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
0x4d1e0c00 JavaThread "SceIofileAsync" [_thread_blocked, id=3464, stack(0x52aa0000,0x52af0000)]
=>0x4d1e1800 JavaThread "Atrac3 Play Thread" [_thread_in_native, id=3448, stack(0x52a00000,0x52a50000)]
0x4d1e1400 JavaThread "MSCheckThread" [_thread_blocked, id=5448, stack(0x52a50000,0x52aa0000)]
0x4d1e0800 JavaThread "PowerSvcCheckThread" [_thread_blocked, id=2968, stack(0x529b0000,0x52a00000)]
0x4d1e0000 JavaThread "FileManager Thread" [_thread_blocked, id=3192, stack(0x50af0000,0x50b40000)]
0x4d1dfc00 JavaThread "Java Sound Event Dispatcher" daemon [_thread_blocked, id=3716, stack(0x4df20000,0x4df70000)]
0x4d1de400 JavaThread "Ss PlayThread" [_thread_blocked, id=5664, stack(0x4ded0000,0x4df20000)]
0x4d1df400 JavaThread "user_main" [_thread_blocked, id=3620, stack(0x4dd80000,0x4ddd0000)]
0x4d1df000 JavaThread "Sync Daemon" daemon [_thread_blocked, id=2920, stack(0x4dd30000,0x4dd80000)]
0x4d1de800 JavaThread "Emu" [_thread_blocked, id=5372, stack(0x4dce0000,0x4dd30000)]
0x4d117400 JavaThread "sceSasCore Voices Checker" daemon [_thread_blocked, id=5856, stack(0x506b0000,0x50700000)]
0x4d116c00 JavaThread "Async Display Thread" daemon [_thread_blocked, id=4516, stack(0x4d400000,0x4d450000)]
0x4d115c00 JavaThread "Battery Drain" daemon [_thread_blocked, id=3804, stack(0x4d3b0000,0x4d400000)]
0x4d0f6400 JavaThread "sceAudio Channels Checker" daemon [_thread_blocked, id=5744, stack(0x4a960000,0x4a9b0000)]
0x4d2cac00 JavaThread "TimerQueue" daemon [_thread_blocked, id=4436, stack(0x50660000,0x506b0000)]
0x4d2c1400 JavaThread "D3D Screen Updater" daemon [_thread_blocked, id=460, stack(0x4a8a0000,0x4a8f0000)]
0x4d5a7400 JavaThread "FileLogger" [_thread_blocked, id=468, stack(0x4a850000,0x4a8a0000)]
0x002f9000 JavaThread "DestroyJavaVM" [_thread_blocked, id=4456, stack(0x00270000,0x002c0000)]
0x4a00d800 JavaThread "GUI" [_thread_blocked, id=5264, stack(0x4a7c0000,0x4a810000)]
0x49fd3000 JavaThread "AWT-Windows" daemon [_thread_in_native, id=2788, stack(0x4a2a0000,0x4a2f0000)]
0x49fd0800 JavaThread "AWT-Shutdown" [_thread_blocked, id=2792, stack(0x4a250000,0x4a2a0000)]
0x49f2bc00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3432, stack(0x4a020000,0x4a070000)]
0x0195b400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4768, stack(0x49d80000,0x49dd0000)]
0x0194c000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=6080, stack(0x49d30000,0x49d80000)]
0x0194ac00 JavaThread "Attach Listener" daemon [_thread_blocked, id=428, stack(0x49ce0000,0x49d30000)]
0x01947c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=836, stack(0x49c90000,0x49ce0000)]
0x0191e400 JavaThread "Finalizer" daemon [_thread_blocked, id=1200, stack(0x49c40000,0x49c90000)]
0x01919800 JavaThread "Reference Handler" daemon [_thread_blocked, id=2552, stack(0x49bf0000,0x49c40000)]

Other Threads:
0x01915800 VMThread [stack: 0x49ba0000,0x49bf0000] [id=5816]
0x0195cc00 WatcherThread [stack: 0x49dd0000,0x49e20000] [id=5544]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation total 131904K, used 53230K [0x03a10000, 0x0c930000, 0x18f60000)
eden space 117248K, 45% used [0x03a10000, 0x06e0bbb0, 0x0ac90000)
from space 14656K, 0% used [0x0ac90000, 0x0ac90000, 0x0bae0000)
to space 14656K, 0% used [0x0bae0000, 0x0bae0000, 0x0c930000)
tenured generation total 292992K, used 175793K [0x18f60000, 0x2ad80000, 0x43a10000)
the space 292992K, 59% used [0x18f60000, 0x23b0c6f8, 0x23b0c800, 0x2ad80000)
compacting perm gen total 22272K, used 22077K [0x43a10000, 0x44fd0000, 0x47a10000)
the space 22272K, 99% used [0x43a10000, 0x44f9f588, 0x44f9f600, 0x44fd0000)
No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x00424000 C:\Program Files\Java\jre6\bin\java.exe
0x774a0000 - 0x775dc000 C:\Windows\SYSTEM32\ntdll.dll
0x76870000 - 0x76944000 C:\Windows\system32\kernel32.dll
0x758a0000 - 0x758ea000 C:\Windows\system32\KERNELBASE.dll
0x76730000 - 0x767d0000 C:\Windows\system32\ADVAPI32.dll
0x76d90000 - 0x76e3c000 C:\Windows\system32\msvcrt.dll
0x76c90000 - 0x76ca9000 C:\Windows\SYSTEM32\sechost.dll
0x76b50000 - 0x76bf1000 C:\Windows\system32\RPCRT4.dll
0x7c340000 - 0x7c396000 C:\Program Files\Java\jre6\bin\msvcr71.dll
0x6d7f0000 - 0x6da97000 C:\Program Files\Java\jre6\bin\client\jvm.dll
0x75a10000 - 0x75ad9000 C:\Windows\system32\USER32.dll
0x77050000 - 0x7709e000 C:\Windows\system32\GDI32.dll
0x75980000 - 0x7598a000 C:\Windows\system32\LPK.dll
0x767d0000 - 0x7686d000 C:\Windows\system32\USP10.dll
0x73b10000 - 0x73b42000 C:\Windows\system32\WINMM.dll
0x75960000 - 0x7597f000 C:\Windows\system32\IMM32.DLL
0x76f80000 - 0x7704c000 C:\Windows\system32\MSCTF.dll
0x75520000 - 0x7556b000 C:\Windows\system32\apphelp.dll
0x6d7a0000 - 0x6d7ac000 C:\Program Files\Java\jre6\bin\verify.dll
0x6d320000 - 0x6d33f000 C:\Program Files\Java\jre6\bin\java.dll
0x6d280000 - 0x6d288000 C:\Program Files\Java\jre6\bin\hpi.dll
0x75950000 - 0x75955000 C:\Windows\system32\PSAPI.DLL
0x6d7e0000 - 0x6d7ef000 C:\Program Files\Java\jre6\bin\zip.dll
0x6d000000 - 0x6d14a000 C:\Program Files\Java\jre6\bin\awt.dll
0x72000000 - 0x72051000 C:\Windows\system32\WINSPOOL.DRV
0x770a0000 - 0x771fc000 C:\Windows\system32\ole32.dll
0x744d0000 - 0x7466e000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16661_none_420fe3fa2b8113bd\COMCTL32.dll
0x758f0000 - 0x75947000 C:\Windows\system32\SHLWAPI.dll
0x74120000 - 0x74133000 C:\Windows\system32\DWMAPI.DLL
0x74390000 - 0x743d0000 C:\Windows\system32\uxtheme.dll
0x63560000 - 0x63594000 C:\Fraps\FRAPS.DLL
0x4a340000 - 0x4a5ab000 C:\Program Files\Xfire\xfire_toucan_43094.dll
0x71a60000 - 0x71a67000 C:\Windows\system32\WSOCK32.dll
0x77690000 - 0x776c5000 C:\Windows\system32\WS2_32.dll
0x775f0000 - 0x775f6000 C:\Windows\system32\NSI.dll
0x77600000 - 0x7768f000 C:\Windows\system32\OLEAUT32.dll
0x739f0000 - 0x739f5000 C:\Windows\system32\MSIMG32.dll
0x00590000 - 0x0059e000 C:\Program Files\Logitech\SetPoint\lgscroll.dll
0x715d0000 - 0x7166b000 C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4927_none_d08a205e442db5b5\MSVCR80.dll
0x73b80000 - 0x73ba1000 C:\Windows\system32\ntmarta.dll
0x76d40000 - 0x76d85000 C:\Windows\system32\WLDAP32.dll
0x75570000 - 0x7557c000 C:\Windows\system32\CRYPTBASE.dll
0x75ae0000 - 0x76729000 C:\Windows\system32\shell32.dll
0x6d230000 - 0x6d27f000 C:\Program Files\Java\jre6\bin\fontmanager.dll
0x61520000 - 0x616e3000 C:\Windows\system32\d3d9.dll
0x74aa0000 - 0x74aa9000 C:\Windows\system32\VERSION.dll
0x73ad0000 - 0x73ad6000 C:\Windows\system32\d3d8thk.dll
0x5f8f0000 - 0x6028d000 C:\Windows\system32\nvd3dum.dll
0x73d20000 - 0x73d45000 C:\Windows\system32\powrprof.dll
0x77300000 - 0x7749d000 C:\Windows\system32\SETUPAPI.dll
0x75870000 - 0x75897000 C:\Windows\system32\CFGMGR32.dll
0x75670000 - 0x75682000 C:\Windows\system32\DEVOBJ.dll
0x6d600000 - 0x6d613000 C:\Program Files\Java\jre6\bin\net.dll
0x75050000 - 0x7508c000 C:\Windows\system32\mswsock.dll
0x751f0000 - 0x751f6000 C:\Windows\System32\wship6.dll
0x6d620000 - 0x6d629000 C:\Program Files\Java\jre6\bin\nio.dll
0x4d490000 - 0x4d4dd000 E:\jpcsp-windows-x86\lib\windows-x86\jogl.dll
0x66ba0000 - 0x66c68000 C:\Windows\system32\OPENGL32.dll
0x736c0000 - 0x736e2000 C:\Windows\system32\GLU32.dll
0x6dcb0000 - 0x6dd97000 C:\Windows\system32\DDRAW.dll
0x6df50000 - 0x6df56000 C:\Windows\system32\DCIMAN32.dll
0x76c00000 - 0x76c83000 C:\Windows\system32\CLBCatQ.DLL
0x6d350000 - 0x6d356000 C:\Program Files\Java\jre6\bin\jawt.dll
0x4abd0000 - 0x4abd5000 E:\jpcsp-windows-x86\lib\windows-x86\jogl_awt.dll
0x69500000 - 0x6a355000 C:\Windows\system32\nvoglv32.DLL
0x757b0000 - 0x757dd000 C:\Windows\system32\WINTRUST.dll
0x75690000 - 0x757ac000 C:\Windows\system32\CRYPT32.dll
0x75660000 - 0x7566c000 C:\Windows\system32\MSASN1.dll
0x67ec0000 - 0x67f6f000 C:\Program Files\Xuggle\bin\libxuggle-ferry-3.dll
0x6d510000 - 0x6d534000 C:\Program Files\Java\jre6\bin\jsound.dll
0x6d540000 - 0x6d548000 C:\Program Files\Java\jre6\bin\jsoundds.dll
0x6b1b0000 - 0x6b222000 C:\Windows\system32\DSOUND.dll
0x74060000 - 0x74099000 C:\Windows\system32\MMDevAPI.DLL
0x743d0000 - 0x744c5000 C:\Windows\system32\PROPSYS.dll
0x739c0000 - 0x739f0000 C:\Windows\system32\wdmaud.drv
0x739b0000 - 0x739b4000 C:\Windows\system32\ksuser.dll
0x73bb0000 - 0x73bb7000 C:\Windows\system32\AVRT.dll
0x738b0000 - 0x738e6000 C:\Windows\system32\AUDIOSES.DLL
0x74930000 - 0x74938000 C:\Windows\system32\msacm32.drv
0x73a00000 - 0x73a14000 C:\Windows\system32\MSACM32.dll
0x74110000 - 0x74117000 C:\Windows\system32\midimap.dll
0x6c980000 - 0x6ca32000 C:\Program Files\Xuggle\bin\libxuggle-xuggler-3.dll
0x52c80000 - 0x53a25000 C:\Windows\avcodec-52.dll
0x6ae80000 - 0x6ae9a000 C:\Windows\avutil-50.dll
0x6f800000 - 0x6f808000 C:\Program Files\Xuggle\bin\avdevice-52.dll
0x53a30000 - 0x53b38000 C:\Windows\avformat-52.dll
0x72920000 - 0x72939000 C:\Windows\system32\AVIFIL32.DLL
0x72890000 - 0x728b1000 C:\Windows\system32\MSVFW32.dll
0x6e540000 - 0x6e553000 C:\Windows\system32\AVICAP32.DLL
0x4e1a0000 - 0x4e1da000 C:\Windows\swscale-0.dll

VM Arguments:
jvm_args: -Xmx1024m -Djava.library.path=lib/windows-x86
java_command: bin/jpcsp.jar
Launcher Type: SUN_STANDARD

Environment Variables:
CLASSPATH=.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip
PATH=C:\Program Files\Xuggle\bin;C:\Program Files\NVIDIA Corporation\PhysX\Common;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files\Autodesk\Maya8.5\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Program Files\Common Files\DivX Shared\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Windows Live\Shared;lib\;lib\windows-x86\
USERNAME=user
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 2, GenuineIntel



--------------- S Y S T E M ---------------

OS: Windows 7 Build 7600

CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3

Memory: 4k page, physical 3079736k(1161528k free), swap 6157708k(3607380k free)

vm_info: Java HotSpot™ Client VM (17.1-b03) for windows-x86 JRE (1.6.0_22-b04), built on Sep 15 2010 00:56:36 by "java_re" with MS VC++ 7.1 (VS2003)

time: Wed Nov 03 18:32:43 2010
elapsed time: 48 seconds

Now, I don't know what it means, but it happens every time. Strangely, when my graphics card was disabled the game was working with no errors, at the cost of fps as mentioned before. Remove an error at the cost of a new one...figures.

What's the problem? I'm definitely sure I have the lastest Java and GPU and JPCSP updates.


RE: Java stopped working - Jon010 - 11-04-2010

Small update (don't know whether to edit or just post a new post):

Apparantly this problem is exclusive to my computer. When I coped the emulator (and Xuggle since it seems the emulator needs it) to my laptop, there aren't any problems and the game will load...only that the framerate is appalling and sound doesn't work.

Java's been a pain before (e.g. on Minecraft)...maybe it's time to reinstall it?


RE: Java stopped working - mals - 11-14-2010

You can try JPCSP r1810, later version I tried all have this problem, even though I don't know the reason. (only 32bit have this problem)