Menu

#1 lldp segmentation fault

open
nobody
None
5
2012-11-07
2012-11-07
No

> Hi,
> 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?

>
> The gdp debug indicates the failure as below. I found this thread http://stackoverflow.com/questions/11508549/armv5tejl-compiler-problems-with-char-arrays which mentions about some compiler issue for char arrays.
>
> Any suggestions on how do we resolve this issue for LLDPD?
>
> root@tci6614-evm:~# gdb ./lldpd
> GNU gdb 6.6
> Copyright (C) 2006 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and
> you are welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for details.
> This GDB was configured as "arm-none-linux-gnueabi"...
> Using host libthread_db library "/lib/libthread_db.so.1".
> (gdb) b lldpd_main
> Breakpoint 1 at 0xaaac: file lldpd.c, line 1148.
> (gdb) run
> Starting program: /home/root/lldpd
>
> Breakpoint 1, lldpd_main (argc=1, argv=0xbee15e24) at lldpd.c:1148
> warning: Source file is more recent than executable.
> 1148 "H:hkrdxX:m:I:p:M:S:i@ ";
> (gdb) n
> 1136 {
> (gdb) n
> 1148 "H:hkrdxX:m:I:p:M:S:i@ ";
> (gdb) n
> 1136 {
> (gdb) n
>
> Program received signal SIGSEGV, Segmentation fault.
> lldpd_main (argc=1, argv=0xbee15e24) at lldpd.c:1136
> 1136 {
> (gdb)
>
> -Regards,
> Aravind
>

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.