Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344487 - [Browser] WebKit and XULRunner-1.9.2.x crash due to incompatible SQLLite libs
Summary: [Browser] WebKit and XULRunner-1.9.2.x crash due to incompatible SQLLite libs
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.7 RC1   Edit
Assignee: Grant Gayed CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-02 12:57 EDT by Grant Gayed CLA
Modified: 2011-05-11 18:12 EDT (History)
2 users (show)

See Also:
Silenio_Quarti: review+


Attachments
patch (5.95 KB, patch)
2011-05-03 16:58 EDT, Grant Gayed CLA
no flags Details | Diff
revised patch (20.33 KB, application/octet-stream)
2011-05-11 18:06 EDT, Grant Gayed CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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