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

Bug 344487

Summary: [Browser] WebKit and XULRunner-1.9.2.x crash due to incompatible SQLLite libs
Product: [Eclipse Project] Platform Reporter: Grant Gayed <grant_gayed>
Component: SWTAssignee: Grant Gayed <grant_gayed>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: pwebster, remy.suen
Version: 3.7Flags: Silenio_Quarti: review+
Target Milestone: 3.7 RC1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch
none
revised patch none

Description Grant Gayed CLA 2011-05-02 12:57:37 EDT
- 3.7M7

- install XULRunner 1.9.2.x and Safari on Windows
- run ControlExample, go to the Browser tab
- choose the SWT.WEBKIT checkbox
  -> demo browser changes to WebKit renderer
- choose the SWT.MOZILLA checkbox
  -> a prompter is shown with error message "...your version of SQLLite is too old..."
  -> after pressing OK the app crashes

- only happens if XULRunner version is 1.9.2.x, and only if WebKit is loaded before it (choosing SWT.MOZILLA and then SWT.WEBKIT works fine)
- XULRunner ships its own SQLLite lib, so it is likely getting sad when the one used by WebKit has already been loaded
Comment 1 Grant Gayed CLA 2011-05-02 15:20:09 EDT
Exact same behaviour happens on Linux with some JREs.  Only with XULRunner 1.9.2.x, only if WebKit is loaded first.  No problem on OS X.
Comment 2 Grant Gayed CLA 2011-05-03 16:58:50 EDT
Created attachment 194651 [details]
patch
Comment 3 Grant Gayed CLA 2011-05-11 18:06:55 EDT
Created attachment 195441 [details]
revised patch
Comment 4 Grant Gayed CLA 2011-05-11 18:08:31 EDT
fixed > 20110511