[Firefox 4 release/nightlies : Linux] Add-ons manager hangs

Discussion about official Mozilla Firefox builds
ApTeM
Posts: 89
Joined: September 3rd, 2006, 1:32 am
Location: Artem S. Tashkinov

[Firefox 4 release/nightlies : Linux] Add-ons manager hangs

Post by ApTeM »

Every time when I try to open add-ons manager (Tools -> Add-ons Manager -> Extensions) my Firefox hangs completely. Sometimes add-ons manager works but so far I couldn't establish the pattern.

I tried to `strace` Firefox but there's nothing interesting:

Code: Select all

17852 gettimeofday({1298718707, 755438}, NULL) = 0
17852 futex(0xb2d248e0, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
17871 <... futex resumed> )             = -1 ETIMEDOUT (Connection timed out)
17871 clock_gettime(CLOCK_MONOTONIC, {73346, 335970318}) = 0
17871 futex(0xb4c0de80, FUTEX_WAKE_PRIVATE, 1) = 0
17871 clock_gettime(CLOCK_MONOTONIC, {73346, 336127116}) = 0
17871 gettimeofday({1298718707, 825604}, NULL) = 0
17871 clock_gettime(CLOCK_REALTIME, {1298718707, 825630736}) = 0
17871 futex(0xb4c21d88, FUTEX_WAIT_PRIVATE, 1515, {0, 194973264} <unfinished ...>
17874 <... futex resumed> )             = -1 ETIMEDOUT (Connection timed out)
17874 gettimeofday({1298718707, 938039}, NULL) = 0
17874 futex(0xb2d24b20, FUTEX_WAKE_PRIVATE, 1) = 0
17874 clock_gettime(CLOCK_REALTIME, {1298718707, 938097181}) = 0
17874 futex(0xb2d58dc8, FUTEX_WAIT_PRIVATE, 15, {0, 999941819} <unfinished ...>
17871 <... futex resumed> )             = -1 ETIMEDOUT (Connection timed out)
17871 clock_gettime(CLOCK_MONOTONIC, {73346, 531369537}) = 0
17871 futex(0xb4c0de80, FUTEX_WAKE_PRIVATE, 1) = 0
17871 clock_gettime(CLOCK_MONOTONIC, {73346, 531479388}) = 0
17871 gettimeofday({1298718708, 20981}, NULL) = 0
17871 clock_gettime(CLOCK_REALTIME, {1298718708, 21022323}) = 0
17871 futex(0xb4c21d88, FUTEX_WAIT_PRIVATE, 1517, {0, 3958677}) = -1 ETIMEDOUT (Connection timed out)
17871 clock_gettime(CLOCK_MONOTONIC, {73346, 535707777}) = 0
17871 futex(0xb4c0de80, FUTEX_WAKE_PRIVATE, 1) = 0
17871 clock_gettime(CLOCK_MONOTONIC, {73346, 535775134}) = 0
17871 gettimeofday({1298718708, 25245}, NULL) = 0
17871 clock_gettime(CLOCK_REALTIME, {1298718708, 25271484}) = 0
17871 futex(0xb4c21d88, FUTEX_WAIT_PRIVATE, 1519, {0, 19973516}) = -1 ETIMEDOUT (Connection timed out)
17871 clock_gettime(CLOCK_MONOTONIC, {73346, 555980548}) = 0
17871 futex(0xb4c0de80, FUTEX_WAKE_PRIVATE, 1) = 0
17871 write(13, "8", 1 <unfinished ...>
17872 <... poll resumed> )              = 1 ([{fd=12, revents=POLLIN}])
17871 <... write resumed> )             = 1
17872 gettimeofday( <unfinished ...>
17871 clock_gettime(CLOCK_MONOTONIC,  <unfinished ...>
17872 <... gettimeofday resumed> {1298718708, 45640}, NULL) = 0
17871 <... clock_gettime resumed> {73346, 556206163}) = 0
17872 read(12,  <unfinished ...>
17871 gettimeofday( <unfinished ...>
17872 <... read resumed> "8", 1024)     = 1
17871 <... gettimeofday resumed> {1298718708, 45683}, NULL) = 0
17872 clock_gettime(CLOCK_MONOTONIC,  <unfinished ...>
17871 clock_gettime(CLOCK_REALTIME,  <unfinished ...>
17872 <... clock_gettime resumed> {73346, 556266415}) = 0
17871 <... clock_gettime resumed> {1298718708, 45714861}) = 0
17871 futex(0xb4c21d88, FUTEX_WAIT_PRIVATE, 1521, {0, 119968139} <unfinished ...>
17872 write(13, "8", 1)                 = 1
17872 gettimeofday({1298718708, 45805}, NULL) = 0
17872 gettimeofday({1298718708, 45841}, NULL) = 0
17872 poll([{fd=12, events=POLLIN}], 1, 0) = 1 ([{fd=12, revents=POLLIN}])
17872 gettimeofday({1298718708, 45916}, NULL) = 0
17872 read(12, "8", 1024)               = 1
17872 gettimeofday({1298718708, 45986}, NULL) = 0
17872 gettimeofday({1298718708, 46018}, NULL) = 0
17872 gettimeofday({1298718708, 46048}, NULL) = 0
17872 gettimeofday({1298718708, 46078}, NULL) = 0
17872 close(48)                         = 0
17872 gettimeofday({1298718708, 46167}, NULL) = 0
17872 poll([{fd=12, events=POLLIN}], 1, 0) = 0 (Timeout)
17872 gettimeofday({1298718708, 46220}, NULL) = 0
17872 gettimeofday({1298718708, 46248}, NULL) = 0
17872 poll([{fd=12, events=POLLIN}], 1, 0) = 0 (Timeout)
17872 gettimeofday({1298718708, 46298}, NULL) = 0
17872 gettimeofday({1298718708, 46323}, NULL) = 0
17872 poll([{fd=12, events=POLLIN}], 1, -1 <unfinished ...>
17871 <... futex resumed> )             = -1 ETIMEDOUT (Connection timed out)
17871 clock_gettime(CLOCK_MONOTONIC, {73346, 676472821}) = 0
17871 gettimeofday({1298718708, 165949}, NULL) = 0
17871 futex(0xb4c0de80, FUTEX_WAKE_PRIVATE, 1) = 0
17871 clock_gettime(CLOCK_REALTIME, {1298718708, 166007076}) = 0
17871 futex(0xb4c21d88, FUTEX_WAIT_PRIVATE, 1523, {0, 2941924}) = -1 ETIMEDOUT (Connection timed out)
17871 clock_gettime(CLOCK_MONOTONIC, {73346, 679667330}) = 0
17871 gettimeofday({1298718708, 169141}, NULL) = 0
17871 futex(0xb4c0de80, FUTEX_WAKE_PRIVATE, 1) = 0
17871 clock_gettime(CLOCK_REALTIME, {1298718708, 169201183}) = 0
17871 futex(0xb4c21d88, FUTEX_WAIT_PRIVATE, 1525, {0, 939817}) = -1 ETIMEDOUT (Connection timed out)
17871 clock_gettime(CLOCK_MONOTONIC, {73346, 680853311}) = 0
17871 futex(0xb4c0de80, FUTEX_WAKE_PRIVATE, 1) = 0
17871 clock_gettime(CLOCK_MONOTONIC, {73346, 680940132}) = 0
17871 gettimeofday({1298718708, 170410}, NULL) = 0
17871 clock_gettime(CLOCK_REALTIME, {1298718708, 170435843}) = 0
17871 futex(0xb4c21d88, FUTEX_WAIT_PRIVATE, 1527, {0, 28974157}) = -1 ETIMEDOUT (Connection timed out)
17871 clock_gettime(CLOCK_MONOTONIC, {73346, 710188747}) = 0
17871 futex(0xb4c0de80, FUTEX_WAKE_PRIVATE, 1) = 0
17871 clock_gettime(CLOCK_MONOTONIC, {73346, 710271156}) = 0
17871 gettimeofday({1298718708, 199746}, NULL) = 0
17871 clock_gettime(CLOCK_REALTIME, {1298718708, 199777149}) = 0
17871 futex(0xb4c21d88, FUTEX_WAIT_PRIVATE, 1529, {0, 352968851}) = -1 ETIMEDOUT (Connection timed out)
17871 clock_gettime(CLOCK_MONOTONIC, {73347, 63587012}) = 0
17871 futex(0xb4c0de80, FUTEX_WAKE_PRIVATE, 1) = 0
17871 clock_gettime(CLOCK_MONOTONIC, {73347, 63934360}) = 0
17871 gettimeofday({1298718708, 553548}, NULL) = 0
17871 clock_gettime(CLOCK_REALTIME, {1298718708, 553624706}) = 0
17871 futex(0xb4c21d88, FUTEX_WAIT_PRIVATE, 1531, {2, 362923294} <unfinished ...>
17874 <... futex resumed> )             = -1 ETIMEDOUT (Connection timed out)
17874 gettimeofday({1298718708, 938218}, NULL) = 0
17874 futex(0xb2d24b20, FUTEX_WAKE_PRIVATE, 1) = 0
17874 clock_gettime(CLOCK_REALTIME, {1298718708, 938274690}) = 0
17874 futex(0xb2d58dc8, FUTEX_WAIT_PRIVATE, 17, {0, 999943310}) = -1 ETIMEDOUT (Connection timed out)
17874 gettimeofday({1298718709, 938403}, NULL) = 0
17874 futex(0xb2d24b20, FUTEX_WAKE_PRIVATE, 1) = 0
17874 clock_gettime(CLOCK_REALTIME, {1298718709, 938461001}) = 0
17874 futex(0xb2d58dc8, FUTEX_WAIT_PRIVATE, 19, {0, 999941999} <unfinished ...>
17871 <... futex resumed> )             = -1 ETIMEDOUT (Connection timed out)
17871 clock_gettime(CLOCK_MONOTONIC, {73349, 427403312}) = 0
17871 futex(0xb4c0de80, FUTEX_WAKE_PRIVATE, 1) = 0
17871 clock_gettime(CLOCK_MONOTONIC, {73349, 427748775}) = 0
17871 gettimeofday({1298718710, 917361}, NULL) = 0
17871 clock_gettime(CLOCK_REALTIME, {1298718710, 917437560}) = 0
17871 futex(0xb4c21d88, FUTEX_WAIT_PRIVATE, 1533, {0, 862923440} <unfinished ...>
17874 <... futex resumed> )             = -1 ETIMEDOUT (Connection timed out)
17874 gettimeofday({1298718710, 938578}, NULL) = 0
17874 futex(0xb2d24b20, FUTEX_WAKE_PRIVATE, 1) = 0
17874 clock_gettime(CLOCK_REALTIME, {1298718710, 938634204}) = 0
17874 futex(0xb2d58dc8, FUTEX_WAIT_PRIVATE, 21, {0, 999943796} <unfinished ...>
17871 <... futex resumed> )             = -1 ETIMEDOUT (Connection timed out)
17871 clock_gettime(CLOCK_MONOTONIC, {73350, 291211077}) = 0
17871 futex(0xb4c0de80, FUTEX_WAKE_PRIVATE, 1) = 0
17871 clock_gettime(CLOCK_MONOTONIC, {73350, 291563094}) = 0
17871 gettimeofday({1298718711, 781176}, NULL) = 0
17871 clock_gettime(CLOCK_REALTIME, {1298718711, 781252475}) = 0
17871 futex(0xb4c21d88, FUTEX_WAIT_PRIVATE, 1535, {0, 39923525}) = -1 ETIMEDOUT (Connection timed out)
17871 clock_gettime(CLOCK_MONOTONIC, {73350, 331981725}) = 0
17871 futex(0xb4c0de80, FUTEX_WAKE_PRIVATE, 1) = 0
17871 clock_gettime(CLOCK_MONOTONIC, {73350, 332081349}) = 0
17871 gettimeofday({1298718711, 821550}, NULL) = 0
17871 clock_gettime(CLOCK_REALTIME, {1298718711, 821577391}) = 0
17871 futex(0xb4c21d88, FUTEX_WAIT_PRIVATE, 1537, {0, 154972609} <unfinished ...>
17874 <... futex resumed> )             = -1 ETIMEDOUT (Connection timed out)
17874 gettimeofday({1298718711, 938754}, NULL) = 0
17874 futex(0xb2d24b20, FUTEX_WAKE_PRIVATE, 1) = 0
17874 clock_gettime(CLOCK_REALTIME, {1298718711, 939003774}) = 0
17874 futex(0xb2d58dc8, FUTEX_WAIT_PRIVATE, 23, {0, 999750226} <unfinished ...>
17871 <... futex resumed> )             = -1 ETIMEDOUT (Connection timed out)
17871 clock_gettime(CLOCK_MONOTONIC, {73350, 487367600}) = 0
17871 futex(0xb4c0de80, FUTEX_WAKE_PRIVATE, 1) = 0
17871 clock_gettime(CLOCK_MONOTONIC, {73350, 487705216}) = 0
17871 gettimeofday({1298718711, 977271}, NULL) = 0
17871 clock_gettime(CLOCK_REALTIME, {1298718711, 977319592}) = 0
17871 futex(0xb4c21d88, FUTEX_WAIT_PRIVATE, 1539, {0, 23951408}) = -1 ETIMEDOUT (Connection timed out)
17871 clock_gettime(CLOCK_MONOTONIC, {73350, 512026741}) = 0
17871 futex(0xb4c0de80, FUTEX_WAKE_PRIVATE, 1) = 0
17871 clock_gettime(CLOCK_MONOTONIC, {73350, 512092716}) = 0
17871 gettimeofday({1298718712, 1561}, NULL) = 0
17871 clock_gettime(CLOCK_REALTIME, {1298718712, 1588034}) = 0
17871 futex(0xb4c21d88, FUTEX_WAIT_PRIVATE, 1541, {0, 514972966}) = -1 ETIMEDOUT (Connection timed out)
17871 clock_gettime(CLOCK_MONOTONIC, {73351, 27390187}) = 0
17871 futex(0xb4c0de80, FUTEX_WAKE_PRIVATE, 1) = 0
17871 clock_gettime(CLOCK_MONOTONIC, {73351, 27750814}) = 0
17871 gettimeofday({1298718712, 517363}, NULL) = 0
17871 clock_gettime(CLOCK_REALTIME, {1298718712, 517439478}) = 0
17871 futex(0xb4c21d88, FUTEX_WAIT_PRIVATE, 1543, {0, 3923522}) = -1 ETIMEDOUT (Connection timed out)


Does Firefox 4 has any kind of internal debug mode, environment flags which shed light on what it does?
Last edited by ApTeM on March 27th, 2011, 5:00 am, edited 2 times in total.
User avatar
malliz
Folder@Home
Posts: 43796
Joined: December 7th, 2002, 4:34 am
Location: Australia

Re: [Firefox 4 beta 12 : Linux] Add-ons manager hangs

Post by malliz »

Not seeing this on my Linux Mint box :-k New install of Julia and FF so I have had the Addons manager open a fair bit in the last week or so
What sort of man would put a known criminal in charge of a major branch of government? Apart from, say, the average voter.
"Terry Pratchett"
ApTeM
Posts: 89
Joined: September 3rd, 2006, 1:32 am
Location: Artem S. Tashkinov

Re: [Firefox 4 beta 12 : Linux] Add-ons manager hangs

Post by ApTeM »

One note - if I remove/rename "extensions" directory from/in my Firefox profile, Addons manager starts working.

I can post the entire strace log if anyone's interested.
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: [Firefox 4 beta 12 : Linux] Add-ons manager hangs

Post by patrickjdempsey »

If it works with that directory removed then it's probably one of your extensions breaking it. If you have any extensions that directly manipulate the addons-manager they might have been broken by recent changes. What extensions are you using?
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
ApTeM
Posts: 89
Joined: September 3rd, 2006, 1:32 am
Location: Artem S. Tashkinov

Re: [Firefox 4 beta 12 : Linux] Add-ons manager hangs

Post by ApTeM »

I have no extensions that "manipulate" add-ons manager.

I've just installed Firefox trunk/nightly (even though I usually dislike such a bleeding edge) and the bug seems to be resolved. Let's hope Firefox 4 RC1/beta 13 will be released with this issue resolved.
User avatar
malliz
Folder@Home
Posts: 43796
Joined: December 7th, 2002, 4:34 am
Location: Australia

Re: [Firefox 4 beta 12 : Linux] Add-ons manager hangs

Post by malliz »

Just updated to it
What sort of man would put a known criminal in charge of a major branch of government? Apart from, say, the average voter.
"Terry Pratchett"
ApTeM
Posts: 89
Joined: September 3rd, 2006, 1:32 am
Location: Artem S. Tashkinov

Re: [Firefox 4 beta 12 : Linux] Add-ons manager hangs

Post by ApTeM »

This problem happens with trunk too :(

At times I can reproduce it, at times everything works correctly - as if addons manager is trying to access some Mozilla servers and times out waiting for a reply.

Damn.
lithopsian
Posts: 3664
Joined: September 15th, 2010, 9:03 am

Re: [Firefox 4 beta 12 : Linux] Add-ons manager hangs

Post by lithopsian »

Corruption or incompatibility. Either way, the problem is in your extensions folder or an individual extension. Remove them one by one until it works. Or remove them all and add them back one by one, but that most likely will work just fine and you won't have the freeze any more.

Do you know the most recent version that doesn't freeze with that extension directory?
ApTeM
Posts: 89
Joined: September 3rd, 2006, 1:32 am
Location: Artem S. Tashkinov

Re: [Firefox 4 beta 12 : Linux] Add-ons manager hangs

Post by ApTeM »

Firefox 3.6.13 definitely works with all of them ;) The freezes started as soon as I upgraded to Firefox 4 beta.

However like I said, the hangs happen spontaneously, so it may easily take weeks until I identify that "bad" extension using either of your suggested methods. If any of extensions made my firefox freeze for certain I'd already solve this issue.
User avatar
xan K
Posts: 225
Joined: February 3rd, 2011, 6:11 pm

Re: [Firefox 4 beta / nightlies : Linux] Add-ons manager han

Post by xan K »

I'm not sure if it's related but something similar has been happening here too since some builds back. I've tried a new profile and the hang still happens.
this is a screen with all addons enabled: screenshot 01
this is with safe mode (from help menu): screenshot 02

it happens when the addon manager tries to load the page, so I guess (just a guess) is a problem with the page, not Firefox. the second screenshot's hang happened when the addon tried to automatically load the recommendations widget. it can freeze the browser dead and I'd have to force-close it.
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: [Firefox 4 beta / nightlies : Linux] Add-ons manager han

Post by patrickjdempsey »

Yeah, I really wish they wouldn't default the Addons Manager to open the Get Addons page, it really slows things down.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
User avatar
James
Moderator
Posts: 27999
Joined: June 18th, 2003, 3:07 pm
Location: Made in Canada

Re: [Firefox 4 beta / nightlies : Linux] Add-ons manager han

Post by James »

In Firefox 3.6 one could hide the Get Add-ons panel by setting extensions.getAddons.showPane to false but that does not work in 4.0
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: [Firefox 4 beta / nightlies : Linux] Add-ons manager han

Post by patrickjdempsey »

Probably because the new Addons Manager is 100% new, and doesn't use any of the old element names anywhere. I don't know what would happen if you hid the Get Addons pane and you open the Addons Manager and it's trying to load it... you would probably just see a blank frame.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
User avatar
Frank Lion
Posts: 21173
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

Re: [Firefox 4 beta / nightlies : Linux] Add-ons manager han

Post by Frank Lion »

lithopsian wrote:Corruption or incompatibility. Either way, the problem is in your extensions folder or an individual extension.

Not so.

patrickjdempsey wrote:Yeah, I really wish they wouldn't default the Addons Manager to open the Get Addons page, it really slows things down.

....and what slows things down and gives script warnings, as shown by xan 2? Patrick, it's an Addons site script bug. A killer bug that doesn't affect everyone, it seems, but will affect even clean profiles and will freeze the browser totally.

Patrick, think how we whacked Personas, the workaround solution is the same.
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
lithopsian
Posts: 3664
Joined: September 15th, 2010, 9:03 am

Re: [Firefox 4 beta / nightlies : Linux] Add-ons manager han

Post by lithopsian »

The selected pane should persist. Individual panes can be disabled. In fact many of them are enabled and disabled dynamically, but the "discover" pane you could just permanently disable if you find it as useless as I do.

Breakthrough! I couldn't get CSS to work but of course this is "in content UI' so it uses userContent.css, not userChrome.css.

Code: Select all

richlistitem[id="category-discover"] {
 display: none !important;
}

Looks a bit odd if you do this while that pane is selected because the label disappears but the content itself remains :)

You can also disable the content, which is contained in preference: extensions.webservice.discoverURL
Post Reply