Gtk+ applications slow when local (lo) network interface not upped

Bug #231384 reported by ANDREA
14
Affects Status Importance Assigned to Milestone
firefox-3.0 (Ubuntu)
Invalid
Undecided
Unassigned
gtk+2.0 (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: firefox-3.0

Firefox takes approx. 4-5 min to load and even when *finally* started it takes another 4-5 min before the first url loads and in the meantime the windows freezes.
maybe related to this is a gtk-bug: https://bugs.launchpad.net/ubuntu/+source/gtk-qt-engine/+bug/220575
where i was asked to use the reporting tool in firefox (so this is the result).

if you need any further info on the problem i'd happily provide it. thank you in advance for your time and your effort! big THANKS!

ANDREA

ProblemType: Bug
Architecture: i386
Date: Sat May 17 15:17:13 2008
DistroRelease: Ubuntu 8.04
Package: firefox-3.0 3.0~b5+nobinonly-0ubuntu3
PackageArchitecture: i386
ProcEnviron:
 PATH=/home/User Name/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: firefox-3.0
Uname: Linux 2.6.24-16-generic i686

Revision history for this message
ANDREA (andrea54) wrote :
Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 231384] [NEW] Firefox is extremely slow to respond; starts in about 4 min, gtk-damaged?

On Sat, May 17, 2008 at 01:29:08PM -0000, ANDREA wrote:
> Public bug reported:
>
> Binary package hint: firefox-3.0
>
> Firefox takes approx. 4-5 min to load and even when *finally* started it takes another 4-5 min before the first url loads and in the meantime the windows freezes.
> maybe related to this is a gtk-bug: https://bugs.launchpad.net/ubuntu/+source/gtk-qt-engine/+bug/220575
> where i was asked to use the reporting tool in firefox (so this is the result).
>
> if you need any further info on the problem i'd happily provide it.
> thank you in advance for your time and your effort! big THANKS!

1. post the output of

ifconfig

please.

2. Try to disable all extensions in Tools -> addons

3. Help testing the latest RC1 packages from hardy-proposed and let us
know if it fixes your problem.

 status incomplete

 - Alexander

Changed in firefox-3.0:
status: New → Incomplete
Revision history for this message
ANDREA (andrea54) wrote : Re: Firefox is extremely slow to respond; starts in about 4 min, gtk-damaged?

output of ifconfig:
eth0 Link encap:Ethernet HWaddr 00:13:d4:ac:e3:26
          inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
          inet6 addr: fe80::213:d4ff:feac:e326/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:87 errors:0 dropped:0 overruns:0 frame:0
          TX packets:101 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:59558 (58.1 KB) TX bytes:8517 (8.3 KB)
          Interrupt:21 Base address:0xe400

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:15 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:900 (900.0 B) TX bytes:900 (900.0 B)

as for the proposed version (rc1) ... no real improvement. it took 16 minutes to load and after exiting the welcome page it is currently yet again frozen. all extensions got automatically disabled by the upgrade so that's not really keeping it up that long either. it could be a local error if so i'd appreciate hints a lot! thank you in advance!!!!

update:
i've closed firefox as it wouldn't react anymore and i have just eliminated my local profile (~/.mozilla/firefox/) but it's still not loading. on my laptop though it is ... weird. should i try to kdiff3 on installed packages? (i mean do something like sudo dpkg --get-selections > desktop.txt and same for the laptop and compare?) [firefox still isn't up - 4 min later]

Revision history for this message
ANDREA (andrea54) wrote :

yet another update: i've adapted the configuration to the laptop (that is deinstalled all additional packages) but still nothing. it's still taking about 15 min to load; if this means anything at all, the 3rd and 4th time etc. it starts much quicker than right after a reboot. i'm thinking maybe something gets loaded and once it's loaded the starting process is smoother ... but what?

sorry this puzzles me a lot and i don't know what else todo - i'd appreciate some help :-) thank you!

ANDREA

Revision history for this message
John Vivirito (gnomefreak) wrote : Re: [Bug 231384] Re: Firefox is extremely slow to respond; starts in about 4 min, gtk-damaged?

ANDREA wrote:
> output of ifconfig:
> eth0 Link encap:Ethernet HWaddr 00:13:d4:ac:e3:26
> inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
> inet6 addr: fe80::213:d4ff:feac:e326/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:87 errors:0 dropped:0 overruns:0 frame:0
> TX packets:101 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:59558 (58.1 KB) TX bytes:8517 (8.3 KB)
> Interrupt:21 Base address:0xe400
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:15 errors:0 dropped:0 overruns:0 frame:0
> TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:900 (900.0 B) TX bytes:900 (900.0 B)
>
> as for the proposed version (rc1) ... no real improvement. it took 16
> minutes to load and after exiting the welcome page it is currently yet
> again frozen. all extensions got automatically disabled by the upgrade
> so that's not really keeping it up that long either. it could be a local
> error if so i'd appreciate hints a lot! thank you in advance!!!!
>
> update:
> i've closed firefox as it wouldn't react anymore and i have just eliminated my local profile (~/.mozilla/firefox/) but it's still not loading. on my laptop though it is ... weird. should i try to kdiff3 on installed packages? (i mean do something like sudo dpkg --get-selections > desktop.txt and same for the laptop and compare?) [firefox still isn't up - 4 min later]
>
Can you reproduce this by running firefox -safe-mode from terminal?

--
Sincerely Yours,
     John Vivirito

https://launchpad.net/~gnomefreak
https://wiki.ubuntu.com/JohnVivirito
Linux User# 414246

Revision history for this message
ANDREA (andrea54) wrote : Re: Firefox is extremely slow to respond; starts in about 4 min, gtk-damaged?

thank you for your suggestion. unfortunately after 8 min of loading firefox still hasn't appeared so i guess the problem exists even when running it in safe mode. any other ideas? thank you so much for your help! :-)

ANDREA

Revision history for this message
ANDREA (andrea54) wrote :

ok this is definitely caused by something loaded by firefox. i just started firestarter with kdesu firestarter and it wouldn't load for like 5 min and then appeared. after that, firefox loaded very quickly (<10s) with none of the problems previously described. that of course leads me to the question which module/package/configuration file does firestarter use that firefox also requires? all/any input is welcome!

ANDREA

Revision history for this message
John Vivirito (gnomefreak) wrote : Re: [Bug 231384] Re: Firefox is extremely slow to respond; starts in about 4 min, gtk-damaged?

ANDREA wrote:
> yet another update: i've adapted the configuration to the laptop (that
> is deinstalled all additional packages) but still nothing. it's still
> taking about 15 min to load; if this means anything at all, the 3rd and
> 4th time etc. it starts much quicker than right after a reboot. i'm
> thinking maybe something gets loaded and once it's loaded the starting
> process is smoother ... but what?
>
> sorry this puzzles me a lot and i don't know what else todo - i'd
> appreciate some help :-) thank you!
>
> ANDREA
>
Can you please get a screenshot of the output from the command top and
attach to this bug report, Also just in case can you get a screenshot of
the output of the command ps aux | grep firefox
If firefox's cpu% or mem isnt very high please use the command ps aux
and see what one is causing this. Does starting firefox from terminal
change how long it takes??
Can you please list all your extensions and themes that you are running
also please disable firestarter (its onlya GUI to iptables) so it wont
affect your settings atleast it shouldnt and see if firefox than loads
faster. I have known firestarter to cause lag but never 15 minutes of lag.

--
Sincerely Yours,
     John Vivirito

https://launchpad.net/~gnomefreak
https://wiki.ubuntu.com/JohnVivirito
Linux User# 414246

Revision history for this message
ANDREA (andrea54) wrote : Re: Firefox is extremely slow to respond; starts in about 4 min, gtk-damaged?

i've attached what "top" said (see top.txt) with the command
top > top.txt
starting firefox from konsole (terminal) doesn't change a thing.
i'm not using any addons or themes ...

i *think* i do have an idea what might have caused this. what ports need to be open for firefox to work? firestarter used to show a couple of blocked attempts but only samba-related (ports 137 and 138 i believe) should i have opened those as well?

ok ff just started - after 8 min. after entering w (for www.google.it) it went south. it will take approx. 5 min for the next couple of characters to appear ... very usable ;-)

thank you for your help!

ANDREA

Revision history for this message
ANDREA (andrea54) wrote :

oops sorry:

shiva 9138 0.4 4.2 159468 43520 pts/2 Sl+ 15:13 0:01 /usr/lib/firefox-3.0/firefox
shiva 12760 0.0 0.0 3004 748 pts/1 R+ 15:21 0:00 grep firefox

(output of ps aux | grep firefox) . before running this (after your comment actually) i've removed firestarter (sudo apt-get remove --purge firestarter). it shouldn't interfere anymore ...

Revision history for this message
ANDREA (andrea54) wrote :

i've tried adapting the computer to a different one that works (that is same packages etc.) but still nothing. I've grown VERY tired of this so i've formated the computer and set up the computer again using the very same .kde folder (and home folder) but ditching most of the other ".folders" now firefox works - and firestarter does, too. i hope i was the only one experiencing this problem.

what do you suggest? status=invalid or simply incomplete? i'd say for the sake of closing this status=invalid :-)

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 231384] Re: Firefox is extremely slow to respond; starts in about 4 min, gtk-damaged?

On Tue, Jun 03, 2008 at 02:36:32PM -0000, ANDREA wrote:
> output of ifconfig:
> eth0 Link encap:Ethernet HWaddr 00:13:d4:ac:e3:26
> inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
> inet6 addr: fe80::213:d4ff:feac:e326/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:87 errors:0 dropped:0 overruns:0 frame:0
> TX packets:101 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:59558 (58.1 KB) TX bytes:8517 (8.3 KB)
> Interrupt:21 Base address:0xe400
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:15 errors:0 dropped:0 overruns:0 frame:0
> TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:900 (900.0 B) TX bytes:900 (900.0 B)
>
> as for the proposed version (rc1) ... no real improvement. it took 16
> minutes to load and after exiting the welcome page it is currently yet
> again frozen. all extensions got automatically disabled by the upgrade
> so that's not really keeping it up that long either. it could be a local
> error if so i'd appreciate hints a lot! thank you in advance!!!!
>
> update:
> i've closed firefox as it wouldn't react anymore and i have just eliminated my local profile (~/.mozilla/firefox/) but it's still not loading. on my laptop though it is ... weird. should i try to kdiff3 on installed packages? (i mean do something like sudo dpkg --get-selections > desktop.txt and same for the laptop and compare?) [firefox still isn't up - 4 min later]
>

run strace -f firefox &> /tmp/ffox.log.txt

then bzip2 /tmp/ffox.log.txt

and attach the bz2 file to this bug.

 - Alexander

Revision history for this message
Alexander Sack (asac) wrote :

On Wed, Jun 04, 2008 at 09:33:04PM -0000, ANDREA wrote:
> i've tried adapting the computer to a different one that works (that is
> same packages etc.) but still nothing. I've grown VERY tired of this so
> i've formated the computer and set up the computer again using the very
> same .kde folder (and home folder) but ditching most of the other
> ".folders" now firefox works - and firestarter does, too. i hope i was
> the only one experiencing this problem.
>
> what do you suggest? status=invalid or simply incomplete? i'd say for
> the sake of closing this status=invalid :-)
>

not sure what caused this, but we now dont have a chance to get to
know. did you get the strace i asked for before deleting this?

 status invalid

 - Alexander

Changed in firefox-3.0:
status: Incomplete → Invalid
Revision history for this message
ANDREA (andrea54) wrote : Re: Firefox is extremely slow to respond; starts in about 4 min, gtk-damaged?

hi there
don't worry i still have the other partition and i'll get you the strace :-) [gimme a couple of minutes...]

andrea

Revision history for this message
ANDREA (andrea54) wrote :

attached you find the bzip file with strace :-)

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 231384] Re: Firefox is extremely slow to respond; starts in about 4 min, gtk-damaged?

On Thu, Jun 05, 2008 at 12:06:30PM -0000, ANDREA wrote:
> hi there
> don't worry i still have the other partition and i'll get you the strace :-) [gimme a couple of minutes...]
>

thanks,

 status incomplete

 - Alexander

Changed in firefox-3.0:
status: Invalid → Incomplete
Revision history for this message
Alexander Sack (asac) wrote :

On Thu, Jun 05, 2008 at 01:02:27PM -0000, ANDREA wrote:
> attached you find the bzip file with strace :-)
>
> ** Attachment added: "ffox.log.txt.bz2"
> http://launchpadlibrarian.net/15057990/ffox.log.txt.bz2
>

Could you try to reinstantiate the $HOME/.mozilla directory from the
other partition and see if that alone is enough to cause the
performance degration?

 status incomplete

 - Alexander

Revision history for this message
ANDREA (andrea54) wrote : Re: Firefox is extremely slow to respond; starts in about 4 min, gtk-damaged?

i've restored the original (sda5) .mozilla folder to my ~/ but firefox starts up very fast (on the new installation) --> not caused by .mozilla. i suspect it's a dependency of firefox that's let's say working suboptimally. unfortunately i can't substantiate that as i don't get what's in strace ... too much info :S

what else do you need?

Revision history for this message
Alan Szlosek (alan-szlosek-deactivatedaccount) wrote :

My Firefox 3 issues only began after I installed avidemux, kdenlive, kino, open movie editor, and pitivi. Are there any Adept Package Manager logs I can check to get an exact list of which libraries were installed?

Revision history for this message
Alan Szlosek (alan-szlosek-deactivatedaccount) wrote :

I removed the packages I installed immediately before I had issues with Firefox and things are back to normal. Firefox opens normally and behaves as it should.

I've attached a dpkg log of the install packages, as well as the ones I removed.

Revision history for this message
BotLobsta (kjenks-deactivatedaccount) wrote :

I can confirm this with any version of firefox 3 on my intrepid install. Firefox 2 works fine without any problems. I had originally opened it as bug 241806 but that is definitely a duplicate of this bug. I have since found other applications that open slowly including gedit, glchess, and freeciv (Bug 241989). Do you need any other information?

Revision history for this message
ANDREA (andrea54) wrote :

Hi BotLobsta
Thank you for contributing. How did you install intrepid? Did you use an iso, a clean hardy install or a customized hardy install? do you have any of the following packages installed:

avidemux, kdenlive, kino, open movie editor, and pitivi

According to Alan Szlosek, these might cause interference. In my personal experience, this is not the cause. I have two identical installations on the very same harddisk, one with a lagging firefox and the other one as quick and intrepid as an ibex ;-) (i know they're the same as i installed the second one using dselect ... with an dpkg --get-selections from the first install)

if you have any other pointers (such as additional programs installed) I'd really appreciate your input! I've also noticed that "gnome applications" (such as evince, gedit, firestarter) seem to lag incredibly in performance.

looking forward to your feedback and thank you for contributing!

ANDREA

Revision history for this message
BotLobsta (kjenks-deactivatedaccount) wrote :

I dont have any of those programs installed. I got intrepid by upgrading my hardy installation that I have had since last September so it is definitely not a clean hardy install. However, I use ubuntu packages for almost all of my programs; I dont compile my own libraries or anything like that. My firefox 3 is not from ubuntu, though I do use the nightly builds of it provided and compiled by mozilla. I have never had any problems with them before and the firefox-3.0 provided in the ubuntu package has the same problems as well for me.

I thought it might be some sort of gtk issue due to the other programs that show the same symptoms, but I have some programs that use gtk that work perfectly fine such as the game pioneers. So Im still at a loss as to what it could be.

Thats all I can think of for now though if I come across anything else or if you need any other information Ill be happy to post it.

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 231384] Re: Firefox is extremely slow to respond; starts in about 4 min, gtk-damaged?

On Sat, Jun 28, 2008 at 10:56:54PM -0000, BotLobsta wrote:
> I dont have any of those programs installed. I got intrepid by
> upgrading my hardy installation that I have had since last September so
> it is definitely not a clean hardy install. However, I use ubuntu
> packages for almost all of my programs; I dont compile my own libraries
> or anything like that. My firefox 3 is not from ubuntu, though I do use
> the nightly builds of it provided and compiled by mozilla. I have never
> had any problems with them before and the firefox-3.0 provided in the
> ubuntu package has the same problems as well for me.
>
> I thought it might be some sort of gtk issue due to the other programs
> that show the same symptoms, but I have some programs that use gtk that
> work perfectly fine such as the game pioneers. So Im still at a loss as
> to what it could be.
>
> Thats all I can think of for now though if I come across anything else
> or if you need any other information Ill be happy to post it.
>

you are talking about "slow start of helper applications", while this
bug is about "slow start of firefox" itself. Please correct me if I am
mistaken.

 - Alexander

Revision history for this message
ANDREA (andrea54) wrote : Re: Firefox is extremely slow to respond; starts in about 4 min, gtk-damaged?

hi alexander
i don't know about the other guys, speaking for myself though the behavior was not only limited to firefox. it was simply the first application that was affected by it. I use kubuntu so i don't run many gtk applications yet the ones i do use seemed to show the same behavior. as previously mentioned, evince and firestarter were affected. this does support your hypothesis of a buggy helper application.

thank you for your continuing help :-)

ANDREA

Revision history for this message
ANDREA (andrea54) wrote :

i'd like to add though that no one so far has managed to find out what caused the issue and i still don't know it myself; that's why i filed a bug against firefox though it might not be the real cause, as you pointed out.

Revision history for this message
BotLobsta (kjenks-deactivatedaccount) wrote :

The same thing that happened to ANDREA happened to me. Since I used firefox every day, that was the first application I found that takes a few minutes to open. Since I initially discovered this, I have used other programs and found that some of the exhibit the same behavior. I posted to this bug because I have the same behavior in firefox as the original reporter. If another bug should be opened against all of those applications then I can do that, but I didnt want to open a duplicate bug if they could both be solved by the same fix.

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 231384] Re: Firefox is extremely slow to respond; starts in about 4 min, gtk-damaged?

On Mon, Jun 30, 2008 at 04:19:06PM -0000, BotLobsta wrote:
> The same thing that happened to ANDREA happened to me. Since I used
> firefox every day, that was the first application I found that takes a
> few minutes to open. Since I initially discovered this, I have used
> other programs and found that some of the exhibit the same behavior. I
> posted to this bug because I have the same behavior in firefox as the
> original reporter. If another bug should be opened against all of those
> applications then I can do that, but I didnt want to open a duplicate
> bug if they could both be solved by the same fix.
>

So, are all gtk+ application affected for all of you or are even all X
applications?

 - Alexander

Revision history for this message
Ayan (ayanm) wrote : Re: Firefox is extremely slow to respond; starts in about 4 min, gtk-damaged?

I have the same problem with firefox-3.0. It is extremely slow to start and then hangs. i moved my .mozilla to mozilla.bak and then started it. No improvement. Any help?

Revision history for this message
ANDREA (andrea54) wrote :

hi ayan
no solution available so far, sorry. we're still trying to get to the bottom of this ... if you like to help though there's still the open question whether it affects all gtk+ applications ...

alexander: i'm looking into that. what I can tell you is that it affects firestarter, evince and firefox, which would point to gtk-applications but not others.

ANDREA

Revision history for this message
ANDREA (andrea54) wrote :

to answer alexander's request i tested a few applications:

avidemux ok
bluefish 18:22 - 18:27 (clearly affected)
firestarter 18:22 - 18:27 (clearly affected)
thoggen ok
ekiga 18:22
k9copy ok
kaffeine ok
brasero 18:22 - 18:27 (clearly affected)
vlc ok
openoffice ok
evince 18:24 - 18:29 (clearly affected)

the time right after the application indicates the time at which the applications was launched and when it appeared, for instance at 6:22 pm bluefish was launched but didn't show up until 6:27 etc. ekiga didn't even bother to show up it simply created a "tray icon" that was blank.

Revision history for this message
Ayan (ayanm) wrote :

I can confirm that evince and evolution is extremely slow to startup and then hangs.

Revision history for this message
BotLobsta (kjenks-deactivatedaccount) wrote :

Here are the times it takes for some programs I tested to open/display their window. Quick is a reasonable amount of time (under 20 secs).

brasero - 3:12
vlc - quick
openoffice - quick
evince - quick (though I dont have the latest version from the intrepid repositories. I have 2.22.1.1-0ubuntu1)
glchess - 3:10
mousepad - quick
gedit - 3:10
thunar - quick
xfburn - quick
gimp - quick
thunderbird - quick
wireshark - quick
abiword - quick
gparted - quick
synaptic - quick
pidgin - quick

Programs from the gnome-games packages display interesting behavior and they all behave in the same way. If I start them from the xfce menu, their initial window will appear within a few seconds, but it will be blank except for the title bar and will quickly become greyed out and "not responding". However, if i start them from the command line, nothing will appear for about 3:12, and then the window will appear correctly, however, it will be unresponsive.

I still dont have any idea as to what would be the cause of all of this, though I will keep trying to find out.

Revision history for this message
ANDREA (andrea54) wrote :

thank you botlobsta for your time and your list! i'll try to find some common aspects and get back to you i *think* i have an idea. about two days ago i did a comparison (kdiff3) between /etc/ on a sane installation and well the damaged one, there were lots of differences (1033 i believe) but when i'm able to pin it to 2-3 components i think i'd have a better chance of catching it :-) thanks again!

Revision history for this message
Ralf (mail2am) wrote :

Hi there,

I guess I have some information that may be helpful to get to the bottom of this problem.

I installed Xubuntu 8.04 on a laptop and everything (especially Firefox) worked fine. The
next thing I did was to install a WLAN USB-stick using the following tutorial:

http://forum.ubuntuusers.de/topic/91223/

WLAN now works, but the "slow application" problem appeared immediately (!) after
installing the driver.

If you take a look at this thread

https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/210646

you will notice that Andrew had the same problem. I confirm that "sudo ifdown rausb0"
makes the bug disappear. Unfortunately, the modifications the /etc/hosts and /etc/resolv.conf
did not work for me.

Another interesting thing is that a ping to the DNS work fine, while "ping localhost" seems to
freeze.

Ralf

Revision history for this message
BotLobsta (kjenks-deactivatedaccount) wrote :

I can confirm that it is a network problem. I have a wired and a wireless interface, but I am currently using wireless (eth1) and do not have my wired (eth0) enabled. As soon as I brought down eth1, both firefox and brasero worked perfectly for me (and I just assumed everything else would). After reading Ralf's post more carefully, the last line caught my attention when he said he could not "ping localhost". I tried that as well and it did not work. I then discovered that my loopback interface (lo) was not up for some reason. I brought both eth1 and lo back up and now everything works for me.

This does make much more sense to me now as I can see why most of these apps would need the lo interface to work and since it was disabled they would freeze. (I dont see why gedit or brasero would need it but I guess they do for some reason). The real question is now why my loopback interface was disabled. I dont ever remember disabling it manually. Thanks for the help Ralf.

Revision history for this message
Ralf (mail2am) wrote :

Re-enabling the lo interface worked for me too. (I disabled it while trying to get the WLAN driver running.)
Seems as if this very strange problem is solved now.

Revision history for this message
ANDREA (andrea54) wrote :

congratulations everybody! I think we've found what caused the delay! now well does anybody know the "cause of the cause" by which i mean what disabled it in the first place? I for one didn't tamper with it so "something" must have changed it. in that case, obviously, we'd need to mark this as resolved and open a new bug against whatever package disabled lo. any clues?

Revision history for this message
Ayan (ayanm) wrote : Re: [Bug 231384] Re: Firefox is extremely slow to respond; starts in about 4 min, gtk-damaged?

Great news, my troubled ubuntu install is in work. So I can't check it right away Will do that on Monday. But, I remember that I was trying to connect to the localhost to configure cups. I couldn't connect.

Ayan

----- Original Message ----
From: ANDREA <email address hidden>
To: <email address hidden>
Sent: Saturday, July 5, 2008 6:06:07 AM
Subject: [Bug 231384] Re: Firefox is extremely slow to respond; starts in about 4 min, gtk-damaged?

congratulations everybody! I think we've found what caused the delay!
now well does anybody know the "cause of the cause" by which i mean what
disabled it in the first place? I for one didn't tamper with it so
"something" must have changed it. in that case, obviously, we'd need to
mark this as resolved and open a new bug against whatever package
disabled lo. any clues?

** Summary changed:

- Firefox is extremely slow to respond; starts in about 4 min, gtk-damaged?
+ Firefox is extremely slow to respond; starts in about 4 min

--
Firefox is extremely slow to respond; starts in about 4 min
https://bugs.launchpad.net/bugs/231384
You received this bug notification because you are a direct subscriber
of the bug.

Revision history for this message
ANDREA (andrea54) wrote : Re: Firefox is extremely slow to respond; starts in about 4 min

it's definitely related to network-trouble here as well. i took the quick way (cp /etc/network/interfaces /etc/network/interfaces.bkp and clearing interfaces, reboot) and well afterwards firefox launched immediately. thanks ralf!

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 231384] Re: Firefox is extremely slow to respond; starts in about 4 min, gtk-damaged?

On Fri, Jul 04, 2008 at 10:12:57PM -0000, BotLobsta wrote:
> localhost". I tried that as well and it did not work. I then
> discovered that my loopback interface (lo) was not up for some reason.
> I brought both eth1 and lo back up and now everything works for me.
>

 summary "Gtk+ applications slow when local (lo) network interface not upped"

 affects ubuntu/firefox-3.0
 status invalid

 affects ubuntu/gtk+2.0
 status incomplete

This is likely a duplicate. tagging accordingly.

 tag likely-dup

 - Alexander

Revision history for this message
Alexander Sack (asac) wrote :

On Fri, Jul 04, 2008 at 10:41:57PM -0000, Ralf wrote:
> Re-enabling the lo interface worked for me too. (I disabled it while trying to get the WLAN driver running.)
> Seems as if this very strange problem is solved now.
>

Do you remember why "lo" interface is not setup? Did you tweak that
manually? How did you install your ubuntu?

 - Alexander

Changed in firefox-3.0:
status: Incomplete → Invalid
Revision history for this message
Ayan (ayanm) wrote :

I followed Andrea's interface cleaning. I just deleted all the contents of interface, but firefox still won't work. Then I remembered that one of my friends helped me set up a firewall. The content of that file is:

#!/bin/sh
iptables -P OUTPUT ACCEPT
iptables -P FORWARD DROP
iptables -P INPUT DROP
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

I deleted that file.

Then since now the interfaces are not there I had to put in the following commands:

sudo ifconfig lo localhost
sudo route add localhost dev lo

I am typing this message using firefox three. I just have to set up the lo interface. Getting there. However if someone could help me edit the firewall file, I would appreciate that.

Ayan

Revision history for this message
ANDREA (andrea54) wrote :

ayan: in case you didn't avoid gui-applications on purpose, there's always firestarter or guarddog to help you configure a firewall. you probably knew that anyway :-)

alexander: the installation was made under feisty i believe and upgraded to gutsy, then hardy. i didn't tweak anything in there, the only change i once made was removing a wireless pci card. i don't remember how that fit in, if the trouble started right afterwards (improbable) or how long it took. other than that, no change in network interfaces ...

Revision history for this message
ANDREA (andrea54) wrote :

ayan: in case you didn't avoid gui-applications on purpose, there's always firestarter or guarddog to help you configure a firewall. you probably knew that anyway :-)

alexander: the installation was made using feisty (regular cd installation replacing an upgraded dapper->edgy installation) i believe and upgraded to gutsy, then hardy. i didn't tweak anything in there, the only change i once made was removing a wireless pci card. i don't remember how that fit in, if the trouble started right afterwards (improbable) or how long it took. other than that, no change in network interfaces ...

Revision history for this message
tristan_lefebure (tristanl) wrote :

I confirm that networkmanager does not start the lo interface when I'm using a static IP configuration on eth1 (at work). This causes several GTK applications, including firefox, to be extremely slow. When using the wireless (wlan0, at home), lo is started automatically and I don't have this problem. The problem can be fixed with a simple 'sudo ifup lo'

This problem happened recently (~2 weeks ago), and might be linked to an update.

OS: Kubuntu 8.04

Revision history for this message
Ralf (mail2am) wrote :

> Do you remember why "lo" interface is not setup?
> Did you tweak that manually?

Yes, I did. My WLAN-USB-stick (Ralink) did not work so I modified the configuration file manually.
I simply forgot to setup the lo interface again.

> How did you install your ubuntu?
> - Alexander

I downloaded the 8.04 CD version from xubuntu.org and installed it.

Revision history for this message
Patrick Brueckner (madmuffin) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release? Thanks in advance.

Revision history for this message
Ayan (ayanm) wrote : Re: [Bug 231384] Re: Gtk+ applications slow when local (lo) network interface not upped

Someone offered a bugfix. I don't remember exactly what was the case -- vaguely remember that the guarddog in my computer was stopping me from connecting to lo and that caused a lot of problems including evince not working and things like that.

Close it, I think that it is fixed.

Ayan

----- Original Message ----
From: paddy2706 <email address hidden>
To: <email address hidden>
Sent: Thursday, February 5, 2009 6:03:24 PM
Subject: [Bug 231384] Re: Gtk+ applications slow when local (lo) network interface not upped

Thank you for taking the time to report this bug and helping to make
Ubuntu better. You reported this bug a while ago and there hasn't been
any activity in it recently. We were wondering if this is still an issue
for you. Can you try with the latest Ubuntu release? Thanks in advance.

--
Gtk+ applications slow when local (lo) network interface not upped
https://bugs.launchpad.net/bugs/231384
You received this bug notification because you are a direct subscriber
of the bug.

Revision history for this message
Sebastien Bacher (seb128) wrote :

could you try if that's still an issue in jaunty?

Changed in gtk+2.0 (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Low
Revision history for this message
Ayan (ayanm) wrote :

No, it is no longer an issue. A workaround was well known. Close this bug report. Thanks, Ayan

----- Original Message ----
From: Sebastien Bacher <email address hidden>
To: <email address hidden>
Sent: Wednesday, April 22, 2009 12:02:34 PM
Subject: [Bug 231384] Re: Gtk+ applications slow when local (lo) network interface not upped

could you try if that's still an issue in jaunty?

** Changed in: gtk+2.0 (Ubuntu)
   Importance: Undecided => Low

** Changed in: gtk+2.0 (Ubuntu)
     Assignee: (unassigned) => Ubuntu Desktop Bugs (desktop-bugs)

--
Gtk+ applications slow when local (lo) network interface not upped
https://bugs.launchpad.net/bugs/231384
You received this bug notification because you are a direct subscriber
of the bug.

Revision history for this message
Sebastien Bacher (seb128) wrote :

closing the bug since that works now

Changed in gtk+2.0 (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.