Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 161658 - Crash in SWT web browser when visiting page with password field
Crash in SWT web browser when visiting page with password field
Product: Fedora
Classification: Fedora
Component: eclipse (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: eclipse-bugs
Depends On:
  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:
Last Closed: 2005-08-13 07:58:47 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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
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:

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)

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

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