Gentoo Archives: gentoo-user

From: gevisz <gevisz@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system
Date: Fri, 27 Jul 2018 10:44:21
Message-Id: CA+t6X7cruzGqa1YA9Jp5rn4bwJaet6JK13EKkQrE0kTATfdDug@mail.gmail.com
In Reply to: Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system by Mick
1 2018-07-27 12:44 GMT+03:00 Mick <michaelkintzios@×××××.com>:
2 > On Friday, 27 July 2018 09:16:30 BST gevisz wrote:
3 >> I have two Gentoo systems on the same AMD Athlon 64 X2 computer.
4 >>
5 >> The old one was installed in July 2013 with
6 >> default/linux/amd64/13.0/desktop/gnome (stable)
7 >> profile and was updated till the middle of
8 >> July 2017. Initially it hosted Gnome2
9 >> but later I have switched to XFCE4.
10 >>
11 >> The new one was installed in January-February 2018
12 >> with default/linux/amd64/17.0/desktop (stable)
13 >> profile and was last updated yesterday. From the
14 >> very beginning it hosted no DE, only Awesome WM
15 >> and dbus.
16 >>
17 >> The home directory is the same and still remembers
18 >> Ubuntu 6.04 installation in 2006.
19 >>
20 >> On the old system, I had the problem that chromium
21 >> very often (but not always!) asked me for some
22 >> (keyring?) password when I opened a new www-page.
23 >>
24 >> Recompilation of it with different user flags did not help.
25 >
26 > Go to:
27 >
28 > chrome://settings/passwords
29 >
30 > Then disable "Offer to save passwords". It should not ask
31 > you to save passwords thereafter.
32
33 Thank you for your reply.
34
35 Chromium asked for a password to keyring or something like
36 that and did it on opening almost any page, even that that
37 definitely did not need any password authentication.
38
39 So, it was something else than just saving password for pages.
40
41 But it does not matter much now because I currently do not
42 use Chromium any more because it compiles more than 26 hours
43 on my computer.
44
45 >> I thought that that was because of the gnome-keyring,
46 >> consolekit or policykit packages but without any proof.
47 >
48 > From what I understand Chrome/ium will ask the desktop
49 > password manager to handle the saving of website passwords.
50
51 I guess he [Chromium] asked me for the password from
52 a password manager I may be used in previous intallation
53 of Ubuntu 5 or 10 years ago. However, I never give him
54 that password (because did not remember any such
55 password or even when I could create it in the past), so
56 he asked almost every time he opened new page. :)
57
58 > Policykit/polkit provides a centralised mechanism for
59 > non-privileged processes to communicate with privileged
60 > ones; e.g. when a plain user wants to hibernate/shutdown,
61 > disable NICs, etc.
62 >
63 > https://lwn.net/Articles/258592/
64 >
65 > Consolekit tracks user sessions and allows switching between
66 > users on the same PC without logging out.
67
68 I am using my computer alone, so I guess that I do not need it.
69
70 > As far as I know with the switch to systemd and its built-in
71 > seat/user/session management mechanisms Consolekit
72 > is no longer maintained.
73
74 I do not use systemd.
75
76 >> So, while installing the new Gentoo system, I decided
77 >> to avoid installing any package that needs gnome-keyring,
78 >> consolekit or policykit packages.
79 >
80 > I think you shouldn't have needed to do all this.
81 >
82 >> I have also set -pam -consolekit and -policykit in my
83 >> /etc/portage/make.conf
84 >
85 > PAM is used to separate applications from the underlying
86 > authentication mechanisms. It checks OS user/account/passwd/session
87 > authentications when required by applications. This is the backbone
88 > of managing Linux authentications today, although some applications
89 > retain their own application level authentication mechanism (e.g. SSH).
90
91 So, do you think that global -pam use flag can cause Firefox
92 and QupZilla to crash on loging web-pages?
93
94 > I don't think setting USE="-pam" is advisable for most dekstop use cases.
95 >
96 >> Chromium indeed never asked me for the mentioned
97 >> above password on the new Gentoo system.
98 >>
99 >> But I get another problem on the new Gentoo system:
100 >> Firefox and Qupzilla both crash on some (login) www-pages.
101 >>
102 >> Namely, Firefox shows the "Gah. Your tab just crashed"
103 >> when I try to log into my Yahoo e-mail account.
104 >>
105 >> This happens only after entering login and password,
106 >> so not good enough to reproduce.
107 >>
108 >> However, it shows the same message just after staying
109 >> about 3-5 seconds on the following internet banking
110 >> login page: https://www.privat24.ua/#login
111 >> No login or password needed. :)
112 >>
113 >> The last error messages sent to terminal by FF while I
114 >> try to open the last www-page are the following:
115 >>
116 >> [Parent 4099] WARNING: pipe error (56): Connection reset by peer:
117 >
118 > The server disconnected you.
119 >
120 >
121 >> file
122 >> /var/tmp/portage/www-client/firefox-52.8.0/work/firefox-52.8.0esr/ipc/chromi
123 >> um/src/chrome/common/ipc_channel_posix.cc, line 322
124 >
125 > I'm not sure if your firefox build is the same like shown here,
126
127 Yes, the same.
128
129 > but line 322 shows a I/O message loop where it checks if a connection
130 > is running so that it can respond.
131 >
132 > The page in question pops up a couple of things, after loading the initial
133 > page, including geolocation.
134
135 Geolocation frame pops up, but on the old Gentoo system
136 it does not lead to the tab crash.
137
138 > It may have something to do with this.
139 >
140 >> ###!!! [Parent][MessageChannel] Error:
141 >> (msgtype=0x2C0083,name=PBrowser::Msg_Destroy) Channel error: cannot
142 >> send/recv
143 >
144 > It seems the connection has been reset by the server, two processes running on
145 > your browser using IPC can't go anywhere and are torn down, but I'm no
146 > developer to know for sure.
147 >
148 >
149 >> As to the Qupzilla, it crashes on the page https://www.privat24.ua/#login
150 >> completely, with the following messages sent to terminal:
151 >>
152 >> [4376:4387:0727/105105.178569:ERROR:nss_ocsp.cc(591)] No
153 >> URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com
154 > [snip ...]
155 >
156 > The browser is trying to check ocsp.digicert.com for the validity of the
157 > certificate, but there is some error with the URL. Then (I'm guessing)
158 > there's some pop up in the browser to inform you of this error, which causes a
159 > mesa rendering fault with the output shown below:
160 >
161 >> r300 FP: Compiler Error:
162 >> /var/tmp/portage/media-libs/mesa-17.3.9/work/mesa-17.3.9/src/gallium/drivers
163 >> /r300/compiler/r300_fragprog_emit.c::translate_rgb_opcode():
164 >> translate_rgb_opcode: Unknown opcode DDY
165 >> Using a dummy shader instead.
166 >> QupZilla: Crashed :( Saving backtrace in
167 >> /home/user/.config/qupzilla/crashlog ...
168 >> Backtrace successfully saved in
169 >> /home/user/.config/qupzilla/crashlog/Crash-2018-07-27T10:51:11.txt
170 >>
171 >> The mentioned above crashlog file contains only the following:
172 >>
173 >> Time: Fri Jul 27 10:51:11 2018
174 >> Qt version: 5.9.6 (compiled with 5.9.4)
175 >> QupZilla version: 2.2.5
176 >> Rendering engine: QtWebEngine
177 >>
178 >> ============== BACKTRACE ==============
179 >> #0: qupzilla(+0x355b) [0x55691e37055b]
180 >> #1: /lib64/libc.so.6(+0x35c60) [0x7f3a568c3c60]
181 >> #2: [0x7f3a3c18d2c9]
182 >
183 > I wouldn't know why the rendered content causes a mesa fault with the gallium
184 > driver, which brings down the browser. Are you running the browser in a
185 > container? Does it have enough memory allocated to it?
186
187 No, I do not run browser in a container. There is also plenty of memory.
188 Here is the output from top with FF running:
189 $ top
190
191 top - 13:02:44 up 2:50, 1 user, load average: 0.16, 0.26, 0.35
192 Tasks: 95 total, 1 running, 94 sleeping, 0 stopped, 0 zombie
193 %Cpu(s): 3.2 us, 6.5 sy, 0.0 ni, 90.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
194 MiB Mem : 7721.3 total, 5504.1 free, 614.2 used, 1603.1 buff/cache
195 MiB Swap: 12000.0 total, 12000.0 free, 0.0 used. 6946.5 avail Mem
196
197 PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+
198 COMMAND
199 3648 root 20 0 450736 66136 46024 S 13.3 0.8 4:40.45 X
200 5463 gevis 20 0 1957104 401300 121472 S 6.7 5.1 1:04.86
201 Web Content
202 1 root 20 0 4328 1588 1488 S 0.0 0.0 0:01.22
203 init
204 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00
205 kthreadd
206 3 root 20 0 0 0 0 S 0.0 0.0 0:00.03
207 ksoftirqd/0
208 5 root 0 -20 0 0 0 S 0.0 0.0 0:00.00
209 kworker/0:0H
210
211 >> Strange enough, but on the old Gentoo system Firefox does not crash on
212 >> the said www-pages.
213 >>
214 >> I initially thought that all that because
215 >> I have set -consolekit and -policykit use
216 >> flags in my /etc/portage/make.conf on my
217 >> new Gentoo system but unsetting them
218 >> does not lead to any recompilation while running
219 >> # emerge --update --deep --with-bdeps=y --newuse --backtrack=100 --ask world
220 >>
221 >> Any thoughts about this?

Replies

Subject Author
Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system Mick <michaelkintzios@×××××.com>