Bug #89688 | server crash when group replication starts with mysqld-debug | ||
---|---|---|---|
Submitted: | 16 Feb 2018 8:49 | Modified: | 9 Jun 2018 6:49 |
Reporter: | Giuseppe Maxia (OCA) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S4 (Feature request) |
Version: | 5.7.21, 8.0.3, 8.0.4 | OS: | Any (linux and macos) |
Assigned to: | CPU Architecture: | Any | |
Tags: | crash, debug, GROUP, replication |
[16 Feb 2018 8:49]
Giuseppe Maxia
[16 Feb 2018 8:50]
Giuseppe Maxia
mysql 5.,7.21 error log
Attachment: stack-trace.txt (text/plain), 7.41 KiB.
[16 Feb 2018 9:43]
Giuseppe Maxia
An important clarification: using the regular mysqld, the server starts and replication works as expected.
[16 Feb 2018 9:43]
MySQL Verification Team
Hello Giuseppe, Thank you for the report. Observed that issue is seen on debug build(5.7.21 in my tests). Thanks, Umesh
[8 May 2018 7:34]
Tor Didriksen
Posted by developer: When using mysqld-debug, you need to load plugins from <root>/lib/plugin/debug rather than <root>/lib/plugin. We should have had a runtime check for this, but alas we do not. So a crash like this is actually not unexpected.
[8 May 2018 7:36]
Ståle Deraas
Posted by developer: As comment above suggests, this is an artifact of the plugin architecture, and I suggest to close this as "not a bug".
[8 May 2018 7:41]
Giuseppe Maxia
Thanks for your suggestion. Is there a method to force loading debug plugins in 8.0.11, where the Xplugin is enabled by default?
[8 May 2018 7:47]
Giuseppe Maxia
never mind, I found it. We need to add plugin_dir=/home/username/usr/mysql/lib/plugin/debug in the options file
[9 May 2018 10:04]
Nuno Carvalho
Posted by developer: The issue was caused by loading a non-debug build plugin on a debug build server, thence closing as not a bug.
[9 May 2018 14:48]
Frederic Descamps
It would be great to have an error when non debug plugins are loaded with a debug built and the reverse too.