Project: SWT
Bug 344487 [Browser] WebKit and XULRunner-1.9.2.x crash due to incompatible SQLLite libs
Reported: 2011-05-02 12:57:37 | Status: resolved fixed

- 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

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT Browser/gtk/org/eclipse/swt/browser/BrowserFactory.java bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/BrowserFactory.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/carbon/org/eclipse/swt/browser/MozillaDelegate.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/cocoa/org/eclipse/swt/browser/MozillaDelegate.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/gtk/org/eclipse/swt/browser/MozillaDelegate.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/motif/org/eclipse/swt/browser/MozillaDelegate.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/win32/org/eclipse/swt/browser/MozillaDelegate.java