BIRD 2.0.4 segfaulting on ARM

lorenz at irmhil.de lorenz at irmhil.de
Fri Apr 26 13:36:37 CEST 2019


Hello again,

new core dump with "--enable-debug":


Core was generated by `bird -c bird.conf'.

Program terminated with signal SIGSEGV, Segmentation fault.

#0  0x00475b48 in ea__find (e=0x81000601, id=1554) at nest/rt-attr.c:389

389          if (e->flags & EALF_BISECT)

(gdb) #0  0x00475b48 in ea__find (e=0x81000601, id=1554) at nest/rt-attr.c:389

        a = 0x4b7347 <nl_add_attr_u32+32>

        l = 8

        r = -1097182544

        m = 2

#1  0x00475c14 in ea_find (e=0x52b068, id=1554) at nest/rt-attr.c:426

        a = 0xbe9a5280

#2  0x004b87f6 in nl_send_route (p=0x50e748, e=0x5200d4, op=1536, dest=1, nh=0x52b09c) at sysdep/linux/netlink.c:1269

        ea = 0xbe9a5288

        net = 0x5210a4

        a = 0x52b068

        eattrs = 0x52b068

        bufsize = 284

        priority = 32

        r = 0xbe9a5280

        rsize = 312

        metrics = {5265448, 5419112, 5361128, 3197785152, 0, 5263816, 5361128, 24, 5263816, 0, 3197785260, 5162725, 2, 3197784136, 3197784136, 3197785160}

        ews = {eattrs = 0x0, ea = 0x101, visited = {5374040, 80, 5263816, 5302088}}

#3  0x004b8a80 in nl_add_rte (p=0x50e748, e=0x5200d4) at sysdep/linux/netlink.c:1351

        a = 0x52b068

        err = 0

#4  0x004b8af2 in krt_replace_rte (p=0x50e748, n=0x5210a4, new=0x5200d4, old=0x5203e0) at sysdep/linux/netlink.c:1387

        err = 0

#5  0x004bf532 in krt_prune (p=0x50e748) at sysdep/unix/krt.c:751

        verdict = 2

        new = 0x5200d4

        old = 0x5203e0

        rt_free = 0x0

        fn_ = 0x5210ac

        ff_ = 0x50d698

        count_ = 872

        n = 0x5210a4

        t = 0x50d330

#6  0x004bf6e6 in krt_scan (t=0x517490) at sysdep/unix/krt.c:838

        p = 0x50e748

        q = 0x50e8a8

#7  0x0046b062 in timers_fire (loop=0x504b80 <main_timeloop>) at lib/timer.c:235

        base_time = 1435815133

        t = 0x517490

#8  0x004bdcc4 in io_loop () at sysdep/unix/io.c:2193

        poll_tout = 3

        timeout = 3

        nfds = 4

        events = 1

        pout = 0

        t = 0x517490

        s = 0x530900

        n = 0x5046e4 <sock_list+4>

        fdmax = 256

        pfd = 0x51ed20

#9  0x004c2030 in main (argc=3, argv=0xbe9a5734) at sysdep/unix/main.c:884

        use_uid = 0

        use_gid = 0

---Type <return> to continue, or q <return> to quit---        conf = 0x505af0

(gdb) quit






Am 26.04.19 um 13:26 schrieb Ondrej Zajicek:
> On Fri, Apr 26, 2019 at 01:08:24PM +0200, lorenz at irmhil.de wrote:
>> Hello,
>>
>> after a "make clean", "./configure" and "make" I got this compile-time
>> warning:
> Hello
>
> Could you try to build it with "./configure --enable-debug" ?
>
>
>> --- snip ---
>>
>> sysdep/unix/io.c: In function ‘times_init’:
>> sysdep/unix/io.c:135:45: warning: comparison is always false due to limited range of data type [-Wtype-limits]
>>    if ((ts.tv_sec < 0) || (((s64) ts.tv_sec) > ((s64) 1 << 40)))
>>                                              ^
>> --- snap ---
> This warning is OK.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20190426/e2047191/attachment.html>


More information about the Bird-users mailing list