[MDEV-11591] Error: Freeing overrun buffer, Freeing unallocated data or underrun buffer Created: 2016-12-17  Updated: 2017-06-21  Resolved: 2017-06-21

Status: Closed
Project: MariaDB Server
Component/s: Data Definition - Alter Table, Virtual Columns
Affects Version/s: 10.2
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Elena Stepanova
Resolution: Cannot Reproduce Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-5800 indexes on virtual (not materialized)... Closed

 Description   

CREATE TABLE t1 (c CHAR(255));
 
INSERT INTO t1 VALUES (REPEAT('a',255)),(REPEAT('b',255)),(REPEAT('c',255)),(REPEAT('d',255));
INSERT INTO t1 SELECT * FROM t1;
INSERT INTO t1 SELECT * FROM t1;
INSERT INTO t1 SELECT * FROM t1;
INSERT INTO t1 SELECT * FROM t1;
INSERT INTO t1 SELECT * FROM t1;
 
ALTER TABLE t1 ADD COLUMN vcol CHAR(255) AS (c) VIRTUAL, ADD INDEX IF NOT EXISTS (vcol);

10.2 c35b8c46b404d035e54a23d667da5dff6502fc2e

Error: Freeing unallocated data or underrun buffer 0x7ff555ba60ad, 0x7ff555b972ca, 0x7ff555b28b48, 0x7ff555b1af5a, 0x7ff555b1bb17, 0x7ff555b1713c, 0x7ff5553a5055, 0x7ff5553ff8f9
Error: Freeing overrun buffer  0x7ff555ba60ad, 0x7ff555b972ca, 0x7ff555b28b72, 0x7ff555b1af5a, 0x7ff555b1bb17, 0x7ff555b1713c, 0x7ff5553a5055, 0x7ff5553ff8f9
Allocated at 0x7ff555b97521, 0x7ff555b384a7, 0x7ff555b27b47, 0x7ff555b1af5a, 0x7ff555b1bb17, 0x7ff555b1713c, 0x7ff5553a5055, 0x7ff5553ff8f9



 Comments   
Comment by Elena Stepanova [ 2017-01-02 ]

Also reproducible on bb-10.2-monty as of 349d69e2e

Comment by Elena Stepanova [ 2017-01-17 ]

Can't reproduce anymore, maybe monty fixed it.

Comment by Elena Stepanova [ 2017-06-21 ]

It hasn't reappeared, so it must have been fixed.

Generated at Thu Feb 08 07:51:08 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.