mysqld crashes when running a query with ONLY_FULL_GROUP_BY

Description

I tried to run this query:

and the server crashed. Log:

Environment

Linux 64-bit, Gentoo package

Assignee

Michael Widenius

Reporter

Vasilis Lourdas

Labels

None

Fix versions

Affects versions

Priority

Critical
Configure