[MDEV-25269] Crash: exception 0xc0000005 Created: 2021-03-26 Updated: 2021-12-14 Resolved: 2021-12-14 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 10.5.9 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | Clark Merchant | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
Getting a reproducible crash that can be generated with a specific query that we make on a proprietary set of database data (so I can't post details here yet). Storage engine is InnoDB. Appears to be a regression in 10.5.9, as the query works fine in 10.5.8 and in our current production release 10.1.10. Query DOES have multiple large IN / NOT IN statements - possibly same thing as Should be noted that this particular query works fine for smaller data-sets (again, smaller IN/NOT IN) values but for a larger database, it crashes every time. From the .err log: Server version: 10.5.9-MariaDB Thread pointer: 0x1b98a3bd028 If we get time, we can try to generate a sanitized version of the dataset, but we're trying to get a relatively important release out the door. Can offer a remote session if it helps someone debug more quickly (and can show the query and results directly). |
| Comments |
| Comment by Alice Sherepa [ 2021-03-26 ] |
|
This is the same problem as |
| Comment by Clark Merchant [ 2021-03-26 ] |
|
Can confirm that setting optimizer_max_sel_arg_weight to a number less than 16000 does work. I chose (arbitrarily) 15000, although some guidance as to a reasonable value would be helpful. So it seems this is indeed a duplicate bug. Can you provide guidance on what feature was fixed/added for 10.5.9 that caused this to break? It is not clear in the linked bugs why this broke, and I want to hopefully not stumble into a different problem in 10.5.8 that this was ostensibly attempting to fix. |