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

optimized out becasue of boost lock #175

Open
HeatherHu opened this issue Oct 17, 2016 · 0 comments
Open

optimized out becasue of boost lock #175

HeatherHu opened this issue Oct 17, 2016 · 0 comments

Comments

@HeatherHu
Copy link

Hi Everyone,

Did somebody meet the problem that optimized out when using lock? The debug info as follow:

``#0 __GI___pthread_mutex_lock (mutex=0x7fffb4042000)
at ../nptl/pthread_mutex_lock.c:66
#1 0x000000000044a248 in pthread_mutex_lock (m=)

at /usr/include/boost/thread/pthread/mutex.hpp:61

#2 lock (this=)

at /usr/include/boost/thread/pthread/mutex.hpp:113

#3 boost::unique_lockboost::mutex::lock (this=this@entry=0x7fffd0d95070)

at /usr/include/boost/thread/lock_types.hpp:346

#4 0x000000000047ca0d in unique_lock (m_=..., this=0x7fffd0d95070)

at /usr/include/boost/thread/lock_types.hpp:124

#5 ORB_SLAM::KeyFrame::GetConnectedKeyFrames (this=0x0)

at /home/wendy/catkin_ws/src/orb_slam/orb_slam/src/KeyFrame.cc:172

I have no idea about how to find the problem. Could some one meet this problem or give me a hint to figure out this. Really appreciate for your guys help.

Thanks.

Heather

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

1 participant