You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Relevant log output
```shell
/home/bsuryadevara/mambaforge/envs/morpheus/lib/python3.10/site-packages/numba/core/errors.py:175: UserWarning: Insufficiently recent colorama version found. Numba requires colorama >= 0.3.9
warnings.warn(msg)
WARNING: Logging before InitGoogleLogging() is written to STDERR
E20230519 09:51:24.374199 2220292 builder.cpp:75] Exception during segment initializer. Segment name: main, Segment Rank: 0. Exception message:
ValueError: Provided input ports do not match module input ports. Module: ['input_0', 'input_1'], Provided: ['input_0', 'input_1', 'input_2'].
At:
/home/bsuryadevara/Github/morpheus/morpheus/stages/general/multi_port_modules_stage.py(105): _validate_ports
/home/bsuryadevara/Github/morpheus/morpheus/stages/general/multi_port_modules_stage.py(117): _build
/home/bsuryadevara/Github/morpheus/morpheus/pipeline/stream_wrapper.py(327): build
/home/bsuryadevara/Github/morpheus/morpheus/pipeline/stream_wrapper.py(349): build
/home/bsuryadevara/Github/morpheus/morpheus/pipeline/pipeline.py(257): inner_build
E20230519 09:51:24.374406 2220292 controller.cpp:64] exception caught while performing update - this is fatal - issuing kill
E20230519 09:51:24.374444 2220292 context.cpp:124] rank: 0; size: 1; tid: 140668200547904; fid: 0x7fefa8041000: set_exception issued; issuing kill to current runnable. Exception msg: ValueError: Provided input ports do not match module input ports. Module: ['input_0', 'input_1'], Provided: ['input_0', 'input_1', 'input_2'].
At:
/home/bsuryadevara/Github/morpheus/morpheus/stages/general/multi_port_modules_stage.py(105): _validate_ports
/home/bsuryadevara/Github/morpheus/morpheus/stages/general/multi_port_modules_stage.py(117): _build
/home/bsuryadevara/Github/morpheus/morpheus/pipeline/stream_wrapper.py(327): build
/home/bsuryadevara/Github/morpheus/morpheus/pipeline/stream_wrapper.py(349): build
/home/bsuryadevara/Github/morpheus/morpheus/pipeline/pipeline.py(257): inner_build
E20230519 09:51:24.374497 2220292 manager.cpp:89] error detected on controller
E20230519 09:51:24.374667 2220237 runner.cpp:189] Runner::await_join - an exception was caught while awaiting on one or more contexts/instances - rethrowing
Traceback (most recent call last):
File "/home/bsuryadevara/Github/morpheus/tests/test.py", line 54, in <module>
test_multi_port_pipeline()
File "/home/bsuryadevara/Github/morpheus/tests/test.py", line 50, in test_multi_port_pipeline
pipe.run()
File "/home/bsuryadevara/Github/morpheus/morpheus/pipeline/pipeline.py", line 598, in run
asyncio.run(self.run_async())
File "/home/bsuryadevara/mambaforge/envs/morpheus/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/home/bsuryadevara/mambaforge/envs/morpheus/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/home/bsuryadevara/Github/morpheus/morpheus/pipeline/pipeline.py", line 576, in run_async
await self.join()
File "/home/bsuryadevara/Github/morpheus/morpheus/pipeline/pipeline.py", line 327, in join
await self._mrc_executor.join_async()
File "/home/bsuryadevara/Github/morpheus/morpheus/pipeline/pipeline.py", line 257, in inner_build
stage.build(builder)
File "/home/bsuryadevara/Github/morpheus/morpheus/pipeline/stream_wrapper.py", line 349, in build
dep.build(builder, do_propagate=do_propagate)
File "/home/bsuryadevara/Github/morpheus/morpheus/pipeline/stream_wrapper.py", line 327, in build
out_ports_pair = self._build(builder, in_ports_pairs)
File "/home/bsuryadevara/Github/morpheus/morpheus/stages/general/multi_port_modules_stage.py", line 117, in _build
self._validate_ports(module)
File "/home/bsuryadevara/Github/morpheus/morpheus/stages/general/multi_port_modules_stage.py", line 105, in _validate_ports
raise ValueError(f"Provided input ports do not match module input ports. Module: {input_ids}, "
ValueError: Provided input ports do not match module input ports. Module: ['input_0', 'input_1'], Provided: ['input_0', 'input_1', 'input_2'].
F20230519 09:51:24.591825 2220237 edge_holder.hpp:61] A node was destructed which still had dependent connections. Nodes must be kept alive while dependent connections are still active
*** Check failure stack trace: ***
Aborted (core dumped)
Version
23.07
Which installation method(s) does this occur on?
No response
Describe the bug.
MulitPortModuleStage used in the pipeline with incorrect ports is hitting segmentation fault.
here are the scenarios that raises ValueError as the provided ports are not matched with module ports, followed by segfault:
Here in this case it just throws assertion error, but not segfault
Minimum reproducible example
Full env printout
Other/Misc.
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: