| Summary: | Crash SIGSEV libxul.so | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | devnull5475 | ||||||||
| Component: | SWT | Assignee: | Grant Gayed <grant_gayed> | ||||||||
| Status: | RESOLVED WORKSFORME | QA Contact: | |||||||||
| Severity: | major | ||||||||||
| Priority: | P3 | CC: | daniel_megert, jacek.pospychala, zach.romans | ||||||||
| Version: | 3.6 | ||||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
devnull5475
Created attachment 179169 [details]
Stack trace
I am experiencing this same issue, but on Solaris 10 (Sparc). Stack is slightly different - I have no libxpcom.so "between" libswt-mozilla-gtk-3655.so and libxul.so. Have tried multiple JDKs (1.6.0_18, 1.6.0_21, 1.6.0_23 (unreleased)), and multiple Firefox/Mozilla releases for the libxul.so (3.0.19, 3.5.7, 3.6.) Am using M20100909-0800 build due to bug 318006 and bug 319688. For me, I can reproduce without fail by trying to open the General -> Web Browser preferences window. Can provide [multiple] stack traces, if desired. Created attachment 179411 [details]
libxul.so SIGSEGV under JRE 6.0_23-b01 on Solaris 10 Sparc
Created attachment 179412 [details]
libxul.so SIGSEGV under JRE 6.0_18-b07 on Solaris 10 Sparc
This issue seems to be on line SWT Browser<->Mozilla. Moving to SWT. These cases are a bit different: - Comment 1 is crashing in the first call that the Browser tries to make. It's suspicious that it's trying to use /usr/lib/xulrunner-1.9.2, yet the swt library it's going through is swt-mozilla... instead of the expected swt-xulrunner... one. I'm guessing that /usr/lib/xulrunner-1.9.2 is not properly registered on your OS. As an experiment please try adding the following line to the end of the eclipse.ini file in your eclipse root directory: -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-1.9.2/ - Comment 3 gets a bit further. I suspect this is bug 288361, as I notice it's trying to embed your firefox in /usr/dist/pkgs/firefox,v3.5.7/5.10-lib.sun4. Are you doing anything to point it at this firefox install (eg.- setting the MOZILLA_FIVE_HOME environment variable)? I would have expected it to use an available native renderer from somewhere in /usr/sfw/lib/... . Do you see any directories in /usr/sfw/lib/ with names containing mozilla, firefox, xulrunner, etc? Please follow up in bug 288361. (In reply to comment #6) > These cases are a bit different: > > - Comment 1 is crashing in the first call that the Browser tries to make. It's > suspicious that it's trying to use /usr/lib/xulrunner-1.9.2, yet the swt > library it's going through is swt-mozilla... instead of the expected > swt-xulrunner... one. I'm guessing that /usr/lib/xulrunner-1.9.2 is not > properly registered on your OS. As an experiment please try adding the > following line to the end of the eclipse.ini file in your eclipse root > directory: > -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-1.9.2/ I added XULRunnerPath to eclipse.ini. After quick test, it appears to have worked. That is, not crash. Thanks. ASD Ok, can you try the following then? - remove the "-D..." line that was added at the end of your eclipse.ini - "cd /usr/bin" - if there's a xulrunner-* directory here (eg.- "xulrunner-1.9.2/" then cd into it - "./xulrunner --register-global" - if the above line fails due to permissions you can either sudo it or instead do: "./xulrunner --register-user" - launch eclipse, it should come up - Window > Show View > Other... - select General - Internal Web Browser, OK - navigate this view's Browser to any URL, does it go there successfully? (In reply to comment #8) > Ok, can you try the following then? > > - remove the "-D..." line that was added at the end of your eclipse.ini > - "cd /usr/bin" > - if there's a xulrunner-* directory here (eg.- "xulrunner-1.9.2/" then cd into > it > - "./xulrunner --register-global" > - if the above line fails due to permissions you can either sudo it or instead > do: "./xulrunner --register-user" > - launch eclipse, it should come up > - Window > Show View > Other... > - select General - Internal Web Browser, OK > - navigate this view's Browser to any URL, does it go there successfully? No, it does not go there successfully. It crashes. (In reply to comment #9) > (In reply to comment #8) > > Ok, can you try the following then? > > > > - remove the "-D..." line that was added at the end of your eclipse.ini > > - "cd /usr/bin" > > - if there's a xulrunner-* directory here (eg.- "xulrunner-1.9.2/" then cd into > > it > > - "./xulrunner --register-global" > > - if the above line fails due to permissions you can either sudo it or instead > > do: "./xulrunner --register-user" > > - launch eclipse, it should come up > > - Window > Show View > Other... > > - select General - Internal Web Browser, OK > > - navigate this view's Browser to any URL, does it go there successfully? No, it does not go there successfully. It crashes. BTW, not sure it matters, but on Gentoo I had to go to /usr/lib/xulrunner-1.9.2 to execute ./xulrunner --register-global Based on comment 7 I believe this should work as of eclipse 3.7 as a result of eclipse launcher fixes in the area of detecting a native Browser renderer. Marking report as WORKSFORME, please reopen it if Eclipse 3.7 or 3.7.1 does not work better for you. |