ros-perception / ros-perception/image_common

Follow the image_transport tutorial and met a problem with my_subscriber node

Open
#185 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
153
Forks
253
Avg merge
5m
Merged PRs (30d)
1

Description

Follow the tutorial and the my_publisher node went well, but when I rosrun my_subscriber node, the 'view' window flashed and gone, command line is shown as followed:

rosrun image_transport_tutorial my_subscriber

(view:4441): GLib-GObject-CRITICAL **: 20:30:25.725: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(view:4441): GLib-GObject-CRITICAL **: 20:30:25.776: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

Attempt to unlock mutex that was not locked

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the image_transport tutorial through the my_subscriber node and record the ROS, operating-system, display, and image-source details alongside the reported GLib and mutex messages. Compare the subscriber behavior with the tutorial's expected result; done means the view window remains usable and the node exits without these errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
robotics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.