Comment 3 for bug 892951

Fortunately it is reproducable quite consistently on my machine with --manual-gdb.

A minimal testcase:

--disable_warnings
DROP TABLE IF EXISTS t1;
--enable_warnings

create table t1 (t text,c char(10),b blob, d varbinary(10)) ENGINE=MEMORY;
insert into t1 values (NULL,NULL,NULL,NULL);
insert into t1 values ("","","","");
insert into t1 values ("hello","hello","hello","hello");
insert into t1 values ("HELLO","HELLO","HELLO","HELLO");

select t from t1 order by t;
select c from t1 order by c;

DROP TABLE t1;