[MOAB-dev] errors during make check

Charles Henkel csh at henktech.com
Sat Nov 8 01:15:50 CST 2025


Context
            Ubuntu 24.04 LTS virtual machine hosted in Hyper-V on Windows Server 2016
            Working on the head of the repo obtained by git clone https://urldefense.us/v3/__https://bitbucket.org/fathomteam/moab__;!!G_uCfscf7eWS!YKmBIOytdoY40URpD89T007d-rW-BRp_B0xT090xQcdn37DXv1sSVyXyqM9V_JY4AhAMRD7m1FGpeWMQ$  (short hash 19bb18718)

Problem
            Failure during "make check" on vtk_test

            Contents of test/io/test-suite.log:

========================================
   MOAB 5.5.1: test/io/test-suite.log
========================================

# TOTAL: 11
# PASS:  10
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: vtk_test
==============

*** buffer overflow detected ***: terminated
FAIL vtk_test (exit status: 139)

Potential Cause
            During "make all", these errors occurred several times:

      In file included from /usr/include/stdio.h:980,
                 from /usr/include/c++/13/cstdio:42,
                 from /usr/include/c++/13/ext/string_conversions.h:45,
                 from /usr/include/c++/13/bits/basic_string.h:4109,
                 from /usr/include/c++/13/string:54,
                 from ../../../src/src/moab/Range.hpp:166,
                 from ../../../src/src/moab/Interface.hpp:47,
                 from ../../../src/src/moab/Core.hpp:19,
                 from ../../../src/test/io/VtkTest.cpp:1:
In function 'int snprintf(char*, size_t, const char*, ...)',
    inlined from 'bool test_read_write_element(const double*, unsigned int, const int*, const int*, unsigned int, unsigned int, unsigned int, moab::EntityType)' at ../../../src/test/io/VtkTest.cpp:959:20:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: warning: 'int __builtin___snprintf_chk(char*, long unsigned int, int, long unsigned int, const char*, ...)' specified bound 4096 exceeds destination size 4019 [-Wstringop-overflow=]
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~



________________________________
Charles S. Henkel
Henkel Technical Computing, LLC
5816 N Saint Louis Ave
Loveland, CO  80538
Office (970)776-9735 Mobile (970)732-2159



More information about the moab-dev mailing list