-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pipeline crashes on close #59
Comments
Does it give you a chance to load gdb on the segfault? |
Hello @BrettRD, Thank you very much for your reply. I ran gdb on a pipeline containing the rosimagesrc element. In the gdb console I executed the I attach the terminal log:
So it is related to some memcpy but I can not locate it precisely in the code. I just found this conversation https://github.com/BrettRD/ros-gst-bridge/pull/14 where you were saying that it could be related to the memcpy in ros_image_create, did you have any update on that? Thank you again! |
CONTINUATION By running
In particular from this line:
I can actually trace the error back to the memcpy in rosimagesrc_create function. |
That's perfect! thank you so much! yes, this says the memcpy causes the actual crash, and that singles out the buffer mistake the assert warning called out The complete fix is a couple of parts, not trivial, not difficult
It'll be a few weeks before I can get back into hacking on this |
That's very nice to hear, I look forward to that. Keep me posted! Thank you again |
Hello,
I get this error every time I stop a pipeline containing the rosimagesrc element (e.g.,
gst-launch-1.0 rosimagesrc ros-topic=/test_camera ! videoconvert ! queue ! xvimagesink
):Then I get a sequence of warnings from the ros2 node:
Until I press CTRL-C a second time.
I wonder if there's a fix for this, since it makes it difficult to integrate your bridge in other applications that require to start and stop pipelines multiple times.
Thank you very much
The text was updated successfully, but these errors were encountered: