Skip to content

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

@MarcinNaw

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

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