Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95289 - mozilla-firefox-1.0.4 hangs on certain download links
Summary: mozilla-firefox-1.0.4 hangs on certain download links
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: High normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-06 19:16 UTC by Jeff Ames
Modified: 2005-10-29 01:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Ames 2005-06-06 19:16:41 UTC
When clicking on certain links to download files, firefox seems to hang.
The status bar says "Waiting for <site name>", but the spinner stops
spinning, the window doesn't repaint, I can't scroll, clicking tabs
won't switch windows, and clicking the close-window [x] in the title bar
doesn't close firefox.  I have to kill it from the command line (though
not kill -9).  Using wget on these links seems to work fine.

Here are some links which produce this behavior:

- The link to http://de-fac.to/filestore2/download/15 on the page http://de-fac.to/node/view/15.

- The link to http://eigenradio.media.mit.edu/xmas2004/A_Singular_Christmas.zip on the page http://eigenradio.media.mit.edu/christmas_2004.html

- Downloading j2sdk-1_4_2-doc.zip from http://java.sun.com/j2se/1.4.2/download.html

I have installed the extenstions Moji (0.7.9) and Moji-En (0.3), but I was
able to reproduce this behavior without an existing ~/.mozilla as well.

# emerge info
Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6                                .11-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X1                                1/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.gentoo.gr.jp"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa anthy apache2 avi berkdb bitmap-fonts cdparanoia cjk cryp                                t curl dba doc dvd dvdr dvdread dxr3 eds encode esd fam flac font-server fortran                                 gd gdbm gif gpm gtk gtk2 guile imap imlib ipv6 java javascript jp2 jpeg latex l                                ibwww lzo lzw lzw-tiff mad matroska mjpeg mng motif mp3 mpeg mpeg2 mysql ncurses                                 nls nodrm nvidia offensive ogg oggvorbis opengl oss pam perl php plotutils png                                 python qt quicktime readline real samba sdl ssl tcltk tcpd tetex theora tiff tru                                etype truetype-fonts type1-fonts unicode usb userlocales vcd vorbis wmf xanim xi                                m xine xml2 xmms xpm xrandr xv xvid xvmc yahoo zlib userland_GNU kernel_linux el                                ibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Jeff Ames 2005-07-07 18:51:46 UTC
Update -- I've found that when it hangs, it will eventually come back with the
"save as" dialog or whatever, but it takes something like 10 minutes.

I've found this same behavior with evince and kpdf (but xpdf is fine), so
perhaps it's some common underlying library....

This is running under fluxbox-0.9.13-r1, btw.
Comment 2 ryanlamb82 2005-08-01 08:44:12 UTC
Mine locks up too.  I am running 1.06-r2.  For me, it is not only download
links, but some regular sites also cause the behavior.  It seems to be mostly
sites that have ads or flash.  The only plugins that I have are java and adobe.
 I think this should be severe priority because it locks on about half of the
sites that I go to.  It is terribly unstable and very annoying.  I have tried
uninstalling and recompiling and the problem still persists.
Comment 3 Jeff Ames 2005-10-29 01:05:52 UTC
I believe I've found what was causing this.  strace-ing gedit showed that it
was hanging on trying to connect to the portmapper service on the localhost,
and my firewall was dropping those packets, resulting in a timeout condition.

From the strace, it tries to bind to a priveleged port around the range
1013--1021, and tries to connect to 127.0.0.1:111.  Why it needs a priveleged
port I don't know, but the fam source code looks like it does something like
this, so perhaps that's where it's coming from? (fam is one of 129 common
requirements between mozilla-firefox, evince, kpdf, and gedit on my system)

I added a rule to accept packets from interface 'lo', which is hopefully
harmless enough, and now these programs start without problems.