Zoltán Borók-Nagy created IMPALA-13910:
------------------------------------------
Summary: Impala crashed in DatePartForTimestampPrepareImpl
Key: IMPALA-13910
URL: https://issues.apache.org/jira/browse/IMPALA-13910
Project: IMPALA
Issue Type: Bug
Components: Backend
Reporter: Zoltán Borók-Nagy
Saw the following crash in an exhaustive run:
{noformat}
#0 0x00007fb8088d6387 in raise () from /lib64/libc.so.6
#1 0x00007fb8088d7a78 in abort () from /lib64/libc.so.6
#2 0x00007fb80b19fb59 in os::abort(bool) () from
/usr/java/jdk1.8.0_261/jre/lib/amd64/server/libjvm.so
#3 0x00007fb80b367b43 in VMError::report_and_die() () from
/usr/java/jdk1.8.0_261/jre/lib/amd64/server/libjvm.so
#4 0x00007fb80b1a9e05 in JVM_handle_linux_signal () from
/usr/java/jdk1.8.0_261/jre/lib/amd64/server/libjvm.so
#5 0x00007fb80b19cca8 in signalHandler(int, siginfo*, void*) () from
/usr/java/jdk1.8.0_261/jre/lib/amd64/server/libjvm.so
#6 <signal handler called>
#7 access_mem (as=<optimized out>, addr=28690143792, val=0x7fb74ec3d480,
write=<optimized out>, arg=<optimized out>) at x86_64/Ginit.c:322
#8 0x0000000003ada6ac in dwarf_get (val=0x7fb74ec3d480, loc=...,
c=0x7fb74ec3d910) at ../include/tdep-x86_64/libunwind_i.h:202
#9 _ULx86_64_tdep_trace (cursor=cursor@entry=0x7fb74ec3d910,
buffer=buffer@entry=0x7fb74ec3e150, size=size@entry=0x7fb74ec3d554) at
x86_64/Gtrace.c:486
#10 0x0000000003ad8b6e in unw_backtrace (buffer=buffer@entry=0x7fb74ec3e150,
size=size@entry=64) at mi/backtrace.c:70
#11 0x0000000003ab4a7c in google::GetStackTrace
(result=result@entry=0x7fb74ec3e390, max_depth=max_depth@entry=32,
skip_count=skip_count@entry=2) at src/stacktrace_generic-inl.h:46
#12 0x0000000003ab4aee in google::DumpStackTrace
(writerfn=writerfn@entry=0x3ab4750 <google::DebugWriteToString(char const*,
void*)>, arg=arg@entry=0x7fb74ec3ecf0, skip_count=1) at src/utilities.cc:122
#13 0x0000000003ab4c3f in
google::glog_internal_namespace_::DumpStackTraceToString
(stacktrace=stacktrace@entry=0x7fb74ec3ecf0) at src/utilities.cc:307
#14 0x00000000019b6b42 in impala::GetStackTrace[abi:cxx11]() () at
/data/jenkins/workspace/impala-cdw-master-staging-exhaustive/repos/Impala/be/src/util/debug-util.cc:314
#15 0x00000000010f0c47 in impala::Status::Status (this=0x7fb74ec3ef28,
error_msg=...) at
/data/jenkins/workspace/impala-cdw-master-staging-exhaustive/repos/Impala/be/src/common/status.cc:129
#16 0x000000000198ef16 in impala::RuntimeState::SetQueryStatus (err_msg=...,
this=0x7fb74ec3fad0) at
/data/jenkins/workspace/impala-cdw-master-staging-exhaustive/repos/Impala/be/src/runtime/runtime-state.h:262
#17 impala_udf::FunctionContext::SetError (this=this@entry=0x14d82f40,
error_msg=<optimized out>) at
/data/jenkins/workspace/impala-cdw-master-staging-exhaustive/repos/Impala/be/src/udf/udf.cc:458
#18 0x00000000024be796 in (anonymous
namespace)::ExtractTruncFuncPrepareTempl<true, 0, impala::TExtractField::type,
(anonymous namespace)::StrToExtractField> (ctx=ctx@entry=0x14d82f40,
scope=scope@entry=impala_udf::FunctionContext::FRAGMENT_LOCAL, func_descr=...,
unit_descr=...) at
/data0/jenkins/workspace/impala-cdw-master-staging-exhaustive/Impala-Toolchain/toolchain-packages-gcc10.4.0/gcc-10.4.0/include/c++/10.4.0/bits/basic_string.h:194
#19 0x00000000024be9c6 in impala::UdfBuiltins::DatePartForTimestampPrepareImpl
(ctx=ctx@entry=0x14d82f40,
scope=scope@entry=impala_udf::FunctionContext::FRAGMENT_LOCAL) at
/data/jenkins/workspace/impala-cdw-master-staging-exhaustive/repos/Impala/be/src/exprs/udf-builtins.cc:872
#20 0x00000000022500af in impala::UdfBuiltins::DatePartForTimestampPrepare
(ctx=ctx@entry=0x14d82f40,
scope=scope@entry=impala_udf::FunctionContext::FRAGMENT_LOCAL) at
/data/jenkins/workspace/impala-cdw-master-staging-exhaustive/repos/Impala/be/src/exprs/udf-builtins-ir.cc:306
#21 0x0000000002148dbd in impala::ScalarFnCall::OpenEvaluator (this=<optimized
out>, scope=impala_udf::FunctionContext::FRAGMENT_LOCAL, state=<optimized out>,
eval=<optimized out>) at
/data/jenkins/workspace/impala-cdw-master-staging-exhaustive/repos/Impala/be/src/exprs/scalar-fn-call.cc:220
#22 0x0000000002126bf8 in impala::ScalarExpr::OpenEvaluator
(this=this@entry=0x1776f000,
scope=scope@entry=impala_udf::FunctionContext::FRAGMENT_LOCAL,
state=state@entry=0x7fb74ec3fad0, eval=eval@entry=0x12ad1ef0) at
/data/jenkins/workspace/impala-cdw-master-staging-exhaustive/repos/Impala/be/src/exprs/scalar-expr.cc:224
#23 0x0000000002148622 in impala::ScalarFnCall::OpenEvaluator (this=0x1776f000,
scope=impala_udf::FunctionContext::FRAGMENT_LOCAL, state=0x7fb74ec3fad0,
eval=0x12ad1ef0) at
/data/jenkins/workspace/impala-cdw-master-staging-exhaustive/repos/Impala/be/src/exprs/scalar-fn-call.cc:139
#24 0x00000000021203a5 in impala::ScalarExprEvaluator::Open
(this=this@entry=0x12ad1ef0, state=state@entry=0x7fb74ec3fad0) at
/data/jenkins/workspace/impala-cdw-master-staging-exhaustive/repos/Impala/be/src/exprs/scalar-expr-evaluator.cc:155
#25 0x00000000016fe906 in
Java_org_apache_impala_service_FeSupport_NativeEvalExprsWithoutRow
(env=0x269b01f8, caller_class=<optimized out>, thrift_expr_batch=<optimized
out>, thrift_query_ctx_bytes=<optimized out>, max_result_size=<optimized out>)
at
/data/jenkins/workspace/impala-cdw-master-staging-exhaustive/repos/Impala/be/src/service/f
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)