[MDEV-26186] 280 Bytes lost in mysys/array.c, mysys/hash.c, sql/sp.cc, sql/sp.cc, sql/item_create.cc, sql/item_create.cc, sql/sql_yacc.yy:10748 when using oracle sql_mode Created: 2021-07-20 Updated: 2023-07-18 Resolved: 2023-07-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Server |
| Affects Version/s: | 10.5, 10.6, 10.7, 10.8, 10.9, 10.10, 10.11 |
| Fix Version/s: | 10.8.8, 10.5.22, 10.6.15, 10.9.8, 10.10.6, 10.11.5, 11.0.3, 11.1.2, 11.2.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Roel Van de Paar | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Memory_leak, memory_not_freed, not-10.3, not-10.4, regression | ||
| Issue Links: |
|
||||||||
| Description |
|
Leads to:
Present in 10.5 to 10.11, in debug and optimized. Not present in 10.2 to 10.4. |
| Comments |
| Comment by Roel Van de Paar [ 2023-01-09 ] | ||||||||||||
|
Additional testcase
| ||||||||||||
| Comment by Alexander Barkov [ 2023-07-18 ] | ||||||||||||
|
Repeatable in MTR in 10.5 as of c9eff1a144ba44846373660a30d342d3f0dc91a5:
| ||||||||||||
| Comment by Alexander Barkov [ 2023-07-18 ] | ||||||||||||
|
With a later 10.5 which includes the fix for
But the second chunk still does:
| ||||||||||||
| Comment by Alexander Barkov [ 2023-07-18 ] | ||||||||||||
|
All these MTR tests also leak memory:
|