<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>40610</bug_id>
          
          <creation_ts>2021-07-29 17:48:00 +0300</creation_ts>
          <short_desc>падает после пересборки с libcryptopp-8.5.0</short_desc>
          <delta_ts>2021-11-29 15:00:24 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>urbackup-server</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anton V. Boyarshinov">boyarsh</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          <cc>shaba</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>201045</commentid>
    <comment_count>0</comment_count>
    <who name="Anton V. Boyarshinov">boyarsh</who>
    <bug_when>2021-07-29 17:48:00 +0300</bug_when>
    <thetext>падает при запуске после пересборки с libcryptopp-8.5.0
-------------
Thread 1 &quot;urbackupsrv&quot; received signal SIGSEGV, Segmentation fault.
CryptoPP::ByteReverse&lt;unsigned int&gt; (byteCount=&lt;optimized out&gt;, in=0x10, out=0x7fffffffb220) at misc.h:2217
2217			out[i] = ByteReverse(in[i]);
(gdb) bt
#0  CryptoPP::ByteReverse&lt;unsigned int&gt; (byteCount=&lt;optimized out&gt;, in=0x10, out=0x7fffffffb220) at misc.h:2217
#1  CryptoPP::ConditionalByteReverse&lt;unsigned int&gt; (order=&lt;optimized out&gt;, byteCount=&lt;optimized out&gt;, in=0x10, out=0x7fffffffb220)
    at misc.h:2237
#2  CryptoPP::ConditionalByteReverse&lt;unsigned int&gt; (byteCount=&lt;optimized out&gt;, in=0x10, out=0x7fffffffb220, order=&lt;optimized out&gt;)
    at misc.h:2234
#3  CryptoPP::IteratedHashBase&lt;unsigned int, CryptoPP::HashTransformation&gt;::TruncatedFinal (this=0x7fffffffafe0, digest=0x7fffffffb220 &quot;&quot;, 
    size=&lt;optimized out&gt;) at iterhash.cpp:182
#4  0x00007ffff7d46e26 in CryptoPP::HashTransformation::Final (digest=&lt;optimized out&gt;, this=0x7fffffffafe0) at cryptlib.h:1143
#5  CryptoPP::RandomPool::IncorporateEntropy (this=0x7fffffffb1e0, 
    input=0x555555abfe00 &quot;w\340r\v%\200\t\311M\347\071\r\332\374\355+(K|\022\210\fF`\310wJU^`\210Xev/null:\341\036&quot;, length=32)
    at randpool.cpp:37
----------------
Почему в in вместо 0x7fffffffb220 оказался очевидно невалидный адрес 0x10 лично мне понять не удалось</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>205437</commentid>
    <comment_count>1</comment_count>
    <who name="Anton V. Boyarshinov">boyarsh</who>
    <bug_when>2021-11-29 15:00:01 +0300</bug_when>
    <thetext>ИСправлено пересборкой с комплектным libcryptopp</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>