Gentoo Archives: gentoo-user

From: Willie Wong <wwong@××××××××××××××.edu>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Firefox 4 hard freeze
Date: Thu, 14 Apr 2011 19:56:22
Message-Id: 20110414195339.GA740@math.princeton.edu
1 Hi list,
2
3 I'm running into some weird problem. Firefox was upgraded to version 4
4 a few days ago. And up until last night I have had no problems with
5 it. Starting this morning, however, it seems that Firefox would freeze
6 up whenever I touch the keyboard with the window in focus!
7
8 I can open new tabs, go visit links in the history, etc, with no
9 problems. But any keyboard input (hitting Ctrl-t for new tab, Ctrl-n
10 for new Window, or trying to enter an address into the address bar)
11 completely freezes the program.
12
13 Running from command line produced no outputs.
14
15 Running with `strace` gives the following output near the end. I am
16 not sure what's going on with the read(3, 0x9038118, 4096) thing which
17 keeps giving Reseource temporarily unavailable: it keeps flashing by
18 once Firefox has started, seems like firefox keep trying to poll
19 something, but I have no idea what it is doing.
20
21 But at the very least, even when I just leave the window alone, I knew
22 firefox was doing something.
23
24 But the minute I hit the keyboard, the rapidly scrolling output of
25 strace stops, and I had to hit Ctrl-C to terminate the process
26 (resulting in the last line of the posted trace).
27
28 The running versions of firefox is 4.0-r3, and xulrunner is at 2.0-r1
29
30 [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
31 [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
32
33 Any ideas?
34
35 ------strace output snip--------
36 writev(3, [{"\221\6\2\0\3\0 \1", 8}, {NULL, 0}, {"", 0}], 3) = 8
37 poll([{fd=3, events=POLLIN}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
38 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
39 read(3, 0x9038118, 4096) = -1 EAGAIN (Resource temporarily unavailable)
40 read(3, 0x9038118, 4096) = -1 EAGAIN (Resource temporarily unavailable)
41 poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
42 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
43 poll([{fd=3, events=POLLIN}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
44 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
45 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
46 read(3, 0x9038118, 4096) = -1 EAGAIN (Resource temporarily unavailable)
47 read(3, 0x9038118, 4096) = -1 EAGAIN (Resource temporarily unavailable)
48 gettimeofday({1302810140, 819284}, NULL) = 0
49 futex(0x905a888, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x905a884, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
50 gettimeofday({1302810140, 824690}, NULL) = 0
51 gettimeofday({1302810140, 824783}, NULL) = 0
52 futex(0x905a888, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x905a884, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
53 gettimeofday({1302810140, 825089}, NULL) = 0
54 gettimeofday({1302810140, 825183}, NULL) = 0
55 gettimeofday({1302810140, 825464}, NULL) = 0
56 read(16, "\372", 1) = 1
57 gettimeofday({1302810140, 825899}, NULL) = 0
58 gettimeofday({1302810140, 825996}, NULL) = 0
59 gettimeofday({1302810140, 826099}, NULL) = 0
60 gettimeofday({1302810140, 826196}, NULL) = 0
61 gettimeofday({1302810140, 826287}, NULL) = 0
62 gettimeofday({1302810140, 826397}, NULL) = 0
63 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=16, events=POLLIN}], 3, 0) = 0 (Timeout)
64 gettimeofday({1302810140, 826733}, NULL) = 0
65 gettimeofday({1302810140, 826829}, NULL) = 0
66 poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
67 writev(3, [{"\201\1\2\0\306\0\0\0", 8}, {NULL, 0}, {"", 0}], 3) = 8
68 poll([{fd=3, events=POLLIN}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
69 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
70 read(3, 0x9038118, 4096) = -1 EAGAIN (Resource temporarily unavailable)
71 read(3, 0x9038118, 4096) = -1 EAGAIN (Resource temporarily unavailable)
72 gettimeofday({1302810140, 827861}, NULL) = 0
73 poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
74 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
75 poll([{fd=3, events=POLLIN}], 1, -1) = 1 ([{fd=3, revents=POLLIN}])
76 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
77 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
78 read(3, 0x9038118, 4096) = -1 EAGAIN (Resource temporarily unavailable)
79 read(3, 0x9038118, 4096) = -1 EAGAIN (Resource temporarily unavailable)
80 open("/usr/lib/gconv/UTF-32.so", O_RDONLY) = 70
81 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
82 fstat64(70, {st_mode=S_IFREG|0755, st_size=9412, ...}) = 0
83 mmap2(NULL, 12328, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 70, 0) = 0xa03ca000
84 mmap2(0xa03cc000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 70, 0x1) = 0xa03cc000
85 close(70) = 0
86 mprotect(0xa03cc000, 4096, PROT_READ) = 0
87 rt_sigaction(SIGPIPE, NULL, {SIG_IGN, [PIPE], SA_RESTART}, 8) = 0
88 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
89 rt_sigaction(SIGPIPE, NULL, {SIG_IGN, [PIPE], SA_RESTART}, 8) = 0
90 read(37, "\0\0\0\0\0\0\0\0", 8) = 8
91 rt_sigaction(SIGPIPE, NULL, {SIG_IGN, [PIPE], SA_RESTART}, 8) = 0
92 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
93 rt_sigaction(SIGPIPE, NULL, {SIG_IGN, [PIPE], SA_RESTART}, 8) = 0
94 read(37, "\1\0\0\0", 4) = 4
95 rt_sigaction(SIGPIPE, NULL, {SIG_IGN, [PIPE], SA_RESTART}, 8) = 0
96 read(37, "\0", 1) = 1
97 rt_sigaction(SIGPIPE, NULL, {SIG_IGN, [PIPE], SA_RESTART}, 8) = 0
98 read(37, "\0\0\0\0", 4) = 4
99 rt_sigaction(SIGPIPE, NULL, {SIG_IGN, [PIPE], SA_RESTART}, 8) = 0
100 read(37, "\0\0\0\0", 4) = 4
101 rt_sigaction(SIGPIPE, NULL, {SIG_IGN, [PIPE], SA_RESTART}, 8) = 0
102 read(37, ^C <unfinished ...>
103 ------------------------------------------
104 --
105 Willie W. Wong wwong@××××××××××××××.edu
106 Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire
107 et vice versa ~~~ I. Newton

Replies

Subject Author
Re: [gentoo-user] Firefox 4 hard freeze Willie Wong <wwong@××××××××××××××.edu>