Bug #99234 | Crash on a specific query after upgrading to 8.0.19 | ||
---|---|---|---|
Submitted: | 12 Apr 2020 2:57 | Modified: | 14 Apr 2020 11:56 |
Reporter: | Baptiste Massemin | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server | Severity: | S1 (Critical) |
Version: | 8.0.19 | OS: | Ubuntu (18.04) |
Assigned to: | CPU Architecture: | Any (amd64) |
[12 Apr 2020 2:57]
Baptiste Massemin
[12 Apr 2020 4:00]
MySQL Verification Team
Thank you for the bug report. To verify this bug report it's necessary you provide a repeatable test case.
[13 Apr 2020 12:48]
MySQL Verification Team
Hi, Yes, we do need a fully repeatable test case in ordre to verify this bug. Just for your information, it seems that you have either used UNION or some stored routine. Hope that this might help you.
[13 Apr 2020 14:05]
Baptiste Massemin
We tried to reproduce the issue without any success, except when the query is running in production. We decided to change the query (the query was autogenerated by Drupal), and there's no crash anymore, even under heavy load. I don't know if you want to close the bug or not, I will not be able to reproduce it anyway. Thanks.
[13 Apr 2020 14:05]
Baptiste Massemin
FYI there's no UNION or stored procedure used in the query.
[14 Apr 2020 11:56]
MySQL Verification Team
Hi Mr. Massemin, Thank you for your feedback. We would still like to see what kind of query is that. We would also like to know the structures of the tables involved and how big are they. Thanks in advance.
[10 Jun 2020 12:29]
Przemyslaw Malkowski
Couple of things in 8.0.20 release notes seem to touch functions visible in this crash trace, like SELECT_LEX_UNIT, weedout optimization, etc. https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-20.html Unfortunately, the mentioned bug numbers there, refer to hidden reports. So I wonder if it can be officially confirmed, if this kind of crash is fixed as of 8.0.20?
[10 Jun 2020 12:33]
MySQL Verification Team
We can not answer that question without a fully repeatable test case. Anyway, on dev.mysql.com, all Release Notes are published, so you can check them yourself.
[15 Jun 2020 9:35]
Przemyslaw Malkowski
Dear MySQL Verification Team, Are you referring to the Release Notes I mentioned the link for, or some other ones? Because I cannot check much there, as the referred bug ids are not public and their descriptions are often avaricious and vague. So, for example, I would love to see more details about this one: "The internal array of materialized query blocks SELECT_LEX_UNIT::m_query_blocks_to_materialize was not reset between executions, which meant that it pointed to objects which were no longer valid when a prepared statement was executed a second time, causing the second execution to fail. (Bug #30438038)" Unfortunately, we cannot read more details about Bug #30438038 and whether "execution to fail" means a server crash maybe and if so, whether the crash trace happens to be similar to the one mentioned in this particular bug report.
[15 Jun 2020 12:15]
MySQL Verification Team
Hi, There are bugs that are internal only and those can not be made available for public inspection. For many reasons .... However, description itself is sufficient.
[18 Feb 2021 13:18]
MySQL Verification Team
Hi Mr. Massemin, It turns out that your bug is a duplicate of our internal bug, that is fixed in 8.0.20. Hence, all you need to do is to upgrade.