[MDEV-16554] InnoDB: Assertion failure in file mariadb-10.2.14/storage/innobase/que/que0que.cc line 563 Created: 2018-06-23 Updated: 2021-04-06 Resolved: 2021-04-06 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - InnoDB |
| Affects Version/s: | 10.2.14 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Valerii Kravchuk | Assignee: | Thirunarayanan Balathandayuthapani |
| Resolution: | Cannot Reproduce | Votes: | 1 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Description |
|
After upgrade from 10.1.25 to 10.2.14 (http://hasky.askmonty.org/archive/bb-10.2-compatibility/build-20620/ to be more specific) various statements end up with the assertion failure in the que_graph_free_recursive() function in /que0que.cc. It can be ALTER, DROP TRIGGER etc, but even SELECT from I_S.TABLES crashes this way, as shown below:
Crashes stop after downgrading back to 10.1.25. See some what similar |
| Comments |
| Comment by Elena Stepanova [ 2018-07-10 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Could you please provide the config file(s)? | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sander Pilon [ 2018-08-08 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
I get the same error with 10.3.8 | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Hartmut Holzgraefe [ 2018-08-29 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
latest stack traces were re-created, with GDB reporting potential stack corruption now traces are available in the files section of the support issue | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2018-09-01 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
valerii, hholzgra, do you know whether the instance where the problem occurs has been recently upgraded from 5.5? | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2020-06-02 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
I have a test case which causes an identical top of stack trace on 10.3+ release builds. Unfortunately, the test case is 10.3-specific, as it involves versioning. It is possible that versioning is unrelated and it just creates the right structure and sequence of events which I fail to imitate manually. thiru, do you think it may be sharing the same cause with the originally reported failure?
On debug and ASAN builds it causes failures reported in | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Thirunarayanan Balathandayuthapani [ 2021-04-06 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
The Above test case in release build corrupts the upd_node_t while setting the field.
In debug build, this corruption was stopped by the debug assert
The Above test case issue is solved by | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Thirunarayanan Balathandayuthapani [ 2021-04-06 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
10.1 is already EOL | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Marko Mäkelä [ 2021-04-06 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Thank you, thiru! It turns out that the 10.3 specific breakage was something else ( When it comes to the originally reported failure, that custom build (bb-10.2-compatibility) definitely did not support system-versioned tables. I have one more idea as to the root cause: |