[PATCH] Bus error on ARMv7 when using OSPF
Ondrej Zajicek
santiago at crfreenet.org
Mon Dec 16 20:54:17 CET 2024
On Mon, Jun 28, 2021 at 09:46:55AM +0100, Matthew Reeve wrote:
> On 24/06/2021 13:08, Ondrej Zajicek wrote:
> > Thanks, that looks like an issue with slists. We had similar issue with
> > lists code in the past and reworked them to be more conservative. Will
> > check that.
>
> Great, thanks. If you want to make any changes on a branch or something, I
> can build it and test it on my hardware if it would help.
Hi
Just wondering if you do not have the original core dump and binary, or
if you could replicate the issue with unpatched bird. Nick Hainke brought
this issue back on my radar and i would like to find the proper bugfix.
> > > root at OpenWrt:/tmp# gdb debug/bird bird.1623776146.6869.7.core
> > > GNU gdb (GDB) 10.1
> > > Copyright (C) 2020 Free Software Foundation, Inc.
> > > License GPLv3+: GNU GPL version 3 or later
> > > <http://gnu.org/licenses/gpl.html>
> > > This is free software: you are free to change and redistribute it.
> > > There is NO WARRANTY, to the extent permitted by law.
> > > Type "show copying" and "show warranty" for details.
> > > This GDB was configured as "arm-openwrt-linux".
> > > Type "show configuration" for configuration details.
> > > For bug reporting instructions, please see:
> > > <https://www.gnu.org/software/gdb/bugs/>.
> > > Find the GDB manual and other documentation resources online at:
> > > <http://www.gnu.org/software/gdb/documentation/>.
> > >
> > > For help, type "help".
> > > Type "apropos word" to search for commands related to "word"...
> > > Reading symbols from debug/bird...
> > > [New LWP 6869]
> > > Core was generated by `./bird'.
> > > Program terminated with signal SIGBUS, Bus error.
> > > #0 ospf_rt_reset (p=0x1d610a0) at proto/ospf/rt.c:1646
> > > 1646 proto/ospf/rt.c: No such file or directory.
> > > (gdb) bt
> > > #0 ospf_rt_reset (p=0x1d610a0) at proto/ospf/rt.c:1646
> > > #1 ospf_rt_spf (p=0x1d610a0) at proto/ospf/rt.c:1698
> > > #2 ospf_rt_spf (p=0x1d610a0) at proto/ospf/rt.c:1688
> > > #3 ospf_disp (timer=<optimized out>) at proto/ospf/ospf.c:468
> > > #4 0x00061574 in timers_fire (loop=0xc4878 <main_timeloop>) at
> > > lib/timer.c:235
> > > #5 0x00012ca8 in io_loop () at sysdep/unix/io.c:2195
> > > #6 main (argc=<optimized out>, argv=<optimized out>) at
> > > sysdep/unix/main.c:939
> > > (gdb)
--
Elen sila lumenn' omentielvo
Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
"To err is human -- to blame it on a computer is even more so."
More information about the Bird-users
mailing list