From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 674CC138334 for ; Fri, 27 Jul 2018 09:44:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D2CCFE092C; Fri, 27 Jul 2018 09:44:42 +0000 (UTC) Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 06DEBE08F2 for ; Fri, 27 Jul 2018 09:44:41 +0000 (UTC) Received: by mail-wr1-x42f.google.com with SMTP id h14-v6so4413422wrw.13 for ; Fri, 27 Jul 2018 02:44:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:reply-to:subject:date:message-id:in-reply-to:references :mime-version; bh=RJbJg0cfNrV0MAej9i/5Cpz25FLRchYO5ks7kdHd0o8=; b=bizH38JUb8836O4K28UwsNmC8dVQBPaGANpJd0BqJVIitGp/xPi8HTaLegFxwSbPoi uqXZjFlg5EZnUPH1e7qAih9Gl5Kj8qoIgNtLMDj8zmaGHP4NKRUkYiBSyiPP6U2ViDa0 BDsoNGk8qxhQcmff3vP0v60I17k1rhNHdRQ3E72B9lsAzMpB6GW5Rfx4gg3jnzco4rwz CwDUADqlwZrICmO+t1GGRTfGyOvrnChcls+Bglom2eF8Hl+bP/1lKRcjqAPf5XJyFZYn Hg5SqFzzsbd5BZvnEYtAK+PmgMx+BtaDRHjt1itiVJwgb1Md84t+yHOn6EC/jEdrcEFj soLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:reply-to:subject:date:message-id :in-reply-to:references:mime-version; bh=RJbJg0cfNrV0MAej9i/5Cpz25FLRchYO5ks7kdHd0o8=; b=VmFy/AbsSxfDxcTUwBSwFOur0bOPJvJJ3MVv07Ac5vrnQQzavDbcaG28bxVL+MrvbL eo8WNClsEoaao9Rw94FxqqbcE0fiOifW9g2jA2c0yjCaptSbb5Yo+wOiV1nthJr4/t/C LkxTd7ywwKZgLyP8wZp9+IzZloqMhr8p1AARTbWBU+c2GZz3KEXaF7Cb9KH0leQ2pXQy uxzqvGd3aj41k7I91+xOrsHfPK2BVwlPr9BcSGdMCzqXStz3L0WPjHZarZGrTHV+oxeC mdzpPMRvMbTIKdVNNh8q2bPoX9X5B8R9LiUpQDsI1FZlAc4DoU8443KdX7t150rUGphw cIpA== X-Gm-Message-State: AOUpUlEt00g5xPcj7rmHzYfDfqQXFFreVdLey/OAGaj+Yy3MzA/AzHUX VOVpCgyMyrND3zifBBa/bAgZdCCD X-Google-Smtp-Source: AAOMgpd9GAeSGie8mhEVmh/DsNHrlMAIkDT1bbdkUxMQmujVKzM3eQcJ1sDgC3mC21BLaSCupd1wSQ== X-Received: by 2002:a5d:6401:: with SMTP id z1-v6mr4172966wru.64.1532684680261; Fri, 27 Jul 2018 02:44:40 -0700 (PDT) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa. [217.169.3.230]) by smtp.gmail.com with ESMTPSA id f6-v6sm7186815wrw.78.2018.07.27.02.44.38 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 27 Jul 2018 02:44:39 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Firefox crashes on some www-pages on a newer Gentoo system Date: Fri, 27 Jul 2018 10:44:23 +0100 Message-ID: <2130763.inbJM8G7bF@dell_xps> In-Reply-To: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1635502.MdEqsArZvr"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Archives-Salt: d5bfbeb5-0169-4d8d-b4aa-ea62b34bce4c X-Archives-Hash: e4a122bbf7b5bb21afe36f28bfdc9180 --nextPart1635502.MdEqsArZvr Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" On Friday, 27 July 2018 09:16:30 BST gevisz wrote: > I have two Gentoo systems on the same AMD Athlon 64 X2 computer. > > The old one was installed in July 2013 with > default/linux/amd64/13.0/desktop/gnome (stable) > profile and was updated till the middle of > July 2017. Initially it hosted Gnome2 > but later I have switched to XFCE4. > > The new one was installed in January-February 2018 > with default/linux/amd64/17.0/desktop (stable) > profile and was last updated yesterday. From the > very beginning it hosted no DE, only Awesome WM > and dbus. > > The home directory is the same and still remembers > Ubuntu 6.04 installation in 2006. > > On the old system, I had the problem that chromium > very often (but not always!) asked me for some > (keyring?) password when I opened a new www-page. > > Recompilation of it with different user flags did not help. Go to: chrome://settings/passwords Then disable "Offer to save passwords". It should not ask you to save passwords thereafter. > I thought that that was because of the gnome-keyring, > consolekit or policykit packages but without any proof. >From what I understand Chrome/ium will ask the desktop password manager to handle the saving of website passwords. Policykit/polkit provides a centralised mechanism for non-privileged processes to communicate with privileged ones; e.g. when a plain user wants to hibernate/shutdown, disable NICs, etc. https://lwn.net/Articles/258592/ Consolekit tracks user sessions and allows switching between users on the same PC without logging out. As far as I know with the switch to systemd and its built-in seat/user/session management mechanisms Consolekit is no longer maintained. > So, while installing the new Gentoo system, I decided > to avoid installing any package that needs gnome-keyring, > consolekit or policykit packages. I think you shouldn't have needed to do all this. > I have also set -pam -consolekit and -policykit in my > /etc/portage/make.conf PAM is used to separate applications from the underlying authentication mechanisms. It checks OS user/account/passwd/session authentications when required by applications. This is the backbone of managing Linux authentications today, although some applications retain their own application level authentication mechanism (e.g. SSH). I don't think setting USE="-pam" is advisable for most dekstop use cases. > Chromium indeed never asked me for the mentioned > above password on the new Gentoo system. > > But I get another problem on the new Gentoo system: > Firefox and Qupzilla both crash on some (login) www-pages. > > Namely, Firefox shows the "Gah. Your tab just crashed" > when I try to log into my Yahoo e-mail account. > > This happens only after entering login and password, > so not good enough to reproduce. > > However, it shows the same message just after staying > about 3-5 seconds on the following internet banking > login page: https://www.privat24.ua/#login > No login or password needed. :) > > The last error messages sent to terminal by FF while I > try to open the last www-page are the following: > > [Parent 4099] WARNING: pipe error (56): Connection reset by peer: The server disconnected you. > file > /var/tmp/portage/www-client/firefox-52.8.0/work/firefox-52.8.0esr/ipc/chromi > um/src/chrome/common/ipc_channel_posix.cc, line 322 I'm not sure if your firefox build is the same like shown here, but line 322 shows a I/O message loop where it checks if a connection is running so that it can respond. The page in question pops up a couple of things, after loading the initial page, including geolocation. It may have something to do with this. > ###!!! [Parent][MessageChannel] Error: > (msgtype=0x2C0083,name=PBrowser::Msg_Destroy) Channel error: cannot > send/recv It seems the connection has been reset by the server, two processes running on your browser using IPC can't go anywhere and are torn down, but I'm no developer to know for sure. > As to the Qupzilla, it crashes on the page https://www.privat24.ua/#login > completely, with the following messages sent to terminal: > > [4376:4387:0727/105105.178569:ERROR:nss_ocsp.cc(591)] No > URLRequestContext for NSS HTTP handler. host: ocsp.digicert.com [snip ...] The browser is trying to check ocsp.digicert.com for the validity of the certificate, but there is some error with the URL. Then (I'm guessing) there's some pop up in the browser to inform you of this error, which causes a mesa rendering fault with the output shown below: > r300 FP: Compiler Error: > /var/tmp/portage/media-libs/mesa-17.3.9/work/mesa-17.3.9/src/gallium/drivers > /r300/compiler/r300_fragprog_emit.c::translate_rgb_opcode(): > translate_rgb_opcode: Unknown opcode DDY > Using a dummy shader instead. > QupZilla: Crashed :( Saving backtrace in > /home/user/.config/qupzilla/crashlog ... > Backtrace successfully saved in > /home/user/.config/qupzilla/crashlog/Crash-2018-07-27T10:51:11.txt > > The mentioned above crashlog file contains only the following: > > Time: Fri Jul 27 10:51:11 2018 > Qt version: 5.9.6 (compiled with 5.9.4) > QupZilla version: 2.2.5 > Rendering engine: QtWebEngine > > ============== BACKTRACE ============== > #0: qupzilla(+0x355b) [0x55691e37055b] > #1: /lib64/libc.so.6(+0x35c60) [0x7f3a568c3c60] > #2: [0x7f3a3c18d2c9] I wouldn't know why the rendered content causes a mesa fault with the gallium driver, which brings down the browser. Are you running the browser in a container? Does it have enough memory allocated to it? > Strange enough, but on the old Gentoo system Firefox does not crash on > the said www-pages. > > I initially thought that all that because > I have set -consolekit and -policykit use > flags in my /etc/portage/make.conf on my > new Gentoo system but unsetting them > does not lead to any recompilation while running > # emerge --update --deep --with-bdeps=y --newuse --backtrack=100 --ask world > > Any thoughts about this? -- Regards, Mick --nextPart1635502.MdEqsArZvr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEt7MNaGaS6HvTUrEz6WnU8jC95dcFAlta6XcACgkQ6WnU8jC9 5demyRAAqvj+uSeatHlCWMmlr3FFjgtAseV/7cukg9mGMX3xqwpCoT2szIiEHhuc fiUf/jv962sRXZOwk8rQwh3tDqJwk26C7ygyaSlXgQ+Dy4JhuRXsPYjQelRzfD6s 7a4TYBIsBu6zfn6yFshZwsYJdGIOKXVYzYHygIGXEjOJZfxxUUbZctTBs70RBGZJ umv8oEnZk8yRS5GiLKTzryc4TGvVFlSsRHwgequUOyAf+VxZx04LlxzBUykQdFs+ j1mWq1rLlP+7pm8Spv97mIVwyXKBcRHEEN0mK4M6CQXhsRHUGu8RDCbD48FipIr2 Il5VpZQfOpfPSBxvcQ/zMfWGhb4cYAWY81QUX+mxAODEsFIb4Dti9yFRHAUJlZBq Op6Oh2jfoRpRLrOQKT1iB11fzGKGALx/f7IOrewNG5i56GDXAc3SPjY0X+yFbFrV y/ytQ+Lzzor0JveDUyJmtKl6Abl/ot7rlo+6RvFVr9u08se7fyqy8HxTjucDBSlq ZAxCU+FZV5SW2+DluS6p8demywuB3cS1SKbVyhRVytauW7lkHI8p94lcrq1eUII1 VkYqMjovZnCMc1p6pdSgOIceiayspBcb8SjZncdFDM2B3GWDlkaDu5YUOU4+Y5YY 5sF1y04nOwL32s4kWQrAMkjLBUcSXWShnQ19JKjHEGnEV9Y5Qa0= =HSAp -----END PGP SIGNATURE----- --nextPart1635502.MdEqsArZvr--