[Bug 1841831] [NEW] internal compiler error: Segmentation fault
Louis Kisinger
1841831 at bugs.launchpad.net
Wed Aug 28 18:38:50 UTC 2019
Public bug reported:
I am quite new at using software like this, so apologies in advance if I
make an obvious mistake
I am building the open source radiation transport simulator OpenMC. I am
following these steps:
1. git clone https://github.com/lkissin2/openmc
2. cd openmc
3. mkdir build
4. cd build
5. cmake ..
6. make
Everything went fine up to make, which got up to 96% before I got this
scary-looking output:
In file included from /home/lou/openmc/src/xsdata.cpp:9:0:
/home/lou/openmc/vendor/xtensor/include/xtensor/xindex_view.hpp: In instantiation of ‘xt::xfiltration<ECT, CCT>::self_type& xt::xfiltration<ECT, CCT>::apply(F&&) [with F = xt::xfiltration<ECT, CCT>::operator=(const E&) [with E = double; ECT = xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&; CCT = xt::xfunction<xt::detail::equal_to<double>, bool, const xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xscalar<const double> >; xt::disable_xexpression<E, xt::xfiltration<ECT, CCT>&> = xt::xfiltration<xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xfunction<xt::detail::equal_to<double>, bool, const xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xscalar<const double> > >&]::<lambda(xt::xfiltration<xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xfunction<xt::detail::equal_to<double>, bool, const xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xscalar<const double> > >::const_reference, bool)>; ECT = xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&; CCT = xt::xfunction<xt::detail::equal_to<double>, bool, const xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xscalar<const double> >; xt::xfiltration<ECT, CCT>::self_type = xt::xfiltration<xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xfunction<xt::detail::equal_to<double>, bool, const xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xscalar<const double> > >]’:
/home/lou/openmc/vendor/xtensor/include/xtensor/xindex_view.hpp:573:21: required from ‘xt::disable_xexpression<E, xt::xfiltration<ECT, CCT>&> xt::xfiltration<ECT, CCT>::operator=(const E&) [with E = double; ECT = xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&; CCT = xt::xfunction<xt::detail::equal_to<double>, bool, const xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xscalar<const double> >; xt::disable_xexpression<E, xt::xfiltration<ECT, CCT>&> = xt::xfiltration<xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xfunction<xt::detail::equal_to<double>, bool, const xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xscalar<const double> > >&]’
/home/lou/openmc/src/xsdata.cpp:105:59: required from here
/home/lou/openmc/vendor/xtensor/include/xtensor/xindex_view.hpp:647:5: internal compiler error: Segmentation fault
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
CMakeFiles/libopenmc.dir/build.make:2102: recipe for target 'CMakeFiles/libopenmc.dir/src/xsdata.cpp.o' failed
make[2]: *** [CMakeFiles/libopenmc.dir/src/xsdata.cpp.o] Error 1
CMakeFiles/Makefile2:68: recipe for target 'CMakeFiles/libopenmc.dir/all' failed
make[1]: *** [CMakeFiles/libopenmc.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
And I am submitting this bug report because the output tells me to.
** Affects: gcc-7 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-7 in Ubuntu.
https://bugs.launchpad.net/bugs/1841831
Title:
internal compiler error: Segmentation fault
Status in gcc-7 package in Ubuntu:
New
Bug description:
I am quite new at using software like this, so apologies in advance if
I make an obvious mistake
I am building the open source radiation transport simulator OpenMC. I
am following these steps:
1. git clone https://github.com/lkissin2/openmc
2. cd openmc
3. mkdir build
4. cd build
5. cmake ..
6. make
Everything went fine up to make, which got up to 96% before I got this
scary-looking output:
In file included from /home/lou/openmc/src/xsdata.cpp:9:0:
/home/lou/openmc/vendor/xtensor/include/xtensor/xindex_view.hpp: In instantiation of ‘xt::xfiltration<ECT, CCT>::self_type& xt::xfiltration<ECT, CCT>::apply(F&&) [with F = xt::xfiltration<ECT, CCT>::operator=(const E&) [with E = double; ECT = xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&; CCT = xt::xfunction<xt::detail::equal_to<double>, bool, const xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xscalar<const double> >; xt::disable_xexpression<E, xt::xfiltration<ECT, CCT>&> = xt::xfiltration<xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xfunction<xt::detail::equal_to<double>, bool, const xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xscalar<const double> > >&]::<lambda(xt::xfiltration<xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xfunction<xt::detail::equal_to<double>, bool, const xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xscalar<const double> > >::const_reference, bool)>; ECT = xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&; CCT = xt::xfunction<xt::detail::equal_to<double>, bool, const xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xscalar<const double> >; xt::xfiltration<ECT, CCT>::self_type = xt::xfiltration<xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xfunction<xt::detail::equal_to<double>, bool, const xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xscalar<const double> > >]’:
/home/lou/openmc/vendor/xtensor/include/xtensor/xindex_view.hpp:573:21: required from ‘xt::disable_xexpression<E, xt::xfiltration<ECT, CCT>&> xt::xfiltration<ECT, CCT>::operator=(const E&) [with E = double; ECT = xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&; CCT = xt::xfunction<xt::detail::equal_to<double>, bool, const xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xscalar<const double> >; xt::disable_xexpression<E, xt::xfiltration<ECT, CCT>&> = xt::xfiltration<xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xfunction<xt::detail::equal_to<double>, bool, const xt::xtensor_container<xt::uvector<double, std::allocator<double> >, 2, (xt::layout_type)1, xt::xtensor_expression_tag>&, xt::xscalar<const double> > >&]’
/home/lou/openmc/src/xsdata.cpp:105:59: required from here
/home/lou/openmc/vendor/xtensor/include/xtensor/xindex_view.hpp:647:5: internal compiler error: Segmentation fault
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
CMakeFiles/libopenmc.dir/build.make:2102: recipe for target 'CMakeFiles/libopenmc.dir/src/xsdata.cpp.o' failed
make[2]: *** [CMakeFiles/libopenmc.dir/src/xsdata.cpp.o] Error 1
CMakeFiles/Makefile2:68: recipe for target 'CMakeFiles/libopenmc.dir/all' failed
make[1]: *** [CMakeFiles/libopenmc.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
And I am submitting this bug report because the output tells me to.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-7/+bug/1841831/+subscriptions
More information about the foundations-bugs
mailing list