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

Crash on execution for mono_camera.launch: free() invalid pointer #33

Open
GuillaumeHauss opened this issue May 17, 2018 · 6 comments
Open

Comments

@GuillaumeHauss
Copy link

Hi all,

I want to use your driver with a Mako U-130B (USB-V communication protocol).
However, it produces the following crash when I try to launch the mono_camera.launch script

starting api_.start()
*** Error in `/home/guillaume/catkin_ws/devel/lib/avt_vimba_camera/mono_camera_node': free(): invalid pointer: 0x00007fffe7c9e730 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fec558367e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7fec5583f37a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fec5584353c]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_mutateEmmPKcm+0xfd)[0x7fec561c752d]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcm+0x63)[0x7fec561c8833]
/usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.58.0(_ZN5boost10filesystem4pathdVERKS1_+0x4f)[0x7fec54b3d15f]
/home/guillaume/Documents/99_Utils/Vimba_2_1/VimbaUSBTL/CTI/x86_64bit/VimbaUSBTL.cti(+0x1ecc0e)[0x7fec39889c0e]

I checked with the official Vimba Viewer, and the camera is detected and accessible (streaming is okay).
Do you have any idea what may cause that issue and how I can fix this?

Setup:
Ubuntu 16.04 64bits
ROS Kinetic
Vimba 2.1

Thank you very much for your help!
Guillaume

@miquelmassot
Copy link
Contributor

This node is still on Vimba 2.0. Can you check if it is working with this version?
If not, change the libraries in avt_vimba_camera/lib with the version that works for you. I hope that the API hasn't changed.

@rachase
Copy link

rachase commented Jun 8, 2018

Had this same issue and just figured it out. Make sure all the parameters in the config file are correct (ID #, IP, etc). Fixed the problem for me.

@GuillaumeHauss
Copy link
Author

But IP /ID # are not set in the cfg file, but in the launch file. Or maybe we do not have the same version of the node

@rachase
Copy link

rachase commented Jun 20, 2018

Launch file, I mean.

@JWhitleyWork
Copy link

This fork is no longer actively maintained. Please see our new fork at https://github.com/astuff/avt_vimba_camera, which has been updated and recently released.

@rcywongaa
Copy link

Even with the new Vimba 3.1 API, the same problem happens. I've traced the call to the C API VmbStartup and can't really go further.

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

5 participants