Lars Volker created IMPALA-5876: ----------------------------------- Summary: Segmentation fault in HdfsAvroScanner::MaterializeTuple(impala::AvroSchemaElement const&, impala::MemPool*, unsigned char**, unsigned char*, impala::Tuple*) Key: IMPALA-5876 URL: https://issues.apache.org/jira/browse/IMPALA-5876 Project: IMPALA Issue Type: Bug Components: Backend Affects Versions: Impala 2.10.0 Reporter: Lars Volker Priority: Blocker
This could be a null pointer dereference in [be/src/exec/hdfs-avro-scanner.cc:581|https://github.com/apache/incubator-impala/blob/30129c4535e3505bb203c3f84e2d3da7c73f1117/be/src/exec/hdfs-avro-scanner.cc#L581]: {code} avro_type_t type = element.schema->type; {code} Here is the stack trace of the crashing thread from a minidump. Please reach out if you want to access the full minidump. I may also be able to provide a core file. {noformat} Crash reason: SIGSEGV Crash address: 0x0 0 impalad!impala::HdfsAvroScanner::MaterializeTuple(impala::AvroSchemaElement const&, impala::MemPool*, unsigned char**, unsigned char*, impala::Tuple*) [hdfs-avro-scanner.cc : 589 + 0x0] 1 impalad!impala::HdfsAvroScanner::DecodeAvroData(int, impala::MemPool*, unsigned char**, unsigned char*, impala::Tuple*, impala::TupleRow*) [hdfs-avro-scanner-ir.cc : 40 + 0x5] 2 impalad!impala::HdfsAvroScanner::ProcessRange() [hdfs-avro-scanner.cc : 553 + 0x30] 3 impalad!impala::BaseSequenceScanner::ProcessSplit() [base-sequence-scanner.cc : 181 + 0xd] 4 impalad!impala::HdfsScanNode::ProcessSplit(std::vector<impala::FilterContext, std::allocator<impala::FilterContext> > const&, impala::DiskIoMgr::ScanRange*) [hdfs-scan-node.cc : 526 + 0x11] 5 impalad!impala::HdfsScanNode::ScannerThread() [hdfs-scan-node.cc : 417 + 0x18] 6 impalad!impala::Thread::SuperviseThread(std::string const&, std::string const&, boost::function<void ()>, impala::Promise<long>*) [function_template.hpp : 767 + 0x7] 7 impalad!boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(std::string const&, std::string const&, boost::function<void ()>, impala::Promise<long>*), boost::_bi::list4<boost::_bi::value<std::string>, boost::_bi::value<std::string>, boost::_bi::value<boost::function<void ()> >, boost::_bi::value<impala::Promise<long>*> > > >::run() [bind.hpp : 457 + 0x6] 8 impalad!thread_proxy + 0xda 9 libpthread-2.12.so + 0x7aa1 10 libc-2.12.so + 0xe893d {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)