Zerotier segmentation fault on upgrade

Note that the build_dir contains stripped binaries, while the staging_dir contains the originals before stripping.

I have remote debugging in several ways:

  • providing directly the unstripped binary:
    ./scripts/remote-gdb staging_dir/target-mips_34kc_musl-1.1.10/root-ar71xx/usr/sbin/collectd

  • debugging a crash core file:
    ulimit -c unlimited in router, to make sure that cores can be stored
    Analysing the core, once it is transferred to the buildhost
    ./build_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.10/gdb-7.8/gdb/gdb ./staging_dir/target-mips_34kc_musl-1.1.10/root-ar71xx/usr/sbin/collectd ./collectd.3328.11.1439752039.core