We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.9.0
在Debian 12中编译,相关依赖已安装,成功编译后运行时报错:
*** buffer overflow detected ***: terminated [1] 1059246 IOT instruction ./subconverter
-- The CXX compiler identification is GNU 12.2.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test HAVE_TO_STRING -- Performing Test HAVE_TO_STRING - Success -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so (found suitable version "7.88.1", minimum required is "7.54.0") -- Found rapidjson header files in /usr/include -- Checking for module 'yaml-cpp>=0.6.3' -- Found yaml-cpp, version 0.7.0 -- Found PCRE2: /usr/lib/x86_64-linux-gnu/libpcre2-8.so -- Found QuickJS: /usr/include -- Found LibCron: /usr/include /usr/include -- Configuring done -- Generating done -- Build files have been written to: /tmp/subconverter/src/subconverter-0.9.0/build [ 30%] Building CXX object CMakeFiles/subconverter.dir/src/generator/config/ruleconvert.cpp.o [ 30%] Building CXX object CMakeFiles/subconverter.dir/src/generator/config/nodemanip.cpp.o [ 30%] Building CXX object CMakeFiles/subconverter.dir/src/handler/multithread.cpp.o [ 30%] Building CXX object CMakeFiles/subconverter.dir/src/handler/webget.cpp.o [ 30%] Building CXX object CMakeFiles/subconverter.dir/src/generator/template/templates.cpp.o [ 30%] Building CXX object CMakeFiles/subconverter.dir/src/generator/config/subexport.cpp.o [ 30%] Building CXX object CMakeFiles/subconverter.dir/src/handler/upload.cpp.o [ 30%] Building CXX object CMakeFiles/subconverter.dir/src/handler/interfaces.cpp.o [ 34%] Building CXX object CMakeFiles/subconverter.dir/src/handler/settings.cpp.o [ 38%] Building CXX object CMakeFiles/subconverter.dir/src/main.cpp.o [ 42%] Building CXX object CMakeFiles/subconverter.dir/src/parser/infoparser.cpp.o [ 46%] Building CXX object CMakeFiles/subconverter.dir/src/parser/subparser.cpp.o [ 50%] Building CXX object CMakeFiles/subconverter.dir/src/script/cron.cpp.o [ 53%] Building CXX object CMakeFiles/subconverter.dir/src/script/script_quickjs.cpp.o [ 57%] Building CXX object CMakeFiles/subconverter.dir/src/server/webserver_httplib.cpp.o In file included from /tmp/subconverter/src/subconverter-0.9.0/src/script/script_quickjs.cpp:4: /tmp/subconverter/src/subconverter-0.9.0/include/quickjspp.hpp: In instantiation of ‘Tuple qjs::detail::unwrap_args_impl(JSContext*, int, JSValue*, std::index_sequence<__indices ...>) [with Tuple = std::tuple<>; long unsigned int ...I = {}; JSContext = JSContext; JSValue = JSValue; std::index_sequence<__indices ...> = std::integer_sequence<long unsigned int>]’: /tmp/subconverter/src/subconverter-0.9.0/include/quickjspp.hpp:563:63: required from ‘std::tuple<typename std::decay<_Elements>::type ...> qjs::detail::unwrap_args(JSContext*, int, JSValue*) [with Args = {}; JSContext = JSContext; JSValue = JSValue]’ /tmp/subconverter/src/subconverter-0.9.0/include/quickjspp.hpp:780:111: required from ‘static JSValue qjs::js_traits<qjs::ctor_wrapper<T, Args ...> >::wrap(JSContext*, qjs::ctor_wrapper<T, Args ...>) [with T = qjs_fetch_Headers; Args = {}; JSValue = JSValue; JSContext = JSContext]’ /tmp/subconverter/src/subconverter-0.9.0/include/quickjspp.hpp:1284:45: required from ‘qjs::Value::Value(JSContext*, T&&) [with T = qjs::ctor_wrapper<qjs_fetch_Headers>; JSContext = JSContext]’ /tmp/subconverter/src/subconverter-0.9.0/include/quickjspp.hpp:1817:69: required from ‘qjs::Value qjs::Context::newValue(T&&) [with T = qjs::ctor_wrapper<qjs_fetch_Headers>]’ /tmp/subconverter/src/subconverter-0.9.0/include/quickjspp.hpp:1697:40: required from ‘qjs::Context::Module::class_registrar<T>& qjs::Context::Module::class_registrar<T>::constructor(const char*) [with Args = {}; T = qjs_fetch_Headers]’ /tmp/subconverter/src/subconverter-0.9.0/src/script/script_quickjs.cpp:441:27: required from here /tmp/subconverter/src/subconverter-0.9.0/include/quickjspp.hpp:552:36: warning: parameter ‘ctx’ set but not used [-Wunused-but-set-parameter] 552 | Tuple unwrap_args_impl(JSContext * ctx, int argc, JSValueConst * argv, std::index_sequence<I...>) | ~~~~~~~~~~~~^~~ /tmp/subconverter/src/subconverter-0.9.0/include/quickjspp.hpp:552:45: warning: parameter ‘argc’ set but not used [-Wunused-but-set-parameter] 552 | Tuple unwrap_args_impl(JSContext * ctx, int argc, JSValueConst * argv, std::index_sequence<I...>) | ~~~~^~~~ /tmp/subconverter/src/subconverter-0.9.0/include/quickjspp.hpp:552:66: warning: parameter ‘argv’ set but not used [-Wunused-but-set-parameter] 552 | Tuple unwrap_args_impl(JSContext * ctx, int argc, JSValueConst * argv, std::index_sequence<I...>) | ^ [ 61%] Building CXX object CMakeFiles/subconverter.dir/src/utils/base64/base64.cpp.o [ 65%] Building CXX object CMakeFiles/subconverter.dir/src/utils/codepage.cpp.o [ 69%] Building CXX object CMakeFiles/subconverter.dir/src/utils/file.cpp.o [ 73%] Building CXX object CMakeFiles/subconverter.dir/src/utils/logger.cpp.o [ 76%] Building CXX object CMakeFiles/subconverter.dir/src/utils/md5/md5.cpp.o [ 80%] Building CXX object CMakeFiles/subconverter.dir/src/utils/network.cpp.o [ 84%] Building CXX object CMakeFiles/subconverter.dir/src/utils/regexp.cpp.o In file included from /usr/include/c++/12/string:40, from /tmp/subconverter/src/subconverter-0.9.0/src/utils/network.cpp:1: In static member function ‘static constexpr std::char_traits<char>::char_type* std::char_traits<char>::copy(char_type*, const char_type*, std::size_t)’, inlined from ‘static constexpr void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_S_copy(_CharT*, const _CharT*, size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ at /usr/include/c++/12/bits/basic_string.h:423:21, inlined from ‘constexpr std::__cxx11::basic_string<_CharT, _Traits, _Allocator>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_replace(size_type, size_type, const _CharT*, size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ at /usr/include/c++/12/bits/basic_string.tcc:532:22, inlined from ‘constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::assign(const _CharT*) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ at /usr/include/c++/12/bits/basic_string.h:1647:19, inlined from ‘constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator=(const _CharT*) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ at /usr/include/c++/12/bits/basic_string.h:815:28, inlined from ‘void urlParse(std::string&, std::string&, std::string&, int&, bool&)’ at /tmp/subconverter/src/subconverter-0.9.0/src/utils/network.cpp:72:16: /usr/include/c++/12/bits/char_traits.h:431:56: warning: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ accessing 9223372036854775810 or more bytes at offsets -4611686018427387902 and [-4611686018427387903, 4611686018427387904] may overlap up to 9223372036854775813 bytes at offset -3 [-Wrestrict] 431 | return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ [ 88%] Building CXX object CMakeFiles/subconverter.dir/src/utils/string.cpp.o [ 92%] Building CXX object CMakeFiles/subconverter.dir/src/utils/system.cpp.o [ 96%] Building CXX object CMakeFiles/subconverter.dir/src/utils/urlencode.cpp.o [100%] Linking CXX executable subconverter [100%] Built target subconverter
The text was updated successfully, but these errors were encountered:
No branches or pull requests
subconverter版本
0.9.0
依赖版本
错误信息
在Debian 12中编译,相关依赖已安装,成功编译后运行时报错:
编译日志
The text was updated successfully, but these errors were encountered: