Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 371096 - JVM and IE8 crash
Summary: JVM and IE8 crash
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.7.1   Edit
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-09 10:37 EST by Odif Xeth CLA
Modified: 2020-02-02 10:22 EST (History)
4 users (show)

See Also:


Attachments
Locally stored test file for IE9 SWT browser crash. (375 bytes, text/html)
2012-04-29 22:29 EDT, Nobody - feel free to take it CLA
no flags Details
Remote file for IE9 SWT browser crash test. (542 bytes, text/html)
2012-04-29 22:31 EDT, Nobody - feel free to take it CLA
no flags Details
WinDbg call stack (3.09 KB, text/plain)
2012-04-30 21:49 EDT, Nobody - feel free to take it CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Odif Xeth CLA 2012-02-09 10:37:18 EST
Build Identifier: 3.7.1 Final Release

JVM crash on user operation with html page in embedded IE8.

===
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x1a4de3be, pid=2752, tid=2004
#
# JRE version: 6.0_29-b11
# Java VM: Java HotSpot(TM) Client VM (20.4-b02 mixed mode windows-x86 )
# Problematic frame:
# C  0x1a4de3be
#
# 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 (0x00789c00):  JavaThread "main" [_thread_in_native, id=2004, stack(0x00540000,0x00590000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x1a4de3be

Registers:
EAX=0x00000001, EBX=0x005cea98, ECX=0x779cc956, EDX=0x00000012
ESP=0x0058e834, EBP=0x0058e848, ESI=0x1a5ad990, EDI=0x00000009
EIP=0x1a4de3be, EFLAGS=0x00010202

Top of Stack: (sp=0x0058e834)
0x0058e834:   005cea98 77694977 1a5ad990 1829ef18
0x0058e844:   00000001 0058e880 19547155 005cea98
0x0058e854:   1829ef18 00000001 1954442c 1829dcc0
0x0058e864:   005c25c8 00000000 000001e3 00000011
0x0058e874:   005ce620 005cea98 000001f4 0058e89c
0x0058e884:   19546e26 00000000 00000000 00152788
0x0058e894:   00000000 005ceb18 0058e8c0 195443c9
0x0058e8a4:   00000002 182a2988 00000000 1829dcc0 

Instructions: (pc=0x1a4de3be)
0x1a4de39e:   
[error occurred during error reporting (printing registers, top of stack, instructions near pc), id 0xc0000005]

Register to memory mapping:

EAX=0x00000001 is an unknown value
EBX=0x005cea98 is an unknown value
ECX=0x779cc956 is an unknown value
EDX=0x00000012 is an unknown value
ESP=0x0058e834 is pointing into the stack for thread: 0x00789c00
EBP=0x0058e848 is pointing into the stack for thread: 0x00789c00
ESI=0x1a5ad990 is an unknown value
EDI=0x00000009 is an unknown value


Stack: [0x00540000,0x00590000],  sp=0x0058e834,  free space=314k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  0x1a4de3be
C  [jscript.dll+0x27155]  DllGetClassObject+0x16061
C  [jscript.dll+0x26e26]  DllGetClassObject+0x15d32
C  [jscript.dll+0x243c9]  DllGetClassObject+0x132d5
C  [jscript.dll+0x24b0a]  DllGetClassObject+0x13a16
C  [jscript.dll+0x15cbd]  DllGetClassObject+0x4bc9
C  [jscript.dll+0x15c1b]  DllGetClassObject+0x4b27
C  [jscript.dll+0x15e31]  DllGetClassObject+0x4d3d
C  [jscript.dll+0xf416]
C  [jscript.dll+0xea52]
C  [mshtml.dll+0x52976]  MatchExactGetIDsOfNames+0x14351
C  [mshtml.dll+0x253c3a]  DllCanUnloadNow+0x2d345
C  [mshtml.dll+0x1c41a2]  Ordinal104+0x53bd3
C  [mshtml.dll+0x1fe8e3]  Ordinal104+0x8e314
C  [mshtml.dll+0x1fe788]  Ordinal104+0x8e1b9
C  [mshtml.dll+0x1e7b6]  Ordinal102+0x1e82
C  [mshtml.dll+0x1e9c0]  Ordinal102+0x208c
C  [mshtml.dll+0x1f2a19]  Ordinal104+0x8244a
C  [mshtml.dll+0x1e326]  Ordinal102+0x19f2
C  [mshtml.dll+0x1e1b6]  Ordinal102+0x1882
C  [mshtml.dll+0x1e158]  Ordinal102+0x1824
C  [ieframe.dll+0x34f85]  Ordinal142+0x18193
C  [ieframe.dll+0x35082]  Ordinal142+0x18290
C  [ieframe.dll+0x1eeef1]  Ordinal243+0x263aa
C  [ieframe.dll+0x1efd99]  Ordinal243+0x27252
C  [swt-win32-3738.dll+0x2eea2]  Java_org_eclipse_swt_internal_ole_win32_COM_VtblCall__IILorg_eclipse_swt_internal_win32_MSG_2+0x37
j  org.eclipse.swt.internal.ole.win32.COM.VtblCall(IILorg/eclipse/swt/internal/win32/MSG;)I+0
j  org.eclipse.swt.internal.ole.win32.IOleInPlaceActiveObject.TranslateAccelerator(Lorg/eclipse/swt/internal/win32/MSG;)I+6
J  org.eclipse.swt.ole.win32.OleFrame.getMsgProc(III)I
V  [jvm.dll+0xfac3b]
V  [jvm.dll+0x18c391]
V  [jvm.dll+0xfacbd]
V  [jvm.dll+0x95776]
V  [jvm.dll+0x9c6e8]
C  [swt-win32-3738.dll+0x1227]  Java_org_eclipse_swt_internal_Callback_reset+0x1a0
C  0x007604d5
C  [USER32.dll+0x7a1a]  GetUserObjectInformationA+0x862
C  [USER32.dll+0xe1a9]  SystemParametersInfoW+0x10f
C  [USER32.dll+0x1248f]  PtInRect+0xfd
C  [ntdll.dll+0x46fee]  KiUserCallbackDispatcher+0x2e
C  [USER32.dll+0x164a1]  PeekMessageW+0x157
C  [swt-win32-3738.dll+0xc5af]  Java_org_eclipse_swt_internal_win32_OS_PeekMessageW+0x3d
J  org.eclipse.swt.internal.win32.OS.PeekMessageW(Lorg/eclipse/swt/internal/win32/MSG;IIII)Z
J  org.eclipse.swt.widgets.Display.readAndDispatch()Z
j  chrriis.dj.nativeswing.swtimpl.NativeInterface.main([Ljava/lang/String;)V+7
v  ~StubRoutines::call_stub
V  [jvm.dll+0xfac3b]
V  [jvm.dll+0x18c391]
V  [jvm.dll+0xfacbd]
V  [jvm.dll+0x95776]
V  [jvm.dll+0x9d5b3]
C  [java.exe+0x2155]
C  [java.exe+0x85b4]
C  [kernel32.dll+0x4ed6c]  BaseThreadInitThunk+0x12
C  [ntdll.dll+0x637f5]  RtlInitializeExceptionChain+0xef
C  [ntdll.dll+0x637c8]  RtlInitializeExceptionChain+0xc2

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.eclipse.swt.internal.ole.win32.COM.VtblCall(IILorg/eclipse/swt/internal/win32/MSG;)I+0
j  org.eclipse.swt.internal.ole.win32.IOleInPlaceActiveObject.TranslateAccelerator(Lorg/eclipse/swt/internal/win32/MSG;)I+6
J  org.eclipse.swt.ole.win32.OleFrame.getMsgProc(III)I
v  ~StubRoutines::call_stub
J  org.eclipse.swt.internal.win32.OS.PeekMessageW(Lorg/eclipse/swt/internal/win32/MSG;IIII)Z
J  org.eclipse.swt.widgets.Display.readAndDispatch()Z
J  chrriis.dj.nativeswing.swtimpl.core.SWTNativeInterface$OutProcess.runNativeSide([Ljava/lang/String;)V
j  chrriis.dj.nativeswing.swtimpl.core.SWTNativeInterface.main_([Ljava/lang/String;)V+1
j  chrriis.dj.nativeswing.swtimpl.NativeInterface.main([Ljava/lang/String;)V+7
v  ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
  0x18026400 JavaThread "Registry cleanup thread-0" daemon [_thread_blocked, id=1928, stack(0x18af0000,0x18b40000)]
  0x01b57000 JavaThread "NativeSwing[1] SWT Receiver" daemon [_thread_in_native, id=3440, stack(0x18380000,0x183d0000)]
  0x01b37c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2000, stack(0x17e50000,0x17ea0000)]
  0x01b2bc00 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=2644, stack(0x17e00000,0x17e50000)]
  0x01b28800 JavaThread "Attach Listener" daemon [_thread_blocked, id=664, stack(0x17db0000,0x17e00000)]
  0x01b25c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2756, stack(0x17d60000,0x17db0000)]
  0x01afd800 JavaThread "Finalizer" daemon [_thread_blocked, id=3376, stack(0x17d10000,0x17d60000)]
  0x01af8c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=812, stack(0x17cc0000,0x17d10000)]
=>0x00789c00 JavaThread "main" [_thread_in_native, id=2004, stack(0x00540000,0x00590000)]

Other Threads:
  0x01af4c00 VMThread [stack: 0x17c70000,0x17cc0000] [id=2692]
  0x01b49400 WatcherThread [stack: 0x17ea0000,0x17ef0000] [id=3760]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 4928K, used 2647K [0x03b60000, 0x040b0000, 0x090b0000)
  eden space 4416K,  56% used [0x03b60000, 0x03dcf9e8, 0x03fb0000)
  from space 512K,  29% used [0x03fb0000, 0x03fd6600, 0x04030000)
  to   space 512K,   0% used [0x04030000, 0x04030000, 0x040b0000)
 tenured generation   total 10944K, used 312K [0x090b0000, 0x09b60000, 0x13b60000)
   the space 10944K,   2% used [0x090b0000, 0x090fe2f0, 0x090fe400, 0x09b60000)
 compacting perm gen  total 12288K, used 5472K [0x13b60000, 0x14760000, 0x17b60000)
   the space 12288K,  44% used [0x13b60000, 0x140b83d0, 0x140b8400, 0x14760000)
No shared spaces configured.

Code Cache  [0x01b60000, 0x01c68000, 0x03b60000)
 total_blobs=449 nmethods=286 adapters=99 free_code_cache=32482112 largest_free_block=0

Dynamic libraries:
0x00400000 - 0x00424000 	C:\Program Files\Java\jre6\bin\java.exe
0x77970000 - 0x77aac000 	C:\Windows\SYSTEM32\ntdll.dll
0x77510000 - 0x775e4000 	C:\Windows\system32\kernel32.dll
0x75b40000 - 0x75b8a000 	C:\Windows\system32\KERNELBASE.dll
0x772c0000 - 0x77360000 	C:\Windows\system32\ADVAPI32.dll
0x75dc0000 - 0x75e6c000 	C:\Windows\system32\msvcrt.dll
0x76f50000 - 0x76f69000 	C:\Windows\SYSTEM32\sechost.dll
0x778c0000 - 0x77961000 	C:\Windows\system32\RPCRT4.dll
0x7c340000 - 0x7c396000 	C:\Program Files\Java\jre6\bin\msvcr71.dll
0x6d7f0000 - 0x6da9f000 	C:\Program Files\Java\jre6\bin\client\jvm.dll
0x77370000 - 0x77439000 	C:\Windows\system32\USER32.dll
0x77ac0000 - 0x77b0e000 	C:\Windows\system32\GDI32.dll
0x77440000 - 0x7744a000 	C:\Windows\system32\LPK.dll
0x775f0000 - 0x7768d000 	C:\Windows\system32\USP10.dll
0x73f60000 - 0x73f92000 	C:\Windows\system32\WINMM.dll
0x760f0000 - 0x7610f000 	C:\Windows\system32\IMM32.DLL
0x76020000 - 0x760ec000 	C:\Windows\system32\MSCTF.dll
0x759f0000 - 0x75a3c000 	C:\Windows\system32\apphelp.dll
0x77450000 - 0x774a7000 	C:\Windows\system32\SHLWAPI.dll
0x6d7a0000 - 0x6d7ac000 	C:\Program Files\Java\jre6\bin\verify.dll
0x6d320000 - 0x6d33f000 	C:\Program Files\Java\jre6\bin\java.dll
0x6d7e0000 - 0x6d7ef000 	C:\Program Files\Java\jre6\bin\zip.dll
0x6d600000 - 0x6d613000 	C:\Program Files\Java\jre6\bin\net.dll
0x75fb0000 - 0x75fe5000 	C:\Windows\system32\WS2_32.dll
0x77360000 - 0x77366000 	C:\Windows\system32\NSI.dll
0x75530000 - 0x7556c000 	C:\Windows\system32\mswsock.dll
0x75520000 - 0x75526000 	C:\Windows\System32\wship6.dll
0x75000000 - 0x75005000 	C:\Windows\System32\wshtcpip.dll
0x181a0000 - 0x1820e000 	C:\Users\sergutko_i\.swt\lib\win32\x86\swt-win32-3738.dll
0x76df0000 - 0x76f4c000 	C:\Windows\system32\ole32.dll
0x77690000 - 0x7771f000 	C:\Windows\system32\OLEAUT32.dll
0x76110000 - 0x7618b000 	C:\Windows\system32\comdlg32.dll
0x747d0000 - 0x7496e000 	C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\COMCTL32.dll
0x76190000 - 0x76dda000 	C:\Windows\system32\SHELL32.dll
0x73ec0000 - 0x73f11000 	C:\Windows\system32\WINSPOOL.DRV
0x76f70000 - 0x77065000 	C:\Windows\system32\WININET.dll
0x75e70000 - 0x75fa7000 	C:\Windows\system32\urlmon.dll
0x75c80000 - 0x75d9d000 	C:\Windows\system32\CRYPT32.dll
0x75b30000 - 0x75b3c000 	C:\Windows\system32\MSASN1.dll
0x77070000 - 0x7726e000 	C:\Windows\system32\iertutil.dll
0x75a40000 - 0x75a4c000 	C:\Windows\system32\CRYPTBASE.dll
0x74980000 - 0x74a75000 	C:\Windows\system32\propsys.dll
0x77b10000 - 0x77b93000 	C:\Windows\system32\CLBCatQ.DLL
0x74770000 - 0x747b0000 	C:\Windows\system32\uxtheme.dll
0x69660000 - 0x696ec000 	C:\Windows\system32\UIAutomationCore.dll
0x76de0000 - 0x76de5000 	C:\Windows\system32\PSAPI.DLL
0x74040000 - 0x7407c000 	C:\Windows\system32\OLEACC.dll
0x6d000000 - 0x6d14c000 	C:\Program Files\Java\jre6\bin\awt.dll
0x681f0000 - 0x68c70000 	C:\Windows\System32\ieframe.dll
0x75570000 - 0x75586000 	C:\Windows\system32\CRYPTSP.dll
0x75310000 - 0x7534b000 	C:\Windows\system32\rsaenh.dll
0x75a60000 - 0x75abf000 	C:\Windows\system32\SXS.DLL
0x75a50000 - 0x75a5e000 	C:\Windows\system32\RpcRtRemote.dll
0x6c2e0000 - 0x6c89a000 	C:\Windows\System32\mshtml.dll
0x6b260000 - 0x6b28a000 	C:\Windows\System32\msls31.dll
0x74f70000 - 0x74f79000 	C:\Windows\System32\VERSION.dll
0x74c70000 - 0x74c91000 	C:\Windows\system32\ntmarta.dll
0x77270000 - 0x772b5000 	C:\Windows\system32\WLDAP32.dll
0x759d0000 - 0x759eb000 	C:\Windows\system32\SspiCli.dll
0x75ac0000 - 0x75acb000 	C:\Windows\system32\profapi.dll
0x68fd0000 - 0x68ffe000 	C:\Windows\system32\mlang.dll
0x74310000 - 0x7431b000 	C:\Windows\system32\msimtf.dll
0x19520000 - 0x195d2000 	C:\Windows\System32\jscript.dll
0x74a80000 - 0x74ab9000 	C:\Windows\system32\MMDevAPI.DLL
0x73f30000 - 0x73f60000 	C:\Windows\system32\wdmaud.drv
0x73f20000 - 0x73f24000 	C:\Windows\system32\ksuser.dll
0x74970000 - 0x74977000 	C:\Windows\system32\AVRT.dll
0x77720000 - 0x778bd000 	C:\Windows\system32\SETUPAPI.dll
0x75c20000 - 0x75c47000 	C:\Windows\system32\CFGMGR32.dll
0x75da0000 - 0x75db2000 	C:\Windows\system32\DEVOBJ.dll
0x73e00000 - 0x73e36000 	C:\Windows\system32\AUDIOSES.DLL
0x753f0000 - 0x75434000 	C:\Windows\system32\dnsapi.DLL
0x739b0000 - 0x739cc000 	C:\Windows\system32\iphlpapi.DLL
0x739a0000 - 0x739a7000 	C:\Windows\system32\WINNSI.DLL
0x740b0000 - 0x74102000 	C:\Windows\system32\RASAPI32.dll
0x74090000 - 0x740a5000 	C:\Windows\system32\rasman.dll
0x74080000 - 0x7408d000 	C:\Windows\system32\rtutils.dll
0x71b90000 - 0x71b96000 	C:\Windows\system32\sensapi.dll
0x73cc0000 - 0x73cd0000 	C:\Windows\system32\NLAapi.dll
0x71580000 - 0x71586000 	C:\Windows\system32\rasadhlp.dll
0x74220000 - 0x7422f000 	C:\Windows\system32\wkscli.dll
0x75300000 - 0x75309000 	C:\Windows\system32\netutils.dll
0x77ab0000 - 0x77ab3000 	C:\Windows\system32\Normaliz.dll
0x73c20000 - 0x73c28000 	C:\Windows\system32\msacm32.drv
0x73c00000 - 0x73c14000 	C:\Windows\system32\MSACM32.dll
0x715e0000 - 0x71607000 	C:\Program Files\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL
0x73bf0000 - 0x73bf7000 	C:\Windows\system32\midimap.dll
0x73810000 - 0x73848000 	C:\Windows\System32\fwpuclnt.dll
0x6ea30000 - 0x6ea5b000 	C:\Program Files\Internet Explorer\ieproxy.dll
0x750d0000 - 0x750e7000 	C:\Windows\system32\USERENV.dll
0x75c50000 - 0x75c7d000 	C:\Windows\system32\wintrust.dll
0x75380000 - 0x753ba000 	C:\Windows\system32\schannel.DLL
0x751d0000 - 0x751d8000 	C:\Windows\system32\credssp.dll
0x758a0000 - 0x758a8000 	C:\Windows\system32\secur32.dll
0x756a0000 - 0x756d8000 	C:\Windows\system32\ncrypt.dll
0x75680000 - 0x75697000 	C:\Windows\system32\bcrypt.dll
0x75210000 - 0x7524d000 	C:\Windows\system32\bcryptprimitives.dll
0x750b0000 - 0x750c6000 	C:\Windows\system32\GPAPI.dll
0x6e8f0000 - 0x6e90c000 	C:\Windows\system32\cryptnet.dll

VM Arguments:
jvm_args: -Xbootclasspath/a:C:\Program Files\Java\jre6\lib\deploy.jar;C:\Program Files\Java\jre6\lib\plugin.jar;C:\Program Files\Java\jre6\lib\javaws.jar -Dnativeswing.localhostAddress=127.0.0.1 -Djava.library.path=C:\Windows\system32;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Windows Live\Shared;. 
java_command: chrriis.dj.nativeswing.swtimpl.NativeInterface 1 49759
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Windows Live\Shared
USERNAME=sergutko_i
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 42 Stepping 7, GenuineIntel



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

OS: Windows 7 Build 7601 Service Pack 1

CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 42 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht

Memory: 4k page, physical 3056884k(1989956k free), swap 6113768k(5069052k free)

vm_info: Java HotSpot(TM) Client VM (20.4-b02) for windows-x86 JRE (1.6.0_29-b11), built on Oct  3 2011 01:01:08 by "java_re" with MS VC++ 7.1 (VS2003)

time: Sun Feb 05 18:27:44 2012
elapsed time: 2430 seconds
===

Reproducible: Couldn't Reproduce
Comment 1 Johannes Michler CLA 2012-03-14 17:05:24 EDT
We have this problem as well: our Eclipse-3.7.2 based RCP-Application is failing from time to time. We have this problem especially when running the app (that shows an IE-Window) on win server 2008 R2 SP1 with IE9 that runs as a terminal server.

It is reproducible there in 2 of 3 runs I guess.

Any ideas on howto narrow this further down?
Comment 2 Johannes Michler CLA 2012-03-14 17:14:48 EDT
This is what the error dialog shows:

Problemsignatur:
  Problemereignisname:	BEX
  Anwendungsname:	horus.exe
  Anwendungsversion:	0.0.0.0
  Anwendungszeitstempel:	4d87abff
  Fehlermodulname:	jscript9.dll
  Fehlermodulversion:	9.0.8112.16440
  Fehlermodulzeitstempel:	4eb31a04
  Ausnahmeoffset:	00001a7f
  Ausnahmecode:	c0000005
  Ausnahmedaten:	00000008
  Betriebsystemversion:	6.1.7601.2.1.0.18.10
  Gebietsschema-ID:	1031
  Zusatzinformation 1:	0a9e
  Zusatzinformation 2:	0a9e372d3b4ad19135b953a78882e789
  Zusatzinformation 3:	0a9e
  Zusatzinformation 4:	0a9e372d3b4ad19135b953a78882e789
Comment 3 Martin Sawicki CLA 2012-04-20 13:33:00 EDT
We've attempted to investigate this as a potential IE bug, but the lack of repro steps prevented us from making much progress. If someones comes up with a repro, I'd like to look at this again.

Martin Sawicki
Principal Program Manager
Microsoft Open Technologies, Inc. 
A subsidiary of Microsoft Corporation
Comment 4 Johannes Michler CLA 2012-04-23 08:51:03 EDT
Dear Martin,

thanks for your interest in this. Unfortunately we couldn't reproduce this on a second machine. (Initially since we only have one windows server 2008 R2 Terminal server.

But on this machine it is absolutely reproducible. The problem occurs on appx. 8 out of 10 starts of our product. I could propose the following steps:
1. you could simply test our RCP-App on a win2008-r2-terminal-server (german one if this is interesting, with latest SP on the server). The JDK is bundled with the app. You can download the app (freeware) at http://www.horus.biz/en/horus-iinsidei/performance-range/horus-endeavor/download.html

2. if you cannot reproduce this on your machine with the given app, we can of cause start some type of desktop-sharing-session where I could show you the issue. If necessary I could of cause also provide more details on the machine/OS; just tell me what you need.


Regards,
Johannes
Comment 5 Nobody - feel free to take it CLA 2012-04-29 22:29:11 EDT
Created attachment 214782 [details]
Locally stored test file for IE9 SWT browser crash.

1) Edit the iframe URL in this file to reflect the location of where you store the remote test file (CrashTestRemoteFile.html).
2) Load this file locally from an IE9 SWT browser instance, eg. file:///c|/Test/CrashTestLocalFile.html
3) Close the browser, which should then produce a fatal exception.
Comment 6 Nobody - feel free to take it CLA 2012-04-29 22:31:18 EDT
Created attachment 214783 [details]
Remote file for IE9 SWT browser crash test.

Store this file remotely, anywhere as long as it's not on the same server as the local file.
Comment 7 Nobody - feel free to take it CLA 2012-04-29 22:51:27 EDT
Explanation of the above two attachments:

Here is a test case that for me always produces a fatal exception on an IE9 SWT browser instance.

The basic gist of it is that the Javascript execution of window.top.location from an embedded iframe - from a different URL than the parent - produces a permission denied error, as it normally would, but this also seems to send the embedded IE9 browser into an unstable state. Once that particular browser instance is closed, the entire Java app bombs out with an exception in jscript9.dll. I'm also aware of cases where the app will produce the fatal error as soon as the page is loaded.

For this test case I've been using the bare bones SWT browser snippet outlined at http://git.eclipse.org/c/platform/eclipse.platform.swt.git/tree/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet128.java .

Environment: Windows 7 64-bit, IE9.0.8112.16421
Java: Both Sun JDK 1.6.0_25 64-bit and 1.7.0_01 32-bit
SWT: 3.7.2 32 and 64-bit, 3.7.1 32 and 64-bit, 3.6.1 32-bit

Please let me know if more info is needed.

Hopefully this can help track down the issue.

Regards,

Russ
Comment 8 Nobody - feel free to take it CLA 2012-04-30 21:49:05 EDT
Created attachment 214850 [details]
WinDbg call stack

For the Microsoft folks investigating the problem, here's WinDbg's stack trace at the time of the crash, using the most recent test case above.

Using JDK 1.6.0_25 64-bit and SWT 3.7.2 64-bit for this run, but the stack trace always seems to be the same regardless, including for other web pages which also cause the browser to crash.

Hope this helps, please let me know if you'd like any more info from my end.

Regards,

Russ
Comment 9 Martin Sawicki CLA 2012-05-01 02:16:38 EDT
Russ, thanks for the extra info, very valuable, but this now tells me what you're seeing is bug 354640, not this one. 
Still looking at Johannes' repro, since that callstack looks a bit different.
Comment 10 Eclipse Genie CLA 2020-02-02 10:22:27 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. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. 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.

--
The automated Eclipse Genie.