Task #2347
closed
Investigate why gcc46 segfaults when NameTree::const_iterator inherited from std::iterator<std::forward_iterator_tag, const name::Entry>
Added by Alex Afanasyev almost 10 years ago.
Updated almost 10 years ago.
Description
for not yet known reason, gcc4.6 on Ubuntu 12.04 segfaults when NameTree::const_iterator inherited from std::iterator<std::forward_iterator_tag, const name::Entry>:
[133/173] Compiling tests/daemon/mgmt/face-manager.cpp
../tests/daemon/mgmt/face-manager.cpp: In member function ‘void nfd::tests::MgmtFaceManager::LocalControlNextHopFaceIdNonLocal::test_method()’:
../tests/daemon/mgmt/face-manager.cpp:1859:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccseBdu8.out file, please attach this to your bugreport.
Files
- Description updated (diff)
- Category set to Build
- Target version set to v0.3
Please attach the preprocessed source.
- Subject changed from Investigate why gcc46 segfaults when NameTree::const_iterator inherited from std::iterator(std::forward_iterator_tag, const name::Entry) to Investigate why gcc46 segfaults when NameTree::const_iterator inherited from std::iterator<std::forward_iterator_tag, const name::Entry>
- Description updated (diff)
- Category set to Build
- Target version set to v0.3
Also, post the command line that invokes the compiler.
I'm able to reproduce the error with commit 74d540bbb5490e394da75eb9bff84d455f7e41fa, however ccseBdu8.out compiles fine in my environment.
I have confirmed that this is not an out-of-memory condition, because the same error occurs when the box is allocated 32GB memory.
Code seem to compile if I remove -g
flag
- Status changed from New to Code review
- Assignee set to Alex Afanasyev
- % Done changed from 0 to 50
What else is left in this Task?
We can close. There is nothing else to do. However, we never actually figure out what is the problem, just avoided it.
- Status changed from Code review to Closed
- % Done changed from 50 to 100
Also available in: Atom
PDF