<h4>Description</h4>
<p>z1 boards crash running the application <em>tests/rng</em>. Changing the default PRNG to <code>prng_xorshift</code> doesn't help. telosb nodes don't seem to be affected.</p>
<h4>Steps to reproduce the issue</h4>
<ul>
<li>Build/flash/term <em>tests/rng</em> on a z1 node</li>
<li>Run the <code>entropy</code> command</li>
</ul>
<h4>Expected results</h4>
<ul>
<li>The application outputs a (float) entropy estimation and a number of 1000 samples</li>
</ul>
<h4>Actual results</h4>
<ul>
<li>The board reboots shortly after printing some malformed output<br>
<code>Calculated %02f bits of entropy from 1090509387 samples</code></li>
<li>The malformed output is fixed in <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="409287892" data-permission-text="Issue title is private" data-url="https://github.com/RIOT-OS/RIOT/issues/10999" data-hovercard-type="pull_request" data-hovercard-url="/RIOT-OS/RIOT/pull/10999/hovercard" href="https://github.com/RIOT-OS/RIOT/pull/10999">#10999</a></li>
</ul>
<h4>Versions</h4>
<pre><code>Operating System Environment
-----------------------------
       Operating System: "Ubuntu" "18.04.2 LTS (Bionic Beaver)"
                 Kernel: Linux 4.15.0-45-generic x86_64 x86_64

Installed compiler toolchains
-----------------------------
             native gcc: gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
      arm-none-eabi-gcc: arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 7-2018-q3-update) 7.3.1 20180622 (release) [ARM/embedded-7-branch revision 261907]
                avr-gcc: missing
       mips-mti-elf-gcc: missing
             msp430-gcc: msp430-gcc (GCC) 4.6.3 20120301 (mspgcc LTS 20120406 unpatched)
   riscv-none-embed-gcc: missing
   xtensa-esp32-elf-gcc: missing
   xtensa-lx106-elf-gcc: missing
                  clang: missing

Installed compiler libs
-----------------------
   arm-none-eabi-newlib: "3.0.0"
    mips-mti-elf-newlib: missing
riscv-none-embed-newlib: missing
xtensa-esp32-elf-newlib: missing
xtensa-lx106-elf-newlib: missing
               avr-libc: missing (missing)

Installed development tools
---------------------------
                  cmake: cmake version 3.10.2
               cppcheck: missing
                doxygen: 1.8.13
                 flake8: 3.6.0 (mccabe: 0.6.1, pycodestyle: 2.4.0, pyflakes: 2.0.0) CPython 3.6.7 on Linux
                    git: git version 2.17.1
                   make: GNU Make 4.1
                openocd: Open On-Chip Debugger 0.10.0
                 python: Python 2.7.15rc1
                python2: Python 2.7.15rc1
                python3: Python 3.6.7
             coccinelle: missing
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/issues/11043">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AEn7YDivB5_SRizzeBwJVmzF7BnpR9Oqks5vPlXIgaJpZM4bG4Ww">mute the thread</a>.<img src="https://github.com/notifications/beacon/AEn7YHeFFY23Sj2aNfdeWqNmkQxxV_83ks5vPlXIgaJpZM4bG4Ww.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/RIOT-OS/RIOT","title":"RIOT-OS/RIOT","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/RIOT-OS/RIOT"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"boards/z1: tests/rng resets board (#11043)"}],"action":{"name":"View Issue","url":"https://github.com/RIOT-OS/RIOT/issues/11043"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/issues/11043",
"url": "https://github.com/RIOT-OS/RIOT/issues/11043",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>