MariaDB crashes when accessing table with GIS features

Description

After upgrading server from MariaDB 1.0.21 to 10.1.8, mysqld crashes when using a table that uses GIS features. As a result, it is not even possible to run mysql_upgrade. Because of the repeated crashing, the server becomes unusable for production purposes.

Selecting data from the affected tables is possible though, but operations such as 'show create table', 'show table status' or even 'use <database>' cause mysqld to restart.

Interestingly, after issuing the 'describe' command on a table, it is sometimes possible to (temporarily) perform these functions on that particular table without crashing mysqld.

After creating a new table using an identical table definition, followed by copying the new .frm file over the old .frm file, the table works smoothly.

This bug is similar (though in my opinion not identical) to bug MDEV-8163.

Environment

CentOS 6.6 with kernel 2.6.32-504.23.4.el6.x86_64

Assignee

Alexey Botchkov

Reporter

Willem van Pelt

Labels

Components

Sprint

None

Fix versions

Affects versions

Priority

Blocker
Configure