Details
-
Bug
-
Status: Confirmed (View Workflow)
-
Critical
-
Resolution: Unresolved
-
10.11, 11.4, 11.8, 12.3, 11.8.8
-
Can result in hang or crash
Description
A query using ORDER BY on a large number of LONGBLOB columns can trigger a failure in the filesort implementation.
heap overflow to libc Crash:
Server version: 11.8.8-MariaDB-ubu2404 source revision: 46a8eb42a520193686d9a16d4cea4b3e002917e4
The information page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mariadbd/
contains instructions to obtain a better version of the backtrace below.
Following these instructions will help MariaDB developers provide a fix quicker.
Attempting backtrace. Include this in the bug report.
(note: Retrieving this information may fail)
Thread pointer: 0x77d440000c68
Fatal glibc error: malloc.c:2599 (sysmalloc): assertion failed: (old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)
Fatal signal 6 while backtracing
Reproduce:
use reproduce.sql