hi,
I have an application that plays video files using jmf
It plays some videos but without audio
but while playing some videos the application automaticaly terminates and
generates runtime error.
A log file is created by name hs_err_pid2232.log
which have following message:
#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_INT_DIVIDE_BY_ZERO (0xc0000094) at pc=0x05fb7d0f, pid=2232, tid=3008
#
# Java VM: Java HotSpot(TM) Client VM (11.0-b16 mixed mode, sharing windows-x86)
# Problematic frame:
# C [xvid.dll+0x47d0f]
#
# 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 (0x03092400): JavaThread "Loop thread: com.sun.media.parser.video.AviParser$VideoTrack@848ecc" [_thread_in_native, id=3008, stack(0x08140000,0x08190000)]
siginfo: ExceptionCode=0xc0000094
Registers:
EAX=0x00000000, EBX=0x00000000, ECX=0x00000000, EDX=0x00000000
ESP=0x0818eea8, EBP=0x0818f168, ESI=0x05d41f40, EDI=0x00000000
EIP=0x05fb7d0f, EFLAGS=0x00010246
Top of Stack: (sp=0x0818eea8)
0x0818eea8: 0818f6d0 0000000e 6d9f2aec 00000003
0x0818eeb8: 0818f700 0818eef0 0818f700 6d95185f
0x0818eec8: 0818eef0 00000003 0000000e 0818eef0
0x0818eed8: 03092930 0818f701 6d951d57 0818eef0
0x0818eee8: 00000003 6d9ca6aa 00363540 6d9f13a4
0x0818eef8: 00000001 03092400 0818f71c 6d9f13a4
0x0818ef08: 0818f71c 6d95185f 6d9f13a4 00000001
0x0818ef18: 02b7affc 6d9f13a4 02b7affc 0818f7e4
Instructions: (pc=0x05fb7d0f)
0x05fb7cff: 33 d2 89 9e 34 01 00 00 03 c7 2b 86 48 01 00 00
0x05fb7d0f: f7 f1 89 96 50 01 00 00 89 be 48 01 00 00 89 9e
Stack: [0x08140000,0x08190000], sp=0x0818eea8, free space=315k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [xvid.dll+0x47d0f]
C [xvid.dll+0xbfe6]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.sun.media.codec.video.vcm.VCM.icDecompress(IJLcom/sun/media/vfw/BitMapInfo;Ljava/lang/Object;JLcom/sun/media/vfw/BitMapInfo;Ljava/lang/Object;JI)I+0
j com.sun.media.codec.video.vcm.NativeDecoder.process(Ljavax/media/Buffer;Ljavax/media/Buffer;)I+189
j com.sun.media.BasicFilterModule.process()V+559
j com.sun.media.BasicModule.connectorPushed(Lcom/sun/media/InputConnector;)V+1
j com.sun.media.BasicOutputConnector.writeReport()V+79
j com.sun.media.SourceThread.process()Z+632
j com.sun.media.util.LoopThread.run()V+14
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
=>0x03092400 JavaThread "Loop thread: com.sun.media.parser.video.AviParser$VideoTrack@848ecc" [_thread_in_native, id=3008, stack(0x08140000,0x08190000)]
0x03091400 JavaThread "Loop thread: com.sun.media.renderer.video.GDIRenderer@1c794cc" [_thread_blocked, id=2464, stack(0x080f0000,0x08140000)]
0x030cdc00 JavaThread "JMF thread: com.sun.media.PlaybackEngine@13a34af ( prefetchThread)" [_thread_blocked, id=680, stack(0x080a0000,0x080f0000)]
0x030e2c00 JavaThread "JMF thread: com.sun.media.content.unknown.Handler@1972e3a ( prefetchThread)" [_thread_blocked, id=3376, stack(0x08050000,0x080a0000)]
0x030e2400 JavaThread "JMF thread (PlayThread)" [_thread_blocked, id=252, stack(0x08000000,0x08050000)]
0x0308bc00 JavaThread "Progress Slider thread" [_thread_blocked, id=3884, stack(0x07fb0000,0x08000000)]
0x030e5000 JavaThread "Image Fetcher 1" daemon [_thread_blocked, id=3964, stack(0x07100000,0x07150000)]
0x02b7a800 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=3720, stack(0x070b0000,0x07100000)]
0x030de000 JavaThread "JMF thread: SendEventQueue: com.sun.media.ProcessEngine" [_thread_blocked, id=3988, stack(0x07060000,0x070b0000)]
0x030dd000 JavaThread "JMF thread: SendEventQueue: com.sun.media.processor.unknown.Handler" [_thread_blocked, id=1460, stack(0x05a30000,0x05a80000)]
0x031ba800 JavaThread "Loop thread" [_thread_blocked, id=3484, stack(0x05ae0000,0x05b30000)]
0x02bf7400 JavaThread "JMF thread: SendEventQueue: com.sun.media.PlaybackEngine" [_thread_blocked, id=2192, stack(0x059e0000,0x05a30000)]
0x02c02c00 JavaThread "JMF thread: SendEventQueue: com.sun.media.content.unknown.Handler" [_thread_blocked, id=2880, stack(0x05990000,0x059e0000)]
0x02c1c800 JavaThread "TimerQueue" daemon [_thread_blocked, id=3644, stack(0x03280000,0x032d0000)]
0x003a6800 JavaThread "DestroyJavaVM" [_thread_blocked, id=172, stack(0x003b0000,0x00400000)]
0x02b6cc00 JavaThread "Swing-Shell" daemon [_thread_blocked, id=712, stack(0x03bb0000,0x03c00000)]
0x03194400 JavaThread "D3D Screen Updater" daemon [_thread_blocked, id=2244, stack(0x036b0000,0x03700000)]
0x031a6800 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=3476, stack(0x03660000,0x036b0000)]
0x02c17000 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3712, stack(0x02fe0000,0x03030000)]
0x02c15800 JavaThread "AWT-Shutdown" [_thread_blocked, id=1712, stack(0x02f90000,0x02fe0000)]
0x02c14800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1300, stack(0x02f40000,0x02f90000)]
0x02b61800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2940, stack(0x02e10000,0x02e60000)]
0x02b5b000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3680, stack(0x02dc0000,0x02e10000)]
0x02b59800 JavaThread "Attach Listener" daemon [_thread_blocked, id=3908, stack(0x02d70000,0x02dc0000)]
0x02b58400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=488, stack(0x02d20000,0x02d70000)]
0x02b50400 JavaThread "Finalizer" daemon [_thread_blocked, id=2988, stack(0x02cd0000,0x02d20000)]
0x02b4ec00 JavaThread "Reference Handler" daemon [_thread_blocked, id=1692, stack(0x02c80000,0x02cd0000)]
Other Threads:
0x02b4d400 VMThread [stack: 0x02c30000,0x02c80000] [id=3700]
0x02b75000 WatcherThread [stack: 0x02e60000,0x02eb0000] [id=2616]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 2112K, used 859K [0x22990000, 0x22bd0000, 0x22e70000)
eden space 1920K, 34% used [0x22990000, 0x22a36c18, 0x22b70000)
from space 192K, 100% used [0x22b70000, 0x22ba0000, 0x22ba0000)
to space 192K, 0% used [0x22ba0000, 0x22ba0000, 0x22bd0000)
tenured generation total 27216K, used 18564K [0x22e70000, 0x24904000, 0x26990000)
the space 27216K, 68% used [0x22e70000, 0x24091368, 0x24091400, 0x24904000)
compacting perm gen total 12288K, used 3066K [0x26990000, 0x27590000, 0x2a990000)
the space 12288K, 24% used [0x26990000, 0x26c8e978, 0x26c8ea00, 0x27590000)
ro space 8192K, 63% used [0x2a990000, 0x2aea3ae8, 0x2aea3c00, 0x2b190000)
rw space 12288K, 53% used [0x2b190000, 0x2b7f83f8, 0x2b7f8400, 0x2bd90000)
Dynamic libraries:
0x00400000 - 0x00424000 C:\Program Files\Java\jre6\bin\javaw.exe
0x7c900000 - 0x7c9af000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f6000 C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f02000 C:\WINDOWS\system32\RPCRT4.dll
0x77fe0000 - 0x77ff1000 C:\WINDOWS\system32\Secur32.dll
0x7e410000 - 0x7e4a1000 C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f59000 C:\WINDOWS\system32\GDI32.dll
0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.DLL
0x7c340000 - 0x7c396000 C:\Program Files\Java\jre6\bin\msvcr71.dll
0x6d800000 - 0x6da56000 C:\Program Files\Java\jre6\bin\client\jvm.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
0x6d280000 - 0x6d288000 C:\Program Files\Java\jre6\bin\hpi.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
0x6d7b0000 - 0x6d7bc000 C:\Program Files\Java\jre6\bin\verify.dll
0x6d320000 - 0x6d33f000 C:\Program Files\Java\jre6\bin\java.dll
0x6d7f0000 - 0x6d7ff000 C:\Program Files\Java\jre6\bin\zip.dll
0x6d000000 - 0x6d138000 C:\Program Files\Java\jre6\bin\awt.dll
0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll
0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
0x773d0000 - 0x774d3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll
0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
0x5ad70000 - 0x5ada8000 C:\WINDOWS\system32\uxtheme.dll
0x74720000 - 0x7476c000 C:\WINDOWS\system32\MSCTF.dll
0x77b40000 - 0x77b62000 C:\WINDOWS\system32\apphelp.dll
0x755c0000 - 0x755ee000 C:\WINDOWS\system32\msctfime.ime
0x7c9c0000 - 0x7d1d7000 C:\WINDOWS\system32\shell32.dll
0x6d220000 - 0x6d274000 C:\Program Files\Java\jre6\bin\fontmanager.dll
0x4fdd0000 - 0x4ff76000 C:\WINDOWS\system32\d3d9.dll
0x032d0000 - 0x032d6000 C:\WINDOWS\system32\d3d8thk.dll
0x77c00000 - 0x77c08000 C:\WINDOWS\system32\VERSION.dll
0x6d610000 - 0x6d623000 C:\Program Files\Java\jre6\bin\net.dll
0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
0x6d630000 - 0x6d639000 C:\Program Files\Java\jre6\bin\nio.dll
0x77920000 - 0x77a13000 C:\WINDOWS\system32\SETUPAPI.dll
0x5b860000 - 0x5b8b5000 C:\WINDOWS\system32\netapi32.dll
0x76fd0000 - 0x7704f000 C:\WINDOWS\system32\CLBCATQ.DLL
0x77050000 - 0x77115000 C:\WINDOWS\system32\COMRes.dll
0x77120000 - 0x771ab000 C:\WINDOWS\system32\OLEAUT32.dll
0x77a20000 - 0x77a74000 C:\WINDOWS\System32\cscui.dll
0x76600000 - 0x7661d000 C:\WINDOWS\System32\CSCDLL.dll
0x03cc0000 - 0x03f85000 C:\WINDOWS\system32\xpsp2res.dll
0x10000000 - 0x1005b000 C:\Program Files\Common Files\Adobe\Acrobat\ActiveX\PDFShell.dll
0x78130000 - 0x781cb000 C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.163_x-ww_681e29fb\MSVCR80.dll
0x71b20000 - 0x71b32000 C:\WINDOWS\system32\MPR.dll
0x75f60000 - 0x75f67000 C:\WINDOWS\System32\drprov.dll
0x71c10000 - 0x71c1e000 C:\WINDOWS\System32\ntlanman.dll
0x71cd0000 - 0x71ce7000 C:\WINDOWS\System32\NETUI0.dll
0x71c90000 - 0x71cd0000 C:\WINDOWS\System32\NETUI1.dll
0x71c80000 - 0x71c87000 C:\WINDOWS\System32\NETRAP.dll
0x71bf0000 - 0x71c03000 C:\WINDOWS\System32\SAMLIB.dll
0x75f70000 - 0x75f7a000 C:\WINDOWS\System32\davclnt.dll
0x16210000 - 0x1648e000 C:\WINDOWS\system32\wpdshext.dll
0x4ec50000 - 0x4edf6000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.2600.5581_x-ww_dfbc4fc4\gdiplus.dll
0x10930000 - 0x10979000 C:\WINDOWS\system32\PortableDeviceApi.dll
0x76c30000 - 0x76c5e000 C:\WINDOWS\system32\WINTRUST.dll
0x77a80000 - 0x77b15000 C:\WINDOWS\system32\CRYPT32.dll
0x77b20000 - 0x77b32000 C:\WINDOWS\system32\MSASN1.dll
0x76c90000 - 0x76cb8000 C:\WINDOWS\system32\IMAGEHLP.dll
0x73d70000 - 0x73d83000 C:\WINDOWS\system32\shgina.dll
0x75970000 - 0x75a68000 C:\WINDOWS\system32\MSGINA.dll
0x74320000 - 0x7435d000 C:\WINDOWS\system32\ODBC32.dll
0x763b0000 - 0x763f9000 C:\WINDOWS\system32\comdlg32.dll
0x769c0000 - 0x76a74000 C:\WINDOWS\system32\USERENV.dll
0x76360000 - 0x76370000 C:\WINDOWS\system32\WINSTA.dll
0x04350000 - 0x04367000 C:\WINDOWS\system32\odbcint.dll
0x04370000 - 0x04ee2000 C:\WINDOWS\system32\ieframe.dll
0x5dca0000 - 0x5de55000 C:\WINDOWS\system32\iertutil.dll
0x1a400000 - 0x1a52b000 C:\WINDOWS\system32\urlmon.dll
0x07160000 - 0x071a6000 C:\WINDOWS\system32\Audiodev.dll
0x15110000 - 0x1536a000 C:\WINDOWS\system32\WMVCore.DLL
0x11c70000 - 0x11ca9000 C:\WINDOWS\system32\WMASF.DLL
0x76980000 - 0x76988000 C:\WINDOWS\system32\LINKINFO.dll
0x76990000 - 0x769b5000 C:\WINDOWS\system32\ntshrui.dll
0x76b20000 - 0x76b31000 C:\WINDOWS\system32\ATL.DLL
0x6d450000 - 0x6d474000 C:\Program Files\Java\jre6\bin\jpeg.dll
0x05050000 - 0x05065000 C:\WINDOWS\system32\jmutil.dll
0x05a80000 - 0x05a8b000 C:\WINDOWS\system32\jmvcm.dll
0x75a70000 - 0x75a91000 C:\WINDOWS\system32\MSVFW32.dll
0x30bf0000 - 0x30e79000 C:\WINDOWS\system32\ffdshow.ax
0x72280000 - 0x722aa000 C:\WINDOWS\system32\DINPUT.dll
0x05aa0000 - 0x05aa8000 C:\WINDOWS\system32\jmddraw.dll
0x73760000 - 0x737ab000 C:\WINDOWS\system32\DDRAW.dll
0x73bc0000 - 0x73bc6000 C:\WINDOWS\system32\DCIMAN32.dll
0x05ac0000 - 0x05aca000 C:\WINDOWS\system32\jmgdi.dll
0x05f70000 - 0x06066000 C:\WINDOWS\system32\xvid.dll
0x05d50000 - 0x05d5d000 C:\WINDOWS\system32\jmacm.dll
0x77be0000 - 0x77bf5000 C:\WINDOWS\system32\MSACM32.dll
0x58420000 - 0x58427000 C:\WINDOWS\system32\imaadp32.acm
0x72cf0000 - 0x72cf7000 C:\WINDOWS\system32\msadp32.acm
0x58330000 - 0x58335000 C:\WINDOWS\system32\msg711.acm
0x58300000 - 0x58308000 C:\WINDOWS\system32\msgsm32.acm
0x582d0000 - 0x582d4000 C:\WINDOWS\system32\tssoft32.acm
0x73b70000 - 0x73b77000 C:\WINDOWS\system32\tsd32.dll
0x58310000 - 0x5832d000 C:\WINDOWS\system32\msg723.acm
0x58340000 - 0x5838d000 C:\WINDOWS\system32\msaud32.acm
0x582e0000 - 0x582fe000 C:\WINDOWS\system32\sl_anet.acm
0x06480000 - 0x064b7000 C:\WINDOWS\system32\iac25_32.ax
0x58390000 - 0x5841a000 C:\WINDOWS\system32\l3codeca.acm
0x068e0000 - 0x0697b000 C:\WINDOWS\system32\vorbis.acm
0x06990000 - 0x069a9000 C:\WINDOWS\system32\vct3216.acm
0x069b0000 - 0x069f9000 C:\WINDOWS\system32\vct3216.dll
0x06e20000 - 0x06e8e000 C:\WINDOWS\system32\msms001.vwp
0x06ea0000 - 0x06eec000 C:\WINDOWS\system32\mvoice.vwp
0x07020000 - 0x0705c000 C:\WINDOWS\system32\l3codecp.acm
VM Arguments:
java_command: F:\Chetan\Main project\Main Project\Frame\JVImageGrabber1.0.jar
Launcher Type: SUN_STANDARD
Environment Variables:
CLASSPATH=C:\Program Files\Java\jdk1.5.0_03\lib;.;C:\Program Files\JMF2.1.1e\lib;.;C:\Program Files\Java\jre6\lib;.; $FOBS_ROOT/dist/jmf/fobs4jmf.jar;.;$FOBS_ROOT/dist/jmf/jmf.jar;.;
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Java\jdk1.5.0_03\bin;
USERNAME=CHETAN
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 7, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows XP Build 2600 Service Pack 3
CPU:total 2 (2 cores per cpu, 1 threads per core) family 15 model 4 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3
Memory: 4k page, physical 1963856k(1333556k free), swap 3903184k(3344660k free)
vm_info: Java HotSpot(TM) Client VM (11.0-b16) for windows-x86 JRE (1.6.0_11-b03), built on Nov 10 2008 02:15:12 by "java_re" with MS VC++ 7.1
time: Wed Mar 11 16:28:23 2009
elapsed time: 58 seconds