-
Notifications
You must be signed in to change notification settings - Fork 47
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
Segmentation fault when training #44
Comments
Hi, Given the debug message, it seems that it relates to OpenCV. Did you try to Regards, On Wed, Aug 31, 2016 at 9:24 AM, Wesley-Lin [email protected]
|
Hi @hris2003 I have not asked OpenCV forum yet, I will do it soon. |
For what I know, ORK under indigo works best with OpenCV 2.4.11. On Wed, Aug 31, 2016 at 9:47 AM, Wesley-Lin [email protected]
|
Hi @hris2003 After I run the backtrace command "bt", I guess that the root cause might be at /home/ubuntu/catkin_ws/src/ork/linemod/src/linemod_train.cpp:159 (gdb) bt Could you please give me some advise ? |
Well, from the error message, it seems that linemod was trying to copy/get Do you think you can provide a rosbag of the training data on your ARM Have you tried contacting OpenCV? Given that linemod is part of OpenCV, Regards, On Wed, Aug 31, 2016 at 12:33 PM, Wesley-Lin [email protected]
|
Can I ask another question ? |
Hi @hris2003 I had solved the issue, but I encountered another issue. gdb --args python ./training -c |
Hi Sir,
I think that my issue is related to platform, I mean ORK has some problem is ARM. Because the ORK can run on my x86 desktop properly, however, that happen in Tegra TK1 (ARM).
I post the gdb message.
gdb --args python ./training -c
rospack find object_recognition_linemod
/conf/training.ork --visualizeGNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from python...(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/bin/python ./training -c /home/ubuntu/catkin_ws/src/ork/linemod/conf/training.ork --visualize
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New Thread 0xadd21460 (LWP 3417)]
Training 1 objects.
computing object_id: f3f45b3ae96a87c3508e19cf6d000405
[New Thread 0xad4a1460 (LWP 3419)]
[Thread 0xad4a1460 (LWP 3419) exited]
Program received signal SIGSEGV, Segmentation fault.
_Constructcv::Ptr<cv::linemod::Modality, cv::Ptrcv::linemod::Modality > (__value=..., __p=0x774b9008)
at /usr/include/c++/4.8/bits/stl_construct.h:83
83 ::new(static_cast<void*>(__p)) _T1(__value);
(gdb)
Can anyone help me solve the issue ?
Thanks in advance.
The text was updated successfully, but these errors were encountered: