<?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>Kernel halt after reset</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121703/kernel-halt-after-reset</link><description>Hi, 
 I am porting a SDK 2.6.0 project to SDK 2.9.0. It gets built without errors but when I try to run it after flashing I get the following. 
 
 I am not sure where to start as this seems Thread related. 
 Please help. 
 Thanks, 
 kaushalya</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 22 May 2025 12:06:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121703/kernel-halt-after-reset" /><item><title>RE: Kernel halt after reset</title><link>https://devzone.nordicsemi.com/thread/536616?ContentTypeID=1</link><pubDate>Thu, 22 May 2025 12:06:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94ae693d-b74f-4761-9ac7-ccad1eed4da6</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;First thing I request from developers debugging this kind of faults is to enable these in your prj.conf&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_NO_OPTIMIZATIONS=y
CONFIG_RESET_ON_FATAL_ERROR=n
CONFIG_THREAD_MONITOR=y
CONFIG_THREAD_STACK_INFO=y
CONFIG_THREAD_NAME=y

CONFIG_MAIN_STACK_SIZE=4096
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=4096&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I can see that the current context is main thread so&amp;nbsp;Increase the main and system workqueue size to bigger than what you already have and pristine build and run again, if you see the same issue, then we see this differently than just a stack overflow.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>