Skip to content

Segmentation fault when training #44

@Wesley-Lin

Description

@Wesley-Lin

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 --visualize
GNU 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions