Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 364253

Summary: How to make SWT support win2003?
Product: [Eclipse Project] Platform Reporter: lisve <airshiplay>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: eclipse.felipe, niraj.modi, remy.suen
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows Server 2003   
Whiteboard: stalebug

Description lisve CLA 2011-11-20 23:53:21 EST
I use the swt plugin, load an Active OCX control, call capture interface. Can be used in winXP, when the win2003 environment, JVM crashes directly.
As follows, see the attachment for more(When I update the SWT version (3.8M3), this problem can not be resolved.)


Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.eclipse.swt.internal.ole.win32.COM.VtblCall

(IIILorg/eclipse/swt/internal/ole/win32/GUID;IILorg/eclipse/swt/internal/ole/win32/DISPPARAMS;ILorg/eclipse/swt/internal/ole/win32/EXCEPINFO;[I)I+0
j  org.eclipse.swt.internal.ole.win32.IDispatch.Invoke

(ILorg/eclipse/swt/internal/ole/win32/GUID;IILorg/eclipse/swt/internal/ole/win32/DISPPARAMS;ILorg/eclipse/swt/internal/ole/win32/EXCEPINFO;[I)I+19
j  org.eclipse.swt.ole.win32.OleAutomation.invoke(II[Lorg/eclipse/swt/ole/win32/Variant;[ILorg/eclipse/swt/ole/win32/Variant;)I+232
j  org.eclipse.swt.ole.win32.OleAutomation.invoke(I[Lorg/eclipse/swt/ole/win32/Variant;)Lorg/eclipse/swt/ole/win32/Variant;+14
j  com.certus.va.platform.SuperOcx.execute(Ljava/lang/String;[Lorg/eclipse/swt/ole/win32/Variant;)Lorg/eclipse/swt/ole/win32/Variant;+18
j  com.certus.va.platform.starview.GEWebClientOCXVersion3.Snapshot(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;+31
j  com.certus.va.platform.starview.vp.StarviewCapturePicture.capture()V+45
j  com.certus.va.platform.starview.vp.StarviewCapturePicture.timedCapture()V+220
j  com.certus.va.platform.starview.vp.StarviewCapturePicture.run()V+260
v  ~StubRoutines::call_stub
Comment 1 lisve CLA 2011-11-20 23:56:06 EST
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c97cd02, pid=9516, tid=3184
#
# JRE version: 6.0_23-b05
# Java VM: Java HotSpot(TM) Client VM (19.0-b09 mixed mode, sharing windows-x86 )
# Problematic frame:
# C  [ntdll.dll+0x4cd02]
#
# 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 (0x02ff4400):  JavaThread "[0核]" [_thread_in_native, id=3184, stack(0x09930000,0x09980000)]

siginfo: ExceptionCode=0xc0000005, writing address 0x00000014

Registers:
EAX=0x00000000, EBX=0x4c7a7290, ECX=0xfffffffc, EDX=0x00000000
ESP=0x0997f6c0, EBP=0x0997f6e8, ESI=0x4c7a728c, EDI=0x00000004
EIP=0x7c97cd02, EFLAGS=0x00010213

Register to memory mapping:

EAX=0x00000000
0x00000000 is pointing to unknown location

EBX=0x4c7a7290
0x4c7a7290 is pointing to unknown location

ECX=0xfffffffc
0xfffffffc is pointing to unknown location

EDX=0x00000000
0x00000000 is pointing to unknown location

ESP=0x0997f6c0
0x0997f6c0 is pointing into the stack for thread: 0x02ff4400
"[0核]" prio=6 tid=0x02ff4400 nid=0xc70 runnable [0x0997f000]
   java.lang.Thread.State: RUNNABLE

EBP=0x0997f6e8
0x0997f6e8 is pointing into the stack for thread: 0x02ff4400
"[0核]" prio=6 tid=0x02ff4400 nid=0xc70 runnable [0x0997f000]
   java.lang.Thread.State: RUNNABLE

ESI=0x4c7a728c
0x4c7a728c is pointing to unknown location

EDI=0x00000004
0x00000004 is pointing to unknown location


Top of Stack: (sp=0x0997f6c0)
0x0997f6c0:   00000001 4c7a7290 00000000 00000000
0x0997f6d0:   785446fc 7ff94000 00000000 00000000
0x0997f6e0:   00000000 00000000 0997f708 7c96d0e7
0x0997f6f0:   0000116c 00000004 00000000 00169fe8
0x0997f700:   4c7a728c 00000004 0997f71c 4c65dd53
0x0997f710:   4c7a728c 0981aff8 0997027f 0bba0698
0x0997f720:   03a0a952 0997f72c 0997f730 00000000
0x0997f730:   00000000 039f1f54 03a2cc88 0997f778 

Instructions: (pc=0x7c97cd02)
0x7c97ccf2:   45 f0 89 45 f8 8b 06 83 f8 ff 0f 84 67 03 ff ff
0x7c97cd02:   ff 40 14 e9 5f 03 ff ff a0 fc e5 9b 7c 84 c0 75 


Stack: [0x09930000,0x09980000],  sp=0x0997f6c0,  free space=317k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [ntdll.dll+0x4cd02]
C  [ntdll.dll+0x3d0e7]
C  [gdiplus.dll+0x3dd53]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.eclipse.swt.internal.ole.win32.COM.VtblCall

(IIILorg/eclipse/swt/internal/ole/win32/GUID;IILorg/eclipse/swt/internal/ole/win32/DISPPARAMS;ILorg/eclipse/swt/internal/ole/win32/EXCEPINFO;[I)I+0
j  org.eclipse.swt.internal.ole.win32.IDispatch.Invoke

(ILorg/eclipse/swt/internal/ole/win32/GUID;IILorg/eclipse/swt/internal/ole/win32/DISPPARAMS;ILorg/eclipse/swt/internal/ole/win32/EXCEPINFO;[I)I+19
j  org.eclipse.swt.ole.win32.OleAutomation.invoke(II[Lorg/eclipse/swt/ole/win32/Variant;[ILorg/eclipse/swt/ole/win32/Variant;)I+232
j  org.eclipse.swt.ole.win32.OleAutomation.invoke(I[Lorg/eclipse/swt/ole/win32/Variant;)Lorg/eclipse/swt/ole/win32/Variant;+14
j  com.certus.va.platform.SuperOcx.execute(Ljava/lang/String;[Lorg/eclipse/swt/ole/win32/Variant;)Lorg/eclipse/swt/ole/win32/Variant;+18
j  com.certus.va.platform.starview.GEWebClientOCXVersion3.Snapshot(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;+31
j  com.certus.va.platform.starview.vp.StarviewCapturePicture.capture()V+45
j  com.certus.va.platform.starview.vp.StarviewCapturePicture.timedCapture()V+220
j  com.certus.va.platform.starview.vp.StarviewCapturePicture.run()V+260
v  ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
  0x02fc1400 JavaThread "[2核]" [_thread_blocked, id=7732, stack(0x0be30000,0x0be80000)]
  0x02fce400 JavaThread "[1核]" [_thread_blocked, id=10956, stack(0x08fb0000,0x09000000)]
=>0x02ff4400 JavaThread "[0核]" [_thread_in_native, id=3184, stack(0x09930000,0x09980000)]
  0x035c9c00 JavaThread "[Diagnostic Task Monitor Thread]" [_thread_blocked, id=4468, stack(0x083d0000,0x08420000)]
  0x02f7d400 JavaThread "Timer-1" [_thread_blocked, id=9804, stack(0x03200000,0x03250000)]
  0x02f79c00 JavaThread "Timer-0" daemon [_thread_blocked, id=7360, stack(0x031a0000,0x031f0000)]
  0x02f54000 JavaThread "Thread-1" [_thread_in_native, id=948, stack(0x030d0000,0x03120000)]
  0x02bb8c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=6376, stack(0x02e30000,0x02e80000)]
  0x02bb5400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=8676, stack(0x02de0000,0x02e30000)]
  0x02bb3c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=7096, stack(0x02d90000,0x02de0000)]
  0x02bb2800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=11356, stack(0x02d40000,0x02d90000)]
  0x02b70c00 JavaThread "Finalizer" daemon [_thread_blocked, id=12140, stack(0x02cf0000,0x02d40000)]
  0x02b6c000 JavaThread "Reference Handler" daemon [_thread_blocked, id=9432, stack(0x02ca0000,0x02cf0000)]
  0x00847000 JavaThread "main" [_thread_in_native, id=10528, stack(0x008f0000,0x00940000)]

Other Threads:
  0x02b6a800 VMThread [stack: 0x02c50000,0x02ca0000] [id=8672]
  0x02bc8800 WatcherThread [stack: 0x02e80000,0x02ed0000] [id=10488]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 4928K, used 197K [0x22940000, 0x22e90000, 0x27e90000)
  eden space 4416K,   3% used [0x22940000, 0x22967848, 0x22d90000)
  from space 512K,   7% used [0x22e10000, 0x22e19c00, 0x22e90000)
  to   space 512K,   0% used [0x22d90000, 0x22d90000, 0x22e10000)
 tenured generation   total 10944K, used 5907K [0x27e90000, 0x28940000, 0x32940000)
   the space 10944K,  53% used [0x27e90000, 0x28454ce0, 0x28454e00, 0x28940000)
 compacting perm gen  total 12288K, used 4841K [0x32940000, 0x33540000, 0x36940000)
   the space 12288K,  39% used [0x32940000, 0x32dfa720, 0x32dfa800, 0x33540000)
    ro space 10240K,  54% used [0x36940000, 0x36ebc6b0, 0x36ebc800, 0x37340000)
    rw space 12288K,  55% used [0x37340000, 0x379e01f0, 0x379e0200, 0x37f40000)

Dynamic libraries:
0x00400000 - 0x00424000 	C:\Program Files\Java\jdk1.6.0_23\bin\javaw.exe
0x7c930000 - 0x7ca03000 	C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c92b000 	C:\WINDOWS\system32\kernel32.dll
0x77f30000 - 0x77fdc000 	C:\WINDOWS\system32\ADVAPI32.dll
0x77c20000 - 0x77cc0000 	C:\WINDOWS\system32\RPCRT4.dll
0x76eb0000 - 0x76ec3000 	C:\WINDOWS\system32\Secur32.dll
0x77e10000 - 0x77ea0000 	C:\WINDOWS\system32\USER32.dll
0x77bd0000 - 0x77c19000 	C:\WINDOWS\system32\GDI32.dll
0x76180000 - 0x7619d000 	C:\WINDOWS\system32\IMM32.DLL
0x7f000000 - 0x7f009000 	C:\WINDOWS\system32\LPK.DLL
0x74ae0000 - 0x74b45000 	C:\WINDOWS\system32\USP10.dll
0x7c340000 - 0x7c396000 	C:\Program Files\Java\jdk1.6.0_23\jre\bin\msvcr71.dll
0x6d8a0000 - 0x6db4c000 	C:\Program Files\Java\jdk1.6.0_23\jre\bin\client\jvm.dll
0x769e0000 - 0x76a0a000 	C:\WINDOWS\system32\WINMM.dll
0x71b20000 - 0x71b28000 	C:\WINDOWS\system32\rdpsnd.dll
0x77f10000 - 0x77f21000 	C:\WINDOWS\system32\WINSTA.dll
0x77b70000 - 0x77bca000 	C:\WINDOWS\system32\msvcrt.dll
0x71ba0000 - 0x71bf7000 	C:\WINDOWS\system32\NETAPI32.dll
0x76ab0000 - 0x76abb000 	C:\WINDOWS\system32\PSAPI.DLL
0x6d850000 - 0x6d85c000 	C:\Program Files\Java\jdk1.6.0_23\jre\bin\verify.dll
0x6d3d0000 - 0x6d3ef000 	C:\Program Files\Java\jdk1.6.0_23\jre\bin\java.dll
0x6d330000 - 0x6d338000 	C:\Program Files\Java\jdk1.6.0_23\jre\bin\hpi.dll
0x6d890000 - 0x6d89f000 	C:\Program Files\Java\jdk1.6.0_23\jre\bin\zip.dll
0x6d6b0000 - 0x6d6c3000 	C:\Program Files\Java\jdk1.6.0_23\jre\bin\net.dll
0x71b60000 - 0x71b77000 	C:\WINDOWS\system32\WS2_32.dll
0x71b50000 - 0x71b58000 	C:\WINDOWS\system32\WS2HELP.dll
0x71a80000 - 0x71ac0000 	C:\WINDOWS\system32\mswsock.dll
0x69660000 - 0x696b7000 	C:\WINDOWS\system32\hnetcfg.dll
0x71a40000 - 0x71a48000 	C:\WINDOWS\System32\wshtcpip.dll
0x6d0a0000 - 0x6d0a6000 	C:\Program Files\Java\jdk1.6.0_23\jre\bin\attach.dll
0x10000000 - 0x1006e000 	C:\Documents and Settings\Administrator\.swt\lib\win32\x86\swt-win32-3738.dll
0x774b0000 - 0x775e9000 	C:\WINDOWS\system32\ole32.dll
0x775f0000 - 0x7767b000 	C:\WINDOWS\system32\OLEAUT32.dll
0x761a0000 - 0x761e7000 	C:\WINDOWS\system32\comdlg32.dll
0x77eb0000 - 0x77f02000 	C:\WINDOWS\system32\SHLWAPI.dll
0x77cd0000 - 0x77dd3000 	C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.4770_x-ww_05FDF087\COMCTL32.dll
0x7ca10000 - 0x7d1ec000 	C:\WINDOWS\system32\SHELL32.dll
0x72f40000 - 0x72f67000 	C:\WINDOWS\system32\WINSPOOL.DRV
0x779e0000 - 0x77a87000 	C:\WINDOWS\system32\WININET.dll
0x760a0000 - 0x76131000 	C:\WINDOWS\system32\CRYPT32.dll
0x76080000 - 0x76092000 	C:\WINDOWS\system32\MSASN1.dll
0x74430000 - 0x74480000 	C:\WINDOWS\system32\MSCTF.dll
0x75d60000 - 0x75d87000 	C:\WINDOWS\system32\apphelp.dll
0x4c510000 - 0x4c53e000 	C:\WINDOWS\system32\msctfime.ime
0x71ad0000 - 0x71b05000 	C:\WINDOWS\system32\uxtheme.dll
0x77680000 - 0x77703000 	C:\WINDOWS\system32\CLBCatQ.DLL
0x76f70000 - 0x770ca000 	C:\WINDOWS\system32\COMRes.dll
0x77b60000 - 0x77b68000 	C:\WINDOWS\system32\VERSION.dll
0x039b0000 - 0x03acd000 	C:\Program Files\GEWebClientCtrl\GEWebClient.dll
0x78e20000 - 0x78e4b000 	C:\WINDOWS\WinSxS\x86_Microsoft.VC90.ATL_1fc8b3b9a1e18e3b_9.0.30729.4148_x-ww_353599C2\ATL90.DLL
0x77250000 - 0x772fe000 	C:\WINDOWS\system32\urlmon.dll
0x4c620000 - 0x4c7cb000 	C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.6002.22507_x-ww_C7DAD021\gdiplus.dll
0x03ad0000 - 0x03b66000 	C:\Program Files\GEWebClientCtrl\uascomm.dll
0x03b80000 - 0x03ba3000 	C:\Program Files\GEWebClientCtrl\gemedia.dll
0x03bc0000 - 0x03cab000 	C:\Program Files\GEWebClientCtrl\xwcodec.dll
0x4c7f0000 - 0x4c996000 	C:\WINDOWS\system32\d3d9.dll
0x6dd10000 - 0x6dd16000 	C:\WINDOWS\system32\d3d8thk.dll
0x03cd0000 - 0x03d3d000 	C:\Program Files\GEWebClientCtrl\std_h264_decoder.dll
0x03d50000 - 0x03d70000 	C:\Program Files\GEWebClientCtrl\h264_frm_dec.dll
0x03d80000 - 0x03d94000 	C:\Program Files\GEWebClientCtrl\Sinc_Interp.dll
0x67400000 - 0x67d53000 	C:\WINDOWS\system32\avcodec-51.dll
0x6a480000 - 0x6a496000 	C:\WINDOWS\system32\avutil-49.dll
0x03db0000 - 0x03de2000 	C:\Program Files\GEWebClientCtrl\mp4v_dec.dll
0x03e00000 - 0x03f1c000 	C:\Program Files\GEWebClientCtrl\PlayM4.dll
0x73730000 - 0x7377b000 	C:\WINDOWS\system32\DDRAW.dll
0x73a60000 - 0x73a66000 	C:\WINDOWS\system32\DCIMAN32.dll
0x03f20000 - 0x04004000 	C:\Program Files\GEWebClientCtrl\HCNetSDK.dll
0x73d30000 - 0x73e2e000 	C:\Program Files\GEWebClientCtrl\MFC42.DLL
0x765b0000 - 0x765d1000 	C:\WINDOWS\system32\MSVFW32.dll
0x739f0000 - 0x73a08000 	C:\WINDOWS\system32\AVIFIL32.dll
0x77b40000 - 0x77b54000 	C:\WINDOWS\system32\MSACM32.dll
0x04010000 - 0x0406b000 	C:\WINDOWS\system32\DSOUND.dll
0x04070000 - 0x040eb000 	C:\Program Files\GEWebClientCtrl\gecom.dll
0x04100000 - 0x04179000 	C:\Program Files\GEWebClientCtrl\geptl.dll
0x04190000 - 0x042d1000 	C:\Program Files\GEWebClientCtrl\gesdk.dll
0x78480000 - 0x7850e000 	C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.4148_x-ww_D495AC4E\MSVCP90.dll
0x78520000 - 0x785c3000 	C:\WINDOWS\WinSxS\x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.4148_x-ww_D495AC4E\MSVCR90.dll
0x042e0000 - 0x042f7000 	C:\Program Files\GEWebClientCtrl\util.dll
0x04300000 - 0x0430f000 	C:\Program Files\GEWebClientCtrl\XCL.dll
0x04320000 - 0x0432f000 	C:\Program Files\GEWebClientCtrl\download.dll
0x4d090000 - 0x4d2d0000 	C:\WINDOWS\system32\WMVCore.DLL
0x589e0000 - 0x58a1b000 	C:\WINDOWS\system32\WMASF.DLL
0x62170000 - 0x6217d000 	C:\WINDOWS\system32\MFC42LOC.DLL
0x4f520000 - 0x4fafa000 	C:\WINDOWS\system32\wmp.dll
0x048c0000 - 0x04be1000 	C:\WINDOWS\system32\wmploc.dll
0x75ca0000 - 0x75d5b000 	C:\WINDOWS\system32\SXS.DLL
0x77a90000 - 0x77b01000 	C:\WINDOWS\system32\jscript.dll
0x04d40000 - 0x05289000 	C:\WINDOWS\system32\xpsp2res.dll
0x05520000 - 0x05609000 	C:\PROGRA~1\GEWEBC~1\jhplugin\BRAINA~1.OCX
0x05610000 - 0x05728000 	C:\PROGRA~1\GEWEBC~1\jhplugin\PlayCtrl.dll
0x4a140000 - 0x4a161000 	C:\WINDOWS\system32\oledlg.dll
0x5ed70000 - 0x5ed87000 	C:\WINDOWS\system32\OLEPRO32.DLL
0x71b10000 - 0x71b1b000 	C:\WINDOWS\system32\wsock32.dll
0x081c0000 - 0x081c7000 	C:\Program Files\GEWebClientCtrl\codec\zb2\ZBMediaLib.dll
0x20000000 - 0x2016a000 	C:\Program Files\GEWebClientCtrl\codec\zb2\HikPlayM4.dll
0x081d0000 - 0x08219000 	C:\Program Files\GEWebClientCtrl\codec\zb2\ZB_Mpeg4_Decoder.dll
0x7c3a0000 - 0x7c41b000 	C:\WINDOWS\system32\MSVCP71.dll
0x08420000 - 0x08455000 	D:\workspace\CertusVA-MP\dll\libguide40.dll
0x08470000 - 0x08570000 	D:\workspace\CertusVA-MP\dll\cxcore100.dll
0x08570000 - 0x08644000 	D:\workspace\CertusVA-MP\dll\cv100.dll
0x08650000 - 0x086f0000 	D:\workspace\CertusVA-MP\dll\highgui100.dll
0x73a20000 - 0x73a32000 	C:\WINDOWS\system32\AVICAP32.dll
0x083b0000 - 0x083c8000 	D:\workspace\CertusVA-MP\dll\CertusnetVQD.dll
0x78130000 - 0x781cb000 	C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_B80FA8CA\MSVCR80.dll
0x08710000 - 0x0871c000 	D:\workspace\CertusVA-MP\dll\CertusnetVQD4J.dll
0x76e30000 - 0x76e5b000 	C:\WINDOWS\system32\DNSAPI.dll
0x76ed0000 - 0x76ed7000 	C:\WINDOWS\System32\winrnr.dll
0x76e70000 - 0x76e9e000 	C:\WINDOWS\system32\WLDAP32.dll
0x76ee0000 - 0x76ee5000 	C:\WINDOWS\system32\rasadhlp.dll
0x72d20000 - 0x72e47000 	C:\WINDOWS\system32\msxml3.dll
0x74480000 - 0x74513000 	C:\WINDOWS\system32\mlang.dll

VM Arguments:
jvm_args: -Dfile.encoding=UTF-8 
java_command: com.certus.va.ControlCenter
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_23
PATH=C:/Program Files/Java/jdk1.6.0_23/bin/../jre/bin/client;C:/Program Files/Java/jdk1.6.0_23/bin/../jre/bin;C:/Program 

Files/Java/jdk1.6.0_23/bin/../jre/lib/i386;C:\Program Files\Java\jdk1.6.0_23\bin;D:\Program Files\Windows Resource Kits\Tools\;;C:\WINDOWS\system32;C:

\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\UniArgus

\Dlls;C:\Program Files\MySQL\MySQL Server 5.5\bin
USERNAME=Administrator
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 10, GenuineIntel



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

OS: Windows Server 2003 family Build 3790 Service Pack 2

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

Memory: 4k page, physical 2061444k(568644k free), swap 4005740k(2402584k free)

vm_info: Java HotSpot(TM) Client VM (19.0-b09) for windows-x86 JRE (1.6.0_23-b05), built on Nov 12 2010 15:00:43 by "java_re" with MS VC++ 7.1 (VS2003)

time: Sat Nov 19 17:55:03 2011
elapsed time: 3 seconds
Comment 2 Felipe Heidrich CLA 2011-11-21 11:24:55 EST
do you have a testcase that can be used to reproduce this crash ?
Comment 3 lisve CLA 2011-11-21 22:02:54 EST
(In reply to comment #2)
> do you have a testcase that can be used to reproduce this crash ?

The following are examples of simple code:

public class SuperOcx extends Composite {
.............
	public int getID(String name) {
		try {
			int[] ids = player.getIDsOfNames(new String[] { name });
			if (ids.length >= 0)
				return ids[0];
		} catch (RuntimeException e) {
			e.printStackTrace();
		}
		return -1;
	}
	public Variant execute(String methodName) {
		int mid = getID(methodName);
		if (mid < 0)
			return null;
		Variant rtnv = player.invoke(mid);
		return rtnv;
	}
	public Variant execute(String methodName, Variant[] parameter) {
		int mid = getID(methodName);
		if (mid < 0)
			return null;
		Variant rtnv = player.invoke(mid, parameter);
		return rtnv;
	}
}



package com.certus.va.platform.starview;

public class GEWebClientOCXVersion3 extends SuperOcx{


	
	/**
	 * @param parent
	 * @param style
	 */
	public GEWebClientOCXVersion3(Composite parent, int style) {
		super(parent, style);
		createContents();
	}
	/**
	 * 
	 */
	private void createContents() {
		setLayout(new FillLayout());
		OleFrame frame = new OleFrame(this, SWT.NO_TRIM);
		controlSite = new OleControlSite(frame, SWT.NONE,"GEWEBCLIENT.GEWebClientCtrl.1");
		
		controlSite.doVerb(OLE.OLEIVERB_INPLACEACTIVATE);
		player = new OleAutomation(controlSite);
	}
	
..........................................................
	/**
	 * 功能描述
	 * 本地抓拍。
	 * 参数说明
	 * 参数名	类型	输入(IN)
	 * 输出(OUT)	说明
	 * bstrCameraID	BSTR	IN	通道id 
	 * bstrFileName	BSTR	IN	抓拍图片保存文件名
	 
	 * @return
	 * 返回图片保存的路径(带文件名);
	 */
	public String Snapshot(String bstrCameraID, String bstrFileName){
		Variant[] v = new Variant[2];
		v[0] = new Variant(bstrCameraID);
		v[1] = new Variant(bstrFileName);
		
		return execute("Snapshot", v).getString();
	}
..................................................................
}

Active Control that contains the initialization, login, play, screenshots, etc.


First, initialize an interface for display. Then, Obtain a series of parameters, used to log in, play, screenshots.
 Log in only once, loop playback, screenshots, stop screenshots and then play, stop, and so on.
Comment 4 Lars Vogel CLA 2019-11-14 03:27:16 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.
Comment 5 Niraj Modi CLA 2020-01-02 07:41:31 EST
Closing this.