<?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>Buffer overflow when using NEWLIB_LIBC</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109898/buffer-overflow-when-using-newlib_libc</link><description>Hi, 
 I have a GNSS based application, which parses NMEA sentences to a buffer and extracts information (latitude, longitude etc.). 
 Everything works fine until I enable CONFIG_NEWLIB_LIBC =y in my prj.conf 
 When it&amp;#39;s enabled, I get the error * buffer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Apr 2024 06:21:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109898/buffer-overflow-when-using-newlib_libc" /><item><title>RE: Buffer overflow when using NEWLIB_LIBC</title><link>https://devzone.nordicsemi.com/thread/477006?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2024 06:21:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fddd2d68-f7a5-4c41-8d99-3f0ca184c780</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Try to set CONFIG_THREAD_NAME, and we should see which thread caused the error instead of &amp;quot;unknown&amp;quot;. Likely you need to increase the stack size of that thread.&lt;/p&gt;
&lt;p&gt;Also, you can use the addr2line as explained &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-2-debugging/topic/build-errors-and-fatal-errors/"&gt;here&lt;/a&gt;&amp;nbsp;and &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-2-debugging/topic/exercise-2-11/"&gt;here&lt;/a&gt; on how to find exactly where&amp;nbsp;0x000069b6 is occuring.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>