You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I've observed some odd behavior (Segmentation fault) for the route-views.isc collector when the cache is enabled and a RIB period filter is used (with the goal of obtaining just the first RIB in the time window) with specific time window starting times around January 15th, 2009. The time window end time does not seem to matter, as long as it's longer than ~2hrs (long enough to contain more than 1 RIB?).
debian@ba-henschke:/srv/ba-henschke$ valgrind bgpreader -w '2009-01-14 03:50:00','2010-01-14 11:50:00' -P 9999999 -c route-views.isc -o cache-dir=./bgpstream_cache -t ribs
==563515== Memcheck, a memory error detector
==563515== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==563515== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info
==563515== Command: bgpreader -w 2009-01-14\ 03:50:00,2010-01-14\ 11:50:00 -P 9999999 -c route-views.isc -o cache-dir=./bgpstream_cache -t ribs
==563515==
==563515== Invalid read of size 8
==563515== at 0x48613F4: bgpstream_resource_set_attr (in /usr/lib/x86_64-linux-gnu/libbgpstream.so.3.0.0)
==563515== by 0x4864E7C: ??? (in /usr/lib/x86_64-linux-gnu/libbgpstream.so.3.0.0)
==563515== by 0x48656F2: bsdi_broker_update_resources (in /usr/lib/x86_64-linux-gnu/libbgpstream.so.3.0.0)
==563515== by 0x485D37C: bgpstream_di_mgr_get_next_record (in /usr/lib/x86_64-linux-gnu/libbgpstream.so.3.0.0)
==563515== by 0x10AACF: ??? (in /usr/bin/bgpreader)
==563515== by 0x4A8DD09: (below main) (libc-start.c:308)
==563515== Address 0x48 is not stack'd, malloc'd or (recently) free'd
==563515==
==563515==
==563515== Process terminating with default action of signal 11 (SIGSEGV)
==563515== Access not within mapped region at address 0x48
==563515== at 0x48613F4: bgpstream_resource_set_attr (in /usr/lib/x86_64-linux-gnu/libbgpstream.so.3.0.0)
==563515== by 0x4864E7C: ??? (in /usr/lib/x86_64-linux-gnu/libbgpstream.so.3.0.0)
==563515== by 0x48656F2: bsdi_broker_update_resources (in /usr/lib/x86_64-linux-gnu/libbgpstream.so.3.0.0)
==563515== by 0x485D37C: bgpstream_di_mgr_get_next_record (in /usr/lib/x86_64-linux-gnu/libbgpstream.so.3.0.0)
==563515== by 0x10AACF: ??? (in /usr/bin/bgpreader)
==563515== by 0x4A8DD09: (below main) (libc-start.c:308)
[...]
I found the time windows here randomly; there might be similar behavior for other time periods and also on other collectors.
Using libbgpstream v2.2.0.
The text was updated successfully, but these errors were encountered:
Hello,
I've observed some odd behavior (Segmentation fault) for the route-views.isc collector when the cache is enabled and a RIB period filter is used (with the goal of obtaining just the first RIB in the time window) with specific time window starting times around January 15th, 2009. The time window end time does not seem to matter, as long as it's longer than ~2hrs (long enough to contain more than 1 RIB?).
Cache enabled:
For the second command here, changing the start time down to 23:49:00 of the previous day or up to 00:04:00 makes it run without issues.
When caching is not used, the commands work just fine:
Valgrind output for the seg fault:
I found the time windows here randomly; there might be similar behavior for other time periods and also on other collectors.
Using libbgpstream v2.2.0.
The text was updated successfully, but these errors were encountered: