*** This bug is a duplicate of bug 1889851 *** https://bugs.launchpad.net/bugs/1889851
I have the same issue while running python-qgis. I don't know how (or IF) it is related, but here's the log never the less: even@even-ThinkPad-P53:~$ qgis --version QGIS 3.14.1-Pi 'Pi' (de08d6b71d) even@even-ThinkPad-P53:~$ python3 --version Python 3.8.2 even@even-ThinkPad-P53:~$ python3 Python 3.8.2 (default, Jul 16 2020, 14:00:26) [GCC 9.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import qgis >>> from qgis import core Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3/dist-packages/qgis/core/__init__.py", line 25, in <module> from qgis._core import * ImportError: /lib/x86_64-linux-gnu/libstdc++.so.6: cannot allocate memory in static TLS block >>> -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to opencv in Ubuntu. https://bugs.launchpad.net/bugs/1890170 Title: ImportError libstdc++.so.6 cannot allocate memory after importing PyQt5.Qt PyQt5.QtCore and cv2 Status in mysql-8.0 package in Ubuntu: Confirmed Status in opencv package in Ubuntu: Confirmed Status in pyqt5 package in Ubuntu: Confirmed Bug description: I'm using an updated Lubuntu focal. Starting maybe last week (monday July 27th), if in python3 I do from PyQt5 import Qt, QtCore import cv2 I get ImportError: /lib/x86_64-linux-gnu/libstdc++.so.6: cannot allocate memory in static TLS block I noticed only now that the reverse (first import cv2, then Qt, QtCore) seems to work correctly and displays no errors. I'm afraid I might not be able to do the reverse in my real software... ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: python3 3.8.2-0ubuntu2 ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44 Uname: Linux 5.4.0-42-generic x86_64 ApportVersion: 2.20.11-0ubuntu27.4 Architecture: amd64 CasperMD5CheckResult: skip CurrentDesktop: LXQt Date: Mon Aug 3 17:49:20 2020 InstallationDate: Installed on 2020-07-15 (19 days ago) InstallationMedia: Lubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423) SourcePackage: python3-defaults UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1890170/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp