<?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>Stack overflow</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96903/stack-overflow</link><description>Hi ! 
 May be it something 
 
 I always have stack overflow: 
 if packet debug is enabled 
 
 CONFIG_MAIN_STACK_SIZE =8192 
 
 
 CONFIG_NET_PKT_LOG_LEVEL_DBG=y 
 CONFIG_NET_DEBUG_NET_PKT_EXTERNALS=4 
 
 
 Can it be something ? 
 
 But from other side</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Feb 2023 12:26:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96903/stack-overflow" /><item><title>RE: Stack overflow</title><link>https://devzone.nordicsemi.com/thread/412498?ContentTypeID=1</link><pubDate>Tue, 28 Feb 2023 12:26:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45c06c08-d186-4f41-9743-8c42edffc8f3</guid><dc:creator>Elfving</dc:creator><description>[quote user="Hiihtaja"]&lt;p&gt;&lt;span&gt;Heavy debug traces might have effect for multiple samples/application.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;I am not sure if I understand what you mean by this.&lt;/p&gt;
[quote user="Hiihtaja"]&lt;p&gt;&lt;span&gt;Does exist list of folders what are coming&amp;nbsp; from Nordic ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Yes, our samples are located in [ncs version]/nrf/samples.&amp;nbsp;&lt;/p&gt;
[quote user="Hiihtaja"]I have been redirected in both direction several times already.[/quote]
&lt;p&gt;Between Zephyr and us? Ah I see. Then I can try and help you a bit more.&amp;nbsp;&lt;/p&gt;
[quote user="Hiihtaja"]Do you have own LXR or only original Zephyr&amp;#39;s&amp;nbsp;&lt;a href="https://elixir.bootlin.com/zephyr/latest/source"&gt;https://elixir.bootlin.com/zephyr/latest/source&lt;/a&gt;[/quote]
&lt;p&gt;I do not think so. Haven&amp;#39;t heard of this before, but I believe we only have the Zephyr one.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stack overflow</title><link>https://devzone.nordicsemi.com/thread/412462?ContentTypeID=1</link><pubDate>Tue, 28 Feb 2023 10:41:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c826552a-bbbe-4e34-8bf0-eae03de00d38</guid><dc:creator>Hiihtaja</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Elfving !&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Heavy debug traces might have effect for multiple samples/application.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Does exist list of folders what are coming&amp;nbsp; from Nordic ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For understand&amp;nbsp;where is your samples/drivers and etc.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have been redirected in both direction several times already.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Do you have own LXR or only original Zephyr&amp;#39;s&amp;nbsp;&lt;a id="" href="https://elixir.bootlin.com/zephyr/latest/source"&gt;https://elixir.bootlin.com/zephyr/latest/source&lt;/a&gt;&amp;nbsp;?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Eugene&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stack overflow</title><link>https://devzone.nordicsemi.com/thread/412440?ContentTypeID=1</link><pubDate>Tue, 28 Feb 2023 09:30:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16e6a50c-50e5-469a-a17b-280767f8dbcf</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Eugene,&lt;/p&gt;
&lt;p&gt;Are you immediately running into a stack overflow on the nRF5340DK when running the sample along with the configurations you&amp;#39;ve mentioned? Or do you for instance need a certain type of host networking configured?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Either way, I could try to look for a solution for you if I was able to reproduce it. But keep in mind that this is a Zephyr sample. Nordic doesn&amp;#39;t necessarily have too much overview over these samples, and how they work, and whether or not there would be a problem running them on our boards. &lt;a href="https://discord.com/invite/Ck7jw53nU2"&gt;You could also ask the Zephyr community about this.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stack overflow</title><link>https://devzone.nordicsemi.com/thread/411848?ContentTypeID=1</link><pubDate>Fri, 24 Feb 2023 08:41:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e57d0c85-fbe8-40ad-a648-6cb52a0a644e</guid><dc:creator>Hiihtaja</dc:creator><description>&lt;p&gt;nRF5340DK&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Eugene&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stack overflow</title><link>https://devzone.nordicsemi.com/thread/411844?ContentTypeID=1</link><pubDate>Fri, 24 Feb 2023 08:29:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e86e36a-b4a8-4fa3-8b9e-ab2cec7a099c</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;What DK or board are you using?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stack overflow</title><link>https://devzone.nordicsemi.com/thread/411557?ContentTypeID=1</link><pubDate>Thu, 23 Feb 2023 08:52:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b707c7b-8f69-4f29-8f62-858beb7a1169</guid><dc:creator>Hiihtaja</dc:creator><description>&lt;p&gt;Crash start to happens when&lt;/p&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NET_PKT_LOG_LEVEL_DBG=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NET_DEBUG_NET_PKT_EXTERNALS=4&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;are added.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Eugene&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stack overflow</title><link>https://devzone.nordicsemi.com/thread/411550?ContentTypeID=1</link><pubDate>Thu, 23 Feb 2023 08:38:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bf9e245-84a8-4796-8d7a-6c52744c6c15</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;But with what is default it doesnt crash?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stack overflow</title><link>https://devzone.nordicsemi.com/thread/411350?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2023 12:13:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b92ed5e2-768f-4229-8a44-62ac95a3eae6</guid><dc:creator>Hiihtaja</dc:creator><description>&lt;p&gt;Yes, this one.&lt;/p&gt;
&lt;p&gt;I try to enable&amp;nbsp; network debug options&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;# Network logging&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NET_LOG&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#CONFIG_NET_CORE_LOG_LEVEL_DBG=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#CONFIG_NET_IF_LOG_LEVEL_DBG=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#CONFIG_NET_UTILS_LOG_LEVEL_DBG=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NET_CONTEXT_LOG_LEVEL_DBG&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#CONFIG_NET_PKT_LOG_LEVEL_DBG=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#CONFIG_NET_DEBUG_NET_PKT_EXTERNALS=4&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#CONFIG_NET_DEBUG_NET_PKT_ALLOC=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#CONFIG_NET_CONN_LOG_LEVEL_DBG=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NET_ROUTE_LOG_LEVEL_DBG&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#CONFIG_NET_ROUTE_LOG_LEVEL_INF=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NET_IPV6_NBR_CACHE_LOG_LEVEL_DBG&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NET_IPV6_LOG_LEVEL_DBG&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NET_UDP_LOG_LEVEL_DBG&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#CONFIG_NET_TCP_LOG_LEVEL_DBG=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NET_ICMPV6_LOG_LEVEL_DBG&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;#CONFIG_NET_6LO_LOG_LEVEL_WRN=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NET_6LO_LOG_LEVEL_DBG&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;and it list those 2 give permanent crash.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NET_PKT_LOG_LEVEL_DBG=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NET_DEBUG_NET_PKT_EXTERNALS=4&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;But it can be other combinations as well.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Eugene&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stack overflow</title><link>https://devzone.nordicsemi.com/thread/411342?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2023 11:51:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3840bb34-fd5c-4427-8e33-5d70de7fd27e</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;So &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/zephyr/samples/net/sockets/echo_server/README.html"&gt;this sample&lt;/a&gt;? And you are not seeing on the unmodified version of the sample?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stack overflow</title><link>https://devzone.nordicsemi.com/thread/411308?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2023 10:16:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28f66a62-16e5-42ba-9cd8-9b8867f1af64</guid><dc:creator>Hiihtaja</dc:creator><description>&lt;p&gt;Hello !&lt;/p&gt;
&lt;p&gt;I have use modified echo server sample with USB_NET connectivity to host. Only IPV6 support is enabled.&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_STACK_CANARIES=y is also cause overflow and reboot.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Eugene&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Stack overflow</title><link>https://devzone.nordicsemi.com/thread/411304?ContentTypeID=1</link><pubDate>Wed, 22 Feb 2023 10:13:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1c47afb-f276-4654-a654-bdc218fa644c</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I need more information than this unfortunately. Is this a certain sample you are working on?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>