[Bug 1889851] Re: Driver QMysql can't be loaded

2022-02-09 Thread Marc Deslauriers
8.0.28-0ubuntu0.20.04.3 is the current version, and it still contains the patch for this issue. What version did you install that triggered the issue, and where did you get it? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1889851] Re: Driver QMysql can't be loaded

2022-02-09 Thread Jose
I would like to report the same problem happening again with the latest version of libmysqlclient21. I am speaking about this bug: https://stackoverflow.com/questions/63307453/cannot-allocate-memory-in-static-tls-block-in-a-python-flask-application Which again was solved downgrading to the

[Bug 1889851] Re: Driver QMysql can't be loaded

2020-08-12 Thread Launchpad Bug Tracker
This bug was fixed in the package mysql-8.0 - 8.0.21-0ubuntu4 --- mysql-8.0 (8.0.21-0ubuntu4) groovy; urgency=medium * SECURITY REGRESSION: libmysqlclient loading issues (LP: #1889851) - debian/patches/revert_faster_tls_model.patch: revert an upstream commit that switches

[Bug 1889851] Re: Driver QMysql can't be loaded

2020-08-05 Thread Launchpad Bug Tracker
This bug was fixed in the package mysql-8.0 - 8.0.21-0ubuntu0.20.04.4 --- mysql-8.0 (8.0.21-0ubuntu0.20.04.4) focal-security; urgency=medium * SECURITY REGRESSION: libmysqlclient loading issues (LP: #1889851) - debian/patches/revert_faster_tls_model.patch: revert an upstream

[Bug 1889851] Re: Driver QMysql can't be loaded

2020-08-05 Thread Lars Tangvald
A simpler fix is to add a cmake flag to override the tls-model flag: -DCMAKE_CXX_FLAGS="-ftls-model=global-dynamic" \ to debian/rules -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1889851 Title:

[Bug 1889851] Re: Driver QMysql can't be loaded

2020-08-04 Thread Marc Deslauriers
** Also affects: mysql-8.0 (Ubuntu Groovy) Importance: High Status: Confirmed ** Also affects: mysql-8.0 (Ubuntu Focal) Importance: Undecided Status: New ** Changed in: mysql-8.0 (Ubuntu Focal) Importance: Undecided => High ** Changed in: mysql-8.0 (Ubuntu Focal)

[Bug 1889851] Re: Driver QMysql can't be loaded

2020-08-04 Thread Marc Deslauriers
(See bug 1890170 for another reproducer) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1889851 Title: Driver QMysql can't be loaded To manage notifications about this bug go to:

[Bug 1889851] Re: Driver QMysql can't be loaded

2020-08-04 Thread Marc Deslauriers
Lars, I think that is what is happening, yes. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1889851 Title: Driver QMysql can't be loaded To manage notifications about this bug go to:

[Bug 1889851] Re: Driver QMysql can't be loaded

2020-08-04 Thread Lars Tangvald
Verified that reverting the commit Marc suggested makes the test case pass. If I understand it correctly, STATIC_TLS is a limited resource, so if the python wrapping loads other libraries that also use it, but your c program doesn't? -- You received this bug notification because you are a

[Bug 1889851] Re: Driver QMysql can't be loaded

2020-08-04 Thread Christian Ehrhardt 
As loaded by python: 0x72dd4460 0x72e0304e Yes (*) /lib/x86_64-linux-gnu/libQt5Sql.so.5 I was trying to get a different POV on the same lib, removing python out of the picture. Install mysql and create a DB. $ apt install mysql-server $ systemctl start mysql $ systemctl

[Bug 1889851] Re: Driver QMysql can't be loaded

2020-08-04 Thread Lars Tangvald
Verified with upstream packages as well. The test case also works as expected with 8.0.20, so it was introduced in 8.0.21. I'll do a test build to see if reverting that commit fixes it. Thanks for the tip, Marc :) -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1889851] Re: Driver QMysql can't be loaded

2020-08-04 Thread Marc Deslauriers
Possibly related: https://github.com/mysql/mysql-server/commit/735bd2a53834266c7256830c8d34672ea55fe17b -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1889851 Title: Driver QMysql can't be loaded

[Bug 1889851] Re: Driver QMysql can't be loaded

2020-08-04 Thread Marc Deslauriers
I think this may be related: $ readelf --dynamic libmysqlclient.so.21.1.19 | grep BIND 0x001e (FLAGS) BIND_NOW $ readelf --dynamic libmysqlclient.so.21.1.21 | grep BIND 0x001e (FLAGS) BIND_NOW STATIC_TLS -- You received this bug notification because you are a member

[Bug 1889851] Re: Driver QMysql can't be loaded

2020-08-04 Thread Lars Tangvald
Thanks for the report and test case! I'll test it, and pass it on upstream. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1889851 Title: Driver QMysql can't be loaded To manage notifications about

[Bug 1889851] Re: Driver QMysql can't be loaded

2020-08-04 Thread Marc Deslauriers
** Information type changed from Public to Public Security -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1889851 Title: Driver QMysql can't be loaded To manage notifications about this bug go to:

[Bug 1889851] Re: Driver QMysql can't be loaded

2020-08-04 Thread Christian Ehrhardt 
Hi Olivier, thanks for the report - I can confirm that this triggers the issue: $ apt install python3-pyqt5 python3-pyqt5.qtsql libqt5sql5-mysql $ cat > test.py << EOF #!/usr/bin/python3 # -*- coding: utf-8 -*- import sys from PyQt5.QtWidgets import QApplication from PyQt5.QtSql import

[Bug 1889851] Re: Driver QMysql can't be loaded

2020-08-01 Thread Olivier Subilia
Sorry. I've just understood the difference between source package and installed package name (I should use apt show more often...) Completely minimal example: #!/usr/bin/python3 # -*- coding: utf-8 -*- import sys from PyQt5.QtWidgets import QApplication from PyQt5.QtSql import QSqlDatabase

[Bug 1889851] Re: Driver QMysql can't be loaded

2020-07-31 Thread Brian Murray
** Package changed: ubuntu => mysql-8.0 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1889851 Title: Driver QMysql can't be loaded To manage notifications about this bug go to:

[Bug 1889851] Re: Driver QMysql can't be loaded

2020-07-31 Thread Ubuntu Foundations Team Bug Bot
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people