<?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>Unaligned memory access</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111941/unaligned-memory-access</link><description>The thread where it happens is &amp;quot;unknown” despite the fact I name all the threads I create. With addr2line I found that it is zephyr/kernel/timeout.c 56 but it says nothing to explain what I have to fix. all threads have sufficient stack size. 
 randomly</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Jul 2024 22:05:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111941/unaligned-memory-access" /><item><title>RE: Unaligned memory access</title><link>https://devzone.nordicsemi.com/thread/494670?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2024 22:05:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53c3b04b-c7d6-4f2c-92bd-e62bb9870b30</guid><dc:creator>trampas</dc:creator><description>&lt;p&gt;This often happens if you have exceeded the stack space allocated to a thread in Zephyr.&amp;nbsp; Specifically you overflow the stack and it can cause random crashes in random places.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I have also seen when I used certain sizes of stack, it would place the stack in one memory location and the system would crash.&amp;nbsp; I could not find what the system was doing in that memory location, but we avoided it and marked it up to a random Zephyr/Nordic bug.&amp;nbsp; It was on our list to go back and root cause.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>