segfault in mysql_server_end() from libmysqlclient.so.21
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-8.0 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
qtbase-opensource-src (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
libmysqlclient.
Test case attached ==> "Removed database" will not be reported.
Backtrace:
#0 0x00007ffff14c330f in ?? () from /lib/x86_
#1 0x00007ffff14c8823 in ?? () from /lib/x86_
#2 0x00007ffff1466243 in mysql_server_end () from /lib/x86_
#3 0x00007ffff1b4d0ee in ?? () from /usr/lib/
#4 0x00007ffff1b4d10d in ?? () from /usr/lib/
#5 0x00007ffff78e55fb in ?? () from /lib/x86_
#6 0x00007ffff78e588e in QSqlDatabase:
#7 0x00007ffff78e5d9c in ?? () from /lib/x86_
#8 0x0000555555555579 in cause_segfault () at main.cpp:16
#9 0x0000555555555729 in main (argc=1, argv=0x7fffffff
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: libqt5sql5-mysql 5.12.8+
ProcVersionSign
Uname: Linux 5.4.0-29-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: XFCE
Date: Wed May 6 21:40:58 2020
InstallationDate: Installed on 2020-04-27 (9 days ago)
InstallationMedia: Xubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
SourcePackage: qtbase-
UpgradeStatus: No upgrade log present (probably fresh install)
Having trouble reproducing this:
$ ./test
About to remove database
Removed database
I don't know much about QT, so just did the bare minimum to get the test case built.
Did you build or run the test case in any particular way?