Skip to content

BGPreader: [warn] process_one_attr failed, stopping attribute processing #79

Open

Description

@MarcinNaw

Creating a textual dump of recent RIPE RIS bview files fails with:

$ bgpreader -d singlefile -o rib-file,latest-bview.gz > /dev/null 
WARN: No time windows specified, defaulting to all available data
2019-01-07 16:51:43 [warn] ERROR attribute is truncated: expected=10286 remaining=4184

2019-01-07 16:51:43 [warn] process_one_attr failed, stopping attribute processing

I receive this message after a partial output (~1.2M lines) using the latest BGPreader version (1.2.1).

An older version of BGPreader (1.1.0) is also affected.

$ ./bgpreader -d singlefile -o rib-file,/tmp/latest-bview.gz -w 0,-2 > /dev/null
2019-01-07 16:35:38 [warn] ERROR attribute is truncated: expected=10286 remaining=4184

bgpreader: bgpdump_lib.c:888: process_one_attr: Assertion `-1 == attr->local_pref' failed.
Aborted

Unfortunately, we could not get more information by activating debug output.

This file works: http://data.ris.ripe.net/rrc00/2018.09/bview.20180909.0800.gz
This file does not work: http://data.ris.ripe.net/rrc00/2019.01/bview.20190107.0800.gz

Activity

  1. alistairking commented on Jan 7, 2019

    @alistairking
    Member

    I am pretty sure this is a bug in the library (libbgpdump) we use to parse MRT data. I believe it has been fixed in the upstream library, but since BGPStream v2 no longer uses this library, we have not yet backported the fix. My understanding is that this bug only affects RRC00 -- is that your experience too?

    I'd suggest that you might want to try the BGPStream v2 beta (http://bgpstream.caida.org/v2-beta). If switching to v2 is not possible, please let me know and we can try and find some time to backport a fix.

  2. added a commit that references this issue on Apr 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions