Java VM crashes with jvlc after 5-10 movies

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
M0Vi3Fr3ak
New Cone
New Cone
Posts: 6
Joined: 04 Dec 2008 00:10

Java VM crashes with jvlc after 5-10 movies

Postby M0Vi3Fr3ak » 19 Dec 2008 18:01

Hi all,

im using jvlc in a swing application. all works fine. i added the canvas with the outputVideo to a jdialog.
now i play the video stop it and close the dialog. when i do this 5-10 times (open dialog, play, close dialog) the virtual machine crahes with following error:

Code: Select all

# # An unexpected error has been detected by Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77125a20, pid=368, tid=2284 # # Java VM: Java HotSpot(TM) Client VM (11.0-b12 mixed mode, sharing windows-x86) # Problematic frame: # C [ntdll.dll+0x65a20] # # 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 (0x01a75400): JavaThread "Finalizer" daemon [_thread_in_native, id=2284, stack(0x03d60000,0x03db0000)] siginfo: ExceptionCode=0xc0000005, writing address 0x65626d75 Registers: EAX=0x65626d75, EBX=0xe2e41ea0, ECX=0x728c1ea1, EDX=0x0000728c ESP=0x03daf1e4, EBP=0x03daf218, ESI=0x2f0de109, EDI=0xe2e40000 EIP=0x77125a20, EFLAGS=0x00010202 Top of Stack: (sp=0x03daf1e4) 0x03daf1e4: 00000000 00970000 2f0f45a0 2f0f44b0 0x03daf1f4: 043c0910 002a1e9f 728c0000 03daf9a4 0x03daf204: 770c9834 00405045 3a002e72 00000001 0x03daf214: 2f0f4598 03daf22c 77125883 2f0f45a0 0x03daf224: 2f170c70 2f170c70 03daf240 759dc56f 0x03daf234: 00970000 00000000 2f0f4598 03daf28c 0x03daf244: 75a79d6b 00970000 00000000 2f0f45a0 0x03daf254: dec3c5b2 2f170c70 2f0f44b0 2f170c70 Instructions: (pc=0x77125a20) 0x77125a10: c1 ea 10 0b df 0b c8 8b 06 c7 45 f8 01 00 00 00 0x77125a20: 89 30 8b 45 e0 8b 55 e4 8d 7e 08 f0 0f c7 0f 3b Stack: [0x03d60000,0x03db0000], sp=0x03daf1e4, free space=316k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [ntdll.dll+0x65a20] C [ntdll.dll+0x65883] C [kernel32.dll+0x4c56f] C [msvcrt.dll+0x9d6b] Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j com.sun.jna.Function.invokeVoid(I[Ljava/lang/Object;)V+0 j com.sun.jna.Function.invoke([Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;+44 J com.sun.jna.Function.invoke(Ljava/lang/Class;[Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/Object; j com.sun.jna.Library$Handler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+344 j com.sun.jna.Native$2.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+21 j $Proxy0.libvlc_event_detach(Lorg/videolan/jvlc/internal/LibVlc$LibVlcEventManager;ILorg/videolan/jvlc/internal/LibVlc$LibVlcCallback;Lcom/sun/jna/Pointer;Lorg/videolan/jvlc/internal/LibVlc$libvlc_exception_t;)V+37 j org.videolan.jvlc.MediaPlayer.finalize()V+76 v ~StubRoutines::call_stub J java.lang.ref.Finalizer.invokeFinalizeMethod(Ljava/lang/Object;)V J java.lang.ref.Finalizer.runFinalizer()V J java.lang.ref.Finalizer.access$100(Ljava/lang/ref/Finalizer;)V j java.lang.ref.Finalizer$FinalizerThread.run()V+11 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x07095400 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=3064, stack(0x07700000,0x07750000)] 0x07095000 JavaThread "TimerQueue" daemon [_thread_blocked, id=4224, stack(0x07570000,0x075c0000)] 0x07094800 JavaThread "DestroyJavaVM" [_thread_blocked, id=5340, stack(0x000e0000,0x00130000)] 0x06f3d000 JavaThread "D3D Screen Updater" daemon [_thread_blocked, id=4416, stack(0x076b0000,0x07700000)] 0x06f3c400 JavaThread "AWT-EventQueue-0" [_thread_in_vm, id=4996, stack(0x07660000,0x076b0000)] 0x06f31400 JavaThread "AWT-Shutdown" [_thread_blocked, id=4916, stack(0x075c0000,0x07610000)] 0x01b10c00 JavaThread "HSQLDB Timer @129f3b5" daemon [_thread_blocked, id=4064, stack(0x04110000,0x04160000)] 0x01b11400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=5212, stack(0x04160000,0x041b0000)] 0x01b0e000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=2732, stack(0x040c0000,0x04110000)] 0x01a92400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2880, stack(0x03ea0000,0x03ef0000)] 0x01a89000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=5768, stack(0x03e50000,0x03ea0000)] 0x01a88c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=4380, stack(0x03e00000,0x03e50000)] 0x01a7e000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4220, stack(0x03db0000,0x03e00000)] =>0x01a75400 JavaThread "Finalizer" daemon [_thread_in_native, id=2284, stack(0x03d60000,0x03db0000)] 0x01a74000 JavaThread "Reference Handler" daemon [_thread_blocked, id=2980, stack(0x00910000,0x00960000)] Other Threads: 0x01a72400 VMThread [stack: 0x008c0000,0x00910000] [id=5756] 0x01a92c00 WatcherThread [stack: 0x03ef0000,0x03f40000] [id=4248] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 1536K, used 804K [0x07aa0000, 0x07c40000, 0x0a200000) eden space 1408K, 57% used [0x07aa0000, 0x07b691c0, 0x07c00000) from space 128K, 0% used [0x07c00000, 0x07c00000, 0x07c20000) to space 128K, 0% used [0x07c20000, 0x07c20000, 0x07c40000) tenured generation total 19436K, used 11661K [0x0a200000, 0x0b4fb000, 0x27aa0000) the space 19436K, 59% used [0x0a200000, 0x0ad63550, 0x0ad63600, 0x0b4fb000) compacting perm gen total 12288K, used 5563K [0x27aa0000, 0x286a0000, 0x2baa0000) the space 12288K, 45% used [0x27aa0000, 0x2800eff8, 0x2800f000, 0x286a0000) ro space 8192K, 66% used [0x2baa0000, 0x2bffa540, 0x2bffa600, 0x2c2a0000) rw space 12288K, 53% used [0x2c2a0000, 0x2c9023f8, 0x2c902400, 0x2cea0000) Dynamic libraries: 0x00400000 - 0x00424000 C:\Program Files\Java\jdk1.6.0_10\bin\javaw.exe 0x770c0000 - 0x771e7000 C:\Windows\system32\ntdll.dll 0x75990000 - 0x75a6b000 C:\Windows\system32\kernel32.dll 0x76060000 - 0x76126000 C:\Windows\system32\ADVAPI32.dll 0x75b50000 - 0x75c12000 C:\Windows\system32\RPCRT4.dll 0x76130000 - 0x761cd000 C:\Windows\system32\USER32.dll 0x77200000 - 0x7724b000 C:\Windows\system32\GDI32.dll 0x77280000 - 0x7729e000 C:\Windows\system32\IMM32.DLL 0x75f60000 - 0x76028000 C:\Windows\system32\MSCTF.dll 0x75a70000 - 0x75b1a000 C:\Windows\system32\msvcrt.dll 0x77270000 - 0x77279000 C:\Windows\system32\LPK.DLL 0x75c20000 - 0x75c9d000 C:\Windows\system32\USP10.dll 0x7c340000 - 0x7c396000 C:\Program Files\Java\jdk1.6.0_10\jre\bin\msvcr71.dll 0x6d8b0000 - 0x6db06000 C:\Program Files\Java\jdk1.6.0_10\jre\bin\client\jvm.dll 0x73730000 - 0x73762000 C:\Windows\system32\WINMM.dll 0x76f70000 - 0x770b4000 C:\Windows\system32\ole32.dll 0x75cf0000 - 0x75d7d000 C:\Windows\system32\OLEAUT32.dll 0x736d0000 - 0x73709000 C:\Windows\system32\OLEACC.dll 0x75740000 - 0x7576c000 C:\Windows\system32\apphelp.dll 0x6d330000 - 0x6d338000 C:\Program Files\Java\jdk1.6.0_10\jre\bin\hpi.dll 0x771f0000 - 0x771f7000 C:\Windows\system32\PSAPI.DLL 0x6d860000 - 0x6d86c000 C:\Program Files\Java\jdk1.6.0_10\jre\bin\verify.dll 0x6d3d0000 - 0x6d3ef000 C:\Program Files\Java\jdk1.6.0_10\jre\bin\java.dll 0x6d8a0000 - 0x6d8af000 C:\Program Files\Java\jdk1.6.0_10\jre\bin\zip.dll 0x6d0b0000 - 0x6d1e6000 C:\Program Files\Java\jdk1.6.0_10\jre\bin\awt.dll 0x735a0000 - 0x735e2000 C:\Windows\system32\WINSPOOL.DRV 0x74620000 - 0x7465f000 C:\Windows\system32\uxtheme.dll 0x6d2d0000 - 0x6d324000 C:\Program Files\Java\jdk1.6.0_10\jre\bin\fontmanager.dll 0x00960000 - 0x0096e000 C:\Program Files\Logitech\SetPoint\lgscroll.dll 0x72080000 - 0x7211b000 C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.1434_none_d08b6002442c891f\MSVCR80.dll 0x74c60000 - 0x74c81000 C:\Windows\system32\NTMARTA.DLL 0x75ca0000 - 0x75cea000 C:\Windows\system32\WLDAP32.dll 0x76030000 - 0x7605d000 C:\Windows\system32\WS2_32.dll 0x77250000 - 0x77256000 C:\Windows\system32\NSI.dll 0x753c0000 - 0x753d1000 C:\Windows\system32\SAMLIB.dll 0x6f050000 - 0x6f20a000 C:\Windows\system32\d3d9.dll 0x74c30000 - 0x74c38000 C:\Windows\system32\VERSION.dll 0x74840000 - 0x74846000 C:\Windows\system32\d3d8thk.dll 0x70af0000 - 0x70afc000 C:\Windows\system32\dwmapi.dll 0x045f0000 - 0x04bc5000 C:\Windows\system32\nvd3dum.dll 0x751a0000 - 0x751b9000 C:\Windows\system32\IPHLPAPI.DLL 0x75160000 - 0x75195000 C:\Windows\system32\dhcpcsvc.DLL 0x753f0000 - 0x7541c000 C:\Windows\system32\DNSAPI.dll 0x757d0000 - 0x757e4000 C:\Windows\system32\Secur32.dll 0x75150000 - 0x75157000 C:\Windows\system32\WINNSI.DLL 0x75120000 - 0x75141000 C:\Windows\system32\dhcpcsvc6.DLL 0x74c40000 - 0x74c5a000 C:\Windows\system32\POWRPROF.dll 0x76260000 - 0x76d70000 C:\Windows\system32\shell32.dll 0x75930000 - 0x75988000 C:\Windows\system32\SHLWAPI.dll 0x748a0000 - 0x74a3e000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6001.18000_none_5cdbaa5a083979cc\comctl32.dll 0x6d6c0000 - 0x6d6d3000 C:\Program Files\Java\jdk1.6.0_10\jre\bin\net.dll 0x74f60000 - 0x74f9b000 C:\Windows\system32\mswsock.dll 0x74fc0000 - 0x74fc5000 C:\Windows\System32\wship6.dll 0x6d6e0000 - 0x6d6e9000 C:\Program Files\Java\jdk1.6.0_10\jre\bin\nio.dll 0x745e0000 - 0x745ef000 C:\Windows\system32\NLAapi.dll 0x71ec0000 - 0x71ecf000 C:\Windows\system32\napinsp.dll 0x71770000 - 0x71782000 C:\Windows\system32\pnrpnsp.dll 0x07430000 - 0x07449000 C:\Program Files\Bonjour\mdnsNSP.dll 0x71b20000 - 0x71b28000 C:\Windows\System32\winrnr.dll 0x71b10000 - 0x71b1c000 C:\Windows\system32\wshbth.dll 0x75d80000 - 0x75f0a000 C:\Windows\system32\SETUPAPI.dll 0x74b60000 - 0x74b65000 C:\Windows\System32\wshtcpip.dll 0x71dd0000 - 0x71dd6000 C:\Windows\system32\rasadhlp.dll 0x6d500000 - 0x6d524000 C:\Program Files\Java\jdk1.6.0_10\jre\bin\jpeg.dll 0x6d240000 - 0x6d263000 C:\Program Files\Java\jdk1.6.0_10\jre\bin\dcpr.dll 0x2ea70000 - 0x2eac2000 C:\Users\admin\AppData\Local\Temp\jna1494.tmp 0x6a300000 - 0x6a31e000 C:\Windows\system32\libvlc.dll 0x6a540000 - 0x6a613000 C:\Program Files\VideoLAN\VLC\libvlccore.dll 0x07610000 - 0x0765a000 C:\Program Files\VideoLAN\VLC\libgcrypt-11.dll 0x2ead0000 - 0x2eae1000 C:\Program Files\VideoLAN\VLC\libgpg-error-0.dll 0x2eaf0000 - 0x2ebcf000 C:\Program Files\VideoLAN\VLC\libiconv-2.dll 0x6d740000 - 0x6d748000 C:\Program Files\VideoLAN\VLC\plugins\liba52sys_plugin.dll 0x6a700000 - 0x6a70f000 C:\Program Files\VideoLAN\VLC\plugins\liba52tofloat32_plugin.dll 0x69940000 - 0x69948000 C:\Program Files\VideoLAN\VLC\plugins\liba52tospdif_plugin.dll 0x65480000 - 0x65489000 C:\Program Files\VideoLAN\VLC\plugins\liba52_plugin.dll 0x69a00000 - 0x69a09000 C:\Program Files\VideoLAN\VLC\plugins\libaccess_directory_plugin.dll 0x6ab40000 - 0x6ab48000 C:\Program Files\VideoLAN\VLC\plugins\libaccess_fake_plugin.dll 0x67c40000 - 0x67c48000 C:\Program Files\VideoLAN\VLC\plugins\libaccess_file_plugin.dll 0x6e880000 - 0x6e888000 C:\Program Files\VideoLAN\VLC\plugins\libaccess_filter_bandwidth_plugin.dll 0x62e40000 - 0x62e48000 C:\Program Files\VideoLAN\VLC\plugins\libaccess_filter_dump_plugin.dll 0x67ac0000 - 0x67acd000 C:\Program Files\VideoLAN\VLC\plugins\libaccess_filter_record_plugin.dll 0x69740000 - 0x6974d000 C:\Program Files\VideoLAN\VLC\plugins\libaccess_filter_timeshift_plugin.dll 0x70080000 - 0x7008e000 C:\Program Files\VideoLAN\VLC\plugins\libaccess_ftp_plugin.dll 0x661c0000 - 0x661d4000 C:\Program Files\VideoLAN\VLC\plugins\libaccess_http_plugin.dll 0x6e740000 - 0x6e758000 C:\Program Files\VideoLAN\VLC\libz-1-2.dll 0x6be80000 - 0x6be97000 C:\Program Files\VideoLAN\VLC\plugins\libaccess_mms_plugin.dll 0x6c000000 - 0x6c008000 C:\Program Files\VideoLAN\VLC\plugins\libaccess_output_dummy_plugin.dll 0x6eb80000 - 0x6eb88000 C:\Program Files\VideoLAN\VLC\plugins\libaccess_output_file_plugin.dll 0x65780000 - 0x65789000 C:\Program Files\VideoLAN\VLC\plugins\libaccess_output_http_plugin.dll 0x64bc0000 - 0x64c20000 C:\Program Files\VideoLAN\VLC\plugins\libaccess_output_shout_plugin.dll 0x69800000 - 0x69809000 C:\Program Files\VideoLAN\VLC\plugins\libaccess_output_udp_plugin.dll 0x6bc80000 - 0x6bc8f000 C:\Program Files\VideoLAN\VLC\plugins\libaccess_realrtsp_plugin.dll 0x6a640000 - 0x6a650000 C:\Program Files\VideoLAN\VLC\plugins\libaccess_rtmp_plugin.dll 0x61cc0000 - 0x61ccd000 C:\Program Files\VideoLAN\VLC\plugins\libaccess_smb_plugin.dll 0x634c0000 - 0x634c8000 C:\Program Files\VideoLAN\VLC\plugins\libaccess_tcp_plugin.dll 0x6e780000 - 0x6e788000 C:\Program Files\VideoLAN\VLC\plugins\libaccess_udp_plugin.dll 0x65e00000 - 0x65e0c000 C:\Program Files\VideoLAN\VLC\plugins\libadjust_plugin.dll 0x712c0000 - 0x712ca000 C:\Program Files\VideoLAN\VLC\plugins\libadpcm_plugin.dll 0x67500000 - 0x67509000 C:\Program Files\VideoLAN\VLC\plugins\libaiff_plugin.dll 0x699c0000 - 0x699c8000 C:\Program Files\VideoLAN\VLC\plugins\libalphamask_plugin.dll 0x6b240000 - 0x6b24a000 C:\Program Files\VideoLAN\VLC\plugins\libaout_directx_plugin.dll 0x64dc0000 - 0x64dc8000 C:\Program Files\VideoLAN\VLC\plugins\libaout_file_plugin.dll 0x67940000 - 0x6794b000 C:\Program Files\VideoLAN\VLC\plugins\libaraw_plugin.dll 0x68440000 - 0x68458000 C:\Program Files\VideoLAN\VLC\plugins\libasf_plugin.dll 0x63200000 - 0x63231000 C:\Program Files\VideoLAN\VLC\plugins\libatmo_plugin.dll 0x70580000 - 0x7058e000 C:\Program Files\VideoLAN\VLC\plugins\libaudioscrobbler_plugin.dll 0x65b80000 - 0x65b8f000 C:\Program Files\VideoLAN\VLC\plugins\libaudio_format_plugin.dll 0x6fec0000 - 0x6fec8000 C:\Program Files\VideoLAN\VLC\plugins\libau_plugin.dll 0x69580000 - 0x69597000 C:\Program Files\VideoLAN\VLC\plugins\libavcodec_plugin.dll 0x68700000 - 0x68e30000 C:\Program Files\VideoLAN\VLC\avcodec-51.dll 0x63800000 - 0x638b3000 C:\Program Files\VideoLAN\VLC\plugins\libavformat_plugin.dll 0x6e040000 - 0x6e056000 C:\Program Files\VideoLAN\VLC\plugins\libavi_plugin.dll 0x6c300000 - 0x6c30c000 C:\Program Files\VideoLAN\VLC\plugins\libbandlimited_resampler_plugin.dll 0x6b180000 - 0x6b1a9000 C:\Program Files\VideoLAN\VLC\plugins\libbda_plugin.dll 0x69f40000 - 0x69f48000 C:\Program Files\VideoLAN\VLC\plugins\libblendbench_plugin.dll 0x65e40000 - 0x65e4f000 C:\Program Files\VideoLAN\VLC\plugins\libblend_plugin.dll 0x69ac0000 - 0x69ac9000 C:\Program Files\VideoLAN\VLC\plugins\libbluescreen_plugin.dll 0x62140000 - 0x621df000 C:\Program Files\VideoLAN\VLC\plugins\libcaca_plugin.dll 0x67840000 - 0x67848000 C:\Program Files\VideoLAN\VLC\plugins\libcanvas_plugin.dll 0x64380000 - 0x6438a000 C:\Program Files\VideoLAN\VLC\plugins\libcc_plugin.dll 0x65cc0000 - 0x65ccf000 C:\Program Files\VideoLAN\VLC\plugins\libcdda_plugin.dll 0x66ec0000 - 0x66ec9000 C:\Program Files\VideoLAN\VLC\plugins\libcdg_plugin.dll 0x6aa40000 - 0x6aa48000 C:\Program Files\VideoLAN\VLC\plugins\libchain_plugin.dll 0x6e600000 - 0x6e60a000 C:\Program Files\VideoLAN\VLC\plugins\libcinepak_plugin.dll 0x6b080000 - 0x6b089000 C:\Program Files\VideoLAN\VLC\plugins\libclone_plugin.dll 0x07550000 - 0x07560000 C:\Program Files\VideoLAN\VLC\plugins\libcmml_plugin.dll 0x70880000 - 0x70889000 C:\Program Files\VideoLAN\VLC\plugins\libcolorthres_plugin.dll 0x6b900000 - 0x6b908000 C:\Program Files\VideoLAN\VLC\plugins\libconverter_fixed_plugin.dll VM Arguments: jvm_args: -Xmx512m -Dfile.encoding=Cp1252 java_command: de.mymdb.GUIMain Launcher Type: SUN_STANDARD Environment Variables: PATH=C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:\jet6.4-pro\bin;C:\Program Files\Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:\jet6.0-pro\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\VideoLAN\VLC PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 11, GenuineIntel --------------- S Y S T E M --------------- OS: Windows Vista Build 6001 Service Pack 1 CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 11, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3 Memory: 4k page, physical 2097151k(1815544k free), swap 4194303k(4194303k free) vm_info: Java HotSpot(TM) Client VM (11.0-b12) for windows-x86 JRE (1.6.0_10-beta-b25), built on May 29 2008 00:51:46 by "java_re" with MS VC++ 7.1 time: Fri Dec 19 17:00:53 2008 elapsed time: 34 seconds
I tested jvlc-core-0.9.0-SNAPSHOT-20080727 and the source from the repository.

Does anyone have a hint where the problem is? i think the thread in the native code did not stop.

thx

Markus

Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 16 guests