-
Notifications
You must be signed in to change notification settings - Fork 90
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
Spinnaker 2.3.0.77: Segmentation fault upon creating system instance #106
Comments
I have contacted FLIR about this issue. |
I'd suggest trying older versions of their driver, possibly 2.0.0.147, we have been using it with TX2 successfully. |
Yes, 2.0.0.147 works. Thanks for that tip. |
Seems resolved. closing the issue. |
Well, it is not resolved because the module is seemingly incompatible with the latest version of Spinnaker. The fact that it crashes—especially so early in initialization—suggests that it is violating some (perhaps unstated) API contract. I tried reaching out to FLIR but it is difficult for me to make a reduced test case, and they weren't interested even in looking at the crash log. Since they stripped symbols from their library, we cannot even figure out where it is crashing. They suggested maybe we are initializing the library more than once from different threads, which might make sense when dealing with nodelets, but now that I have my system in working order, I'm hesitant to revert back to broke to investigate. |
Where do you download older versions of spinnaker? |
You can find some of the older versions under archive folder in spinnakers download page on box.lenovo.com at https://meta.box.lenovo.com/v/link/view/a1995795ffba47dbbe45771477319cc3 Are you looking for a specific version? |
Ah, thanks! |
@ntomer It is good to have feedback on compatibility from different versions. |
@shahvi I should clarify that I am using a slightly modified fork of the repo (though not too extensively I think), but can install this one to see if it works. However yes, I am running on Ubuntu 20.04, x64 with 2.2.048 working, and 2.3.0.77 did not work. Also just heard back from FLIR support and they said that they don't support the ROS platform or this code base, and can't help debugging. |
@ntomer that is what I'd have expected from FLIR. In the past we saw a similar issue, probably because of shared pointers used by Spinnaker. I am sure someone else will have an issue with it too and they will get it resolved in one of the subsequent releases. One thing to try might be the node version instead of the nodelet which is default. You can launch that using the |
@shahvi I was able to recreate the problem with the current code base with some modification (changing opencv import, removing display functionality) on Noetic Ubuntu 20.04 x64, using the node launch file. |
System Description
Camera Name and Model: FLIR Blackfly S BFS-U3-50S5C-C
Operating System: Ubuntu 18.04 "Bionic"
Spinnaker Version: 2.3.0.77
ROS Version: Melodic
Computer details
Processor: Jetson TX2 (aarch64)
RAM: 4 GB?
Do the cameras work with SpinView?
They work with the Python examples provided with the Spinnaker SDK.
Describe the bug
I am using the
Feature/spinnaker_update
branch with a few patches from #89.Shortly after the node loads, it crashes calling
System::GetInstance()
inacquisition::Capture::init_variables_register_to_ros()
.Error Messages
The text was updated successfully, but these errors were encountered: