Project

General

Profile

Actions

Bug #1282

open

`src.ctf.fs` accepts the same input twice

Added by Philippe Proulx over 3 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
src.ctf.fs
Start date:
09/09/2020
Due date:
% Done:

0%

Estimated time:

Description

It looks like src.ctf.fs accepts the same path twice.

Reproduce with:

$ babeltrace2 my-trace my-trace

Result:

09-09 10:37:36.918 57494 57494 F LIB/ASSERT-COND bt_lib_assert_cond_failed@assert-cond.c:64 Babeltrace 2 library precondition not satisfied.
09-09 10:37:36.918 57494 57494 F LIB/ASSERT-COND bt_lib_assert_cond_failed@assert-cond.c:66 ------------------------------------------------------------------------
09-09 10:37:36.918 57494 57494 F LIB/ASSERT-COND bt_lib_assert_cond_failed@assert-cond.c:67 Condition ID: `pre:self-component-source-add-output-port:output-port-is-unique`.
09-09 10:37:36.918 57494 57494 F LIB/ASSERT-COND bt_lib_assert_cond_failed@assert-cond.c:69 Function: bt_self_component_source_add_output_port().
09-09 10:37:36.918 57494 57494 F LIB/ASSERT-COND bt_lib_assert_cond_failed@assert-cond.c:70 ------------------------------------------------------------------------
09-09 10:37:36.918 57494 57494 F LIB/ASSERT-COND bt_lib_assert_cond_failed@assert-cond.c:71 Error is:
09-09 10:37:36.918 57494 57494 F LIB/ASSERT-COND bt_lib_assert_cond_failed@assert-cond.c:73 Output port name is not unique: name="e10963ca-f2a8-11ea-979f-739d4e2506e9 | 0 | ctf/stream", comp-addr=0x55717a299c20, comp-name="auto-disc-source-ctf-fs", comp-log-level=WARNING, comp-class-type=SOURCE, comp-class-name="fs", comp-class-partial-descr="Read CTF traces from the file sy" 
09-09 10:37:36.918 57494 57494 F LIB/ASSERT-COND bt_lib_assert_cond_failed@assert-cond.c:76 Aborting...

Files

ctf.tgz (340 KB) ctf.tgz Simon Marchi, 09/09/2020 04:05 PM
Actions

Also available in: Atom PDF