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

Compile error: internal compiler error: Segmentation fault #35

Open
zjuzly opened this issue Jun 24, 2022 · 1 comment
Open

Compile error: internal compiler error: Segmentation fault #35

zjuzly opened this issue Jun 24, 2022 · 1 comment

Comments

@zjuzly
Copy link

zjuzly commented Jun 24, 2022

When I include mapmap into my project, it report internal compiler error: Segmentation fault.
The detail error information:
"
In file included from /usr/local/include/opencv2/core.hpp:3281:0,
from /usr/local/include/opencv2/opencv.hpp:52,
from /mnt/dev/myproject/src/test_mapmap.h:11,
from /mnt/dev/myproject/src/test_mapmap.cc:13:
/usr/local/include/opencv2/core/utility.hpp: In instantiation of 'class cv::TLSDatacv::instr::NodeDataTls':
/usr/local/include/opencv2/core/utility.hpp:1247:26: required from here
/usr/local/include/opencv2/core/utility.hpp:764:17: internal compiler error: Segmentation fault

    inline void gather(std::vector<T*> &data) const
             ^

Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-5/README.Bugs for instructions.
"
While the error missing when I comment the reference to mapmap.
I try to change the opencv version to 4.1, unfortunately it report the same error!

The gcc version:
gcc (Ubuntu 5.5.0-12ubuntu1) 5.5.0 20171010
opencv: 3.4.0

Looking forward to your reply!

@dthuerck
Copy link
Owner

Wow, I have never seen a segfault in the compiler. Could you please try another compiler, e.g., clang?

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

2 participants