SWT, Linux 6.3, and xulrunner 10 [message #1008030] |
Fri, 08 February 2013 15:24 |
Mark Fishman Messages: 27 Registered: March 2011 |
Junior Member |
|
|
Hello,
I have a SWT application that uses the browser widget to render some web pages. The version of SWT that I am running is from the 3.8.1 version of Eclipse. I bundle a version of xulrunner with my app that is xulrunner 10.0.4esr and specify the xulrunner path to specifically use that one. On Windows system this always works. However, on 64 bit RedHat, linux systems, I get varying degrees of success. It seems to work fine if the xulrunner that is already installed on that box is older than 10.0.4 but if it is newer, my swt application cores when I try to start up the Browser widget. Based on the dump, the error seems to be some how related to libmozsqlite3.so. At least that is always what is being referenced in the "register to memory mapping" area of the dump. I tried specifically using the xulrunner that was installed on the box, 10.0.5, as well to see if that worked but I got the same error.
Has anyone else run into similar problems and, if so, can you suggest a work around?
Thanks.
-- Mark
|
|
|
|
Re: SWT, Linux 6.3, and xulrunner 10 [message #1015441 is a reply to message #1008034] |
Thu, 28 February 2013 15:32 |
Grant Gayed Messages: 2150 Registered: July 2009 |
Senior Member |
|
|
Hi, sorry for the late reply,
This is probably a case of libmozsqlite3.so being loaded by a
WebKit-based browser in your app (a Browser created with style
SWT.NONE), which is conflicting with the libmozsqlite3.so that is
shipped with your XULRunner. If so, you should be able to get this
working by setting the org.eclipse.swt.browser.DefaultType java property
before the first Browser instance is created, as described in
http://www.eclipse.org/swt/faq.php#browserspecifydefault .
HTH,
Grant
On 2/8/2013 10:42 AM, Mark Fishman wrote:
> ooops...one other data point. I am explicitly setting the browser type
> to SWT.MOZILLA.
|
|
|
|
Powered by
FUDForum. Page generated in 0.02319 seconds