| Summary: | A BrowserFunction returning an array crashes when using IE9 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | ChristophK <kaser> | ||||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||||
| Severity: | major | ||||||||
| Priority: | P3 | CC: | darshan.rajd, grant_gayed, kaser | ||||||
| Version: | 4.0 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
Created attachment 194834 [details]
Test Case
SWT snippet to reproduce the problem
Created attachment 194835 [details]
Error report generated by the jvm
This is fixed in the latest integration build. *** This bug has been marked as a duplicate of bug 343932 *** When will the fixed build be available? |
Build Identifier: 20110301-1815 After upgrading my Internet Explorer to version 9, I can no longer use BrowserFunctions within a SWT Browser that return an Object array. When I do, the jvm crashes with the message: EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000007fef783a2fb, pid=1208, tid=4048 and claims the problematic frame is "jscript9.dll+0xa2fb" I also built a small test case and tried it with the SWT nightly build (swt-N20110503-2000-win32-win32-x86_64), which resulted in the same problem. I used the 64-bit version and the Hotspot JRE 1.6.0_23-b05, if that makes any difference. The crash seems to happen in this line: int rc = arrayTypeDispatch.QueryInterface (COM.IIDIDispatchEx, result); of the method Variant convertToJS (Object value) of the class org.eclipse.swt.browser.WebSite Reproducible: Always Steps to Reproduce: 1. Create a BrowserFunction that returns an Object[]-Array in its execute-method 2. Call the function in html-code within a swt browser 3. watch it crash