Bug#996277: deal.ii: autopkgtest needs update for new version of gcc-defaults: An error occurred in line <1048> of file <./source/fe/mapping_q_generic.cc> in function

Paul Gevers elbrus at debian.org
Tue Oct 12 20:46:10 BST 2021


Source: deal.ii
Version: 9.3.0-1
Severity: serious
Tags: sid bookworm
User: debian-ci at lists.debian.org
Usertags: needs-update
Control: affects -1 src:gcc-defaults

[X-Debbugs-CC: debian-ci at lists.debian.org, gcc-defaults at packages.debian.org]

Dear maintainer(s),

With a recent upload of gcc-defaults the autopkgtest of deal.ii fails in
testing on amd64 and ppc64el when that autopkgtest is run with the
binary packages of gcc-defaults from unstable. It passes when run with
only packages from testing. In tabular form:

                       pass            fail
gcc-defaults           from testing    1.194
deal.ii                from testing    9.3.0-1
all others             from testing    from testing

I copied some of the output on amd64 at the bottom of this report;
ppc64el fails in a different way.

Currently this regression is blocking the migration of gcc-defaults to
testing [1]. Of course, gcc-defaults shouldn't just break your
autopkgtest (or even worse, your package), but it seems to me that the
change in gcc-defaults was intended and your package needs to update to
the new situation.

If this is a real problem in your package (and not only in your
autopkgtest), the right binary package(s) from gcc-defaults should
really add a versioned Breaks on the unfixed version of (one of your)
package(s). Note: the Breaks is nice even if the issue is only in the
autopkgtest as it helps the migration software to figure out the right
versions to combine in the tests.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=gcc-defaults

https://ci.debian.net/data/autopkgtest/testing/amd64/d/deal.ii/15913694/log.gz

-- Build files have been written to:
/tmp/autopkgtest-lxc.hp8op3fo/downtmp/autopkgtest_tmp/examples/step-50
make
[ 50%] Building CXX object CMakeFiles/step-50.dir/step-50.cc.o
In file included from
/usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
                 from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23,
                 from
/usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
                 from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42,
                 from
/usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
                 from /usr/include/boost/smart_ptr/shared_ptr.hpp:29,
                 from
/usr/include/boost/archive/detail/helper_collection.hpp:27,
                 from
/usr/include/boost/archive/detail/basic_iarchive.hpp:28,
                 from
/usr/include/boost/archive/detail/common_iarchive.hpp:21,
                 from
/usr/include/boost/archive/basic_binary_iarchive.hpp:30,
                 from
/usr/include/boost/archive/binary_iarchive_impl.hpp:21,
                 from /usr/include/boost/archive/binary_iarchive.hpp:20,
                 from /usr/include/deal.II/base/utilities.h:45,
                 from /usr/include/deal.II/base/tensor.h:26,
                 from /usr/include/deal.II/base/point.h:23,
                 from /usr/include/deal.II/base/geometry_info.h:24,
                 from /usr/include/deal.II/base/data_out_base.h:22,
                 from
/tmp/autopkgtest-lxc.hp8op3fo/downtmp/autopkgtest_tmp/examples/step-50/step-50.cc:29:
/usr/include/boost/detail/no_exceptions_support.hpp:17:1: note: ‘#pragma
message: This header is deprecated. Use
<boost/core/no_exceptions_support.hpp> instead.’
   17 | BOOST_HEADER_DEPRECATED("<boost/core/no_exceptions_support.hpp>")
      | ^~~~~~~~~~~~~~~~~~~~~~~
[100%] Linking CXX executable step-50
[100%] Built target step-50
./step-50 gmg_mb_2d.prm
Cycle 0:
   Number of active cells:       12 (2 global levels)
   Partition efficiency:         1
   Number of degrees of freedom: 65 (by level: 21, 65)

--------------------------------------------------------
An error occurred in line <1048> of file
<./source/fe/mapping_q_generic.cc> in function
    dealii::CellSimilarity::Similarity dealii::MappingQGeneric<dim,
spacedim>::fill_fe_values(const typename dealii::Triangulation<dim,
spacedim>::cell_iterator&, dealii::CellSimilarity::Similarity, const
dealii::Quadrature<dim>&, const typename dealii::Mapping<dim,
spacedim>::InternalDataBase&,
dealii::internal::FEValuesImplementation::MappingRelatedData<dim,
spacedim>&) const [with int dim = 2; int spacedim = 2; typename
dealii::Triangulation<dim, spacedim>::cell_iterator =
dealii::TriaIterator<dealii::CellAccessor<2, 2> >; typename
dealii::Mapping<dim, spacedim>::InternalDataBase = dealii::Mapping<2,
2>::InternalDataBase]
The violated condition was:
    det > 1e-12 * Utilities::fixed_power<dim>( cell->diameter() /
std::sqrt(double(dim)))
Additional information:
    The image of the mapping applied to cell with center [-1 -0.125] is
    distorted. The cell geometry or the mapping are invalid, giving a
    non-positive volume fraction of -0.221825 in quadrature point 0.

Stacktrace:
-----------
#0  /lib/x86_64-linux-gnu/libdeal.ii.g.so.9.3.0:
dealii::MappingQGeneric<2,
2>::fill_fe_values(dealii::TriaIterator<dealii::CellAccessor<2, 2> >
const&, dealii::CellSimilarity::Similarity, dealii::Quadrature<2>
const&, dealii::Mapping<2, 2>::InternalDataBase const&,
dealii::internal::FEValuesImplementation::MappingRelatedData<2, 2>&) const
#1  /lib/x86_64-linux-gnu/libdeal.ii.g.so.9.3.0: dealii::FEValues<2,
2>::do_reinit()
#2  /lib/x86_64-linux-gnu/libdeal.ii.g.so.9.3.0: void
dealii::FEValues<2,
2>::reinit<false>(dealii::TriaIterator<dealii::DoFCellAccessor<2, 2,
false> > const&)
#3  ./step-50: LaplaceProblem<2, 2>::assemble_system()
#4  ./step-50: LaplaceProblem<2, 2>::run()
#5  ./step-50: main
--------------------------------------------------------

[ci-284-eb93abdc:11409] *** Process received signal ***
[ci-284-eb93abdc:11409] Signal: Aborted (6)
[ci-284-eb93abdc:11409] Signal code:  (-6)
[ci-284-eb93abdc:11409] [ 0]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x138e0)[0x7fc5544258e0]
[ci-284-eb93abdc:11409] [ 1]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x141)[0x7fc538364e71]
[ci-284-eb93abdc:11409] [ 2]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x112)[0x7fc53834e536]
[ci-284-eb93abdc:11409] [ 3]
/lib/x86_64-linux-gnu/libdeal.ii.g.so.9.3.0(_ZN6dealii18deal_II_exceptions9internals22do_issue_error_nothrowERKNS_13ExceptionBaseE+0x0)[0x7fc54b12a61b]
[ci-284-eb93abdc:11409] [ 4]
/lib/x86_64-linux-gnu/libdeal.ii.g.so.9.3.0(_ZN6dealii18deal_II_exceptions9internals20issue_error_noreturnINS_7MappingILi2ELi2EE22ExcDistortedMappedCellEEEvNS1_17ExceptionHandlingEPKciS8_S8_S8_T_+0x88)[0x7fc546f9dca2]
[ci-284-eb93abdc:11409] [ 5]
/lib/x86_64-linux-gnu/libdeal.ii.g.so.9.3.0(_ZNK6dealii15MappingQGenericILi2ELi2EE14fill_fe_valuesERKNS_12TriaIteratorINS_12CellAccessorILi2ELi2EEEEENS_14CellSimilarity10SimilarityERKNS_10QuadratureILi2EEERKNS_7MappingILi2ELi2EE16InternalDataBaseERNS_8internal22FEValuesImplementation18MappingRelatedDataILi2ELi2EEE+0x68f)[0x7fc54997c453]
[ci-284-eb93abdc:11409] [ 6]
/lib/x86_64-linux-gnu/libdeal.ii.g.so.9.3.0(_ZN6dealii8FEValuesILi2ELi2EE9do_reinitEv+0xd9)[0x7fc5470aab15]
[ci-284-eb93abdc:11409] [ 7]
/lib/x86_64-linux-gnu/libdeal.ii.g.so.9.3.0(_ZN6dealii8FEValuesILi2ELi2EE6reinitILb0EEEvRKNS_12TriaIteratorINS_15DoFCellAccessorILi2ELi2EXT_EEEEE+0x2a6)[0x7fc546fd8270]
[ci-284-eb93abdc:11409] [ 8]
./step-50(_ZN14LaplaceProblemILi2ELi2EE15assemble_systemEv+0x2df)[0x560e1aa6c4ef]
[ci-284-eb93abdc:11409] [ 9]
./step-50(_ZN14LaplaceProblemILi2ELi2EE3runEv+0x32e)[0x560e1aa60f9c]
[ci-284-eb93abdc:11409] [10] ./step-50(main+0x121)[0x560e1aa423fa]
[ci-284-eb93abdc:11409] [11]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea)[0x7fc53834fe4a]
[ci-284-eb93abdc:11409] [12] ./step-50(_start+0x2a)[0x560e1aa40d3a]
[ci-284-eb93abdc:11409] *** End of error message ***
Aborted

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20211012/35053669/attachment.sig>


More information about the debian-science-maintainers mailing list