volcengine / ve-tos-cpp-sdk

Volcengine TOS C++ SDK
Apache License 2.0
8 stars 5 forks source link

多线程场景,coredump #47

Closed ZhangChaoming closed 3 months ago

ZhangChaoming commented 4 months ago
AppendObjectV2Input input(bucket, objectName, data, offset);
if (offset > 0) {
    input.setPreHashCrc64Ecma(crc);
}
input.setStorageClass(VolcengineTos::StorageClassType::STANDARD);
auto output = m_client->appendObject(input);

coredump 堆栈如下

#0  0x00007f0ace4c4944 in OBJ_NAME_add () from ./lib/libcrypto.so.1.0.0
#1  0x00007f0ace589a99 in OpenSSL_add_all_ciphers () from ./lib/libcrypto.so.1.0.0
#2  0x00007f0ace5898ae in OPENSSL_add_all_algorithms_noconf () from ./lib/libcrypto.so.1.0.0
#3  0x0000000001dd32df in Curl_ossl_init ()
#4  0x0000000001d9a7f6 in global_init ()
#5  0x0000000001d9aa98 in curl_easy_init ()
#6  0x00007f0ad6dae92a in VolcengineTos::HttpClient::doRequest(std::shared_ptr<VolcengineTos::HttpRequest> const&) () from ./lib/libve-tos-cpp-sdk-lib.so
#7  0x00007f0ad6e4a033 in VolcengineTos::DefaultTransport::roundTrip(std::shared_ptr<VolcengineTos::TosRequest> const&) () from ./lib/libve-tos-cpp-sdk-lib.so
#8  0x00007f0ad6f0d1b4 in VolcengineTos::TosClientImpl::roundTrip(std::shared_ptr<VolcengineTos::TosRequest> const&, int) () from ./lib/libve-tos-cpp-sdk-lib.so
#9  0x00007f0ad6edabe3 in VolcengineTos::TosClientImpl::appendObject(VolcengineTos::AppendObjectV2Input const&) () from ./lib/libve-tos-cpp-sdk-lib.so
#10 0x00007f0ad6eb7d08 in VolcengineTos::TosClientV2::appendObject(VolcengineTos::AppendObjectV2Input const&) const () from ./lib/libve-tos-cpp-sdk-lib.so