-
Notifications
You must be signed in to change notification settings - Fork 8.3k
../base/common/../common/extended_types.h:110:28: runtime error: nan is outside the range of representable values of type 'long' #19562
Copy link
Copy link
Closed
Labels
fuzzProblem found by one of the fuzzersProblem found by one of the fuzzerstestingSpecial issue with list of bugs found by CISpecial issue with list of bugs found by CI
Description
How to reproduce
FROM (SELECT JSONExtract(NULL, '', NULL), NULL, '', '', g FROM numbers(10) GROUP BY 'Linda Cal\0ahan', 'testtesttesttesttesttesttesttest', bitAnd(number, nan) AS g WITH TOTALS) ARRAY JOIN [NULL, NULL] AS a FORMAT Pretty
Error message and/or stacktrace
2021.01.23 17:12:25.180448 [ 169 ] {} <Fatal> BaseDaemon: ########################################
2021.01.23 17:12:25.180561 [ 169 ] {} <Fatal> BaseDaemon: (version 21.2.1.5783, build id: 774C37500AC4E309B3E8630ADF6CD9A097B20A40) (from thread 150) (query_id: cf358b26-252d-4ea2-a99e-e48fcdae79fa) Received signal Unknown signal (-3)
2021.01.23 17:12:25.180600 [ 169 ] {} <Fatal> BaseDaemon: Sanitizer trap.
2021.01.23 17:12:25.203826 [ 169 ] {} <Fatal> BaseDaemon: 6. _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm256EjEEEENS1_IaEENS1_IsEENS1_IiEENS1_IlEENS1_InEENS1_INS7_ILm256EiEEEENS1_IfEENS1_IdEENS_12DataTypeDateENS_16DataTypeDateTimeENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_InEEEENSL_INSM_ISF_EEEENS_19DataTypeFixedStringEENS_9IDataTypeEZZNS_24FunctionBinaryArithmeticINS_12_GLOBAL__N_110BitAndImplENSY_10NameBitAndELb1EE13castBothTypesIZNKS11_11executeImplERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS13_9allocatorIS15_EEEERKNS13_10shared_ptrIKSW_EEmEUlRKT_RKT0_E_EEbPS1C_S1N_OS1G_ENKUlS1I_E_clIS5_EEDaS1I_EUlS1I_E_EEbPS1K_OT1_ @ 0x134f04bb in /workspace/clickhouse
2021.01.23 17:12:25.208247 [ 169 ] {} <Fatal> BaseDaemon: 7. _ZN2DBL16castTypeToEitherIJNS_14DataTypeNumberIDuEENS1_ItEENS1_IjEENS1_ImEENS1_IN4wide7integerILm256EjEEEENS1_IaEENS1_IsEENS1_IiEENS1_IlEENS1_InEENS1_INS7_ILm256EiEEEENS1_IfEENS1_IdEENS_12DataTypeDateENS_16DataTypeDateTimeENS_15DataTypeDecimalINS_7DecimalIiEEEENSL_INSM_IlEEEENSL_INSM_InEEEENSL_INSM_ISF_EEEENS_19DataTypeFixedStringEENS_9IDataTypeEZNS_24FunctionBinaryArithmeticINS_12_GLOBAL__N_110BitAndImplENSY_10NameBitAndELb1EE13castBothTypesIZNKS11_11executeImplERKNSt3__16vectorINS_21ColumnWithTypeAndNameENS13_9allocatorIS15_EEEERKNS13_10shared_ptrIKSW_EEmEUlRKT_RKT0_E_EEbPS1C_S1N_OS1G_EUlS1I_E_EEbPS1K_OT1_ @ 0x134c3a0a in /workspace/clickhouse
2021.01.23 17:12:25.212765 [ 169 ] {} <Fatal> BaseDaemon: 8. DB::FunctionBinaryArithmetic<DB::(anonymous namespace)::BitAndImpl, DB::(anonymous namespace)::NameBitAnd, true>::executeImpl(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long) const @ 0x134c3526 in /workspace/clickhouse
2021.01.23 17:12:25.217222 [ 169 ] {} <Fatal> BaseDaemon: 9. DB::FunctionBinaryArithmeticWithConstants<DB::(anonymous namespace)::BitAndImpl, DB::(anonymous namespace)::NameBitAnd, true>::executeImpl(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long) const @ 0x134c2e9c in /workspace/clickhouse
2021.01.23 17:12:25.221704 [ 169 ] {} <Fatal> BaseDaemon: 10. DB::DefaultExecutable::execute(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long) const @ 0x11f4efe7 in /workspace/clickhouse
2021.01.23 17:12:25.226249 [ 169 ] {} <Fatal> BaseDaemon: 11. DB::ExecutableFunctionAdaptor::executeWithoutLowCardinalityColumns(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long, bool) const @ 0x129ff9dc in /workspace/clickhouse
2021.01.23 17:12:25.230705 [ 169 ] {} <Fatal> BaseDaemon: 12. DB::ExecutableFunctionAdaptor::execute(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long, bool) const @ 0x12a008fe in /workspace/clickhouse
2021.01.23 17:12:25.232939 [ 169 ] {} <Fatal> BaseDaemon: 13. ./obj-x86_64-linux-gnu/../src/Interpreters/ExpressionActions.cpp:0: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool) @ 0x1a026af4 in /workspace/clickhouse
2021.01.23 17:12:25.235180 [ 169 ] {} <Fatal> BaseDaemon: 14. ./obj-x86_64-linux-gnu/../src/Interpreters/ExpressionActions.cpp:0: DB::ExpressionActions::execute(DB::Block&, unsigned long&, bool) const @ 0x1a0260e0 in /workspace/clickhouse
2021.01.23 17:12:25.238473 [ 169 ] {} <Fatal> BaseDaemon: 15. ./obj-x86_64-linux-gnu/../src/Processors/Transforms/ExpressionTransform.cpp:0: DB::ExpressionTransform::transform(DB::Chunk&) @ 0x1b5c4a4e in /workspace/clickhouse
2021.01.23 17:12:25.242473 [ 169 ] {} <Fatal> BaseDaemon: 16. ./obj-x86_64-linux-gnu/../src/Processors/ISimpleTransform.h:43: DB::ISimpleTransform::transform(DB::Chunk&, DB::Chunk&) @ 0x1ac80a72 in /workspace/clickhouse
2021.01.23 17:12:25.245641 [ 169 ] {} <Fatal> BaseDaemon: 17. ./obj-x86_64-linux-gnu/../src/Processors/ISimpleTransform.cpp:99: DB::ISimpleTransform::work() @ 0x1b3ad6d0 in /workspace/clickhouse
2021.01.23 17:12:25.249016 [ 169 ] {} <Fatal> BaseDaemon: 18. ./obj-x86_64-linux-gnu/../src/Processors/Executors/PipelineExecutor.cpp:87: DB::executeJob(DB::IProcessor*) @ 0x1b3fd199 in /workspace/clickhouse
2021.01.23 17:12:25.252447 [ 169 ] {} <Fatal> BaseDaemon: 19. ./obj-x86_64-linux-gnu/../src/Processors/Executors/PipelineExecutor.cpp:99: decltype(std::__1::forward<DB::PipelineExecutor::addJob(DB::ExecutingGraph::Node*)::$_0&>(fp)()) std::__1::__invoke<DB::PipelineExecutor::addJob(DB::ExecutingGraph::Node*)::$_0&>(DB::PipelineExecutor::addJob(DB::ExecutingGraph::Node*)::$_0&) @ 0x1b3fd087 in /workspace/clickhouse
2021.01.23 17:12:25.255784 [ 169 ] {} <Fatal> BaseDaemon: 20. ./obj-x86_64-linux-gnu/../contrib/libcxx/include/functional:0: DB::PipelineExecutor::executeStepImpl(unsigned long, unsigned long, std::__1::atomic<bool>*) @ 0x1b3fba94 in /workspace/clickhouse
2021.01.23 17:12:25.259595 [ 169 ] {} <Fatal> BaseDaemon: 21. ./obj-x86_64-linux-gnu/../src/Processors/Executors/PipelineExecutor.cpp:0: DB::PipelineExecutor::executeImpl(unsigned long) @ 0x1b3fa36a in /workspace/clickhouse
2021.01.23 17:12:25.263117 [ 169 ] {} <Fatal> BaseDaemon: 22. ./obj-x86_64-linux-gnu/../src/Processors/Executors/PipelineExecutor.cpp:398: DB::PipelineExecutor::execute(unsigned long) @ 0x1b3f9e2b in /workspace/clickhouse
2021.01.23 17:12:25.266613 [ 169 ] {} <Fatal> BaseDaemon: 23. ./obj-x86_64-linux-gnu/../src/Processors/Executors/PullingAsyncPipelineExecutor.cpp:74: DB::threadFunction(DB::PullingAsyncPipelineExecutor::Data&, std::__1::shared_ptr<DB::ThreadGroupStatus>, unsigned long) @ 0x1b40c82c in /workspace/clickhouse
2021.01.23 17:12:25.270101 [ 169 ] {} <Fatal> BaseDaemon: 24. ./obj-x86_64-linux-gnu/../contrib/libcxx/include/type_traits:3682: decltype(std::__1::forward<DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&>(fp)()) std::__1::__invoke_constexpr<DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&) @ 0x1b40c787 in /workspace/clickhouse
2021.01.23 17:12:25.273593 [ 169 ] {} <Fatal> BaseDaemon: 25. ./obj-x86_64-linux-gnu/../contrib/libcxx/include/tuple:0: decltype(std::__1::forward<DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0>(fp)()) std::__1::__invoke<ThreadFromGlobalPool::ThreadFromGlobalPool<DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&)::'lambda'()&>(DB::PullingAsyncPipelineExecutor::pull(DB::Chunk&, unsigned long)::$_0&&) @ 0x1b40c642 in /workspace/clickhouse
2021.01.23 17:12:25.273721 [ 169 ] {} <Fatal> BaseDaemon: 26. ./obj-x86_64-linux-gnu/../contrib/libcxx/include/functional:2533: ThreadPoolImpl<std::__1::thread>::worker(std::__1::__list_iterator<std::__1::thread, void*>) @ 0xe401f8f in /workspace/clickhouse
2021.01.23 17:12:25.273964 [ 169 ] {} <Fatal> BaseDaemon: 27. ./obj-x86_64-linux-gnu/../src/Common/ThreadPool.cpp:0: void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void ThreadPoolImpl<std::__1::thread>::scheduleImpl<void>(std::__1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda1'()> >(void*) @ 0xe405c66 in /workspace/clickhouse
2021.01.23 17:12:25.274052 [ 169 ] {} <Fatal> BaseDaemon: 28. start_thread @ 0x9609 in /usr/lib/x86_64-linux-gnu/libpthread-2.31.so
2021.01.23 17:12:25.274119 [ 169 ] {} <Fatal> BaseDaemon: 29. __clone @ 0x122293 in /usr/lib/x86_64-linux-gnu/libc-2.31.so
2021.01.23 17:12:25.547706 [ 169 ] {} <Fatal> BaseDaemon: Calculated checksum of the binary: A865D4A0CA32697B9A7B91EE5FA7854A. There is no information about the reference checksum.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
fuzzProblem found by one of the fuzzersProblem found by one of the fuzzerstestingSpecial issue with list of bugs found by CISpecial issue with list of bugs found by CI