<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>QEMU with board qemu_x86 crashes in snprintf()-  source code missing, hard to debug</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101324/qemu-with-board-qemu_x86-crashes-in-snprintf---source-code-missing-hard-to-debug</link><description>Have a strange crash when calling snprintf (using qemu x86): 
 
 
 
 
 
 
 I flash the ztest to the board, it works, but running qemu in windows x86, it crashes on that snprintf-line below. Use Nordic open connect sdk version (2.2). I see it&amp;#39;s declared</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 03 Jul 2023 10:51:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101324/qemu-with-board-qemu_x86-crashes-in-snprintf---source-code-missing-hard-to-debug" /><item><title>RE: QEMU with board qemu_x86 crashes in snprintf()-  source code missing, hard to debug</title><link>https://devzone.nordicsemi.com/thread/434168?ContentTypeID=1</link><pubDate>Mon, 03 Jul 2023 10:51:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:577c9122-8a11-4d65-a581-b3371803eaff</guid><dc:creator>Johan</dc:creator><description>&lt;p&gt;I already used addr to line. Thats how I knew it was in snprinf the crash happened.&lt;/p&gt;
&lt;p&gt;I didn&amp;#39;t get any close because I only had the .a-precompiled files.&lt;/p&gt;
&lt;p&gt;Not an issue anymore since switching to a 64bit qemu board solves it. See below.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: snprintf crash -  source code missing, hard to debug</title><link>https://devzone.nordicsemi.com/thread/434071?ContentTypeID=1</link><pubDate>Sun, 02 Jul 2023 11:47:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:727e0a83-1a9a-4239-aecc-e18b6374aa25</guid><dc:creator>Johan</dc:creator><description>&lt;p&gt;Switching to the board &amp;quot;qemu_x86_64&amp;quot; fixed the issue. The &amp;quot;qemu_x86&amp;quot; board seems to cause a crash.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: snprintf crash -  source code missing, hard to debug</title><link>https://devzone.nordicsemi.com/thread/433973?ContentTypeID=1</link><pubDate>Fri, 30 Jun 2023 14:45:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:033228f6-8d72-403b-bf55-ae963e401f1a</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Second answer today:&lt;/p&gt;
&lt;p&gt;A colleague of me suggested this:&lt;/p&gt;
&lt;p&gt;&amp;quot;The standard library might be distributed as a compiled library. Especially for x86_64, and not one of the embedded targets. They might have to build the Zephyr SDK themselves, and figure out what library is used&amp;quot;&lt;/p&gt;
&lt;p&gt;Looks like a plausible reason to what you are seeing. I hope it can be helpful&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: snprintf crash -  source code missing, hard to debug</title><link>https://devzone.nordicsemi.com/thread/433969?ContentTypeID=1</link><pubDate>Fri, 30 Jun 2023 14:28:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b90f033-32ed-42f3-8434-b2da5b1e8533</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;For debugging, CONFIG_NO_OPTIMIZATIONS=y is the best suggestion I got, but I see that you already got that.&lt;/p&gt;
&lt;p&gt;However,maybe you can use addr2line to figure out where in the code the error is?&lt;/p&gt;
[quote user=""]So it&amp;#39;s somewhere inside the snprintf it crashes with fault or double fault. I&amp;#39;m not sure where to find the source code and map what c-code line this offset of 0x00105f88 maps to. Can someone give me some helpful advice on the above generally? [/quote]
&lt;p&gt;Have you tried this?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt; arm-none-eabi-addr2line -e build/zephyr/zephyr.elf -a &amp;lt;fault address&amp;gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: snprintf crash -  source code missing, hard to debug</title><link>https://devzone.nordicsemi.com/thread/433743?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2023 14:53:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8929b726-8ee4-4b1d-980f-401863ab2647</guid><dc:creator>Johan</dc:creator><description>&lt;p&gt;No difference with CONFIG_FPU=y&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I wonder how I can debug from &amp;quot;source&amp;quot; of zephyr-sdk instead of precompiled .a-files.&lt;/p&gt;
&lt;p&gt;How do you suggest I do that with your Connect SDK?&lt;/p&gt;
&lt;p&gt;To see where it &amp;quot;dies&amp;quot; in snprintf.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: snprintf crash -  source code missing, hard to debug</title><link>https://devzone.nordicsemi.com/thread/433735?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2023 14:29:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fae9fca-73f4-41e5-ac14-ff31cb20029d</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="Johan Sandgren"]Saw this: not sure if related.&lt;br /&gt;&lt;br /&gt;&lt;a href="https://github.com/zephyrproject-rtos/sdk-ng/issues/304"&gt;github.com/.../304&lt;/a&gt;[/quote]
&lt;p&gt;Could look related.&lt;/p&gt;
&lt;p&gt;A comment here suggests CONFIG_FPU=y, which could look related to your error, as it is in soft-float.&lt;/p&gt;
[quote user=""]snprintf 0x0000000000105f40 0xae&amp;nbsp; &amp;nbsp;C:/k/np/toolchains/v2.2.0/opt/zephyr-sdk/x86_64-zephyr-elf/x86_64-zephyr-elf/lib/32/soft-float[/quote]
&lt;p&gt;So if we are lucky CONFIG_FPU is all you need?&lt;/p&gt;
[quote user="Johan Sandgren"]Perhaps we need to switch to Connect SDK 2.4.0, if that is using the latest Zephyr SDK 0.16.1, possibly.&lt;br /&gt;I see Connect SDK 2.4.0 uses 0.16.0, so quite new.[/quote]
&lt;p&gt;Switching could be worth a try as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: snprintf crash -  source code missing, hard to debug</title><link>https://devzone.nordicsemi.com/thread/433730?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2023 14:20:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2c85f87-53e6-4364-bb2b-7b1de4e30ad4</guid><dc:creator>Johan</dc:creator><description>&lt;p&gt;Perhaps we need to switch to Connect SDK 2.4.0, if that is using the latest Zephyr SDK 0.16.1, possibly.&lt;br /&gt;I see Connect SDK 2.4.0 uses 0.16.0, so quite new.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: snprintf crash -  source code missing, hard to debug</title><link>https://devzone.nordicsemi.com/thread/433727?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2023 14:12:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a36c2aa1-aa69-493a-ba33-7ffdcf78afc4</guid><dc:creator>Johan</dc:creator><description>&lt;p&gt;The zephyr-sdk compiled in toolchain 2.2.0 is:&lt;/p&gt;
&lt;p&gt;0.15.1&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Quite old.&lt;/p&gt;
&lt;p&gt;Latest is:&amp;nbsp;&lt;a class="Link--primary" href="https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.16.1" data-view-component="true" data-turbo-frame="repo-content-turbo-frame"&gt;Zephyr SDK 0.16.1&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: snprintf crash -  source code missing, hard to debug</title><link>https://devzone.nordicsemi.com/thread/433725?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2023 14:09:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35e2377b-2184-40fa-bef3-a59041021e53</guid><dc:creator>Johan</dc:creator><description>&lt;p&gt;Saw this: not sure if related.&lt;br /&gt;&lt;br /&gt;&lt;a href="https://github.com/zephyrproject-rtos/sdk-ng/issues/304"&gt;github.com/.../304&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: snprintf crash -  source code missing, hard to debug</title><link>https://devzone.nordicsemi.com/thread/433717?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2023 13:54:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f779ded-c773-46ae-abe1-3bc925c5b171</guid><dc:creator>Johan</dc:creator><description>&lt;p&gt;We use our own project, no sample code.&lt;br /&gt;We use QEMU x86 to test our code, with controlled inputs and outputs.&lt;br /&gt;Our code has e few threads running for example, and hardware interfaces (simulated).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;build command is:&lt;/strong&gt;&lt;br /&gt;west build --build-dir _build_xyz_qemu_x86_ZTEST -b qemu_x86 -t run&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;.conf file for qemu x86 used contains this:&lt;/strong&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_ASSERT&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NEWLIB_LIBC&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NEWLIB_LIBC_FLOAT_PRINTF&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_EVENTS&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_REBOOT&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_DEBUG&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_LOG&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_LOG_BACKEND_RTT&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;CONFIG_LOG_PRINTK&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_LOG_BUFFER_SIZE&lt;/span&gt;&lt;span&gt;=256&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;# JSON&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_JSON_LIBRARY&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;#CONFIG_QEMU_ICOUNT=n&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;#CONFIG_ENTROPY_GENERATOR=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#CONFIG_TEST_RANDOM_GENERATOR=y&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;# Network&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NETWORKING&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NET_NATIVE&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NET_SOCKETS&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NET_SOCKETS_OFFLOAD&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NET_SOCKETS_POSIX_NAMES&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;# mbed TLS and security&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_MBEDTLS_PK_C&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_MBEDTLS_RSA_C&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_MBEDTLS_PKCS1_V15&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_MBEDTLS_ENABLE_HEAP&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_MBEDTLS_HEAP_SIZE&lt;/span&gt;&lt;span&gt;=55936&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_MBEDTLS_TLS_LIBRARY&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_MBEDTLS_X509_LIBRARY&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NRF_SECURITY_ADVANCED&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NORDIC_SECURITY_BACKEND&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;# You can enable mbed TLS debug with&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_MBEDTLS_DEBUG_C&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_MBEDTLS_SHA1_C&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;# AT host library&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;# CONFIG_AT_HOST_LIBRARY=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_UART_INTERRUPT_DRIVEN&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;# Net related&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NET_SOCKETS_SOCKOPT_TLS&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NET_IPV4&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NET_IPV6&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;CONFIG_DEBUG_OPTIMIZATIONS&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;# Heap and stacks&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;# Extended memory heap size needed for encoding nRF Cloud messages to JSON&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_HEAP_MEM_POOL_SIZE&lt;/span&gt;&lt;span&gt;=4096&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_MAIN_STACK_SIZE&lt;/span&gt;&lt;span&gt;=4096&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE&lt;/span&gt;&lt;span&gt;=4096&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NO_OPTIMIZATIONS&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;# settings&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SETTINGS&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SETTINGS_RUNTIME&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_STDOUT_CONSOLE&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_FLASH&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_FLASH_MAP&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NVS&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SETTINGS_NVS&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SHELL_CMDS_SELECT&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;CONFIG_INIT_STACKS&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_THREAD_STACK_INFO&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;CONFIG_ENTROPY_GENERATOR&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_TEST_RANDOM_GENERATOR&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;CONFIG_THREAD_MONITOR&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;# ZTEST&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_ZTEST&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_ZTEST_NEW_API&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;# ZTEST enable test shuffling for more testing&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#CONFIG_ZTEST_SHUFFLE=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#CONFIG_ZTEST_SHUFFLE_SUITE_REPEAT_COUNT=0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#CONFIG_ZTEST_SHUFFLE_TEST_REPEAT_COUNT=0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;# ZTEST more log output&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_ZTEST_VERBOSE_OUTPUT&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_ZTEST_VERBOSE_SUMMARY&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: snprintf crash -  source code missing, hard to debug</title><link>https://devzone.nordicsemi.com/thread/433682?ContentTypeID=1</link><pubDate>Thu, 29 Jun 2023 12:28:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33784576-336f-42c9-b0d1-a9c93a0819d9</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Johan,&lt;/p&gt;
[quote user=""]
&amp;nbsp;I flash the ztest to the board, it works, but running qemu in windows x86, it crashes on that snprintf-line below.[/quote]
&lt;p&gt;Do you use one of ther samples in&amp;nbsp; the nRF Connect SDK for this?&lt;br /&gt;If yes, can you give the command you use to build for qemu?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>