Project

General

Profile

Actions

Bug #1227

open

cli: Error when using --clock-cycles and -c sink.text.pretty at the same time

Added by Simon Marchi almost 5 years ago. Updated almost 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
CLI
Target version:
Start date:
02/17/2020
Due date:
% Done:

0%

Estimated time:

Description

When using both --clock-cycles and -c sink.text.pretty at the same time, the cli tries to instantiate two pretty components:

  Source component instances:
    'source.test-trimmer.TheSourceOfAllEvil':
      Name: source.test-trimmer.TheSourceOfAllEvil
      Parameters:
        { }
  Filter component instances:
    'filter.utils.muxer':
      Name: muxer
      Parameters:
        { }
    'filter.utils.trimmer':
      Name: trimmer
      Parameters:
        begin: 350
  Sink component instances:
    'sink.text.pretty':
      Name: sink.text.pretty
      Parameters:
        { }
    'sink.text.pretty':
      Name: pretty
      Parameters:
        verbose: yes
        clock-cycles: yes
  Connections:
    source.test-trimmer.TheSourceOfAllEvil.* -> muxer.*
    muxer.* -> trimmer.*
    trimmer.* -> sink.text.pretty.*
    trimmer.* -> pretty.*

one of which has an input not connected. It later hits the assertion:

06-28 23:41:33.022 26827 26827 F LIB/MSG-ITER bt_self_component_port_input_message_iterator_create@iterator.c:427 Babeltrace 2 library precondition not satisfied; error is:
06-28 23:41:33.022 26827 26827 F LIB/MSG-ITER bt_self_component_port_input_message_iterator_create@iterator.c:427 Port is not connected: port-addr=0x607000002390, port-type=BT_PORT_TYPE_INPUT, port-name="in" 
06-28 23:41:33.022 26827 26827 F LIB/MSG-ITER bt_self_component_port_input_message_iterator_create@iterator.c:427 Aborting...
Actions

Also available in: Atom PDF