Re: BIRD 2.0.4 segfaulting on ARM

2019-04-26 Thread lorenz
Hello again, I narrowed the bug down to the kernel protocol. The config for debugging is as follows: --- snip --- log syslog all; router id 10.33.0.0; protocol device { scan time 15; } filter myrange { if net ~ fd22:9c28:6cf6::/48 then accept; reject; }; protocol

Re: BIRD 2.0.4 segfaulting on ARM

2019-04-26 Thread lorenz
Thank you for your time. I would be happy if I could assist in any way. As I'm running bird on other Odroids without any problems I'm not sure if it would be possible to reproduce this on qemu. But if you've got any idea, I would be glad helping fixing any bugs. Thanks again Lorenz Am

Re: BIRD 2.0.4 segfaulting on ARM

2019-04-26 Thread lorenz
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

Re: BIRD 2.0.4 segfaulting on ARM

2019-04-26 Thread Maria Jan Matejka
On 4/26/19 1:08 PM, lor...@irmhil.de wrote: > Hello, > > after a "make clean", "./configure" and "make" I got this compile-time > warning: > > --- 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

Re: BIRD 2.0.4 segfaulting on ARM

2019-04-26 Thread lorenz
My knowledge of QEMU is quite limited. On the qemu wiki, I don't see specific support for Exynos, but for a lot of ARM-Boards. Perhaps the Odroid XU4-Image is booting: https://wiki.odroid.com/odroid-xu4/os_images/linux/ubuntu_4.14/ubuntu_4.14 The hardware specs of the XU4 is described on

Re: BIRD 2.0.4 segfaulting on ARM

2019-04-26 Thread Ondrej Zajicek
On Fri, Apr 26, 2019 at 01:08:24PM +0200, lor...@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’:

Re: BIRD 2.0.4 segfaulting on ARM

2019-04-26 Thread lorenz
Hello, after a "make clean", "./configure" and "make" I got this compile-time warning: --- 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)

Re: BIRD 2.0.4 segfaulting on ARM

2019-04-26 Thread lorenz
Hello again! I'm new to gdb - thank you for your quick advice. I ran bird again, about 10 seconds later it segfaulted again and dumped core. Looks like some strange metrics? I tried running bird on another ARM v7-box (Odroid XU4, nearly the same hardware as the Odroid HC-2) on the same network

Re: BIRD 2.0.4 segfaulting on ARM

2019-04-25 Thread Danny Wensley
Hi, Just done a bit of research - this closely relates to the main platform I use bird on - and the ODROID HC2 uses a Samsung Exynos5422 processer, which is ArmV7-A. Using qemu-system-arm with the raspi2 machine and a recent version of Raspbian would yield an emulated system with near identical

Re: BIRD 2.0.4 segfaulting on ARM

2019-04-25 Thread Maria Matějka
Or, probably what would be even better – could you please help me running QEMU with this specific guest architecture? This is definitely an architecture which we would like to include in our test suite. Thanks Maria On April 25, 2019 11:36:11 PM GMT+02:00, "Maria Matějka" wrote: >Hello! >

Re: BIRD 2.0.4 segfaulting on ARM

2019-04-25 Thread Maria Matějka
Hello! ulimit -c unlimited bird ... (after it crashes) gdb bird core >bird crashes a few seconds after startup on my Hardkernel ODROID HC-2 >running Ubuntu. Kernel version is 4.14.111-158. > > >How can I debug this? > > >I tried: > > >$ bird -c bird.conf -d -D debug.log >