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

Bug 350002

Summary: Browser crash when run BrowserFunction with SWT 32bit component on Win7(64bit) system.
Product: [Eclipse Project] Platform Reporter: guoyun <yungyguo>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: major    
Priority: P3 CC: grant_gayed
Version: 4.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Sample java code
none
Java core dump file none

Description guoyun CLA 2011-06-22 02:32:21 EDT
Build Identifier: 3.6.2 GM build

Browser crash when run BrowserFunction with SWT 32bit component on Win7(64bit) system.

Reproducible: Always

Steps to Reproduce:
1. Download the SWT 362 GM(swt-3.6.2-win32-win32-x86.zip) from server.
2. Run the attached sample(which is a simple js-java application) with above SWT binary.
3. Click the "Puch to Invoke Java" button in browser, the application crashed with dump.
Comment 1 guoyun CLA 2011-06-22 02:35:25 EDT
Created attachment 198368 [details]
Sample java code
Comment 2 guoyun CLA 2011-06-22 02:36:02 EDT
Created attachment 198369 [details]
Java core dump file
Comment 3 guoyun CLA 2011-06-22 02:41:03 EDT
The sample code run well on Win7(32bit) system, but always crashed on Win7(64bit). And from the java core dump file, we can see the crash occurred at WebSite.convertToJS() method: arrayTypeDispatch.QueryInterface (COM.IIDIDispatchEx, result) line.
Comment 4 Grant Gayed CLA 2011-06-22 09:55:27 EDT
This is fixed in 3.7.

*** This bug has been marked as a duplicate of bug 343932 ***