public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Firefox 4 hard freeze
@ 2011-04-14 19:53 Willie Wong
  2011-04-14 20:16 ` Willie Wong
  0 siblings, 1 reply; 4+ messages in thread
From: Willie Wong @ 2011-04-14 19:53 UTC (permalink / raw
  To: gentoo-user

Hi list, 

I'm running into some weird problem. Firefox was upgraded to version 4
a few days ago. And up until last night I have had no problems with
it. Starting this morning, however, it seems that Firefox would freeze
up whenever I touch the keyboard with the window in focus!

I can open new tabs, go visit links in the history, etc, with no
problems. But any keyboard input (hitting Ctrl-t for new tab, Ctrl-n
for new Window, or trying to enter an address into the address bar)
completely freezes the program. 

Running from command line produced no outputs. 

Running with `strace` gives the following output near the end. I am
not sure what's going on with the read(3, 0x9038118, 4096) thing which
keeps giving Reseource temporarily unavailable: it keeps flashing by
once Firefox has started, seems like firefox keep trying to poll
something, but I have no idea what it is doing. 

But at the very least, even when I just leave the window alone, I knew
firefox was doing something. 

But the minute I hit the keyboard, the rapidly scrolling output of
strace stops, and I had to hit Ctrl-C to terminate the process
(resulting in the last line of the posted trace). 

The running versions of firefox is 4.0-r3, and xulrunner is at 2.0-r1

[ebuild   R   ] net-libs/xulrunner-2.0-r1  USE="alsa ipc webm wifi -crashreporter -custom-optimization -dbus -debug -gconf -libnotify -startup-notification -system-sqlite" 0 kB
[ebuild   R   ] www-client/firefox-4.0-r3  USE="alsa ipc webm wifi -bindist -custom-optimization -dbus -debug -libnotify -startup-notification -system-sqlite" LINGUAS="en fr -af -ak -ar -ast -be -bg -bn -bn_BD -bn_IN -br -bs -ca -cs -cy -da -de -el -en_ZA -eo -es -es_ES -et -eu -fa -fi -fy -fy_NL -ga -ga_IE -gd -gl -gu -gu_IN -he -hi -hi_IN -hr -hu -hy -hy_AM -id -is -it -ja -kk -kn -ko -ku -lg -lt -lv -mai -mk -ml -mr -nb -nb_NO -nl -nn -nn_NO -nso -or -pa -pa_IN -pl -pt -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -sv_SE -ta -ta_LK -te -th -tr -uk -vi -zu" 0 kB

Any ideas?

------strace output snip--------
writev(3, [{"\221\6\2\0\3\0 \1", 8}, {NULL, 0}, {"", 0}], 3) = 8
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
read(3, "\1\3\354\4\17\0\0\0\1\1\1\0\0\0\0\0\0\0\0\0\224\2(\0,\1,\1\240\0(\0"..., 4096) = 92
read(3, 0x9038118, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
read(3, 0x9038118, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"\221\10\7\0\3\0G\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\5", 28}, {NULL, 0}, {"", 0}], 3) = 28
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
read(3, "\1\3\355\4\f\4\0\0\0\0\10\377G\0\0\31\31\10\351\0\370\0\0\0\0\0\0\0\0\0\0\10"..., 4096) = 4096
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 80) = 80
read(3, 0x9038118, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
read(3, 0x9038118, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1302810140, 819284}, NULL) = 0
futex(0x905a888, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x905a884, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
gettimeofday({1302810140, 824690}, NULL) = 0
gettimeofday({1302810140, 824783}, NULL) = 0
futex(0x905a888, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x905a884, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
gettimeofday({1302810140, 825089}, NULL) = 0
gettimeofday({1302810140, 825183}, NULL) = 0
gettimeofday({1302810140, 825464}, NULL) = 0
read(16, "\372", 1)                     = 1
gettimeofday({1302810140, 825899}, NULL) = 0
gettimeofday({1302810140, 825996}, NULL) = 0
gettimeofday({1302810140, 826099}, NULL) = 0
gettimeofday({1302810140, 826196}, NULL) = 0
gettimeofday({1302810140, 826287}, NULL) = 0
gettimeofday({1302810140, 826397}, NULL) = 0
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=16, events=POLLIN}], 3, 0) = 0 (Timeout)
gettimeofday({1302810140, 826733}, NULL) = 0
gettimeofday({1302810140, 826829}, NULL) = 0
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"\201\1\2\0\306\0\0\0", 8}, {NULL, 0}, {"", 0}], 3) = 8
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
read(3, "\1\0\356\4\0\0\0\0\305\0\0\0\220'\t\0000\0\0\0\0\0\0\0\0\322\300\277\0\0\0\0", 4096) = 32
read(3, 0x9038118, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
read(3, 0x9038118, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday({1302810140, 827861}, NULL) = 0
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"\221\10\7\0\0\1\7\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\5", 28}, {NULL, 0}, {"", 0}], 3) = 28
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
read(3, "\1\3\357\4\10\4\0\0\0\0\10\377\7\0\0\31\31\10\351\0\370\0\0\0\0\0\0\0\0\0\0\10"..., 4096) = 4096
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 64) = 64
read(3, 0x9038118, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
read(3, 0x9038118, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
open("/usr/lib/gconv/UTF-32.so", O_RDONLY) = 70
read(70, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \4\0\0004\0\0\0"..., 512) = 512
fstat64(70, {st_mode=S_IFREG|0755, st_size=9412, ...}) = 0
mmap2(NULL, 12328, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 70, 0) = 0xa03ca000
mmap2(0xa03cc000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 70, 0x1) = 0xa03cc000
close(70)                               = 0
mprotect(0xa03cc000, 4096, PROT_READ)   = 0
rt_sigaction(SIGPIPE, NULL, {SIG_IGN, [PIPE], SA_RESTART}, 8) = 0
write(37, "\2\0\0\0\357\0 \1\0\0\0\0\0\0\0\0\0\0\0\0t\0\0\0\4\0\0\0\0\0\0\0"..., 52) = 52
rt_sigaction(SIGPIPE, NULL, {SIG_IGN, [PIPE], SA_RESTART}, 8) = 0
read(37, "\0\0\0\0\0\0\0\0", 8)         = 8
rt_sigaction(SIGPIPE, NULL, {SIG_IGN, [PIPE], SA_RESTART}, 8) = 0
write(37, "@\0\0\0\357\0 \1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 52) = 52
rt_sigaction(SIGPIPE, NULL, {SIG_IGN, [PIPE], SA_RESTART}, 8) = 0
read(37, "\1\0\0\0", 4)                 = 4
rt_sigaction(SIGPIPE, NULL, {SIG_IGN, [PIPE], SA_RESTART}, 8) = 0
read(37, "\0", 1)                       = 1
rt_sigaction(SIGPIPE, NULL, {SIG_IGN, [PIPE], SA_RESTART}, 8) = 0
read(37, "\0\0\0\0", 4)                 = 4
rt_sigaction(SIGPIPE, NULL, {SIG_IGN, [PIPE], SA_RESTART}, 8) = 0
read(37, "\0\0\0\0", 4)                 = 4
rt_sigaction(SIGPIPE, NULL, {SIG_IGN, [PIPE], SA_RESTART}, 8) = 0
read(37, ^C <unfinished ...>
------------------------------------------
-- 
Willie W. Wong                                     wwong@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
         et vice versa   ~~~  I. Newton



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Firefox 4 hard freeze
  2011-04-14 19:53 [gentoo-user] Firefox 4 hard freeze Willie Wong
@ 2011-04-14 20:16 ` Willie Wong
  2011-04-14 20:47   ` Paul Hartman
  0 siblings, 1 reply; 4+ messages in thread
From: Willie Wong @ 2011-04-14 20:16 UTC (permalink / raw
  To: gentoo-user

On Thu, Apr 14, 2011 at 03:53:39PM -0400, Willie Wong wrote:
> Hi list, 
> 
> I'm running into some weird problem. Firefox was upgraded to version 4
> a few days ago. And up until last night I have had no problems with
> it. Starting this morning, however, it seems that Firefox would freeze
> up whenever I touch the keyboard with the window in focus!
> 
> I can open new tabs, go visit links in the history, etc, with no
> problems. But any keyboard input (hitting Ctrl-t for new tab, Ctrl-n
> for new Window, or trying to enter an address into the address bar)
> completely freezes the program. 
> 

Update: seems that only some keyboard input is affected. For example,
arrow keys for scrolling, and typing things in text/input boxes on
webpages are fine. But "hotkeys" interacting with Firefox, or typing
in the Address bar or Search bar freezes the program. 

W
-- 
Willie W. Wong                                     wwong@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
         et vice versa   ~~~  I. Newton



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Firefox 4 hard freeze
  2011-04-14 20:16 ` Willie Wong
@ 2011-04-14 20:47   ` Paul Hartman
  2011-04-15 23:30     ` Willie Wong
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Hartman @ 2011-04-14 20:47 UTC (permalink / raw
  To: gentoo-user

On Thu, Apr 14, 2011 at 3:16 PM, Willie Wong <wwong@math.princeton.edu> wrote:
> On Thu, Apr 14, 2011 at 03:53:39PM -0400, Willie Wong wrote:
>> Hi list,
>>
>> I'm running into some weird problem. Firefox was upgraded to version 4
>> a few days ago. And up until last night I have had no problems with
>> it. Starting this morning, however, it seems that Firefox would freeze
>> up whenever I touch the keyboard with the window in focus!
>>
>> I can open new tabs, go visit links in the history, etc, with no
>> problems. But any keyboard input (hitting Ctrl-t for new tab, Ctrl-n
>> for new Window, or trying to enter an address into the address bar)
>> completely freezes the program.
>>
>
> Update: seems that only some keyboard input is affected. For example,
> arrow keys for scrolling, and typing things in text/input boxes on
> webpages are fine. But "hotkeys" interacting with Firefox, or typing
> in the Address bar or Search bar freezes the program.

Have you tried as a different user or with a fresh Firefox profile? I
wonder if it would make a difference.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Firefox 4 hard freeze
  2011-04-14 20:47   ` Paul Hartman
@ 2011-04-15 23:30     ` Willie Wong
  0 siblings, 0 replies; 4+ messages in thread
From: Willie Wong @ 2011-04-15 23:30 UTC (permalink / raw
  To: gentoo-user

On Thu, Apr 14, 2011 at 03:47:22PM -0500, Paul Hartman wrote:
> > Update: seems that only some keyboard input is affected. For example,
> > arrow keys for scrolling, and typing things in text/input boxes on
> > webpages are fine. But "hotkeys" interacting with Firefox, or typing
> > in the Address bar or Search bar freezes the program.
> 
> Have you tried as a different user or with a fresh Firefox profile? I
> wonder if it would make a difference.

Hum, this morning the problem was still there. I turned off the
computer. Tonight I came home, booted it up, and it is no longer a
problem. I am not going to pretend I know what just happened.

W
-- 
Willie W. Wong                                     wwong@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
         et vice versa   ~~~  I. Newton



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-15 23:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-14 19:53 [gentoo-user] Firefox 4 hard freeze Willie Wong
2011-04-14 20:16 ` Willie Wong
2011-04-14 20:47   ` Paul Hartman
2011-04-15 23:30     ` Willie Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox