Sorry for the delay. I've updated the README over at GitHub
https://github.com/tskardal/mysigsegv/blob/master/README.md#reproduce

This time I run the code on Ubuntu 18.10 running in virtualbox. The
database runs on my host OS, but my hypothesis is that any remote server
will have the same result.

FWIW: I'm not sure this is a Ubuntu issue, but if not I hope you can
point me in the right direction :-)

Copied here for convenience:

Reproduce:

* First install a MySQL server somewhere (I have it installed on my host OS 
which is macOS).
  * I've tested both 5.7 and 8.0
* Create a empty database and grant access to it
* Edit the source code (main.cpp) so that mysql connection information is 
correct
* Run the application
* 💥

Example:

Messages before (core dumped) are the result of `SHOW VARIABLES LIKE
'%version%'`

mkdir build
cd build/
qmake ../mysigsegv.pro
make
./mysigsegv
"innodb_version"  =  "8.0.13"
"protocol_version"  =  "10"
"slave_type_conversions"  =  ""
"tls_version"  =  "TLSv1,TLSv1.1,TLSv1.2"
"version"  =  "8.0.13"
"version_comment"  =  "Homebrew"
"version_compile_machine"  =  "x86_64"
"version_compile_os"  =  "osx10.14"
"version_compile_zlib"  =  "1.2.11"
Segmentation fault (core dumped)

** Changed in: mysql-5.7 (Ubuntu)
       Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1818985

Title:
  segfault in libmysqlclient when reconnecting using QMYSQL

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1818985/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to