kohler / click

The Click modular router: fast modular packet processing and analysis
Other
735 stars 322 forks source link

RadixIPLookup assertion while adding route #421

Open senjoo opened 5 years ago

senjoo commented 5 years ago

Seeing the following assertion every few days. Probably related to when there are more than 256 next hops (such as at a peering exchange). Should probably be fixed to handle this scenario gracefully.

click: ../elements/ip/radixiplookup.hh:99: static int32_t RadixIPLookup::combine_key(int32_t, int32_t): Assertion `lookup_key <= 0xff' failed. click-20170507/bin/click[0x799c8a] /lib64/libpthread.so.0(+0xf100)[0x7fec61ae0100] /lib64/libc.so.6(gsignal+0x37)[0x7fec60f245f7] /lib64/libc.so.6(abort+0x148)[0x7fec60f25ce8] /lib64/libc.so.6(+0x2e566)[0x7fec60f1d566] /lib64/libc.so.6(+0x2e612)[0x7fec60f1d612] click[0x4dccb4] click(_ZN13RadixIPLookup9add_routeERK7IPRoutebPS0_P12ErrorHandler+0x3d0)[0x73b460] click(_ZN12IPRouteTable11run_commandEiRK6StringP6VectorI7IPRouteEP12ErrorHandler+0x2f9)[0x735fe9] click(_ZNK7Handler10call_writeERK6StringP7ElementP12ErrorHandler+0xc5)[0x7c78a5] click(_ZN13ControlSocket13write_commandERNS10connectionERK6StringS2+0x1c7)[0x77d847] click(_ZN13ControlSocket13parse_commandERNS_10connectionERK6String+0x44d)[0x7807ad] click(_ZN13ControlSocket8selectedEii+0x1ce)[0x7821ce] click(_ZN9SelectSet16run_selects_pollEP12RouterThread+0x20a)[0x7d35ba] click(_ZN9SelectSet11run_selectsEP12RouterThread+0x50)[0x7d38d0] click(_ZN12RouterThread6driverEv+0x39a)[0x7c59da] click(main+0xb64)[0x519974] /lib64/libc.so.6(__libc_start_main+0xf5)[0x7fec60f10b15] click[0x51af65]