Description of problem: Any SWT app that embeds Fedora's version of Firefox will crash if a web page with a password field is visited. Not sure if this is an SWT bug or a firefox embedding bug. Version-Release number of selected component (if applicable): eclipse-platform-3.1.0_fc-0.RC3.2 (built by me from rawhide CVS) How reproducible: Every time Steps to Reproduce: 1. Download eclipse examples from http://download.eclipse.org/eclipse/downloads/drops/S-3.1RC3-200506171618/download.php?dropFile=eclipse-examples-3.1RC3.zip 2. On the Window menu, select Show View -> Other -> SWT Examples -> Web Browser (*** NOT Browser Demo!! ***) 3. In the URL field, type www.rssowl.org and press enter. (NOTE: Sometimes the URL field does not work in native eclipse. If it doesn't respond, try to click around to someplace that will spawn a new window and try again in the new window; alternatively, just use a Sun VM.) Actual results: Crash (see attached backtrace) Expected results: No crash Additional info: firefox-1.0.4-5 Workaround: Install the eclipse-3.1-supported browser version, mozilla 1.7.3, from mozilla.org, and set the environment variable MOZILLA_FIVE_HOME to where you installed it, e.g. export MOZILLA_FIVE_HOME=/usr/local/mozilla
Created attachment 115967 [details] Backtrace from gdb
Actually, mozilla 1.7.8 from rawhide works fine too, so it is enough - for now - to just patch /usr/bin/eclipse as follows: --- /usr/bin/eclipse~ 2005-06-22 16:34:20.000000000 +0100 +++ /usr/bin/eclipse 2005-06-25 02:15:00.000000000 +0100 @@ -37,7 +37,7 @@ # This makes the embedded browser work. if [ -z "$MOZILLA_FIVE_HOME" ]; then - XPCOM=$(ls -t /usr/lib/{mozilla,firefox}-*/libxpcom.so|head -n1) + XPCOM=$(ls -t /usr/lib/mozilla-*/libxpcom.so|head -n1) export MOZILLA_FIVE_HOME=$(dirname $XPCOM) fi export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MOZILLA_FIVE_HOME However, the Mozilla Application Suite is being end-of-lifed, so the crash relating to firefox will have to be fixed eventually.
I'll include this in my RC4 build which I'm about to start. Thanks!
Fixed.