You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
core dump stack:
gdb) bt
#0 [34m0x00007f4bdc614383[m in [33mAws::Transfer::TransferManager::DoMultiPartUpload(std::shared_ptrstd::iostream const&, std::shared_ptrAws::Transfer::TransferHandle const&)[m () from [32m/usr/local/lib/libaws-cpp-sdk-transfer.so[m #1 [34m0x00007f4bdc615fc3[m in [33mstd::_Function_handler<void (), std::_Bind<Aws::Transfer::TransferManager::SubmitUpload(std::shared_ptrAws::Transfer::TransferHandle const&, std::shared_ptrstd::iostream const&)::{lambda()#1} ()> >::_M_invoke(std::_Any_data const&)[m
() from [32m/usr/local/lib/libaws-cpp-sdk-transfer.so[m #2 [34m0x00007f4bdc95a45d[m in [33mAws::Utils::Threading::ThreadTask::MainTaskRunner()[m () from [32m/usr/local/lib/libaws-cpp-sdk-core.so[m #3 [34m0x00007f4bdc2f2df4[m in [33m??[m () from [32m/usr/lib/x86_64-linux-gnu/libstdc++.so.6[m #4 [34m0x00007f4bdcaf3609[m in [33mstart_thread[m ([36marg[m=) at [32mpthread_create.c[m:477 #5 [34m0x00007f4bdc51d353[m in [33mclone[m () at [32m../sysdeps/unix/sysv/linux/x86_64/clone.S[m:95
ps: if read data out from file and then upload by PutObject it works well. the code snippet of upload file by putobject:
const std::shared_ptrAws::IOStream input_data = Aws::MakeSharedAws::StringStream("");
*input_data << data;
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
Describe the bug
using transfermanager and fsstream to upload file to aws s3 compitable storage(ceph), the c program crashed.
Expected Behavior
upload the file successfully.
Current Behavior
log:
multipart_upload_concurrency: key={bucket}/file1.txt file=/{xxx}/file1.txt
dmesg:
trap divide error ip:7f4bdc614383 sp:7f4ba4ff62d0 error:0 in libaws-cpp-sdk-transfer.so[7f4bdc5fd000+22000]
core dump stack:
gdb) bt
#0 [34m0x00007f4bdc614383[m in [33mAws::Transfer::TransferManager::DoMultiPartUpload(std::shared_ptrstd::iostream const&, std::shared_ptrAws::Transfer::TransferHandle const&)[m () from [32m/usr/local/lib/libaws-cpp-sdk-transfer.so[m
#1 [34m0x00007f4bdc615fc3[m in [33mstd::_Function_handler<void (), std::_Bind<Aws::Transfer::TransferManager::SubmitUpload(std::shared_ptrAws::Transfer::TransferHandle const&, std::shared_ptrstd::iostream const&)::{lambda()#1} ()> >::_M_invoke(std::_Any_data const&)[m
() from [32m/usr/local/lib/libaws-cpp-sdk-transfer.so[m
#2 [34m0x00007f4bdc95a45d[m in [33mAws::Utils::Threading::ThreadTask::MainTaskRunner()[m () from [32m/usr/local/lib/libaws-cpp-sdk-core.so[m
#3 [34m0x00007f4bdc2f2df4[m in [33m??[m () from [32m/usr/lib/x86_64-linux-gnu/libstdc++.so.6[m
#4 [34m0x00007f4bdcaf3609[m in [33mstart_thread[m ([36marg[m=) at [32mpthread_create.c[m:477
#5 [34m0x00007f4bdc51d353[m in [33mclone[m () at [32m../sysdeps/unix/sysv/linux/x86_64/clone.S[m:95
Reproduction Steps
log_debug("multipart_upload_concurrency: key=%s/%s file=%s", bucket.c_str(), key.c_str(), filename.c_str());
auto executor = Aws::MakeSharedAws::Utils::Threading::PooledThreadExecutor("executor", TRANSFER_MANAGER_THREADS_NUM);
Aws::Transfer::TransferManagerConfiguration transfer_config(executor.get());
transfer_config.s3Client = client;
transfer_config.bufferSize = chunk_size;
transfer_config.transferBufferMaxHeapSize = chunk_size * threads_num;
Possible Solution
No response
Additional Information/Context
No response
AWS CPP SDK version used
1.11.386
Compiler and Version used
cd aws-sdk-cpp \ && mkdir build && cd build \ && cmake3 -DBUILD_ONLY="core;s3;transfer" .. \ && cmake3 --build . \ && cmake3 --install . \
Operating System and version
ubuntu 20.04 (5.15.0-122-generic)
The text was updated successfully, but these errors were encountered: