Open cichomitiko opened 3 years ago
@cichomitiko We were able to work around this by rebuilding the mysql-community packages. It is highly likely your mysqld was compiled w/ -fcf-protection enabled which hardens the code and also makes it impossible to hotpatch the necessary memory locations
On RHEL, we circumvented by modifying the flags included in the rpmrc file, not sure where these flags are set in Debian but I assume apt has similar wrappers for compiling packages. I would start your investigation there.
@dverbeeck, thank you for the information and for working on the issue!
Hello all,
Red Hat Enterprise Linux release 8.4 (Ootpa) mysql-community-server-8.0.25-1.el8.x86_64
offset-extract.sh returns:
The gdb.txt reports:
We have the following settings:
This is the error log:
I've tried installing mysql-community-debuginfo-8.0.25-1.el8.x86_64.rpm and mysql-community-server-debug-8.0.25-1.el8.x86_64.rpm:
After setting the offsets, I've got:
Any help could be greatly appreciated!
Best regards Dimitre
P.S. Just wanted to add that I tried with MySQL 8.0.22, 23 and 24 and the initialization fails with the same error.