<div dir="ltr"><div><div><div><div><div><div>Hi Max and others,<br><br></div>It seems, I faced similar problem while working on the libosmocoding.<br>Despite the bursts_test in OsmoBTS always pass without any errors,<br>when I merely moved some parts of GSM 05.03 code into a separate<br>library, this test sometimes passes and fails on different machines...<br><br>Thanks to tnt, who suggested me to use valgrind. Using this great tool<br>and some tricks with memset(), I found, that the gsm0503_tch_burst_map()<br>uses one uninitialized bit from the iB within the tch_hr_encode(). The same<br>things happens in the tch_hr_decode().<br><br>I don't know, is it gsm0503_tch_hr_(de)interleave's bug<br>or gsm0503_tch_burst_(un)map's one, we need to check GSM 05.03 specifications.<br></div></div></div></div></div><div><div><div><div><div><div><div><div><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>With best regards,<br></div><div>Vadim Yanitskiy.<br></div></div></div></div></div></div>
</div></div></div></div></div></div></div></div></div>