Skip to content
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

munmap_chunk(): invalid pointer on api_.start() in mono_camera.cpp #5

Closed
rcywongaa opened this issue Mar 12, 2020 · 7 comments
Closed

Comments

@rcywongaa
Copy link

rcywongaa commented Mar 12, 2020

The same thing happens when using the newer vimba API, where the same error is thrown on

m_system.Startup();

Where m_system is initialized as follows

    AVT::VmbAPI::VimbaSystem &       m_system(AVT::VmbAPI::VimbaSystem::GetInstance()) ;                   // A reference to our Vimba singleton
    m_system.Startup();

Issue cross posted in original repo as well: srv#33

@icolwell-as
Copy link
Member

Thanks for reporting this, unfortunately we don't have any USB hardware to test/reproduce with. We only use the Ethernet mako cameras.

@StephanEll
Copy link

I have the same problem. Did anyone find a solution?

@rcywongaa
Copy link
Author

@StephanEll I have contacted Allied Vision on this and have verified that it is an issue with their USB Transport Layer which they'll have to fix on their side. It appears they are aware of issues with using their cameras with ROS. Unfortunately, it doesn't seem high on their priority list and I haven't heard from them since.

@mrkschnk
Copy link

@StephanEll , @rcywongaa Allied Vision is very interested in enabling the ROS community to use Vimba with ROS. But since we are not the experts in ROS, we need you to find the problem.
There may be a conflict with external libraries when using the USB interface with ROS. To further narrow this down, it would be great if you could communicate your used system configuration (like Host system / architecture, version from OS, Vimba, ROS, libboost, OpenCV) to the Allied vision support.

@rcywongaa
Copy link
Author

rcywongaa commented Apr 23, 2020

@mrkschnk That's good to know.

I've spoken with one of Allied Vision's application engineer (Jan Lemke). He was able to reproduce the issue on his side and has confirmed that it was an issue with the transport layer provided by the vimba library. I believe he has reported it to the relevant product manager already. He also stated that it was a known issue that there are compatibility issues with ROS and Vimba.
Below is a sample ROS project that exhibits the problem (which I've also sent to Jan).
https://github.com/rcywongaa/vimba_invalid_pointer

@mrkschnk
Copy link

@StephanEll , @rcywongaa Allied Vision released a new Vimba version 4.1 to address your experienced problem. Happy to get your feedback on this: https://www.alliedvision.com/en/products/software.html

@icolwell-as
Copy link
Member

Closing since the issue appears to be resolved.

dagata-mining pushed a commit to dagata-mining/avt_vimba_camera that referenced this issue Jan 19, 2025
…add-camera-compression-choice

Feature/agruet pbi847 add camera compression choice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants