-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Logical error: \'n < size()\' in FunctionJSONPaths #76230
Copy link
Copy link
Closed
Labels
fuzzProblem found by one of the fuzzersProblem found by one of the fuzzers
Description
[ 51944 ] {e67adbd4-2425-4373-b8fa-9df521e37f3e} : Logical error: \'n < size()\'.
[ 51944 ] {e67adbd4-2425-4373-b8fa-9df521e37f3e} : Stack trace (when copying this message, always include the lines below):
[ 58036 ] {} BaseDaemon: ########## Short fault info ############
[ 58036 ] {} BaseDaemon: (version 25.2.1.2333, build id: 6DB925386846D8354C691DD97932CE3D857D152D, git hash: 8b34d81a3cd3938c9d4277d0367382e66e69f67d, architecture: x86_64) (from thread 51944) Received signal 6
[ 58036 ] {} BaseDaemon: Signal description: Aborted
[ 58036 ] {} BaseDaemon:
[ 58036 ] {} BaseDaemon: Stack trace: 0x000055a22a3ac5bd 0x000055a22a7bfb22 0x000055a221eb77a6 0x000055a221eb7cfb 0x00007f7b855cb520 0x00007f7b8561f9fd 0x00007f7b855cb476 0x00007f7b855b17f3 0x000055a221eb6267 0x000055a22a3657a7 0x000055a22a365d37 0x000055a221f4afa4 0x000055a222c4b5a9 0x000055a222c48db4 0x000055a23124141c 0x000055a23123846e 0x000055a231239cee 0x000055a23123b55a 0x000055a2335abdec 0x000055a2373e41e8 0x000055a22d92fed7 0x000055a23700aec8 0x000055a2370399a6 0x000055a2370272fb 0x000055a237026660 0x000055a23702632a 0x000055a23703e37b 0x000055a22a479cae 0x000055a22a481e3c 0x000055a221eaf428 0x00007f7b8561dac3 0x00007f7b856af850
[ 58036 ] {} BaseDaemon: ########################################
[ 58036 ] {} BaseDaemon: (version 25.2.1.2333, build id: 6DB925386846D8354C691DD97932CE3D857D152D, git hash: 8b34d81a3cd3938c9d4277d0367382e66e69f67d) (from thread 51944) (query_id: e67adbd4-2425-4373-b8fa-9df521e37f3e) (query: select distinct arrayJoin(JSONAllPathsWithTypes(arrayJoin(json.a.b))) as paths_with_types from test order by paths_with_types;) Received signal Aborted (6)
[ 58036 ] {} BaseDaemon:
[ 58036 ] {} BaseDaemon: Stack trace: 0x000055a22a3ac5bd 0x000055a22a7bfb22 0x000055a221eb77a6 0x000055a221eb7cfb 0x00007f7b855cb520 0x00007f7b8561f9fd 0x00007f7b855cb476 0x00007f7b855b17f3 0x000055a221eb6267 0x000055a22a3657a7 0x000055a22a365d37 0x000055a221f4afa4 0x000055a222c4b5a9 0x000055a222c48db4 0x000055a23124141c 0x000055a23123846e 0x000055a231239cee 0x000055a23123b55a 0x000055a2335abdec 0x000055a2373e41e8 0x000055a22d92fed7 0x000055a23700aec8 0x000055a2370399a6 0x000055a2370272fb 0x000055a237026660 0x000055a23702632a 0x000055a23703e37b 0x000055a22a479cae 0x000055a22a481e3c 0x000055a221eaf428 0x00007f7b8561dac3 0x00007f7b856af850
[ 58036 ] {} BaseDaemon: 0.0. inlined from ./build_docker/./src/Common/StackTrace.cpp:381: StackTrace::tryCapture()
[ 58036 ] {} BaseDaemon: 0. ./build_docker/./src/Common/StackTrace.cpp:350: StackTrace::StackTrace(ucontext_t const&) @ 0x00000000104465bd
[ 58036 ] {} BaseDaemon: 1. ./build_docker/./src/Common/SignalHandlers.cpp:104: signalHandler(int, siginfo_t*, void*) @ 0x0000000010859b22
[ 58036 ] {} BaseDaemon: 2. __tsan::CallUserSignalHandler(__tsan::ThreadState*, bool, bool, int, __sanitizer::__sanitizer_siginfo*, void*) @ 0x0000000007f517a6
[ 58036 ] {} BaseDaemon: 3. sighandler(int, __sanitizer::__sanitizer_siginfo*, void*) @ 0x0000000007f51cfb
[ 58036 ] {} BaseDaemon: 4. ? @ 0x00007f7b855cb520
[ 58036 ] {} BaseDaemon: 5. ? @ 0x00007f7b8561f9fd
[ 58036 ] {} BaseDaemon: 6. ? @ 0x00007f7b855cb476
[ 58036 ] {} BaseDaemon: 7. ? @ 0x00007f7b855b17f3
[ 58036 ] {} BaseDaemon: 8. __interceptor_abort @ 0x0000000007f50267
[ 58036 ] {} BaseDaemon: 9. ./build_docker/./src/Common/Exception.cpp:48: DB::abortOnFailedAssertion(String const&, void* const*, unsigned long, unsigned long) @ 0x00000000103ff7a7
[ 58036 ] {} BaseDaemon: 10. ./build_docker/./src/Common/Exception.cpp:54: DB::abortOnFailedAssertion(String const&) @ 0x00000000103ffd37
[ 58036 ] {} BaseDaemon: 11. DB::ColumnString::getDataAt(unsigned long) const @ 0x0000000007fe4fa4
[ 58036 ] {} BaseDaemon: 12. DB::(anonymous namespace)::FunctionJSONPaths::getDynamicValueType(COW::immutable_ptr const&, unsigned long) const @ 0x0000000008ce55a9
[ 58036 ] {} BaseDaemon: 13. DB::(anonymous namespace)::FunctionJSONPaths::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x0000000008ce2db4
[ 58036 ] {} BaseDaemon: 14. ./build_docker/./src/Functions/IFunctionAdaptors.cpp:10: DB::FunctionToExecutableFunctionAdaptor::executeImpl(std::vector> const&, std::shared_ptr const&, unsigned long) const @ 0x00000000172db41c
[ 58036 ] {} BaseDaemon: 15. DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000172d246e
[ 58036 ] {} BaseDaemon: 16. DB::IExecutableFunction::executeWithoutSparseColumns(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000172d3cee
[ 58036 ] {} BaseDaemon: 17. DB::IExecutableFunction::execute(std::vector> const&, std::shared_ptr const&, unsigned long, bool) const @ 0x00000000172d555a
[ 58036 ] {} BaseDaemon: 18.0. inlined from ./build_docker/./src/Interpreters/ExpressionActions.cpp:636: DB::executeAction(DB::ExpressionActions::Action const&, DB::(anonymous namespace)::ExecutionContext&, bool, bool)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
fuzzProblem found by one of the fuzzersProblem found by one of the fuzzers