<?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>Hardfault reading nrf log from flash backend</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81606/hardfault-reading-nrf-log-from-flash-backend</link><description>With SDK15.3 (it appears the issue exists in 17.1 as well), we are using the flash backend. To read the logs, we are doing the equivalent of flashlog_read_cmd(). This eventually calls nrf_log_color_id_get() and nrf_log_module_name_get(). I see that nrf_log_module_name_get</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Nov 2021 17:52:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81606/hardfault-reading-nrf-log-from-flash-backend" /><item><title>RE: Hardfault reading nrf log from flash backend</title><link>https://devzone.nordicsemi.com/thread/338648?ContentTypeID=1</link><pubDate>Thu, 11 Nov 2021 17:52:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37f54983-6341-49a2-b3a0-1f3fc4bc3365</guid><dc:creator>BretH</dc:creator><description>&lt;p&gt;Actually upon further review, the root cause of the hardfault is likely due to corruption in the&amp;nbsp;&lt;span&gt;p_header&lt;/span&gt;&lt;span&gt;-&amp;gt;&lt;/span&gt;&lt;span&gt;base&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;std&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;addr from&amp;nbsp;&lt;/span&gt;nrf_log_backend_flash_next_entry_get(). If a bad address is passed to&amp;nbsp;nrf_log_std_entry_process(), there definitely could be potential for trouble.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hardfault reading nrf log from flash backend</title><link>https://devzone.nordicsemi.com/thread/338561?ContentTypeID=1</link><pubDate>Thu, 11 Nov 2021 12:28:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20761e8c-e96a-410a-9278-d925f226f64f</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Thank you for reporting this. I have created an internal ticket on this and our developers will review this issue. If you&amp;#39;d like I can keep you updated on our progress. Glad to hear you&amp;#39;re able to fix this on your end.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>