[ 
https://issues.apache.org/jira/browse/IMPALA-8533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16840648#comment-16840648
 ] 

Todd Lipcon commented on IMPALA-8533:
-------------------------------------

The problem here seems to be that the sorter is getting optimized to have a 
zero-length sort tuple, so we crash on:
{code}
110     Sorter::Run::Run(Sorter* parent, TupleDescriptor* sort_tuple_desc, bool 
initial_run)
111       : sorter_(parent),
112         sort_tuple_desc_(sort_tuple_desc),
113         sort_tuple_size_(sort_tuple_desc->byte_size()),
114         page_capacity_(parent->page_len_ / sort_tuple_size_),
{code}
(sort_tuple_size_ is 0, so we div-by-zero)

> Impala daemon crash on sort
> ---------------------------
>
>                 Key: IMPALA-8533
>                 URL: https://issues.apache.org/jira/browse/IMPALA-8533
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Backend
>    Affects Versions: Impala 3.2.0
>            Reporter: Jeremy Beard
>            Assignee: Todd Lipcon
>            Priority: Blocker
>              Labels: crash
>         Attachments: fatal_error.txt, hs_err_pid8552.log, query.txt
>
>
> Running the attached data generation query crashes the Impala coordinator 
> daemon.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to