<?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>ZBOSS Stack Locking Threads</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/108409/zboss-stack-locking-threads</link><description>HW/SW Versions: 
 nrf52840 Dongle DK 
 nrf Connect SDK 2.5.2 
 
 Issue: 
 I&amp;#39;m developing a Zigbee device based on the ZBOSS, using an nrf52840 dongle development kit and there seems to be an issue with the ZBOSS stack in my project configuration that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Jun 2024 12:10:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/108409/zboss-stack-locking-threads" /><item><title>RE: ZBOSS Stack Locking Threads</title><link>https://devzone.nordicsemi.com/thread/490622?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2024 12:10:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c1c43fe-1d6e-449b-9ea2-d9396027d15c</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Maria is out of office for the next couple of weeks. I believe that was why she asked you to create a new ticket, because she knew she wouldn&amp;#39;t be able to handle this one anymore, and therefore a recap makes the transition to another handler a bit easier.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So let me see if I got this correctly.&lt;/p&gt;
&lt;p&gt;You are both seeing that the application freezes, and the theory is that you run out of buffers. You can reproduce it on a dongle in the project you attached in the first post (git link) on a dongle with your Zigbee2MQTT (Z2M) coordinator.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t have a dongle with a debug connector soldered onto it. Can you please try to reproduce this on an nRF52840 DK while replacing the Z2M coordinator with the network_coordinator sample?&lt;/p&gt;
&lt;p&gt;I tried, but so far no success in letting the device connecting to the network, then pressing the reset button, which I assigned to button 1 on the DK:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;buttons {
		reset_button: reset-button {
			gpios = &amp;lt;&amp;amp;gpio0 11 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)&amp;gt;;
			label = &amp;quot;Zigbee Reset Button&amp;quot;;
		};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;after it was commissioned, and then repeat the process. Was this what you were doing?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZBOSS Stack Locking Threads</title><link>https://devzone.nordicsemi.com/thread/489589?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2024 17:53:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f8426ab-ddcf-4770-9eb9-773be24a86f1</guid><dc:creator>timl2415</dc:creator><description>&lt;p&gt;Agree with the above, this ticket is unresolved, recent and is likely the same issue as what I am experiencing.&lt;/p&gt;
&lt;p&gt;I dug down further into this by adding print statements to the radio layer zboss uses in zb_nrf_transceiver.c. It seems like zboss gets into this resource hogging state when it runs out of zb buffers. I already have zb_mem_config_max.h included but I still seem to run into cases where buffers run out.&lt;/p&gt;
&lt;p&gt;It seems like&amp;nbsp;zb_trans_get_next_packet is polled until no more data is left on the radio, this api receives a new zboss buffer in a loop until all data is collected. During times of high amounts of data to rx (device interview, network start presumably due to panid conflict resolution), I&amp;#39;ve seen the number of unique buffers handed to this API reach some limit after which the stack invariably gets into&amp;nbsp;the bad state.&lt;/p&gt;
&lt;p&gt;In this state it seems like zboss cannot handle the data that is already in the packets since there was an error during rx, but it also cannot sleep since there is data to process. Funnily enough increasing the amount of net_bufs actually exacerbates this issue and more bufs end up being allocated during an rx call.&lt;/p&gt;
&lt;p&gt;I ended up having to make a custom config with the largest amount of buffers in the buffer pool as to avoid running out ever.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZBOSS Stack Locking Threads</title><link>https://devzone.nordicsemi.com/thread/489552?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2024 13:46:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d6c7805-bb4b-4e35-9bc1-947e65b30585</guid><dc:creator>NoahMetz</dc:creator><description>&lt;p&gt;Hi Maria,&lt;/p&gt;
&lt;p&gt;I would appreciate if all relevant information could be contained within the ticket, including reproductions by other people.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The independent reproductions seems to confirm that this issue is present in the ZigBee stack. Is there any confirmation of a reproduction on your end?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZBOSS Stack Locking Threads</title><link>https://devzone.nordicsemi.com/thread/489520?ContentTypeID=1</link><pubDate>Wed, 19 Jun 2024 12:53:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb5241df-ee11-49d2-951d-d8f0c7f86d00</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hi Tim,&lt;/p&gt;
&lt;p&gt;I missed your update to this ticket. If you still need support on this, please create a new ticket.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZBOSS Stack Locking Threads</title><link>https://devzone.nordicsemi.com/thread/485895?ContentTypeID=1</link><pubDate>Fri, 24 May 2024 20:04:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62ffc827-a663-4169-9266-cb14a79ab005</guid><dc:creator>timl2415</dc:creator><description>&lt;p&gt;I also configured sysview to observe the system state in this state. It seems like there are a ton of isr&amp;#39;s in the zboss thread. Still working on figuring out what these signals are. csv attached&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1716581020308v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/zboss_5F00_freeze_5F00_sysview.csv"&gt;devzone.nordicsemi.com/.../zboss_5F00_freeze_5F00_sysview.csv&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZBOSS Stack Locking Threads</title><link>https://devzone.nordicsemi.com/thread/485894?ContentTypeID=1</link><pubDate>Fri, 24 May 2024 19:56:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8be0e354-bf5d-4fd5-a791-cefbc2a23699</guid><dc:creator>timl2415</dc:creator><description>&lt;p&gt;Nothing particularly interesting in the sniffer trace when I run into this issue. For context my coordinator app is talking to a single smart thermostat. After boot we perform a device discovery + some interview steps. After a few boots the coordinator hangs in the zboss thread. The thermostat continues to poll data from the coordinator after it freezes.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/zboss_5F00_freeze_5F00_trace.pcapng"&gt;devzone.nordicsemi.com/.../zboss_5F00_freeze_5F00_trace.pcapng&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZBOSS Stack Locking Threads</title><link>https://devzone.nordicsemi.com/thread/485886?ContentTypeID=1</link><pubDate>Fri, 24 May 2024 17:53:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:069611ab-ac60-465c-8a96-308c039ad7c6</guid><dc:creator>timl2415</dc:creator><description>&lt;p&gt;I&amp;#39;ve also seen this issue crop up on both a coordinator and zigbee end device application. On the coordinator during device discovery, I&amp;#39;ve seen the zboss thread block other threads eventually triggering a wdt reset. In Ozone, halting during the &amp;quot;hang&amp;quot; always lands in a zboss API.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZBOSS Stack Locking Threads</title><link>https://devzone.nordicsemi.com/thread/471863?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2024 15:37:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78ae1447-f2fc-4ce9-a963-39228eca78ca</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Sorry about the delay.&lt;/p&gt;
&lt;p&gt;I have not been able to reproduce the issue so far.&lt;/p&gt;
&lt;p&gt;Here are a few more things you can do:&lt;/p&gt;
&lt;p&gt;1. Double check that the coordinator has opened the network before your device starts to rejoin.&lt;/p&gt;
&lt;p&gt;2. See if the workaround for&amp;nbsp;&lt;strong&gt;KRKNWK-12017: Zigbee End Device does not recover from broken rejoin procedure&lt;/strong&gt; from the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.0/nrf/releases_and_maturity/known_issues.html#zigbee"&gt;known Zigbee issues&lt;/a&gt; list fixes your issue.&lt;/p&gt;
&lt;p&gt;3. Share your sniffer log (and network key) in a reply.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZBOSS Stack Locking Threads</title><link>https://devzone.nordicsemi.com/thread/471162?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2024 03:20:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e12791b0-2a4a-4a82-95d6-26a186034deb</guid><dc:creator>NoahMetz</dc:creator><description>&lt;p&gt;Have there been any updates on this?&lt;br /&gt;&lt;br /&gt;I&amp;#39;m able to consistently reproduce this by calling `bdb device_reset` in the sample after changing it to use etxtended basic attributes. Since this is a blocker for any long-term zigbee device, what alternatives do I have while I await a resolution?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZBOSS Stack Locking Threads</title><link>https://devzone.nordicsemi.com/thread/470095?ContentTypeID=1</link><pubDate>Wed, 21 Feb 2024 18:08:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8a903d5-a1b7-411f-bbda-7ff06c15ccc0</guid><dc:creator>NoahMetz</dc:creator><description>&lt;p&gt;Creating a new top-level reply since I&amp;#39;ve gotten a more clear reproduction method.&lt;/p&gt;
&lt;p&gt;Starting from the zigbee shell sample in nrf connect v2.5.2 with nrf52840dongle_nrf52840 selected as the board:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In `struct zb_device_ctx`, replace `zb_zcl_basic_attrs_t` with `zb_zcl_basic_attrs_ext_t`&lt;/li&gt;
&lt;li&gt;Replace `ZB_ZCL_DECLARE_BASIC_ATTRIB_LIST` with `ZB_ZCL_DECLARE_BASIC_ATTRIB_LIST_EXT` and update the macro with all of the pointers to `dev_ctx.basic_attr`&lt;/li&gt;
&lt;li&gt;Update `app_clusters_attr_init` to populate the strings with `ZB_ZCL_SET_STRING_VAL` from constant static strings, and set the other basic attributes using constant values&lt;/li&gt;
&lt;li&gt;Boot the device in the range of a joinable network.&lt;/li&gt;
&lt;li&gt;Wait until the device has completed the interview with the coordinator and the strings are visible on the coordinator(zigbee2mqtt in my case)&lt;/li&gt;
&lt;li&gt;Run `bdb factory_reset` in the zigbee shell to schedule a call to `zb_bdb_reset_via_local_action` in the ZBOSS thread&lt;/li&gt;
&lt;li&gt;Go to 5&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;During the 5-7 loop, step 5 will timeout and put the device into the described failure state where no threads are getting CPU time except the ZBOSS thread, and the ZBOSS thread is not processing any packets. This can be observed by the serial console not responding to any more input, and the network LED no longer showing any activity. Adding a GPIO callback to RTT log shows that hardware interrupts are still able to write to the RTT region of memory.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZBOSS Stack Locking Threads</title><link>https://devzone.nordicsemi.com/thread/469900?ContentTypeID=1</link><pubDate>Tue, 20 Feb 2024 18:40:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1105a611-48bc-4e30-a7b9-7db069294441</guid><dc:creator>NoahMetz</dc:creator><description>&lt;p&gt;Yea the shell sample in NCS is the only one I could find that supported the dongle, so I ended up using it as an example to build off of for this application(adding four zigbee endpoints for OnOff/OnOffSwitchConfig and an endpoint for FOTA in the release build).&lt;/p&gt;
&lt;p&gt;The sw0-sw3 switches are defined in `boards/nrf52840dongle_nrf52840.overlay` along with the apps LED and reset button assignments(since the intention is to move away from the dongle and to a custom nrf52840 board after proving the prototype). I&amp;#39;m intentionally not using any pre-existing pin assignments so that the code can be moved to a custom board in the future.&lt;/p&gt;
&lt;p&gt;I was able to reproduce the same state on an &amp;quot;adafruit feather nrf52840&amp;quot;(with modifications to the dts overlay for pin assignments) after causing the device to be interviewed a few times(by calling `zb_bdb_reset_via_local_action` after a successful interview), so you should be able to reproduce the issue on any nrf52840-based development kit.&lt;br /&gt;&lt;br /&gt;I was also able to reproduce the same state on the nrf52840 Dongle using the zigbee shell example in NCS by changing the `zb_zcl_basic_attrs_t` to a `zb_zcl_basic_attrs_ext_t` and registering/populating the fields accordingly(upon interview there was a chance for the shell to stop taking input as the ZBOSS thread took all available CPU time without completing the interview).&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;So to summarize(since I&amp;#39;ve spread info across a few posts now):&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;- The switches in the code I&amp;#39;ve shared are defined in the board overlay file&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;- The issue is not limited to a single SoC or bootloader since no booatloader, MCUBoot, and the NRF secure DFU bootloader(that the dongle is sold with) all have been able to reproduce this issue across two difference boards(dongle and adafruit feather)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;- The issue is reproducible in the zigbee shell example when switching the basic_attrs to their extended versions, so for a minimal example that would exemplify it better.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;- The issue is reproducible in the short-term case when the device is interviewed(there&amp;#39;s a chance the interview completes successfully, and a chance the ZBOSS thread locks the OS), in the long term case I don&amp;#39;t know what caused the failure but it could be similar read requests to the INFO endpoint with extended attributes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZBOSS Stack Locking Threads</title><link>https://devzone.nordicsemi.com/thread/469871?ContentTypeID=1</link><pubDate>Tue, 20 Feb 2024 16:11:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc2a05eb-c419-4932-b87d-93ac4799640a</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Thank you for the clarification. There were two reasons for needing this to be clear:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Only one of the Zigbee samples in NCS supports the nRF52840 Dongle out of the box&lt;/li&gt;
&lt;li&gt;I saw references to more than one configurable switch in your code. The Dongle has one user configurable switch and a reset button. See the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/boards/arm/nrf52840dongle_nrf52840/doc/index.html#connections_and_ios"&gt;Connections and IOs&lt;/a&gt; part of the nRF52840 Dongle overview.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I don&amp;#39;t have a Dongle at the moment. I will request one and see if I can reproduce the behaviour. You&amp;#39;ll hear from me before the end of the week.&lt;/p&gt;
&lt;p&gt;Be sure to continue to update us if you discover anything on your own.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZBOSS Stack Locking Threads</title><link>https://devzone.nordicsemi.com/thread/469614?ContentTypeID=1</link><pubDate>Mon, 19 Feb 2024 16:32:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c78f6ca7-6ce7-4794-a663-0943513f3178</guid><dc:creator>NoahMetz</dc:creator><description>&lt;p&gt;Hi Maria.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This is with the nrf52840 Dongle.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZBOSS Stack Locking Threads</title><link>https://devzone.nordicsemi.com/thread/469561?ContentTypeID=1</link><pubDate>Mon, 19 Feb 2024 14:17:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57fafe7c-5eab-4a3e-b82b-9bb8d81bb846</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thank you for adding your updates to the ticket.&lt;/p&gt;
&lt;p&gt;I want to clear something up before we go further:&lt;/p&gt;
&lt;p&gt;Are you using the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/boards/arm/nrf52840dongle_nrf52840/doc/index.html"&gt;nRF52840 Dongle&lt;/a&gt; or &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/boards/arm/nrf52840dk_nrf52840/doc/index.html"&gt;nRF52840 DK&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZBOSS Stack Locking Threads</title><link>https://devzone.nordicsemi.com/thread/469364?ContentTypeID=1</link><pubDate>Sun, 18 Feb 2024 21:27:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3c2d6c7-a664-41f3-95b9-a13557e071a5</guid><dc:creator>NoahMetz</dc:creator><description>&lt;p&gt;One more update, I ran into the issue again after disabling the USB stack, so that wasn&amp;#39;t the fix I thought it was.&lt;/p&gt;
&lt;p&gt;I also tried tested logging via RTT in a GPIO interrupt, and it looks like that still works while the ZBOSS thread has locked up the rest of the system, so since a GPIO interrupt to write to a region of memory still works my new working theory is that the ZBOSS thread is in some kind of busy-loop where it&amp;#39;s preventing any other OS thread from getting any CPU time, but not preventing any hardware interrupts from running.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZBOSS Stack Locking Threads</title><link>https://devzone.nordicsemi.com/thread/469360?ContentTypeID=1</link><pubDate>Sun, 18 Feb 2024 18:34:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d93582d9-a504-4048-aff7-4b739c5f0e09</guid><dc:creator>NoahMetz</dc:creator><description>&lt;p&gt;Obviously I&amp;#39;m going to find a sort of solution after making a public post...&lt;/p&gt;
&lt;p&gt;In my case I&amp;#39;ve been testing after removing the USB stack completely, and I haven&amp;#39;t run into the issue after a few network removals/rejoins/interviews.&lt;/p&gt;
&lt;p&gt;So my working theory is that the issue I was seeing was caused by a USB thread or interrupt taking too long and breaking something in the ZBOSS stack which put it into an irrecoverable error state(while also not causing a hard fault). I will update if I notice the issue again after disabling the USB stack.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZBOSS Stack Locking Threads</title><link>https://devzone.nordicsemi.com/thread/469359?ContentTypeID=1</link><pubDate>Sun, 18 Feb 2024 17:56:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fe8a8f3-558b-4c58-91b8-91af999756fb</guid><dc:creator>NoahMetz</dc:creator><description>&lt;p&gt;One small clarification. The ZBOSS stack hard-faults without useful information when paused/resumed by debugger regardless of if it&amp;#39;s in this failure mode or not, which makes collecting data on the issue difficult. I&amp;#39;ve tried putting a call to `&lt;span class="w"&gt;&lt;/span&gt;&lt;span class="sig-name descname"&gt;&lt;span class="n"&gt;&lt;span class="pre"&gt;zigbee_debug_suspend_zboss_thread&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="sig-paren"&gt;&lt;/span&gt;` in another task/callback to freeze the stack when it gets into this failure mode, but since no other threads are executing until an external reset I haven&amp;#39;t been successful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>