Actions
Bug #1232
opensrc.ctf.fs: variant option names without their tag equivalent are accepted, but the decoding process asserts
Start date:
02/17/2020
Due date:
% Done:
0%
Estimated time:
Description
See the attached trace. The metadata is valid for src.ctf.fs
, however there's a variant option name (d
) without its member in the tag, and there's a tag member (a
) without an equivalent variant option name. The trace contains the byte 0 followed with a string. This means the tag's value is a
, but then the variant option does not exist. This happens:
03-26 15:20:28.111 13242 13242 W PLUGIN-CTF-FS-SRC add_ds_file_to_ds_file_group@fs.c:672 Failed to index CTF stream file '/tmp/zzz/allo' 03-26 15:20:28.111 13242 13242 W PLUGIN-CTF-MSG-ITER bfcr_borrow_variant_selected_field_class_cb@msg-iter.c:2354 Cannot find variant field class's option: notit-addr=0x5557cd2a14f0, var-fc-addr=0x5557cd2ad0a0, u-tag=0, i-tag=0 03-26 15:20:28.111 13242 13242 W PLUGIN-CTF-MSG-ITER read_dscope_begin_state@msg-iter.c:581 BFCR failed to start: notit-addr=0x5557cd2a14f0, bfcr-addr=0x5557cd2a1680, status=BT_BFCR_STATUS_ERROR 03-26 15:20:28.111 13242 13242 W PLUGIN-CTF-MSG-ITER read_event_payload_begin_state@msg-iter.c:1393 Cannot decode event payload field: notit-addr=0x5557cd2a14f0, event-class-addr=0x5557cd2a7200, event-class-name="allo", event-class-id=0, fc-addr=0x5557cd2a7990 03-26 15:20:28.111 13242 13242 W PLUGIN-CTF-MSG-ITER bt_msg_iter_get_next_message@msg-iter.c:2769 Cannot handle state: notit-addr=0x5557cd2a14f0, state=STATE_DSCOPE_EVENT_PAYLOAD_BEGIN babeltrace: msg-iter.c:1366: read_event_payload_begin_state: Assertion `!notit->dscopes.event_payload' failed.
Files
Updated by Jonathan Rajotte Julien over 4 years ago
- Author changed from 215 to 22
Updated by Jonathan Rajotte Julien over 4 years ago
Migrated from internal bug tracker.
Actions