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

Invalid Pointer when running roslaunch phoxi_camera.launch #62

Open
neerja123-gupta opened this issue Jan 13, 2022 · 2 comments
Open

Invalid Pointer when running roslaunch phoxi_camera.launch #62

neerja123-gupta opened this issue Jan 13, 2022 · 2 comments

Comments

@neerja123-gupta
Copy link

Hello,

I am using Ubuntu 20.04 and ros noetic. I installed this package and downloaded the latest PhoXi ControlPhoxi Control APP for ubuntu 20. I am able to build this package using catkin build. However, when I am running "roslaunch phoxi_camera phoxi_camera.launch" its giving an error free(): invalid pointer process has died. Any help would be highly appreciated. Thanks.

@minghui97
Copy link

I get the same issue, have you found solution? Thanks for any suggestion!

@g6014552898
Copy link

I got the same in ROS Noetic, debug information form valgrind are below.

Linux Station 5.15.0-52-lowlatency #58~20.04.1-Ubuntu SMP PREEMPT
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0

setting /run_id to f9c887d4-624e-11ed-b763-2b491f4dd0ae
process[rosout-1]: started with pid [57058]
started core service [/rosout]
process[phoxi_camera-2]: started with pid [57062]
==57062== Memcheck, a memory error detector
==57062== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==57062== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info
==57062== Command: /home/user/work_ws/devel/lib/phoxi_camera/phoxi_camera __name:=phoxi_camera __log:=/home/user/.ros/log/f9c887d4-624e-11ed-b763-2b491f4dd0ae/phoxi_camera-2.log
==57062==
==57062== Thread 2:
==57062== Conditional jump or move depends on uninitialised value(s)
==57062== at 0x4D19B0B: std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_append(char const*, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28)
==57062== by 0x116224: boost::system::system_error::what() const (in /home/user/work_ws/devel/lib/phoxi_camera/phoxi_camera)
==57062== by 0x56F58D7: boost::filesystem::filesystem_error::what() const (in /opt/Photoneo/PhoXiControl/API/lib/libPhoXi_API_gcc9.3.0_Release.so.1.9.1)
==57062== by 0x5580181: pho::LogCleanup::removeLogsOverSizeLimit() const [clone .cold] (in /opt/Photoneo/PhoXiControl/API/lib/libPhoXi_API_gcc9.3.0_Release.so.1.9.1)
==57062== by 0x4CABDE3: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28)
==57062== by 0x4896608: start_thread (pthread_create.c:477)
==57062== by 0x4EF1132: clone (clone.S:95)
==57062== Uninitialised value was created by a stack allocation
==57062== at 0x556B2E0: ??? (in /opt/Photoneo/PhoXiControl/API/lib/libPhoXi_API_gcc9.3.0_Release.so.1.9.1)
==57062==
==57062== Conditional jump or move depends on uninitialised value(s)
==57062== at 0x4D19B10: std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_append(char const*, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28)
==57062== by 0x116224: boost::system::system_error::what() const (in /home/user/work_ws/devel/lib/phoxi_camera/phoxi_camera)
==57062== by 0x56F58D7: boost::filesystem::filesystem_error::what() const (in /opt/Photoneo/PhoXiControl/API/lib/libPhoXi_API_gcc9.3.0_Release.so.1.9.1)
==57062== by 0x5580181: pho::LogCleanup::removeLogsOverSizeLimit() const [clone .cold] (in /opt/Photoneo/PhoXiControl/API/lib/libPhoXi_API_gcc9.3.0_Release.so.1.9.1)
==57062== by 0x4CABDE3: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28)
==57062== by 0x4896608: start_thread (pthread_create.c:477)
==57062== by 0x4EF1132: clone (clone.S:95)
==57062== Uninitialised value was created by a stack allocation
==57062== at 0x556B2E0: ??? (in /opt/Photoneo/PhoXiControl/API/lib/libPhoXi_API_gcc9.3.0_Release.so.1.9.1)
==57062==
==57062== Use of uninitialised value of size 8
==57062== at 0x4D19B2C: std::__cxx11::basic_string<char, std::char_traits, std::allocator >::_M_append(char const*, unsigned long) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28)
==57062== by 0x116224: boost::system::system_error::what() const (in /home/user/work_ws/devel/lib/phoxi_camera/phoxi_camera)
==57062== by 0x56F58D7: boost::filesystem::filesystem_error::what() const (in /opt/Photoneo/PhoXiControl/API/lib/libPhoXi_API_gcc9.3.0_Release.so.1.9.1)
==57062== by 0x5580181: pho::LogCleanup::removeLogsOverSizeLimit() const [clone .cold] (in /opt/Photoneo/PhoXiControl/API/lib/libPhoXi_API_gcc9.3.0_Release.so.1.9.1)
==57062== by 0x4CABDE3: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28)
==57062== by 0x4896608: start_thread (pthread_create.c:477)
==57062== by 0x4EF1132: clone (clone.S:95)
==57062== Uninitialised value was created by a stack allocation
==57062== at 0x556B2E0: ??? (in /opt/Photoneo/PhoXiControl/API/lib/libPhoXi_API_gcc9.3.0_Release.so.1.9.1)
==57062==
==57062== Conditional jump or move depends on uninitialised value(s)
==57062== at 0x116232: boost::system::system_error::what() const (in /home/user/work_ws/devel/lib/phoxi_camera/phoxi_camera)
==57062== by 0x56F58D7: boost::filesystem::filesystem_error::what() const (in /opt/Photoneo/PhoXiControl/API/lib/libPhoXi_API_gcc9.3.0_Release.so.1.9.1)
==57062== by 0x5580181: pho::LogCleanup::removeLogsOverSizeLimit() const [clone .cold] (in /opt/Photoneo/PhoXiControl/API/lib/libPhoXi_API_gcc9.3.0_Release.so.1.9.1)
==57062== by 0x4CABDE3: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28)
==57062== by 0x4896608: start_thread (pthread_create.c:477)
==57062== by 0x4EF1132: clone (clone.S:95)
==57062== Uninitialised value was created by a stack allocation
==57062== at 0x556B2E0: ??? (in /opt/Photoneo/PhoXiControl/API/lib/libPhoXi_API_gcc9.3.0_Release.so.1.9.1)
==57062==
==57062== Conditional jump or move depends on uninitialised value(s)
==57062== at 0x483CF75: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==57062== by 0x11623C: boost::system::system_error::what() const (in /home/user/work_ws/devel/lib/phoxi_camera/phoxi_camera)
==57062== by 0x56F58D7: boost::filesystem::filesystem_error::what() const (in /opt/Photoneo/PhoXiControl/API/lib/libPhoXi_API_gcc9.3.0_Release.so.1.9.1)
==57062== by 0x5580181: pho::LogCleanup::removeLogsOverSizeLimit() const [clone .cold] (in /opt/Photoneo/PhoXiControl/API/lib/libPhoXi_API_gcc9.3.0_Release.so.1.9.1)
==57062== by 0x4CABDE3: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28)
==57062== by 0x4896608: start_thread (pthread_create.c:477)
==57062== by 0x4EF1132: clone (clone.S:95)
==57062== Uninitialised value was created by a stack allocation
==57062== at 0x556B2E0: ??? (in /opt/Photoneo/PhoXiControl/API/lib/libPhoXi_API_gcc9.3.0_Release.so.1.9.1)
==57062==
==57062== Invalid free() / delete / delete[] / realloc()
==57062== at 0x483CFBF: operator delete(void*) (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==57062== by 0x11623C: boost::system::system_error::what() const (in /home/user/work_ws/devel/lib/phoxi_camera/phoxi_camera)
==57062== by 0x56F58D7: boost::filesystem::filesystem_error::what() const (in /opt/Photoneo/PhoXiControl/API/lib/libPhoXi_API_gcc9.3.0_Release.so.1.9.1)
==57062== by 0x5580181: pho::LogCleanup::removeLogsOverSizeLimit() const [clone .cold] (in /opt/Photoneo/PhoXiControl/API/lib/libPhoXi_API_gcc9.3.0_Release.so.1.9.1)
==57062== by 0x4CABDE3: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28)
==57062== by 0x4896608: start_thread (pthread_create.c:477)
==57062== by 0x4EF1132: clone (clone.S:95)
==57062== Address 0x4db5ce0 is in the BSS segment of /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.28
==57062==
[ WARN] [1668232691.205532407]: Node is not connected to scanner

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

3 participants