Bug 175856 - jvm crash SWT browser javascript error IE dialog
Summary: jvm crash SWT browser javascript error IE dialog
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.2.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Grant Gayed CLA
QA Contact:
URL: http://leirtech.com
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-28 11:42 EST by Rick Leir CLA
Modified: 2019-09-06 16:10 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Leir CLA 2007-02-28 11:42:29 EST
The jvm crashed when SWT had a Browser widget up displaying a page which contained a javascript bug.  IE had a dialog up asking whether I wanted to debug, and my app called shell.dispose().  The widgets stayed up, and when clicking 'NO' the crash happened.

Hope this is not too cryptic! By the way, I am having a blast with SWT.
cheers -- Rick

#
# An unexpected error has been detected by Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7ea63a7c, pid=4024, tid=180
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0-b105 mixed mode)
# Problematic frame:
# C  [mshtml.dll+0x233a7c]
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#

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

Current thread (0x00386400):  JavaThread "main" [_thread_in_native, id=180]

siginfo: ExceptionCode=0xc0000005, reading address 0x0031002e

Registers:
EAX=0x0031002e, EBX=0x00000000, ECX=0x00000000, EDX=0x000a44d0
ESP=0x003eef18, EBP=0x003eef30, ESI=0x00000000, EDI=0x0d6e1860
EIP=0x7ea63a7c, EFLAGS=0x00010206

Top of Stack: (sp=0x003eef18)
0x003eef18:   0d5c8bc0 0eba3588 00000000 00000000
0x003eef28:   00000000 00000000 003eef94 7e9d7cc9
0x003eef38:   00000011 00000003 0d761f70 00000000
0x003eef48:   003ef030 0ea32d6c 00000000 0ea639e4
0x003eef58:   0e985844 00000000 00000000 00000000
0x003eef68:   00000000 800a03ea 00000003 00000012
0x003eef78:   0cd80b20 00000000 0d6e1860 00000000
0x003eef88:   003eefb8 0eba3588 0d750000 003eefa4 

Instructions: (pc=0x7ea63a7c)
0x7ea63a6c:   f3 75 62 39 5d 08 75 05 39 5d 0c 74 2d 8b 47 24
0x7ea63a7c:   8b 08 8d 55 fc 52 68 ec 3a a6 7e 50 ff 11 8b f0 


Stack: [0x003a0000,0x003f0000),  sp=0x003eef18,  free space=315k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [mshtml.dll+0x233a7c]
C  [mshtml.dll+0x1a7cc9]
C  [jscript.dll+0x2f8c4]
C  [jscript.dll+0x27ee2]
C  [jscript.dll+0xfab8]
C  [jscript.dll+0xf91e]
C  [mshtml.dll+0x528bd]
C  [mshtml.dll+0x526d7]
C  [mshtml.dll+0x524f7]
C  [mshtml.dll+0x47f53]
C  [mshtml.dll+0x3b24a]
C  [mshtml.dll+0x3b408]
C  [mshtml.dll+0x3bad9]
C  [mshtml.dll+0x3ba5a]
C  [mshtml.dll+0x4d13a]
C  [mshtml.dll+0xb1492]
C  [USER32.dll+0x8734]
C  [USER32.dll+0x8816]
C  [USER32.dll+0x89cd]
C  [USER32.dll+0x8a10]
C  [swt-win32-3235.dll+0x2233]
J  org.eclipse.swt.internal.win32.OS.DispatchMessageW(Lorg/eclipse/swt/internal/win32/MSG;)I
J  org.eclipse.swt.widgets.Display.readAndDispatch()Z
J  org.eclipse.ui.internal.Workbench.runEventLoop(Lorg/eclipse/jface/window/Window$IExceptionHandler;Lorg/eclipse/swt/widgets/Display;)V
j  org.eclipse.ui.internal.Workbench.runUI()I+225
j  org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+11
j  org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+2
j  com.leirtech.PositiveFeedback.Application.run(Ljava/lang/Object;)Ljava/lang/Object;+64
j  org.eclipse.core.internal.runtime.PlatformActivator$1.run(Ljava/lang/Object;)Ljava/lang/Object;+219
j  org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;+103
j  org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;+29
j  org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+135
j  org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+60
v  ~StubRoutines::call_stub

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J  org.eclipse.swt.internal.win32.OS.DispatchMessageW(Lorg/eclipse/swt/internal/win32/MSG;)I
J  org.eclipse.swt.widgets.Display.readAndDispatch()Z
J  org.eclipse.ui.internal.Workbench.runEventLoop(Lorg/eclipse/jface/window/Window$IExceptionHandler;Lorg/eclipse/swt/widgets/Display;)V
j  org.eclipse.ui.internal.Workbench.runUI()I+225
j  org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+11
j  org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+2
j  com.leirtech.PositiveFeedback.Application.run(Ljava/lang/Object;)Ljava/lang/Object;+64
j  org.eclipse.core.internal.runtime.PlatformActivator$1.run(Ljava/lang/Object;)Ljava/lang/Object;+219
j  org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;+103
j  org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;+29
j  org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+135
j  org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+60
v  ~StubRoutines::call_stub
j  sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j  sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j  sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j  java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161
j  org.eclipse.core.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+181
j  org.eclipse.core.launcher.Main.basicRun([Ljava/lang/String;)V+107
j  org.eclipse.core.launcher.Main.run([Ljava/lang/String;)I+4
j  org.eclipse.core.launcher.Main.main([Ljava/lang/String;)V+10
v  ~StubRoutines::call_stub

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

Java Threads: ( => current thread )
  0x0aacdc00 JavaThread "pool-1-thread-21" [_thread_blocked, id=2736]
  0x0b2dc400 JavaThread "Worker-0" [_thread_blocked, id=2688]
  0x0b23d000 JavaThread "RabbIT proxy version 3.8.0" [_thread_in_native, id=3648]
  0x0b217400 JavaThread "rabbit.cache.NCache.cleaner" daemon [_thread_blocked, id=3292]
  0x0b218400 JavaThread "Timer-1" [_thread_blocked, id=2388]
  0x0b1bc400 JavaThread "Timer-0" [_thread_blocked, id=1876]
  0x0af1cc00 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=4016]
  0x0b10f400 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=1820]
  0x0b0fe400 JavaThread "State Data Manager" daemon [_thread_blocked, id=3200]
  0x0aaa4000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3060]
  0x0aaa2400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2148]
  0x0aa95400 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=2644]
  0x0aa94000 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=2220]
  0x0aa91c00 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_blocked, id=2648]
  0x0aa87000 JavaThread "Attach Listener" daemon [_thread_blocked, id=168]
  0x0aa86400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2192]
  0x0aa76c00 JavaThread "Finalizer" daemon [_thread_blocked, id=3048]
  0x0aa72800 JavaThread "Reference Handler" daemon [_thread_blocked, id=456]
=>0x00386400 JavaThread "main" [_thread_in_native, id=180]

Other Threads:
  0x0aa6f800 VMThread [id=2216]
  0x0aaa5800 WatcherThread [id=2636]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 960K, used 304K [0x02960000, 0x02a60000, 0x02e40000)
  eden space 896K,  33% used [0x02960000, 0x029aacd8, 0x02a40000)
  from space 64K,   8% used [0x02a50000, 0x02a51590, 0x02a60000)
  to   space 64K,   0% used [0x02a40000, 0x02a40000, 0x02a50000)
 tenured generation   total 4096K, used 2639K [0x02e40000, 0x03240000, 0x06960000)
   the space 4096K,  64% used [0x02e40000, 0x030d3e60, 0x030d4000, 0x03240000)
 compacting perm gen  total 15616K, used 15606K [0x06960000, 0x078a0000, 0x0a960000)
   the space 15616K,  99% used [0x06960000, 0x0789db90, 0x0789dc00, 0x078a0000)
No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x00423000 	C:\Program Files\Java\jdk1.6.0\jre\bin\javaw.exe
0x7c900000 - 0x7c9b0000 	C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f4000 	C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000 	C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f01000 	C:\WINDOWS\system32\RPCRT4.dll
0x77d40000 - 0x77dd0000 	C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f57000 	C:\WINDOWS\system32\GDI32.dll
0x76390000 - 0x763ad000 	C:\WINDOWS\system32\IMM32.DLL
0x7c340000 - 0x7c396000 	C:\Program Files\Java\jdk1.6.0\jre\bin\msvcr71.dll
0x6d7c0000 - 0x6da07000 	C:\Program Files\Java\jdk1.6.0\jre\bin\client\jvm.dll
0x76b40000 - 0x76b6d000 	C:\WINDOWS\system32\WINMM.dll
0x6d310000 - 0x6d318000 	C:\Program Files\Java\jdk1.6.0\jre\bin\hpi.dll
0x76bf0000 - 0x76bfb000 	C:\WINDOWS\system32\PSAPI.DLL
0x6d400000 - 0x6d429000 	C:\Program Files\Java\jdk1.6.0\jre\bin\jdwp.dll
0x6d6c0000 - 0x6d6c6000 	C:\Program Files\Java\jdk1.6.0\jre\bin\npt.dll
0x6d770000 - 0x6d77c000 	C:\Program Files\Java\jdk1.6.0\jre\bin\verify.dll
0x6d3b0000 - 0x6d3cf000 	C:\Program Files\Java\jdk1.6.0\jre\bin\java.dll
0x6d7b0000 - 0x6d7bf000 	C:\Program Files\Java\jdk1.6.0\jre\bin\zip.dll
0x6d280000 - 0x6d287000 	C:\Program Files\Java\jdk1.6.0\jre\bin\dt_socket.dll
0x71ab0000 - 0x71ac7000 	C:\WINDOWS\system32\WS2_32.dll
0x77c10000 - 0x77c68000 	C:\WINDOWS\system32\msvcrt.dll
0x71aa0000 - 0x71aa8000 	C:\WINDOWS\system32\WS2HELP.dll
0x71a50000 - 0x71a8f000 	C:\WINDOWS\System32\mswsock.dll
0x76f20000 - 0x76f47000 	C:\WINDOWS\system32\DNSAPI.dll
0x76fb0000 - 0x76fb8000 	C:\WINDOWS\System32\winrnr.dll
0x76f60000 - 0x76f8c000 	C:\WINDOWS\system32\WLDAP32.dll
0x76fc0000 - 0x76fc6000 	C:\WINDOWS\system32\rasadhlp.dll
0x662b0000 - 0x66308000 	C:\WINDOWS\system32\hnetcfg.dll
0x71a90000 - 0x71a98000 	C:\WINDOWS\System32\wshtcpip.dll
0x6d570000 - 0x6d583000 	C:\Program Files\Java\jdk1.6.0\jre\bin\net.dll
0x6d590000 - 0x6d599000 	C:\Program Files\Java\jdk1.6.0\jre\bin\nio.dll
0x10000000 - 0x10052000 	C:\cygwin\home\rleir\eclipse_workspace\.metadata\.plugins\org.eclipse.pde.core\posfeed.product\org.eclipse.osgi\bundles\17\1\.cp\swt-win32-3235.dll
0x774e0000 - 0x7761d000 	C:\WINDOWS\system32\ole32.dll
0x773d0000 - 0x774d3000 	C:\WINDOWS\WinSxS\X86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\COMCTL32.dll
0x77f60000 - 0x77fd6000 	C:\WINDOWS\system32\SHLWAPI.dll
0x763b0000 - 0x763f9000 	C:\WINDOWS\system32\comdlg32.dll
0x7c9c0000 - 0x7d1d5000 	C:\WINDOWS\system32\SHELL32.dll
0x77120000 - 0x771ac000 	C:\WINDOWS\system32\OLEAUT32.dll
0x74d90000 - 0x74dfb000 	C:\WINDOWS\system32\USP10.dll
0x771b0000 - 0x7727f000 	C:\WINDOWS\system32\WININET.dll
0x0b640000 - 0x0b649000 	C:\WINDOWS\system32\Normaliz.dll
0x6e850000 - 0x6e895000 	C:\WINDOWS\system32\iertutil.dll
0x75a70000 - 0x75a91000 	C:\WINDOWS\system32\MSVFW32.dll
0x5d090000 - 0x5d12a000 	C:\WINDOWS\system32\comctl32.dll
0x5ad70000 - 0x5ada8000 	C:\WINDOWS\system32\uxtheme.dll
0x74720000 - 0x7476b000 	C:\WINDOWS\system32\MSCTF.dll
0x755c0000 - 0x755ee000 	C:\WINDOWS\system32\msctfime.ime
0x0ffd0000 - 0x0fff8000 	C:\WINDOWS\system32\rsaenh.dll
0x769c0000 - 0x76a73000 	C:\WINDOWS\system32\USERENV.dll
0x5b860000 - 0x5b8b4000 	C:\WINDOWS\system32\netapi32.dll
0x76fd0000 - 0x7704f000 	C:\WINDOWS\system32\CLBCATQ.DLL
0x77050000 - 0x77115000 	C:\WINDOWS\system32\COMRes.dll
0x77c00000 - 0x77c08000 	C:\WINDOWS\system32\VERSION.dll
0x7e1e0000 - 0x7e7aa000 	C:\WINDOWS\system32\ieframe.dll
0x77fe0000 - 0x77ff1000 	C:\WINDOWS\system32\Secur32.dll
0x77b40000 - 0x77b62000 	C:\WINDOWS\system32\apphelp.dll
0x75e90000 - 0x75f40000 	C:\WINDOWS\system32\SXS.DLL
0x20000000 - 0x202c5000 	C:\WINDOWS\system32\xpsp2res.dll
0x0c350000 - 0x0c616000 	C:\WINDOWS\system32\msi.dll
0x61410000 - 0x61534000 	C:\WINDOWS\system32\urlmon.dll
0x76ee0000 - 0x76f1c000 	C:\WINDOWS\system32\RASAPI32.dll
0x76e90000 - 0x76ea2000 	C:\WINDOWS\system32\rasman.dll
0x76eb0000 - 0x76edf000 	C:\WINDOWS\system32\TAPI32.dll
0x76e80000 - 0x76e8e000 	C:\WINDOWS\system32\rtutils.dll
0x77c70000 - 0x77c93000 	C:\WINDOWS\system32\msv1_0.dll
0x76d60000 - 0x76d79000 	C:\WINDOWS\system32\iphlpapi.dll
0x722b0000 - 0x722b5000 	C:\WINDOWS\system32\sensapi.dll
0x74c80000 - 0x74cac000 	C:\WINDOWS\system32\oleacc.dll
0x76080000 - 0x760e5000 	C:\WINDOWS\system32\MSVCP60.dll
0x76380000 - 0x76385000 	C:\WINDOWS\system32\msimg32.dll
0x7e830000 - 0x7eb9f000 	C:\WINDOWS\system32\mshtml.dll
0x746c0000 - 0x746e9000 	C:\WINDOWS\system32\msls31.dll
0x75cf0000 - 0x75d81000 	C:\WINDOWS\system32\MLANG.dll
0x54a20000 - 0x54a5f000 	C:\Program Files\Common Files\Microsoft Shared\VS7Debug\pdm.dll
0x547f0000 - 0x54831000 	C:\Program Files\Common Files\Microsoft Shared\VS7Debug\msdbg2.dll
0x605d0000 - 0x605d9000 	C:\WINDOWS\system32\mslbui.dll
0x746f0000 - 0x7471a000 	C:\WINDOWS\system32\msimtf.dll
0x77920000 - 0x77a13000 	C:\WINDOWS\system32\SETUPAPI.dll
0x63380000 - 0x633f8000 	C:\WINDOWS\system32\jscript.dll
0x1b000000 - 0x1b00c000 	C:\WINDOWS\system32\ImgUtil.dll
0x1b060000 - 0x1b06e000 	C:\WINDOWS\system32\pngfilt.dll
0x58760000 - 0x58792000 	C:\WINDOWS\system32\iepeers.dll
0x73000000 - 0x73026000 	C:\WINDOWS\system32\WINSPOOL.DRV
0x77a80000 - 0x77b14000 	C:\WINDOWS\system32\CRYPT32.dll
0x77b20000 - 0x77b32000 	C:\WINDOWS\system32\MSASN1.dll
0x76c30000 - 0x76c5e000 	C:\WINDOWS\system32\WINTRUST.dll
0x76c90000 - 0x76cb8000 	C:\WINDOWS\system32\IMAGEHLP.dll
0x72d20000 - 0x72d29000 	C:\WINDOWS\system32\wdmaud.drv
0x72d10000 - 0x72d18000 	C:\WINDOWS\system32\msacm32.drv
0x77be0000 - 0x77bf5000 	C:\WINDOWS\system32\MSACM32.dll
0x77bd0000 - 0x77bd7000 	C:\WINDOWS\system32\midimap.dll
0x767f0000 - 0x76817000 	C:\WINDOWS\system32\schannel.dll
0x68100000 - 0x68124000 	C:\WINDOWS\system32\dssenh.dll
0x30000000 - 0x302ee000 	C:\WINDOWS\system32\Macromed\Flash\Flash9b.ocx
0x71ad0000 - 0x71ad9000 	C:\WINDOWS\system32\WSOCK32.dll
0x74980000 - 0x74a8e000 	C:\WINDOWS\system32\msxml3.dll
0x76200000 - 0x76277000 	C:\WINDOWS\system32\mshtmled.dll
0x53000000 - 0x5304e000 	C:\PROGRA~1\COMMON~1\Adobe\SVGVIE~1.0\NPSVG3.dll
0x5edd0000 - 0x5ede7000 	C:\WINDOWS\system32\OLEPRO32.DLL
0x531f0000 - 0x533de000 	C:\Program Files\Common Files\Adobe\SVG Viewer 3.0\SVGCore.dll
0x11a20000 - 0x11b28000 	C:\Program Files\Common Files\Adobe\SVG Viewer 3.0\SVG3AGM.dll
0x11b30000 - 0x11b5d000 	C:\Program Files\Common Files\Adobe\SVG Viewer 3.0\SVG3BIB.dll
0x11bb0000 - 0x11ca1000 	C:\Program Files\Common Files\Adobe\SVG Viewer 3.0\SVG3CT.dll
0x11b60000 - 0x11b6c000 	C:\Program Files\Common Files\Adobe\SVG Viewer 3.0\SVG3ACE.dll
0x73c20000 - 0x73c2b000 	C:\WINDOWS\system32\ATMLIB.dll
0x6a030000 - 0x6a033000 	C:\Program Files\Common Files\Adobe\SVG Viewer 3.0\SVGrsrc.dll

VM Arguments:
jvm_args: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:2078
java_command: org.eclipse.core.launcher.Main -launcher C:\cygwin\usr\local\eclipse-SDK-3.2.1-win32\eclipse\eclipse -name Eclipse -showsplash 600 -product com.leirtech.PositiveFeedback.product -data C:\cygwin\home\rleir\eclipse_workspace/../runtime-posfeed.product -configuration file:C:/cygwin/home/rleir/eclipse_workspace/.metadata/.plugins/org.eclipse.pde.core/posfeed.product/ -dev file:C:/cygwin/home/rleir/eclipse_workspace/.metadata/.plugins/org.eclipse.pde.core/posfeed.product/dev.properties -os win32 -ws win32 -arch x86
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\Python22;C:\Program Files\PC-Doctor for Windows\;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;;C:\PROGRA~1\COMMON~1\MUVEET~1\030625
USERNAME=rleir
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 3, GenuineIntel



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

OS: Windows XP Build 2600 Service Pack 2

CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht

Memory: 4k page, physical 1039660k(245528k free), swap 2484824k(1626168k free)

vm_info: Java HotSpot(TM) Client VM (1.6.0-b105) for windows-x86, built on Nov 29 2006 00:48:48 by "java_re" with unknown MS VC++:1310
Comment 1 Grant Gayed CLA 2007-02-28 15:06:20 EST
Can you provide either the page with the javascript error or a link to it to make this easy to reproduce?
Comment 2 Rick Leir CLA 2007-02-28 16:23:08 EST
(In reply to comment #1)
> Can you provide either the page with the javascript error or a link to it to
> make this easy to reproduce?

Hi Grant,
The page is internal.  I suspect any javascript error would be fine,
as long as IE notices it and puts up the dialog.  Here is an excerpt
from the page:
...
<body >
<script>
; = aa=22 aa=2 sss
</script>
...
In IE tools options advanced config you need to select script errors.
My app was expecting the location listener to fire, and when that does 
not occur within a minute it disposes the shell, causing the crash.  I
have changed my app to not do that!
cheers -- Rick
Comment 3 Rick Leir CLA 2007-03-01 14:32:23 EST
import java.util.Timer;
import java.util.TimerTask;

import org.eclipse.swt.SWT;
import org.eclipse.swt.browser.Browser;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;

public class disposecrash {
	static disposecrash dc = new disposecrash();
	static Display display;
	static Shell shell;
	static Browser browser;
	static Timer BWTimer = new Timer();
	static TimerTask tt;

	// fires after a delay
	private class CheckBW extends TimerTask {
		CheckBW() {
		}

		// runs when there is a timeout
		public void run() {
			display.asyncExec(new Runnable() {
				public void run() {
					shell.dispose();
				}
			});
		}
	}

	public static void main(String[] args) {
		display = new Display();
		shell = new Shell(display);
		shell.setLayout(new FillLayout());
		browser = new Browser(shell, SWT.NONE);
		shell.open();
		browser.setText("<html><head> </head>"
						+ "<body >before <script> aa=2 sss</script>after</body></html>");
		tt = dc.new CheckBW();
		BWTimer.schedule(tt, 10 * 1000);

		while (!shell.isDisposed()) {
			if (!display.readAndDispatch())
				display.sleep();
		}
	}
}
Comment 4 Grant Gayed CLA 2007-03-02 15:31:54 EST
The snippet in comment 3 does not crash for me on win2000 or XP (IE 6).  What is your IE version string (launch IE, Help > About Internet Explorer)?
Comment 5 Rick Leir CLA 2007-03-02 16:29:05 EST
> What IE version string (launch IE, Help > About Internet Explorer)?

IE 7.0.5730.11
Reminder: IE tools options advanced config you need to select script errors.

Run the snippet, Expect a dialog from IE, wait 10 seconds, then touch a dialog button.  The workaround, clearly, is to revert to the default config.  Are there other dialogs that IE might put up in the default config?  I will poke at IE.
cheers -- Rick
Comment 6 Rick Leir CLA 2008-01-08 15:29:20 EST
Here is a workaround.
While IE has the dialog up offering to debug a script error, the LocationListener can not fire.  So add a LocationListener to your app's browser instance, and make sure you do not dispose the browser until the LocationListener has fired.
Rick
Comment 7 Eclipse Webmaster CLA 2019-09-06 16:10:55 EDT
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.