Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.0(EOL), 10.1(EOL)
-
None
-
Archlinux 4.1.2-2-ARCH, mariadb 10.0.20-1
-
10.1.9-1
Description
Reported the problem here: http://trac.kodi.tv/ticket/16126 and here: http://forum.kodi.tv/showthread.php?tid=232834
Mariadb seems to crash when data is read?! by Kodi
Attached is journalctl output of the crash plus a logfile of Kodi.
Attachments
Issue Links
- is duplicated by
-
MDEV-9006 MariaDB crashes executing attached query
-
- Closed
-
- relates to
-
MDEV-16207 Sig 11 on RHEL7 on Azure
-
- Closed
-
... However, both Item_direct_view_ref and Item_singlerow_subselect have result_field=NULL.
result_field is set in create_tmp_table.
Looking at that function.
Note that EXPLAIN shows that table album has type= const.
create_tmp_table has this code:
while ((item=li++))
{
Item::Type type=item->type();
if (not_all_columns)
{
...
if (item->const_item() && (int) hidden_field_count <= 0)
continue; // We don't have to store this
}
We arrive to "We don't have to store this" for all items in albumview.*, including the iTimesPlayed subquery.