NVIDIA-ISAAC-ROS / NVIDIA-ISAAC-ROS/isaac_ros_compression
decoder core dump
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 73
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
when i run ros2 launch isaac_ros_h264_decoder isaac_ros_h264_decoder_rosbag.launch.py
the output
rosbag_path:=./h264_compressed_sample.bag
[INFO] [launch]: All log files can be found below /home/havp/.ros/log/2022-01-01-03-25-10-423117-8e0159abbace-12773
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [ros2-1]: process started with pid [12792]
[INFO] [component_container_mt-2]: process started with pid [12794]
[INFO] [launch_ros.actions.load_composable_nodes]: Loaded node '/left_decoder_node' in container '/decoder_container'
[component_container_mt-2] [INFO] [1641007511.456119124] [decoder_container]: Load Library: /opt/ros/humble/lib/libdecoder_node.so
[component_container_mt-2] [INFO] [1641007511.485827827] [decoder_container]: Found class: rclcpp_components::NodeFactoryTemplatenvidia::isaac_ros::h264_decoder::DecoderNode
[component_container_mt-2] [INFO] [1641007511.485923523] [decoder_container]: Instantiate class: rclcpp_components::NodeFactoryTemplatenvidia::isaac_ros::h264_decoder::DecoderNode
[INFO] [launch_ros.actions.load_composable_nodes]: Loaded node '/right_decoder_node' in container '/decoder_container'
[component_container_mt-2] [INFO] [1641007511.494565489] [NitrosContext]: [NitrosContext] Creating a new shared context
[component_container_mt-2] [INFO] [1641007511.494791882] [right_decoder_node]: [NitrosNode] Initializing NitrosNode
[component_container_mt-2] [INFO] [1641007511.495167593] [NitrosContext]: [NitrosContext] Loading extension: gxf/lib/std/libgxf_std.so
[component_container_mt-2] [INFO] [1641007511.501828013] [NitrosContext]: [NitrosContext] Loading extension: gxf/lib/libgxf_gxf_helpers.so
[component_container_mt-2] [INFO] [1641007511.505576359] [NitrosContext]: [NitrosContext] Loading extension: gxf/lib/libgxf_sight.so
[component_container_mt-2] [INFO] [1641007511.509595091] [NitrosContext]: [NitrosContext] Loading extension: gxf/lib/libgxf_atlas.so
[component_container_mt-2] [INFO] [1641007511.515094687] [NitrosContext]: [NitrosContext] Loading application: '/opt/ros/humble/share/isaac_ros_nitros/config/type_adapter_nitros_context_graph.yaml'
[component_container_mt-2] [INFO] [1641007511.516271924] [NitrosContext]: [NitrosContext] Initializing application...
[component_container_mt-2] [INFO] [1641007511.520205710] [NitrosContext]: [NitrosContext] Running application...
[component_container_mt-2] [INFO] [1641007511.520843872] [right_decoder_node]: [NitrosNode] Starting NitrosNode
[component_container_mt-2] [INFO] [1641007511.520886712] [right_decoder_node]: [NitrosNode] Loading built-in preset extension specs
[component_container_mt-2] [INFO] [1641007511.523512020] [right_decoder_node]: [NitrosNode] Loading built-in extension specs
[component_container_mt-2] [INFO] [1641007511.523583368] [right_decoder_node]: [NitrosNode] Loading preset extension specs
[component_container_mt-2] [INFO] [1641007511.524445523] [right_decoder_node]: [NitrosNode] Loading extension specs
[component_container_mt-2] [INFO] [1641007511.524487084] [right_decoder_node]: [NitrosNode] Loading generator rules
[component_container_mt-2] [INFO] [1641007511.524818803] [right_decoder_node]: [NitrosNode] Loading extensions
[component_container_mt-2] [INFO] [1641007511.524892518] [right_decoder_node]: [NitrosContext] Loading extension: gxf/lib/libgxf_message_compositor.so
[component_container_mt-2] [INFO] [1641007511.526255099] [right_decoder_node]: [NitrosContext] Loading extension: gxf/lib/multimedia/libgxf_multimedia.so
[component_container_mt-2] [INFO] [1641007511.527299591] [right_decoder_node]: [NitrosContext] Loading extension: gxf/lib/cuda/libgxf_cuda.so
[component_container_mt-2] [INFO] [1641007511.528427941] [right_decoder_node]: [NitrosContext] Loading extension: gxf/lib/serialization/libgxf_serialization.so
[component_container_mt-2] [INFO] [1641007511.532169248] [right_decoder_node]: [NitrosContext] Loading extension: gxf/lib/image_proc/libgxf_tensorops.so
[component_container_mt-2] [INFO] [1641007511.538080709] [right_decoder_node]: [NitrosContext] Loading extension: gxf/lib/codec/libgxf_video_decoder_extension.so
[ros2-1] stdin is not a terminal device. Keyboard handling disabled.[INFO] [1641007511.724349244] [rosbag2_storage]: Opened database './h264_compressed_sample.bag/h264_compressed_sample_0.db3' for READ_ONLY.
[ros2-1] [INFO] [1641007511.724437132] [rosbag2_player]: Set rate to 1
[ros2-1] [INFO] [1641007511.732283076] [rosbag2_player]: Adding keyboard callbacks.
[ros2-1] [INFO] [1641007511.732355000] [rosbag2_player]: Press SPACE for Pause/Resume
[ros2-1] [INFO] [1641007511.732371157] [rosbag2_player]: Press CURSOR_RIGHT for Play Next Message
[ros2-1] [INFO] [1641007511.732381587] [rosbag2_player]: Press CURSOR_UP for Increase Rate 10%
[ros2-1] [INFO] [1641007511.732391090] [rosbag2_player]: Press CURSOR_DOWN for Decrease Rate 10%
[ros2-1] [INFO] [1641007511.733032035] [rosbag2_storage]: Opened database './h264_compressed_sample.bag/h264_compressed_sample_0.db3' for READ_ONLY.
[component_container_mt-2] [INFO] [1641007512.249430493] [right_decoder_node]: [NitrosNode] Loading graph to the optimizer
[component_container_mt-2] [INFO] [1641007512.252497227] [right_decoder_node]: [NitrosNode] Running optimization
[component_container_mt-2] [INFO] [1641007512.264175689] [right_decoder_node]: [NitrosNode] Obtaining graph IO group info from the optimizer
[component_container_mt-2] [INFO] [1641007512.265398805] [right_decoder_node]: [NitrosNode] Creating negotiated publishers/subscribers
[component_container_mt-2] [INFO] [1641007512.272077203] [right_decoder_node]: [NitrosNode] Starting negotiation...
[component_container_mt-2] [INFO] [1641007512.360172121] [right_decoder_node]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[component_container_mt-2] [INFO] [1641007512.476081624] [right_decoder_node]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[component_container_mt-2] [INFO] [1641007512.503698195] [right_decoder_node]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[ros2-1] [INFO] [1641007512.514554335] [rosbag2_storage]: Opened database './h264_compressed_sample.bag/h264_compressed_sample_0.db3' for READ_ONLY.
[component_container_mt-2] [INFO] [1641007512.617837540] [right_decoder_node]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[component_container_mt-2] [INFO] [1641007512.672429545] [right_decoder_node]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[component_container_mt-2] [INFO] [1641007512.682049930] [right_decoder_node]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[component_container_mt-2] [INFO] [1641007512.699722395] [right_decoder_node]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[component_container_mt-2] [INFO] [1641007513.142369299] [right_decoder_node]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[component_container_mt-2] [INFO] [1641007513.272588986] [right_decoder_node]: [NitrosNode] Starting post negotiation setup
[component_container_mt-2] [INFO] [1641007513.272684841] [right_decoder_node]: [NitrosNode] Getting data format negotiation results
[component_container_mt-2] [INFO] [1641007513.272715684] [right_decoder_node]: [NitrosSubscriber] Negotiation ended with no results
[component_container_mt-2] [INFO] [1641007513.272731361] [right_decoder_node]: [NitrosSubscriber] Use the compatible subscriber: topic_name="/right/image_compressed", data_format="nitros_compressed_image"
[component_container_mt-2] [INFO] [1641007513.272792407] [right_decoder_node]: [NitrosPublisher] Negotiation ended with no results
[component_container_mt-2] [INFO] [1641007513.272807092] [right_decoder_node]: [NitrosPublisher] Use only the compatible publisher: topic_name="/right/image_uncompressed", data_format="nitros_image_rgb8"
[component_container_mt-2] [INFO] [1641007513.273149337] [right_decoder_node]: [NitrosNode] Exporting the final graph based on the negotiation results
[component_container_mt-2] [INFO] [1641007513.278149722] [right_decoder_node]: [NitrosNode] Wrote the final top level YAML graph to "/tmp/isaac_ros_nitros/graphs/TYVZQCYDZI/TYVZQCYDZI.yaml"
[component_container_mt-2] [INFO] [1641007513.278223373] [right_decoder_node]: [NitrosNode] Calling user's pre-load-graph callback
[component_container_mt-2] [INFO] [1641007513.278270885] [right_decoder_node]: [DecoderNode] preLoadGraphCallback().
[component_container_mt-2] [INFO] [1641007513.278306399] [right_decoder_node]: [NitrosNode] Loading application
[component_container_mt-2] [INFO] [1641007513.278320956] [right_decoder_node]: [NitrosContext] Loading application: '/tmp/isaac_ros_nitros/graphs/TYVZQCYDZI/TYVZQCYDZI.yaml'
[component_container_mt-2] [INFO] [1641007513.281583465] [right_decoder_node]: [NitrosNode] Linking Nitros pub/sub to the loaded application
[component_container_mt-2] [INFO] [1641007513.281766505] [right_decoder_node]: [NitrosNode] Calling user's post-load-graph callback
[component_container_mt-2] [INFO] [1641007513.281789381] [right_decoder_node]: [DecoderNode] postLoadGraphCallback().
[component_container_mt-2] [INFO] [1641007513.281802787] [right_decoder_node]: [NitrosContext] Initializing application...
[ros2-1] [INFO] [1641007513.297620599] [rosbag2_storage]: Opened database './h264_compressed_sample.bag/h264_compressed_sample_0.db3' for READ_ONLY.
[component_container_mt-2] *** stack smashing detected ***: terminated
[ros2-1] [INFO] [1641007514.080219416] [rosbag2_storage]: Opened database './h264_compressed_sample.bag/h264_compressed_sample_0.db3' for READ_ONLY.
[ros2-1] [INFO] [1641007514.863035902] [rosbag2_storage]: Opened database './h264_compressed_sample.bag/h264_compressed_sample_0.db3' for READ_ONLY.
[ERROR] [component_container_mt-2]: process has died [pid 12794, exit code -6, cmd '/opt/ros/humble/lib/rclcpp_components/component_container_mt --ros-args --log-level info --ros-args -r __node:=decoder_container -r __ns:=/'].
[ros2-1] [INFO] [1641007521.132332485] [rosbag2_storage]: Opened database './h264_compressed_sample.bag/h264_compressed_sample_0.db3' for READ_ONLY.
and the
/opt/ros/humble/lib/rclcpp_components/component_container_mt --ros-args --log-level info --ros-args -r __node:=decoder_container -r __ns:=/
is:
[INFO] [1641007510.711233823] [decoder_container]: Load Library: /opt/ros/humble/lib/libdecoder_node.so
[INFO] [1641007510.741493949] [decoder_container]: Found class: rclcpp_components::NodeFactoryTemplatenvidia::isaac_ros::h264_decoder::DecoderNode
[INFO] [1641007510.741629670] [decoder_container]: Instantiate class: rclcpp_components::NodeFactoryTemplatenvidia::isaac_ros::h264_decoder::DecoderNode
[INFO] [1641007510.751776144] [NitrosContext]: [NitrosContext] Creating a new shared context
[INFO] [1641007510.752045634] [left_decoder_node]: [NitrosNode] Initializing NitrosNode
[INFO] [1641007510.752407587] [NitrosContext]: [NitrosContext] Loading extension: gxf/lib/std/libgxf_std.so
[INFO] [1641007510.759080356] [NitrosContext]: [NitrosContext] Loading extension: gxf/lib/libgxf_gxf_helpers.so
[INFO] [1641007510.762458686] [NitrosContext]: [NitrosContext] Loading extension: gxf/lib/libgxf_sight.so
[INFO] [1641007510.766352574] [NitrosContext]: [NitrosContext] Loading extension: gxf/lib/libgxf_atlas.so
[INFO] [1641007510.770925066] [NitrosContext]: [NitrosContext] Loading application: '/opt/ros/humble/share/isaac_ros_nitros/config/type_adapter_nitros_context_graph.yaml'
[INFO] [1641007510.772134681] [NitrosContext]: [NitrosContext] Initializing application...
[INFO] [1641007510.775966244] [NitrosContext]: [NitrosContext] Running application...
2022-01-01 03:25:10.776 WARN gxf/std/program.cpp@514: No system specified. Nothing to do
[INFO] [1641007510.776676138] [left_decoder_node]: [NitrosNode] Starting NitrosNode
[INFO] [1641007510.776728065] [left_decoder_node]: [NitrosNode] Loading built-in preset extension specs
[INFO] [1641007510.779391382] [left_decoder_node]: [NitrosNode] Loading built-in extension specs
[INFO] [1641007510.779447468] [left_decoder_node]: [NitrosNode] Loading preset extension specs
[INFO] [1641007510.780306040] [left_decoder_node]: [NitrosNode] Loading extension specs
[INFO] [1641007510.780344593] [left_decoder_node]: [NitrosNode] Loading generator rules
[INFO] [1641007510.780680184] [left_decoder_node]: [NitrosNode] Loading extensions
[INFO] [1641007510.780763721] [left_decoder_node]: [NitrosContext] Loading extension: gxf/lib/libgxf_message_compositor.so
[INFO] [1641007510.782150266] [left_decoder_node]: [NitrosContext] Loading extension: gxf/lib/multimedia/libgxf_multimedia.so
[INFO] [1641007510.783218242] [left_decoder_node]: [NitrosContext] Loading extension: gxf/lib/cuda/libgxf_cuda.so
[INFO] [1641007510.784355294] [left_decoder_node]: [NitrosContext] Loading extension: gxf/lib/serialization/libgxf_serialization.so
[INFO] [1641007510.788101432] [left_decoder_node]: [NitrosContext] Loading extension: gxf/lib/image_proc/libgxf_tensorops.so
[INFO] [1641007510.793854712] [left_decoder_node]: [NitrosContext] Loading extension: gxf/lib/codec/libgxf_video_decoder_extension.so
No EGL Display
nvbufsurftransform: Could not get EGL display connection
[INFO] [1641007511.431230486] [left_decoder_node]: [NitrosNode] Loading graph to the optimizer
[INFO] [1641007511.433981915] [left_decoder_node]: [NitrosNode] Running optimization
[INFO] [1641007511.444938075] [left_decoder_node]: [NitrosNode] Obtaining graph IO group info from the optimizer
[INFO] [1641007511.446132813] [left_decoder_node]: [NitrosNode] Creating negotiated publishers/subscribers
[INFO] [1641007511.452195960] [left_decoder_node]: [NitrosNode] Starting negotiation...
[INFO] [1641007511.455988394] [decoder_container]: Found class: rclcpp_components::NodeFactoryTemplatenvidia::isaac_ros::h264_decoder::DecoderNode
[INFO] [1641007511.456081626] [decoder_container]: Instantiate class: rclcpp_components::NodeFactoryTemplatenvidia::isaac_ros::h264_decoder::DecoderNode
[INFO] [1641007511.463835042] [right_decoder_node]: [NitrosNode] Initializing NitrosNode
[INFO] [1641007511.464336587] [right_decoder_node]: [NitrosNode] Starting NitrosNode
[INFO] [1641007511.464391586] [right_decoder_node]: [NitrosNode] Loading built-in preset extension specs
[INFO] [1641007511.466760330] [right_decoder_node]: [NitrosNode] Loading built-in extension specs
[INFO] [1641007511.466897362] [right_decoder_node]: [NitrosNode] Loading preset extension specs
[INFO] [1641007511.467770907] [right_decoder_node]: [NitrosNode] Loading extension specs
[INFO] [1641007511.467891687] [right_decoder_node]: [NitrosNode] Loading generator rules
[INFO] [1641007511.468216687] [right_decoder_node]: [NitrosNode] Loading extensions
[INFO] [1641007511.468451238] [right_decoder_node]: [NitrosNode] Loading graph to the optimizer
[INFO] [1641007511.470725566] [right_decoder_node]: [NitrosNode] Running optimization
[INFO] [1641007511.482186311] [right_decoder_node]: [NitrosNode] Obtaining graph IO group info from the optimizer
[INFO] [1641007511.483384152] [right_decoder_node]: [NitrosNode] Creating negotiated publishers/subscribers
[INFO] [1641007511.487791585] [right_decoder_node]: [NitrosNode] Starting negotiation...
[INFO] [1641007511.858128204] [right_decoder_node]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[INFO] [1641007511.858128300] [left_decoder_node]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[INFO] [1641007511.859774031] [left_decoder_node]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[INFO] [1641007511.861199033] [left_decoder_node]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[INFO] [1641007512.439048025] [right_decoder_node]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[INFO] [1641007512.449014238] [right_decoder_node]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[INFO] [1641007512.452724957] [left_decoder_node]: [NitrosNode] Starting post negotiation setup
[INFO] [1641007512.452816525] [left_decoder_node]: [NitrosNode] Getting data format negotiation results
[INFO] [1641007512.452847464] [left_decoder_node]: [NitrosSubscriber] Negotiation ended with no results
[INFO] [1641007512.452869412] [left_decoder_node]: [NitrosSubscriber] Use the compatible subscriber: topic_name="/left/image_compressed", data_format="nitros_compressed_image"
[INFO] [1641007512.452939288] [left_decoder_node]: [NitrosPublisher] Negotiation ended with no results
[INFO] [1641007512.452962260] [left_decoder_node]: [NitrosPublisher] Use only the compatible publisher: topic_name="/left/image_uncompressed", data_format="nitros_image_rgb8"
[INFO] [1641007512.453280765] [left_decoder_node]: [NitrosNode] Exporting the final graph based on the negotiation results
[INFO] [1641007512.458433346] [left_decoder_node]: [NitrosNode] Wrote the final top level YAML graph to "/tmp/isaac_ros_nitros/graphs/NUPYKRIROB/NUPYKRIROB.yaml"
[INFO] [1641007512.458531538] [left_decoder_node]: [NitrosNode] Calling user's pre-load-graph callback
[INFO] [1641007512.458558701] [left_decoder_node]: [DecoderNode] preLoadGraphCallback().
[INFO] [1641007512.458614339] [left_decoder_node]: [NitrosNode] Loading application
[INFO] [1641007512.458644318] [left_decoder_node]: [NitrosContext] Loading application: '/tmp/isaac_ros_nitros/graphs/NUPYKRIROB/NUPYKRIROB.yaml'
[INFO] [1641007512.462007257] [left_decoder_node]: [NitrosNode] Linking Nitros pub/sub to the loaded application
[INFO] [1641007512.462226515] [left_decoder_node]: [NitrosNode] Calling user's post-load-graph callback
[INFO] [1641007512.462261261] [left_decoder_node]: [DecoderNode] postLoadGraphCallback().
[INFO] [1641007512.462288552] [left_decoder_node]: [NitrosContext] Initializing application...
[INFO] [1641007512.481031873] [right_decoder_node]: [NitrosSubscriber] Received a message but the application receiver's pointer is not yet set.
[INFO] [1641007512.488436385] [right_decoder_node]: [NitrosNode] Starting post negotiation setup
[INFO] [1641007512.488523794] [right_decoder_node]: [NitrosNode] Getting data format negotiation results
[INFO] [1641007512.488550637] [right_decoder_node]: [NitrosSubscriber] Negotiation ended with no results
[INFO] [1641007512.488571882] [right_decoder_node]: [NitrosSubscriber] Use the compatible subscriber: topic_name="/right/image_compressed", data_format="nitros_compressed_image"
[INFO] [1641007512.488616034] [right_decoder_node]: [NitrosPublisher] Negotiation ended with no results
[INFO] [1641007512.488634047] [right_decoder_node]: [NitrosPublisher] Use only the compatible publisher: topic_name="/right/image_uncompressed", data_format="nitros_image_rgb8"
[INFO] [1641007512.488897009] [right_decoder_node]: [NitrosNode] Exporting the final graph based on the negotiation results
[INFO] [1641007512.493879828] [right_decoder_node]: [NitrosNode] Wrote the final top level YAML graph to "/tmp/isaac_ros_nitros/graphs/QZUCVKSAEQ/QZUCVKSAEQ.yaml"
[INFO] [1641007512.494001023] [right_decoder_node]: [NitrosNode] Calling user's pre-load-graph callback
[INFO] [1641007512.494028954] [right_decoder_node]: [DecoderNode] preLoadGraphCallback().
[INFO] [1641007512.494090864] [right_decoder_node]: [NitrosNode] Loading application
*** stack smashing detected ***: terminated
Aborted (core dumped)
I can`t find where is wrong
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with isaac_ros_h264_decoder_rosbag.launch.py and h264_compressed_sample.bag, then inspect the component_container_mt crash during DecoderNode initialization and graph setup. The work is done when the decoder no longer exits with stack smashing detected and rosbag playback completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100