<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to support-requests</title><link href="https://sourceforge.net/p/openlldp/support-requests/" rel="alternate"/><link href="https://sourceforge.net/p/openlldp/support-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/openlldp/support-requests/</id><updated>2012-11-07T16:06:25Z</updated><subtitle>Recent changes to support-requests</subtitle><entry><title>lldp segmentation fault</title><link href="https://sourceforge.net/p/openlldp/support-requests/1/" rel="alternate"/><published>2012-11-07T16:06:25Z</published><updated>2012-11-07T16:06:25Z</updated><author><name>Aravind Batni</name><uri>https://sourceforge.net/u/arvindbr/</uri></author><id>https://sourceforge.netbc6b5b9e74ba269054037a82f062dba4a10dca25</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&amp;gt; Hi,&lt;br /&gt;
&amp;gt; I noticed that LLDP is seg faulting immediately in the very first line after entering to lldpd_main(). The source is compiled for ARM using CS 2009 tool chain. Can you please help?&lt;/p&gt;
&lt;p&gt;&amp;gt;&lt;br /&gt;
&amp;gt; The gdp debug indicates the failure as below. I found this thread  &lt;a href="http://stackoverflow.com/questions/11508549/armv5tejl-compiler-problems-with-char-arrays" rel="nofollow"&gt;http://stackoverflow.com/questions/11508549/armv5tejl-compiler-problems-with-char-arrays&lt;/a&gt; which mentions about some compiler issue for char arrays.&lt;br /&gt;
&amp;gt;&lt;br /&gt;
&amp;gt; Any suggestions on how do we resolve this issue for LLDPD?&lt;br /&gt;
&amp;gt;&lt;br /&gt;
&amp;gt; root@tci6614-evm:~# gdb ./lldpd&lt;br /&gt;
&amp;gt; GNU gdb 6.6&lt;br /&gt;
&amp;gt; Copyright (C) 2006 Free Software Foundation, Inc.&lt;br /&gt;
&amp;gt; GDB is free software, covered by the GNU General Public License, and &lt;br /&gt;
&amp;gt; you are welcome to change it and/or distribute copies of it under certain conditions.&lt;br /&gt;
&amp;gt; Type "show copying" to see the conditions.&lt;br /&gt;
&amp;gt; There is absolutely no warranty for GDB.  Type "show warranty" for details.&lt;br /&gt;
&amp;gt; This GDB was configured as "arm-none-linux-gnueabi"...&lt;br /&gt;
&amp;gt; Using host libthread_db library "/lib/libthread_db.so.1".&lt;br /&gt;
&amp;gt; (gdb) b lldpd_main&lt;br /&gt;
&amp;gt; Breakpoint 1 at 0xaaac: file lldpd.c, line 1148.&lt;br /&gt;
&amp;gt; (gdb) run&lt;br /&gt;
&amp;gt; Starting program: /home/root/lldpd&lt;br /&gt;
&amp;gt;&lt;br /&gt;
&amp;gt; Breakpoint 1, lldpd_main (argc=1, argv=0xbee15e24) at lldpd.c:1148&lt;br /&gt;
&amp;gt; warning: Source file is more recent than executable.&lt;br /&gt;
&amp;gt; 1148                    "H:hkrdxX:m:I:p:M:S:i@                    ";&lt;br /&gt;
&amp;gt; (gdb) n&lt;br /&gt;
&amp;gt; 1136    {&lt;br /&gt;
&amp;gt; (gdb) n&lt;br /&gt;
&amp;gt; 1148                    "H:hkrdxX:m:I:p:M:S:i@                    ";&lt;br /&gt;
&amp;gt; (gdb) n&lt;br /&gt;
&amp;gt; 1136    {&lt;br /&gt;
&amp;gt; (gdb) n&lt;br /&gt;
&amp;gt;&lt;br /&gt;
&amp;gt; Program received signal SIGSEGV, Segmentation fault.&lt;br /&gt;
&amp;gt; lldpd_main (argc=1, argv=0xbee15e24) at lldpd.c:1136&lt;br /&gt;
&amp;gt; 1136    {&lt;br /&gt;
&amp;gt; (gdb)&lt;br /&gt;
&amp;gt;&lt;br /&gt;
&amp;gt; -Regards,&lt;br /&gt;
&amp;gt; Aravind&lt;br /&gt;
&amp;gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>