Bug#1137397: fortran-stdlib: FTBFS: free(): invalid pointer

Santiago Vila sanvila at debian.org
Sat May 23 14:46:11 BST 2026


Package: src:fortran-stdlib
Version: 0.8.1-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202605/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:fortran-stdlib, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with fortran --buildsystem=fortran
   debian/rules execute_before_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
find . -name temp -exec rm -rf {} \;
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_clean -O--buildsystem=fortran
DEBUG: fortran.pm dhf_commands tmpdir not set; setting
   dh_autoreconf_clean -O--buildsystem=fortran
   dh_clean -O--buildsystem=fortran
	rm -f debian/debhelper-build-stamp
	rm -rf debian/.debhelper/
	rm -f -- debian/libfortran-stdlib-dev.substvars debian/libfortran-stdlib-0.substvars debian/files
	rm -fr -- debian/libfortran-stdlib-dev/ debian/tmp/ debian/libfortran-stdlib-0/
	find .  \( \( \

[... snipped ...]

free(): invalid pointer

Program received signal SIGABRT: Process abort signal.

Backtrace for this error:
#0  0x7fbbc6827ec3 in ???
#1  0x7fbbc6826a75 in ???
#2  0x7fbbc6552e2f in ???
#3  0x7fbbc65a9cfc in ???
#4  0x7fbbc6552d01 in raise
#5  0x7fbbc653a4b1 in abort
#6  0x7fbbc653b4ea in ???
#7  0x7fbbc65b3c56 in ???
#8  0x7fbbc65b3c70 in ???
#9  0x7fbbc6c3bcea in __testdrive_MOD___final_testdrive_Unittest_type
#10  0x55a055c018e4 in __test_string_to_number_MOD_collect_string_to_number
#11  0x7fbbc6c47291 in __testdrive_MOD_run_testsuite
#12  0x55a055c02314 in MAIN__
#13  0x55a055c02430 in main
Aborted
# Testing: string-assignment
free(): invalid pointer

Program received signal SIGABRT: Process abort signal.

Backtrace for this error:
#0  0x7fdd88e27ec3 in ???
#1  0x7fdd88e26a75 in ???
#2  0x7fdd88c48e2f in ???
#3  0x7fdd88c9fcfc in ???
#4  0x7fdd88c48d01 in raise
#5  0x7fdd88c304b1 in abort
#6  0x7fdd88c314ea in ???
#7  0x7fdd88ca9c56 in ???
#8  0x7fdd88ca9c70 in ???
#9  0x7fdd892b4cea in __testdrive_MOD___final_testdrive_Unittest_type
#10  0x55cdd44a665e in __test_string_assignment_MOD_collect_string_assignment
#11  0x7fdd892c0291 in __testdrive_MOD_run_testsuite
#12  0x55cdd44a6ffb in MAIN__
#13  0x55cdd44a710c in main
Aborted
 test_insert_at_string_1: Starting test case 1!
 test_insert_at_string_1: Starting test case 2!
 test_insert_at_string_2: Starting test case 1!
 test_insert_at_string_2: Starting test case 2!
 test_insert_at_string_3: Starting test case 1!
 test_insert_at_string_3: Starting test case 2!
 test_insert_at_array:    Starting work_list!
 test_insert_at_array:    Starting reference_list!
 test_insert_at_list:     Starting work_list!
 test_insert_at_list:     Starting reference_list!
 test_constructor:        Starting test case 1!
 test_constructor:        Starting test case 2!
 test_constructor:        Starting test case 3!
# Testing: get_line
free(): invalid pointer

Program received signal SIGABRT: Process abort signal.

Backtrace for this error:
#0  0x7fb0f9e27ec3 in ???
#1  0x7fb0f9e26a75 in ???
#2  0x7fb0f9b52e2f in ???
#3  0x7fb0f9ba9cfc in ???
#4  0x7fb0f9b52d01 in raise
#5  0x7fb0f9b3a4b1 in abort
#6  0x7fb0f9b3b4ea in ???
#7  0x7fb0f9bb3c56 in ???
#8  0x7fb0f9bb3c70 in ???
#9  0x7fb0fa217cea in __testdrive_MOD___final_testdrive_Unittest_type
#10  0x556f255e3be5 in __test_get_line_MOD_collect_get_line
#11  0x7fb0fa223291 in __testdrive_MOD_run_testsuite
#12  0x556f255e462f in MAIN__
#13  0x556f255e4740 in main
Aborted
# Testing: npy
free(): invalid pointer

Program received signal SIGABRT: Process abort signal.

Backtrace for this error:
#0  0x7f2d3ea27ec3 in ???
#1  0x7f2d3ea26a75 in ???
#2  0x7f2d3e848e2f in ???
#3  0x7f2d3e89fcfc in ???
#4  0x7f2d3e848d01 in raise
#5  0x7f2d3e8304b1 in abort
#6  0x7f2d3e8314ea in ???
#7  0x7f2d3e8a9c56 in ???
#8  0x7f2d3e8a9c70 in ???
#9  0x7f2d3ee99cea in __testdrive_MOD___final_testdrive_Unittest_type
#10  0x555e4042e25f in __test_npy_MOD_collect_npy
#11  0x7f2d3eea5291 in __testdrive_MOD_run_testsuite
#12  0x555e4042eca9 in MAIN__
#13  0x555e4042edba in main
Aborted
# Testing: savetxt
free(): invalid pointer

Program received signal SIGABRT: Process abort signal.

Backtrace for this error:
#0  0x7fc2f8627ec3 in ???
#1  0x7fc2f8626a75 in ???
#2  0x7fc2f8352e2f in ???
#3  0x7fc2f83a9cfc in ???
#4  0x7fc2f8352d01 in raise
#5  0x7fc2f833a4b1 in abort
#6  0x7fc2f833b4ea in ???
#7  0x7fc2f83b3c56 in ???
#8  0x7fc2f83b3c70 in ???
#9  0x7fc2f89adcea in __testdrive_MOD___final_testdrive_Unittest_type
#10  0x55b82780097d in __test_savetxt_MOD_collect_savetxt
#11  0x7fc2f89b9291 in __testdrive_MOD_run_testsuite
#12  0x55b8278013b5 in MAIN__
#13  0x55b8278014c6 in main
Aborted
# Testing: open
free(): invalid pointer

Program received signal SIGABRT: Process abort signal.

Backtrace for this error:
#0  0x7f6f19c27ec3 in ???
#1  0x7f6f19c26a75 in ???
#2  0x7f6f19952e2f in ???
#3  0x7f6f199a9cfc in ???
#4  0x7f6f19952d01 in raise
#5  0x7f6f1993a4b1 in abort
#6  0x7f6f1993b4ea in ???
#7  0x7f6f199b3c56 in ???
#8  0x7f6f199b3c70 in ???
#9  0x7f6f1a034cea in __testdrive_MOD___final_testdrive_Unittest_type
#10  0x557a3c1bfd9b in __test_open_MOD_collect_open
#11  0x7f6f1a040291 in __testdrive_MOD_run_testsuite
#12  0x557a3c1c07c7 in MAIN__
#13  0x557a3c1c08d8 in main
Aborted
# Testing: parse_mode

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0  0x7fdfc0a27ec3 in ???
#1  0x7fdfc0a26a75 in ???
#2  0x7fdfc0752e2f in ???
#3  0x7fdfc07b8c93 in free
#4  0x7fdfc0d9fcea in __testdrive_MOD___final_testdrive_Unittest_type
#5  0x55d26825e4cc in __test_parse_mode_MOD_collect_parse_mode
#6  0x7fdfc0dab291 in __testdrive_MOD_run_testsuite
#7  0x55d26825eef8 in MAIN__
#8  0x55d26825f009 in main
Segmentation fault
# Testing: loadtxt
free(): invalid pointer

Program received signal SIGABRT: Process abort signal.

Backtrace for this error:
#0  0x7ffaeb627ec3 in ???
#1  0x7ffaeb626a75 in ???
#2  0x7ffaeb352e2f in ???
#3  0x7ffaeb3a9cfc in ???
#4  0x7ffaeb352d01 in raise
#5  0x7ffaeb33a4b1 in abort
#6  0x7ffaeb33b4ea in ???
#7  0x7ffaeb3b3c56 in ???
#8  0x7ffaeb3b3c70 in ???
#9  0x7ffaeb989cea in __testdrive_MOD___final_testdrive_Unittest_type
#10  0x56148c55cb5d in __test_loadtxt_MOD_collect_loadtxt
#11  0x7ffaeb995291 in __testdrive_MOD_run_testsuite
#12  0x56148c55d5a7 in MAIN__
#13  0x56148c55d6b8 in main
Aborted
# Testing: loadtxt_qp
free(): invalid pointer

Program received signal SIGABRT: Process abort signal.

Backtrace for this error:
#0  0x7f6ccb027ec3 in ???
#1  0x7f6ccb026a75 in ???
#2  0x7f6ccae48e2f in ???
#3  0x7f6ccae9fcfc in ???
#4  0x7f6ccae48d01 in raise
#5  0x7f6ccae304b1 in abort
#6  0x7f6ccae314ea in ???
#7  0x7f6ccaea9c56 in ???
#8  0x7f6ccaea9c70 in ???
#9  0x7f6ccb4a1cea in __testdrive_MOD___final_testdrive_Unittest_type
#10  0x55caf0c63f1a in __test_loadtxt_qp_MOD_collect_loadtxt_qp
#11  0x7f6ccb4ad291 in __testdrive_MOD_run_testsuite
#12  0x55caf0c64946 in MAIN__
#13  0x55caf0c64a57 in main
Aborted
# Testing: savetxt_qp
free(): invalid pointer

Program received signal SIGABRT: Process abort signal.

Backtrace for this error:
#0  0x7fed4b027ec3 in ???
#1  0x7fed4b026a75 in ???
#2  0x7fed4ad52e2f in ???
#3  0x7fed4ada9cfc in ???
#4  0x7fed4ad52d01 in raise
#5  0x7fed4ad3a4b1 in abort
#6  0x7fed4ad3b4ea in ???
#7  0x7fed4adb3c56 in ???
#8  0x7fed4adb3c70 in ???
#9  0x7fed4b445cea in __testdrive_MOD___final_testdrive_Unittest_type
#10  0x55a721c76f11 in __test_savetxt_qp_MOD_collect_savetxt_qp
#11  0x7fed4b451291 in __testdrive_MOD_run_testsuite
#12  0x55a721c778ae in MAIN__
#13  0x55a721c779bf in main
Aborted
<ERROR> Execution for object " test_selection " returned exit code  134
<ERROR> Execution for object " test_varn " returned exit code  134
<ERROR> Execution for object " test_var " returned exit code  134
<ERROR> Execution for object " test_rawmoment " returned exit code  134
<ERROR> Execution for object " test_moment " returned exit code  134
<ERROR> Execution for object " test_random " returned exit code  134
<ERROR> Execution for object " test_median " returned exit code  134
<ERROR> Execution for object " test_mean_f03 " returned exit code  134
<ERROR> Execution for object " test_mean " returned exit code  134
<ERROR> Execution for object " test_intrinsics " returned exit code  134
<ERROR> Execution for object " test_maps " returned exit code  134
<ERROR> Execution for object " test_optval " returned exit code  134
<ERROR> Execution for object " test_linspace " returned exit code  134
<ERROR> Execution for object " test_logspace " returned exit code  134
<ERROR> Execution for object " test_stdlib_math " returned exit code  134
<ERROR> Execution for object " test_meshgrid " returned exit code  134
<ERROR> Execution for object " test_stdlib_bitset_large " returned exit code  134
<ERROR> Execution for object " test_stdlib_bitset_64 " returned exit code  134
<ERROR> Execution for object " test_colors " returned exit code  134
<ERROR> Execution for object " test_ascii " returned exit code  134
<ERROR> Execution for object " test_subprocess " returned exit code  134
<ERROR> Execution for object " test_path " returned exit code  134
<ERROR> Execution for object " test_filesystem " returned exit code  134
<ERROR> Execution for object " test_os " returned exit code  134
<ERROR> Execution for object " test_linalg_matrix_property_checks " returned exit code  134
<ERROR> Execution for object " test_linalg_solve_iterative " returned exit code  134
<ERROR> Execution for object " test_linalg " returned exit code  134
<ERROR> Execution for object " test_linalg_sparse " returned exit code  134
<ERROR> Execution for object " test_blas_lapack " returned exit code  134
<ERROR> Execution for object " test_linalg_specialmatrices " returned exit code  134
<ERROR> Execution for object " test_gauss " returned exit code  134
<ERROR> Execution for object " test_simps " returned exit code  134
<ERROR> Execution for object " test_trapz " returned exit code  134
<ERROR> Execution for object " test_logicalloc " returned exit code  134
<ERROR> Execution for object " test_hash_functions " returned exit code  134
<ERROR> Execution for object " test_constants " returned exit code  134
<ERROR> Execution for object " test_sorting " returned exit code  134
<ERROR> Execution for object " test_specialfunctions_gamma " returned exit code  134
<ERROR> Execution for object " test_specialfunctions_activations " returned exit code  134
<ERROR> Execution for object " test_string_to_string " returned exit code  134
<ERROR> Execution for object " test_string_intrinsic " returned exit code  134
<ERROR> Execution for object " test_string_strip_chomp " returned exit code  134
<ERROR> Execution for object " test_string_match " returned exit code  134
<ERROR> Execution for object " test_string_functions " returned exit code  134
<ERROR> Execution for object " test_string_operator " returned exit code  134
<ERROR> Execution for object " test_string_derivedtype_io " returned exit code  134
<ERROR> Execution for object " test_string_to_number " returned exit code  134
<ERROR> Execution for object " test_string_assignment " returned exit code  134
<ERROR> Execution for object " test_get_line " returned exit code  134
<ERROR> Execution for object " test_npy " returned exit code  134
<ERROR> Execution for object " test_savetxt " returned exit code  134
<ERROR> Execution for object " test_open " returned exit code  134
<ERROR> Execution for object " test_parse_mode " returned exit code  139
<ERROR> Execution for object " test_loadtxt " returned exit code  134
<ERROR> Execution for object " test_loadtxt_qp " returned exit code  134
<ERROR> Execution for object " test_savetxt_qp " returned exit code  134
<ERROR> *cmd_run*:stopping due to failed executions
STOP 134
make[1]: *** [debian/rules:21: override_dh_auto_test] Error 134
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------



More information about the debian-science-maintainers mailing list