[Desktop-packages] [Bug 1832436] Re: login page first appears sideways for Lenovo miix 510 ubuntu 18.04 and 18.10
** Also affects: gdm3 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gdm3 in Ubuntu. https://bugs.launchpad.net/bugs/1832436 Title: login page first appears sideways for Lenovo miix 510 ubuntu 18.04 and 18.10 Status in Ubuntu: New Status in gdm3 package in Ubuntu: New Bug description: I have experienced this for ubuntu 18.04 and 18.10 on a Lenovo Miix 510 laptop. This problem is fixed on ubuntu 19.04 The login page appears sideways (the mouse orientation is sideways also). After logging in the screen is corrected. I believe the issue lies with the detection of the accelerometer or perhaps the driver of the accelerometer. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/1832436/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1821403] Re: chromium browser crash on fresh offline system install
The chromium-browser metadata needs fixing (as explained in my last comment) so that libnss3 gets upgraded automatically on "apt-get install chromium-browser". ** Changed in: chromium-browser (Ubuntu) Status: Invalid => New -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to chromium-browser in Ubuntu. https://bugs.launchpad.net/bugs/1821403 Title: chromium browser crash on fresh offline system install Status in chromium-browser package in Ubuntu: New Bug description: Steps to reproduce (and also what I expected and what happened): 1. Disconnect computer from Internet 2. Install Ubuntu (complete with reboot at the end). 3. After running the (freshly installed) system, connect it to Internet and open a terminal and follow with the session outlined below. Enter commands on lines starting with "$" into the terminal. Things on lines starting with "//" are my comments and/or descriptions of what is expected output of the preceding command. $ sudo apt-get update // you should get the normal apt-get update output with no errors $ sudo apt-get install -y chromium-browser // you should get the normal apt-get install output here with no errors $ chromium-browser // expected result is to have the browser running and possibly some harmless // warnings below the "$ chromium-browser" line. What actually happens instead // is this: Fontconfig warning: "/etc/fonts/fonts.conf", line 146: blank doesn't take any effect anymore. please remove it from your fonts.conf [2805:2844:0322/144827.306513:FATAL:nss_util.cc(631)] NSS_VersionCheck("3.26") failed. NSS >= 3.26 is required. Please upgrade to the latest NSS, and if you still get this error, contact your distribution maintainer. Aborted (core dumped) // I believe that the problem is that the package "chromium-browser" // is either missing dependency on "libnss3-nssdb" or broken dependency // on "libnss3" (missing version number). To see, why, continue with: $ sudo apt-get install -y libnss3 // What I got on the terminal myself follows (with some comments) Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libnss3-nssdb // This is why I said the missing dependency might be "libnss3-nssdb" // Here apt-get is telling me that "libnss3-nssdb" is going to be // installed. The following packages will be upgraded: libnss3 libnss3-nssdb 2 upgraded, 0 newly installed, 0 to remove and 452 not upgraded. Need to get 1,135 kB of archives. After this operation, 2,048 B of additional disk space will be used. // I didn't use "-y" on my command line so apt-get asked for permission. // You might be missing the line below if you follow the session // exactly. I included the rest of apt-get output to show you what // exactly got installed by the command. Do you want to continue? [Y/n] Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libnss3-nssdb all 2:3.28.4-0ubuntu0.14.04.5 [10.6 kB] Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libnss3 amd64 2:3.28.4-0ubuntu0.14.04.5 [1,124 kB] Fetched 1,135 kB in 2s (477 kB/s) (Reading database ... 166878 files and directories currently installed.) Preparing to unpack .../libnss3-nssdb_2%3a3.28.4-0ubuntu0.14.04.5_all.deb ... Unpacking libnss3-nssdb (2:3.28.4-0ubuntu0.14.04.5) over (2:3.23-0ubuntu0.14.04.1) ... Preparing to unpack .../libnss3_2%3a3.28.4-0ubuntu0.14.04.5_amd64.deb ... Unpacking libnss3:amd64 (2:3.28.4-0ubuntu0.14.04.5) over (2:3.23-0ubuntu0.14.04.1) ... Setting up libnss3-nssdb (2:3.28.4-0ubuntu0.14.04.5) ... Setting up libnss3:amd64 (2:3.28.4-0ubuntu0.14.04.5) ... Processing triggers for libc-bin (2.19-0ubuntu6.9) ... // Now when I try to run the browser ... $ chromium-browser // ... this warning is still there ... Fontconfig warning: "/etc/fonts/fonts.conf", line 146: blank doesn't take any effect anymore. please remove it from your fonts.conf [2991:2991:0322/145149.851132:ERROR:gpu_process_transport_factory.cc(1019)] Lost UI shared context. // ... but no more "NSS_VersionCheck failed" nor "Aborted (core dumped)" // (and, of course, the terminal window on the desktop is no longer // alone as the fresh google-chrome window is making a company to it ... Final notes: - This bug may not occur if you try to install Ubuntu while connected to Internet. - The reason why I did a "fresh offline install" was that installing it while online takes over a hour on my system, installing offline and then doing the commands above took only about 10 minutes. You might want to try to take a look into why is online Ubuntu install so slow but that is not the bug I want to report here (I will file a different bug for that if I can figure out, how). - Offline installs are pretty common in
[Desktop-packages] [Bug 1821403] Re: chromium browser crash on fresh offline system install
> chromium-browser requires a newer version of libnss3 than what was initially installed. It is the job of the package manager to either upgrade an outdated version of a dependency package when the user tries to install something or to ask the user to update the system first and then try again, not to silently install a package with its requirement missing and leave the user wondering what exactly happened. The bug is that apt-get does not know that, probably because the package-metadata is missing the information. The expected behavior here is that "sudo apt-get install -y chromium-browser" does also upgrade libnss3 when the libnss3 version currently installed is not enough to run chromium-browser. Or to have it report an error saying something like "your system must be updated before you can install this". My understanding is that this requirement is not recorded in the chromium-browser package metadata, so when an user tries to install the package, the apt-get fails to pull in the correct version of libnss3, leading to a broken package being installed. > This is not a bug in chromium or libnss itself. Agree. The bug in in the chromium-browser package metadata which does not record the minimal libnss3 version necessary correctly, leading to apt-get believing that "what was initially installed" is sufficient even though it is not. > A half-updated system is in an inconstistent state, and will > result in undefined behaviours like this crash. 1. The system should be in a consistent state when just being freshly installed. If it is not, then the official installation image of the distribution is broken. There is no updating during the installation process nor any administrative commands being forcibly aborted afterwards. 2. If apt-get install brings the system into an inconsistent state, then the (or one of its dependencies) has broken or incomplete metadata which should get fixed. In the case of this bug the incomplete/broken metadata is missing "minimal version" for libnss3 in the chromium-browser package dependencies. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to chromium-browser in Ubuntu. https://bugs.launchpad.net/bugs/1821403 Title: chromium browser crash on fresh offline system install Status in chromium-browser package in Ubuntu: New Bug description: Steps to reproduce (and also what I expected and what happened): 1. Disconnect computer from Internet 2. Install Ubuntu (complete with reboot at the end). 3. After running the (freshly installed) system, connect it to Internet and open a terminal and follow with the session outlined below. Enter commands on lines starting with "$" into the terminal. Things on lines starting with "//" are my comments and/or descriptions of what is expected output of the preceding command. $ sudo apt-get update // you should get the normal apt-get update output with no errors $ sudo apt-get install -y chromium-browser // you should get the normal apt-get install output here with no errors $ chromium-browser // expected result is to have the browser running and possibly some harmless // warnings below the "$ chromium-browser" line. What actually happens instead // is this: Fontconfig warning: "/etc/fonts/fonts.conf", line 146: blank doesn't take any effect anymore. please remove it from your fonts.conf [2805:2844:0322/144827.306513:FATAL:nss_util.cc(631)] NSS_VersionCheck("3.26") failed. NSS >= 3.26 is required. Please upgrade to the latest NSS, and if you still get this error, contact your distribution maintainer. Aborted (core dumped) // I believe that the problem is that the package "chromium-browser" // is either missing dependency on "libnss3-nssdb" or broken dependency // on "libnss3" (missing version number). To see, why, continue with: $ sudo apt-get install -y libnss3 // What I got on the terminal myself follows (with some comments) Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libnss3-nssdb // This is why I said the missing dependency might be "libnss3-nssdb" // Here apt-get is telling me that "libnss3-nssdb" is going to be // installed. The following packages will be upgraded: libnss3 libnss3-nssdb 2 upgraded, 0 newly installed, 0 to remove and 452 not upgraded. Need to get 1,135 kB of archives. After this operation, 2,048 B of additional disk space will be used. // I didn't use "-y" on my command line so apt-get asked for permission. // You might be missing the line below if you follow the session // exactly. I included the rest of apt-get output to show you what // exactly got installed by the command. Do you want to continue? [Y/n] Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libnss3-nssdb all 2:3.28.4-0ubuntu0.14.04.5 [10.6 kB]
[Desktop-packages] [Bug 1821403] Re: chromium browser crash on fresh offline system install
The additional attached information was sampled at the time after the chromium-browser successfully completed its install (and after that was confirmed by successfully launching it as shown in the terminal session) so any traces of its misbehavior might be long gone before the attachments were created. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to chromium-browser in Ubuntu. https://bugs.launchpad.net/bugs/1821403 Title: chromium browser crash on fresh offline system install Status in chromium-browser package in Ubuntu: New Bug description: Steps to reproduce (and also what I expected and what happened): 1. Disconnect computer from Internet 2. Install Ubuntu (complete with reboot at the end). 3. After running the (freshly installed) system, connect it to Internet and open a terminal and follow with the session outlined below. Enter commands on lines starting with "$" into the terminal. Things on lines starting with "//" are my comments and/or descriptions of what is expected output of the preceding command. $ sudo apt-get update // you should get the normal apt-get update output with no errors $ sudo apt-get install -y chromium-browser // you should get the normal apt-get install output here with no errors $ chromium-browser // expected result is to have the browser running and possibly some harmless // warnings below the "$ chromium-browser" line. What actually happens instead // is this: Fontconfig warning: "/etc/fonts/fonts.conf", line 146: blank doesn't take any effect anymore. please remove it from your fonts.conf [2805:2844:0322/144827.306513:FATAL:nss_util.cc(631)] NSS_VersionCheck("3.26") failed. NSS >= 3.26 is required. Please upgrade to the latest NSS, and if you still get this error, contact your distribution maintainer. Aborted (core dumped) // I believe that the problem is that the package "chromium-browser" // is either missing dependency on "libnss3-nssdb" or broken dependency // on "libnss3" (missing version number). To see, why, continue with: $ sudo apt-get install -y libnss3 // What I got on the terminal myself follows (with some comments) Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libnss3-nssdb // This is why I said the missing dependency might be "libnss3-nssdb" // Here apt-get is telling me that "libnss3-nssdb" is going to be // installed. The following packages will be upgraded: libnss3 libnss3-nssdb 2 upgraded, 0 newly installed, 0 to remove and 452 not upgraded. Need to get 1,135 kB of archives. After this operation, 2,048 B of additional disk space will be used. // I didn't use "-y" on my command line so apt-get asked for permission. // You might be missing the line below if you follow the session // exactly. I included the rest of apt-get output to show you what // exactly got installed by the command. Do you want to continue? [Y/n] Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libnss3-nssdb all 2:3.28.4-0ubuntu0.14.04.5 [10.6 kB] Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libnss3 amd64 2:3.28.4-0ubuntu0.14.04.5 [1,124 kB] Fetched 1,135 kB in 2s (477 kB/s) (Reading database ... 166878 files and directories currently installed.) Preparing to unpack .../libnss3-nssdb_2%3a3.28.4-0ubuntu0.14.04.5_all.deb ... Unpacking libnss3-nssdb (2:3.28.4-0ubuntu0.14.04.5) over (2:3.23-0ubuntu0.14.04.1) ... Preparing to unpack .../libnss3_2%3a3.28.4-0ubuntu0.14.04.5_amd64.deb ... Unpacking libnss3:amd64 (2:3.28.4-0ubuntu0.14.04.5) over (2:3.23-0ubuntu0.14.04.1) ... Setting up libnss3-nssdb (2:3.28.4-0ubuntu0.14.04.5) ... Setting up libnss3:amd64 (2:3.28.4-0ubuntu0.14.04.5) ... Processing triggers for libc-bin (2.19-0ubuntu6.9) ... // Now when I try to run the browser ... $ chromium-browser // ... this warning is still there ... Fontconfig warning: "/etc/fonts/fonts.conf", line 146: blank doesn't take any effect anymore. please remove it from your fonts.conf [2991:2991:0322/145149.851132:ERROR:gpu_process_transport_factory.cc(1019)] Lost UI shared context. // ... but no more "NSS_VersionCheck failed" nor "Aborted (core dumped)" // (and, of course, the terminal window on the desktop is no longer // alone as the fresh google-chrome window is making a company to it ... Final notes: - This bug may not occur if you try to install Ubuntu while connected to Internet. - The reason why I did a "fresh offline install" was that installing it while online takes over a hour on my system, installing offline and then doing the commands above took only about 10 minutes. You might want to try to take a look into why is online Ubuntu install so slow but that is not the bug I want to report here (I will file a different bug for that
[Desktop-packages] [Bug 1821403] [NEW] chromium browser crash on fresh offline system install
Public bug reported: Steps to reproduce (and also what I expected and what happened): 1. Disconnect computer from Internet 2. Install Ubuntu (complete with reboot at the end). 3. After running the (freshly installed) system, connect it to Internet and open a terminal and follow with the session outlined below. Enter commands on lines starting with "$" into the terminal. Things on lines starting with "//" are my comments and/or descriptions of what is expected output of the preceding command. $ sudo apt-get update // you should get the normal apt-get update output with no errors $ sudo apt-get install -y chromium-browser // you should get the normal apt-get install output here with no errors $ chromium-browser // expected result is to have the browser running and possibly some harmless // warnings below the "$ chromium-browser" line. What actually happens instead // is this: Fontconfig warning: "/etc/fonts/fonts.conf", line 146: blank doesn't take any effect anymore. please remove it from your fonts.conf [2805:2844:0322/144827.306513:FATAL:nss_util.cc(631)] NSS_VersionCheck("3.26") failed. NSS >= 3.26 is required. Please upgrade to the latest NSS, and if you still get this error, contact your distribution maintainer. Aborted (core dumped) // I believe that the problem is that the package "chromium-browser" // is either missing dependency on "libnss3-nssdb" or broken dependency // on "libnss3" (missing version number). To see, why, continue with: $ sudo apt-get install -y libnss3 // What I got on the terminal myself follows (with some comments) Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libnss3-nssdb // This is why I said the missing dependency might be "libnss3-nssdb" // Here apt-get is telling me that "libnss3-nssdb" is going to be // installed. The following packages will be upgraded: libnss3 libnss3-nssdb 2 upgraded, 0 newly installed, 0 to remove and 452 not upgraded. Need to get 1,135 kB of archives. After this operation, 2,048 B of additional disk space will be used. // I didn't use "-y" on my command line so apt-get asked for permission. // You might be missing the line below if you follow the session // exactly. I included the rest of apt-get output to show you what // exactly got installed by the command. Do you want to continue? [Y/n] Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libnss3-nssdb all 2:3.28.4-0ubuntu0.14.04.5 [10.6 kB] Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libnss3 amd64 2:3.28.4-0ubuntu0.14.04.5 [1,124 kB] Fetched 1,135 kB in 2s (477 kB/s) (Reading database ... 166878 files and directories currently installed.) Preparing to unpack .../libnss3-nssdb_2%3a3.28.4-0ubuntu0.14.04.5_all.deb ... Unpacking libnss3-nssdb (2:3.28.4-0ubuntu0.14.04.5) over (2:3.23-0ubuntu0.14.04.1) ... Preparing to unpack .../libnss3_2%3a3.28.4-0ubuntu0.14.04.5_amd64.deb ... Unpacking libnss3:amd64 (2:3.28.4-0ubuntu0.14.04.5) over (2:3.23-0ubuntu0.14.04.1) ... Setting up libnss3-nssdb (2:3.28.4-0ubuntu0.14.04.5) ... Setting up libnss3:amd64 (2:3.28.4-0ubuntu0.14.04.5) ... Processing triggers for libc-bin (2.19-0ubuntu6.9) ... // Now when I try to run the browser ... $ chromium-browser // ... this warning is still there ... Fontconfig warning: "/etc/fonts/fonts.conf", line 146: blank doesn't take any effect anymore. please remove it from your fonts.conf [2991:2991:0322/145149.851132:ERROR:gpu_process_transport_factory.cc(1019)] Lost UI shared context. // ... but no more "NSS_VersionCheck failed" nor "Aborted (core dumped)" // (and, of course, the terminal window on the desktop is no longer // alone as the fresh google-chrome window is making a company to it ... Final notes: - This bug may not occur if you try to install Ubuntu while connected to Internet. - The reason why I did a "fresh offline install" was that installing it while online takes over a hour on my system, installing offline and then doing the commands above took only about 10 minutes. You might want to try to take a look into why is online Ubuntu install so slow but that is not the bug I want to report here (I will file a different bug for that if I can figure out, how). - Offline installs are pretty common in areas with slow Internet. And by "slow Internet" I don't mean just rural areas with dialup. My current setup is Colombian optical wire from Claro and by watching the RX/TX using ifconfig I can tell the download process is taking large pauses on this connection, even for simple "apt-get update" (an actual apt-get update on the system is much faster). - Another idea why someone might want to install the system offline is that they don't want to mess up with connecting to Internet just yet or they want the system "fresh as coming from the CD". ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: chromium-browser
[Desktop-packages] [Bug 1798601] [NEW] posix_memalign corrupts heap
Public bug reported: The attached program exposes a bug in posix_memalign that causes it to either silently corrupt heap or cause the memory allocation checker to report spurious failures. I believe that the former is the case here because on more complex software (minetest or Irrlight tutorial examples) I had seen "pointer passed to free() which was never returned by an allocation function" errors. The posix_memalign is used by the OpenGL driver (package: mesa) and can be avoided by compiling mesa from source after telling the package we don't have posix_memalign. The "pointer passed to free()..." error was seen coming from inside the OpenGL as the irrlight example did not do much malloc calls itself. Unfortunately I could not figure out how this "real corruption" could be exposed by a simple program like this as it seems it requires a complicated mixture of malloc() and posix_memalign to trigger. To compile the program run "sh compile.sh" and to run it run "sh run.sh". You will then get two files, "memalign.out" (the output of the program until the failure) and "memalign.log" (a mtrace log). The program shall run for a several seconds but in fact it only runs for about 0.2 seconds before aborting with "invalid pointer" complaint. The program appears to finish normally (with no memory leaks detected) when "-lmcheck" is omitted from the compilation command (see compile.sh). However I had seen crashes caused by the problem in more complicated software that mixes posix_memalign with malloc. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: libc6 2.19-0ubuntu6.14 ProcVersionSignature: Ubuntu 3.13.0-52.86+bdw1-generic 3.13.11-ckt18 Uname: Linux 3.13.0-52-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.29 Architecture: amd64 CurrentDesktop: Unity Date: Thu Oct 18 15:49:02 2018 Dependencies: gcc-4.9-base 4.9.3-0ubuntu4 libc6 2.19-0ubuntu6.14 libgcc1 1:4.9.3-0ubuntu4 multiarch-support 2.19-0ubuntu6.14 DistributionChannelDescriptor: # This is a distribution channel descriptor # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor canonical-oem-somerville-trusty-amd64-20140620-0 InstallationDate: Installed on 2015-12-26 (1027 days ago) InstallationMedia: Ubuntu 14.04 "Trusty" - Build amd64 LIVE Binary 20140620-04:25 ProcEnviron: LD_LIBRARY_PATH= TERM=xterm PATH=(custom, no user) XDG_RUNTIME_DIR= SHELL=/bin/bash SourcePackage: eglibc UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: eglibc (Ubuntu) Importance: Undecided Status: New ** Affects: mesa (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug trusty ** Attachment added: "Test program that exposes a mcheck() problem with posiix_memalign" https://bugs.launchpad.net/bugs/1798601/+attachment/5202600/+files/memalign.tgz ** Also affects: mesa (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to mesa in Ubuntu. https://bugs.launchpad.net/bugs/1798601 Title: posix_memalign corrupts heap Status in eglibc package in Ubuntu: New Status in mesa package in Ubuntu: New Bug description: The attached program exposes a bug in posix_memalign that causes it to either silently corrupt heap or cause the memory allocation checker to report spurious failures. I believe that the former is the case here because on more complex software (minetest or Irrlight tutorial examples) I had seen "pointer passed to free() which was never returned by an allocation function" errors. The posix_memalign is used by the OpenGL driver (package: mesa) and can be avoided by compiling mesa from source after telling the package we don't have posix_memalign. The "pointer passed to free()..." error was seen coming from inside the OpenGL as the irrlight example did not do much malloc calls itself. Unfortunately I could not figure out how this "real corruption" could be exposed by a simple program like this as it seems it requires a complicated mixture of malloc() and posix_memalign to trigger. To compile the program run "sh compile.sh" and to run it run "sh run.sh". You will then get two files, "memalign.out" (the output of the program until the failure) and "memalign.log" (a mtrace log). The program shall run for a several seconds but in fact it only runs for about 0.2 seconds before aborting with "invalid pointer" complaint. The program appears to finish normally (with no memory leaks detected) when "-lmcheck" is omitted from the compilation command (see compile.sh). However I had seen crashes caused by the problem in more complicated software that mixes posix_memalign with malloc. ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: libc6 2.19-0ubuntu6.14 ProcVersionSignature: Ubuntu 3.13.0-52.86+bdw1-generic 3.13.11-ckt18 Uname: Linux 3.13.0-52-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.29