<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/library/cpp/lfalloc, branch 22.2.40</title>
<subtitle>Mirror of YDB github repos</subtitle>
<id>https://code.mastervirt.ru/ydb/atom?h=22.2.40</id>
<link rel='self' href='https://code.mastervirt.ru/ydb/atom?h=22.2.40'/>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/'/>
<updated>2022-04-18T15:40:19Z</updated>
<entry>
<title>[merge to stable-22-2] Fix a segfault in debug mode when the allocated memory accidentally contains 0xF0000000</title>
<updated>2022-04-18T15:40:19Z</updated>
<author>
<name>sharpeye</name>
<email>sharpeye@yandex-team.ru</email>
</author>
<published>2022-04-18T15:40:19Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=df455b910e1d049369547fe5c4e83417eb7a73a1'/>
<id>urn:sha1:df455b910e1d049369547fe5c4e83417eb7a73a1</id>
<content type='text'>
Наш сервис при сборке с `ALLOCATOR(LF_DBG)` на старте падает [в этой строчке](https://a.yandex-team.ru/arc_vcs/commit/r7923656#file-library/cpp/lfalloc/lf_allocX64.h:R1901) при попытке разыменовать очевидно невалидный указатель. В gdb видно, что мы при попытке определить координаты фиктивного заголовка в `GetAllocHeader()` прочитали какие-то левые 32 бита в качестве `header-&gt;Tag`, и они по стечению обстоятельств оказались равны `0xF0000000` в нашем случае (просто не повезло). После этого мы решаем, что в `header-&gt;Size` лежит настоящий указатель на заголовок, хотя на самом деле там лежит тоже что-то рандомное.

Решение, вроде бы, простое — когда формируем фиктивный заголовок, надо не обращать внимания на теги (потому что к этому моменту их ещё некому было записать).

REVIEW: 2408267

REVIEW: 2438642
x-ydb-stable-ref: 02ccf11b927a06e81b968e8b45c287957b8e1d60
</content>
</entry>
<entry>
<title>intermediate changes</title>
<updated>2022-02-18T12:49:59Z</updated>
<author>
<name>arcadia-devtools</name>
<email>arcadia-devtools@yandex-team.ru</email>
</author>
<published>2022-02-18T12:49:59Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=b4cb34dfb2619f594d82e512fd9ff7fc97400133'/>
<id>urn:sha1:b4cb34dfb2619f594d82e512fd9ff7fc97400133</id>
<content type='text'>
ref:1a0585d83f27cb6fb5b9c4f68a08177e10faf3b3
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;anton-fr@yandex-team.ru&gt;. Commit 2 of 2.</title>
<updated>2022-02-10T13:50:42Z</updated>
<author>
<name>anton-fr</name>
<email>anton-fr@yandex-team.ru</email>
</author>
<published>2022-02-10T13:50:42Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=77ba323ac918adf37088050a634b205a4330eab6'/>
<id>urn:sha1:77ba323ac918adf37088050a634b205a4330eab6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;anton-fr@yandex-team.ru&gt;. Commit 1 of 2.</title>
<updated>2022-02-10T13:50:42Z</updated>
<author>
<name>anton-fr</name>
<email>anton-fr@yandex-team.ru</email>
</author>
<published>2022-02-10T13:50:42Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=bed030b23ff75a1c319095c23a60075800da2c68'/>
<id>urn:sha1:bed030b23ff75a1c319095c23a60075800da2c68</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;dened@yandex-team.ru&gt;. Commit 2 of 2.</title>
<updated>2022-02-10T13:50:42Z</updated>
<author>
<name>dened</name>
<email>dened@yandex-team.ru</email>
</author>
<published>2022-02-10T13:50:42Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=02ba02ced9993bf59ad9313b36a718701785da63'/>
<id>urn:sha1:02ba02ced9993bf59ad9313b36a718701785da63</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;dened@yandex-team.ru&gt;. Commit 1 of 2.</title>
<updated>2022-02-10T13:50:41Z</updated>
<author>
<name>dened</name>
<email>dened@yandex-team.ru</email>
</author>
<published>2022-02-10T13:50:41Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=7ece857024572838489e8c7bcc838b559f81c400'/>
<id>urn:sha1:7ece857024572838489e8c7bcc838b559f81c400</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;onpopov@yandex-team.ru&gt;. Commit 2 of 2.</title>
<updated>2022-02-10T13:50:38Z</updated>
<author>
<name>onpopov</name>
<email>onpopov@yandex-team.ru</email>
</author>
<published>2022-02-10T13:50:38Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=8773f7661194d4c0bdb1e3937b2ff7ae01dd13f8'/>
<id>urn:sha1:8773f7661194d4c0bdb1e3937b2ff7ae01dd13f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;onpopov@yandex-team.ru&gt;. Commit 1 of 2.</title>
<updated>2022-02-10T13:50:38Z</updated>
<author>
<name>onpopov</name>
<email>onpopov@yandex-team.ru</email>
</author>
<published>2022-02-10T13:50:38Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=84a29dd4980d5b39615e453f289bd1a81213296d'/>
<id>urn:sha1:84a29dd4980d5b39615e453f289bd1a81213296d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;blaze@yandex-team.ru&gt;. Commit 2 of 2.</title>
<updated>2022-02-10T13:50:31Z</updated>
<author>
<name>blaze</name>
<email>blaze@yandex-team.ru</email>
</author>
<published>2022-02-10T13:50:31Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=8de5e9fef85b2ab655e3bc1d77ee2674f417cd15'/>
<id>urn:sha1:8de5e9fef85b2ab655e3bc1d77ee2674f417cd15</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;blaze@yandex-team.ru&gt;. Commit 1 of 2.</title>
<updated>2022-02-10T13:50:31Z</updated>
<author>
<name>blaze</name>
<email>blaze@yandex-team.ru</email>
</author>
<published>2022-02-10T13:50:31Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=6813864abdb5ce336cde7a2e5cd80232ba54eef1'/>
<id>urn:sha1:6813864abdb5ce336cde7a2e5cd80232ba54eef1</id>
<content type='text'>
</content>
</entry>
</feed>
