This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours
Bug 161658 - Crash in SWT web browser when visiting page with password field
Crash in SWT web browser when visiting page with password field
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: eclipse (Show other bugs)
rawhide
i386 Linux
medium Severity high
: ---
: ---
Assigned To: eclipse-bugs
http://www.rssowl.org/
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-24 21:04 EDT by Robin Green
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-08-13 07:58:47 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
Backtrace from gdb (12.31 KB, text/plain)
2005-06-24 21:04 EDT, Robin Green
no flags Details

  None (edit)
Description Robin Green 2005-06-24 21:04:30 EDT
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
Comment 1 Robin Green 2005-06-24 21:04:30 EDT
Created attachment 115967 [details]
Backtrace from gdb
Comment 2 Robin Green 2005-06-24 21:19:06 EDT
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.
Comment 3 Andrew Overholt 2005-06-27 14:10:18 EDT
I'll include this in my RC4 build which I'm about to start.  Thanks!
Comment 4 Robin Green 2005-08-13 07:58:47 EDT
Fixed.

Note You need to log in before you can comment on or make changes to this bug.