Test failure with v4.11

Questions and problems about using polymake go here.
mjo
Posts: 3
Joined: 13 Nov 2023, 23:01

Test failure with v4.11

Postby mjo » 13 Nov 2023, 23:12

I don't think this failure is new, but I was reminded of it by the new version:

Code: Select all

[ /topaz/functions/Producing a new simplicial complex from others/bistellar_simplification ] 1/usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/bits/basic_string.h:1341: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::back() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; const_reference = const char&]: Assertion '!empty()' failed.
This is on Gentoo (a moving target) but is reproducible. If that failure is in glibc, it's worth mentioning that I have assertions enabled via -D_GLIBCXX_ASSERTIONS. For everything else, here's my config.ninja:

Code: Select all

# last configured with: configure.command=/var/lib/portage/tmp/portage/sci-mathematics/polymake-4.11/work/polymake-4.11/configure CC=x86_64-pc-linux-gnu-gcc CFLAGS='-O2 -pipe -march=native' CXX=x86_64-pc-linux-gnu-g++ CXXFLAGS='-O2 -pipe -march=native' CXXOPT= LDFLAGS='-Wl,-O1 -Wl,--as-needed' --without-bliss --without-callable --with-cdd=/usr --with-flint=/usr --without-java --without-javaview --libdir=/usr/lib64 --libexecdir=/usr/lib64/polymake --with-libnormaliz=/usr --without-lrs --without-native --with-nauty=/usr --without-openmp --with-ppl=/usr --prefix=/usr --without-scip --with-singular=/usr --without-soplex root=/var/lib/portage/tmp/portage/sci-mathematics/polymake-4.11/work/polymake-4.11 core.includes=-I${root}/include/core-wrappers -I${root}/include/core app.includes=-I${root}/include/app-wrappers -I${root}/include/apps -I${root}/include/external/permlib -I${root}/include/external/TOSimplex -I${root}/include/external/Miniball CC = x86_64-pc-linux-gnu-gcc CXX = x86_64-pc-linux-gnu-g++ CFLAGS = -O2 -pipe -march=native CXXFLAGS = -O2 -pipe -march=native -std=c++14 -ftemplate-depth-200 -fno-strict-aliasing -Wshadow -Wlogical-op -Wconversion -Wzero-as-null-pointer-constant -Wno-parentheses -Wno-error=unused-function -Wno-stringop-overflow -Wno-array-bounds -Wno-maybe-uninitialized -Wno-free-nonheap-object -I/usr/include -DPOLYMAKE_WITH_FLINT CsharedFLAGS = -fPIC -pipe CXXOPT = CXXDEBUG = -g CXXCOV = --coverage -O1 CXXSANITIZE = -fno-omit-frame-pointer -O1 -g CflagsSuppressWarnings = -Wno-unused-result -Wno-stringop-overflow GCCversion = 13.2.1 CPPStd = 201402 LDFLAGS = -Wl,-O1 -Wl,--as-needed -L/usr/lib64 -Wl,-rpath,/usr/lib64 LDsharedFLAGS = -shared -O2 -pipe -march=native -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed -Wl,-z,lazy LDcallableFLAGS = none LIBS = -lflint -lmpfr -lgmp -lpthread ExternalHeaders = permlib TOSimplex Miniball Arch = x86_64 BundledExts = cdd flint libnormaliz nauty ppl singular atint BuildModes = Opt Debug InstallTop = /usr/share/polymake InstallArch = /usr/lib64/polymake InstallBin = /usr/bin InstallInc = /usr/include InstallLib = /usr/lib64 AR = x86_64-pc-linux-gnu-ar GMP.version = 6.3.0 MPFR.version = 4.2.1 bundled.atint.RequireExtensions=cdd bundled.cdd.UseBundled = 0 bundled.cdd.CFLAGS = -I/usr/include/cddlib bundled.cdd.LDFLAGS = -L/usr/lib64 bundled.cdd.LIBS = -lcddgmp bundled.cdd.RequireExtensions= bundled.flint.RequireExtensions= bundled.libnormaliz.UseBundled = 0 bundled.libnormaliz.CXXFLAGS = -I/usr/include bundled.libnormaliz.LDFLAGS = -L/usr/lib64 -Wl,-rpath,/usr/lib64 bundled.libnormaliz.LIBS = -lnormaliz -lnauty -lgmpxx bundled.libnormaliz.RequireExtensions= bundled.nauty.CXXFLAGS = -I/usr/include bundled.nauty.LDFLAGS = -L/usr/lib64 bundled.nauty.LIBS = -lnauty bundled.nauty.RequireExtensions= bundled.ppl.CXXFLAGS = -I/usr/include -Wno-class-memaccess bundled.ppl.LDFLAGS = -L/usr/lib64 bundled.ppl.LIBS = -lppl bundled.ppl.RequireExtensions= bundled.singular.CXXFLAGS = -I/usr/include -I/usr/include/singular -DSING_NDEBUG -DOM_NDEBUG -Wno-unused-value bundled.singular.LDFLAGS = -L/usr/lib64 -Wl,-rpath,/usr/lib64 bundled.singular.LIBS = -lSingular -lpolys -lsingular_resources -lfactory -lomalloc -lfactory -lsingular_resources -lpolys -lomalloc -ldl bundled.singular.RequireExtensions=
I should also mention that I needed to enter the wrong polymake version to register for the forum :)

blorenz
Developer
Posts: 141
Joined: 10 Jan 2011, 17:21

Re: Test failure with v4.11

Postby blorenz » 13 Nov 2023, 23:42

I guess that is the same issue as reported in this topic.
This patch should fix it: https://polymake.org/downloads/barycentric_subdiv.patch

Benjamin

mjo
Posts: 3
Joined: 13 Nov 2023, 23:01

Re: Test failure with v4.11

Postby mjo » 13 Nov 2023, 23:53

It certainly looks like it, thanks! I'll test and report back if there are any further test failures.


Return to “Helpdesk”