[MDEV-25747] MariaDB 10.5.10 crash while using partitioning Created: 2021-05-20 Updated: 2021-05-21 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Partitioning |
| Affects Version/s: | 10.3.25, 10.5.10 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Ihor Tymoshenko | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Hello! I have an issue while using partitioning on MariaDB 10.5.10. Initially, the same issue was on MariaDB 10.3.25. I've updated MariaDB from 10.3.25 to 10.5.10, but the issue still reproducing. MariaDB periodically crashes when executing the same query. Bellow the part from the file /var/log/mysql/mysqld.log:
Cheers! |
| Comments |
| Comment by Marko Mäkelä [ 2021-05-21 ] | ||||
|
Part of the stack trace looks invalid to me. Would it be possible to produce a better stack trace of the crash? Either, enable core dumps, or attach the debugger to the running process (sudo gdb -p $(pgrep mariadbd)), and then execute
to get a stack trace where the function parameters are present. Also the SHOW CREATE TABLE of the problematic table would help. You may obfuscate it by renaming columns. Even better would be some SQL that would reproduce the problem, starting from CREATE TABLE. My best guess based on the available information is that ha_partition::clone() is involved in this. It calls handler::ha_open(), and it is called by QUICK_RANGE_SELECT::init_ror_merged_scan(). | ||||
| Comment by Alice Sherepa [ 2021-05-21 ] | ||||
|
It seems to be related to |