[MDEV-26348] BUG: segfault in sql/item_func.cc:0 Created: 2021-08-13 Updated: 2021-08-18 Resolved: 2021-08-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer - CTE |
| Affects Version/s: | 10.5.9 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Critical |
| Reporter: | Zuming Jiang | Assignee: | Daniel Black |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | crash | ||
| Environment: |
Ubuntu 18.04 |
||
| Attachments: |
|
| Description |
|
I used my fuzzing tool to test Mariadb , and found a bug that can result in an abortion. Mariadb installation: How to Repeat: I have simplified the content of fuzz.sql, and I hope fuzz.sql can help you reproduce the bug and fix it. In addition, I attach the failure report (which has its stack trace). |
| Comments |
| Comment by Daniel Black [ 2021-08-13 ] | |||||||||||||||||||||||||||||||||||
|
Failed to reproduce on:
Also failed to reproduce on same commit with CMAKE_BUILD_TYPE=Debug
| |||||||||||||||||||||||||||||||||||
| Comment by Daniel Black [ 2021-08-13 ] | |||||||||||||||||||||||||||||||||||
|
also checked 10.2.41, 10.3.32, 10.4.42 latest as of today and couldn't reproduce segfault on non-debug versions. Note difference in signal 11 (segfault) vs assertion (6). |