<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/contrib/libs/poco/Crypto/include/Poco, branch main</title>
<subtitle>Mirror of YDB github repos</subtitle>
<id>https://code.mastervirt.ru/ydb/atom?h=main</id>
<link rel='self' href='https://code.mastervirt.ru/ydb/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/'/>
<updated>2025-02-13T20:19:00Z</updated>
<entry>
<title>[contrib/poco] Disable thread sanitizer instrumentation on initialize and uninitialize</title>
<updated>2025-02-13T20:19:00Z</updated>
<author>
<name>mvel</name>
<email>mvel@yandex-team.com</email>
</author>
<published>2025-02-13T19:50:57Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=413789ea641bd0a8832454d4940ee8ef81e9a84e'/>
<id>urn:sha1:413789ea641bd0a8832454d4940ee8ef81e9a84e</id>
<content type='text'>
Чисто формально инициализация указателя мьютексов не атомарна, факт. Чинить это более красиво можно, но нужно ли?

Пример падения под санитайзером
```
raise () /lib/x86_64-linux-gnu/libc.so.6
abort () /lib/x86_64-linux-gnu/libc.so.6
___interceptor_abort (fake=2) /-S/contrib/libs/clang18-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp +1915
__sanitizer::Abort () /-S/contrib/libs/clang18-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp +143
__sanitizer::Die () /-S/contrib/libs/clang18-rt/lib/sanitizer_common/sanitizer_termination.cpp +58
__tsan::OutputReport (thr=0x7fa19c45f000, srep=...) /-S/contrib/libs/clang18-rt/lib/tsan/rtl/tsan_rtl_report.cpp +666
__tsan::ReportRace (thr=0x7fa19c45f000, shadow_mem=&lt;optimized out&gt;, cur=..., old=..., typ0=0) /-S/contrib/libs/clang18-rt/lib/tsan/rtl/tsan_rtl_report.cpp +822
Poco::Crypto::OpenSSLInitializer::initialize () /-S/contrib/libs/poco/Crypto/src/OpenSSLInitializer.cpp +101
Poco::Crypto::OpenSSLInitializer::OpenSSLInitializer (this=&lt;optimized out&gt;) /-S/contrib/libs/poco/Crypto/src/OpenSSLInitializer.cpp +67
Poco::Crypto::CipherKeyImpl::CipherKeyImpl (this=0x721c00aa95f0, name=&lt;error reading variable: Cannot access memory at address 0x72102d2b53c0&gt;, key=..., iv=...) /-S/contrib/libs/poco/Crypto/src/CipherKeyImpl.cpp +57
Poco::Crypto::CipherKey::CipherKey (this=0x7f98e9ef3df8, name=&lt;error reading variable: Cannot access memory at address 0x72102d2b53c0&gt;, key=std::__y1::vector (length=32, capacity=32) = {...}, iv=std::__y1::vector (length=32, capacity=32) = {...}) /-S/contrib/libs/poco/Crypto/src/CipherKey.cpp +33
yabs::AesEncrypt (data=..., length=length@entry=yabs::AES_128, aesKey=std::__y1::vector (length=32, capacity=32) = {...}, initVector=std::__y1::vector (length=32, capacity=32) = {...}, encoding=encoding@entry=Poco::Crypto::Cipher::ENC_BASE64) /-S/yabs/server/libs/crypt/crypt.cpp +59
ProcessStatModeOnStat (b=b@entry=0x727000128990, context=...) /-S/yabs/server/libs/count/count.cpp +1750
yabs_handler_stat_count (b=0x727000128990) /-S/yabs/server/libs/handlers/stat/handler_count.cpp +14
...
```
commit_hash:ea00d166a03e0d46cc2de9bf7ed8be549e105e20
</content>
</entry>
<entry>
<title>Disable unused openssl/ includes</title>
<updated>2024-02-11T10:23:10Z</updated>
<author>
<name>thegeorg</name>
<email>thegeorg@yandex-team.com</email>
</author>
<published>2024-02-11T10:13:05Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=d58f42bea6f7efd9668ab9a5f9357117f7bf33af'/>
<id>urn:sha1:d58f42bea6f7efd9668ab9a5f9357117f7bf33af</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;eeight@yandex-team.ru&gt;. Commit 2 of 2.</title>
<updated>2022-02-10T13:46:19Z</updated>
<author>
<name>eeight</name>
<email>eeight@yandex-team.ru</email>
</author>
<published>2022-02-10T13:46:19Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=bd085aee9b4f7a0bee302ce687964ffb7098f986'/>
<id>urn:sha1:bd085aee9b4f7a0bee302ce687964ffb7098f986</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;eeight@yandex-team.ru&gt;. Commit 1 of 2.</title>
<updated>2022-02-10T13:46:18Z</updated>
<author>
<name>eeight</name>
<email>eeight@yandex-team.ru</email>
</author>
<published>2022-02-10T13:46:18Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=475c0a46f28166e83fd263badc7546377cddcabe'/>
<id>urn:sha1:475c0a46f28166e83fd263badc7546377cddcabe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;orivej@yandex-team.ru&gt;. Commit 2 of 2.</title>
<updated>2022-02-10T13:45:01Z</updated>
<author>
<name>orivej</name>
<email>orivej@yandex-team.ru</email>
</author>
<published>2022-02-10T13:45:01Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=2d37894b1b037cf24231090eda8589bbb44fb6fc'/>
<id>urn:sha1:2d37894b1b037cf24231090eda8589bbb44fb6fc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;orivej@yandex-team.ru&gt;. Commit 1 of 2.</title>
<updated>2022-02-10T13:44:49Z</updated>
<author>
<name>orivej</name>
<email>orivej@yandex-team.ru</email>
</author>
<published>2022-02-10T13:44:49Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=718c552901d703c502ccbefdfc3c9028d608b947'/>
<id>urn:sha1:718c552901d703c502ccbefdfc3c9028d608b947</id>
<content type='text'>
</content>
</entry>
<entry>
<title>intermediate changes</title>
<updated>2022-02-07T15:08:42Z</updated>
<author>
<name>Devtools Arcadia</name>
<email>arcadia-devtools@yandex-team.ru</email>
</author>
<published>2022-02-07T15:08:42Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=1110808a9d39d4b808aef724c861a2e1a38d2a69'/>
<id>urn:sha1:1110808a9d39d4b808aef724c861a2e1a38d2a69</id>
<content type='text'>
ref:cde9a383711a11544ce7e107a78147fb96cc4029
</content>
</entry>
</feed>
