bug#79444: baseenc SIGSEGV on macOS

Bruno Haible via GNU coreutils Bug Reports <[email protected]>
Newsgroups gmane.comp.gnu.core-utils.bugs
Organization GNU
Message-ID <4712724.x7diuxGUSM@nimes>
Today's CI (coreutils master, gnulib master) reports a test failure on
macOS 13 and macOS 15.


On macOS 13:

FAIL: tests/basenc/basenc
=========================

basenc (GNU coreutils) 2025-09-13
Copyright (C) 2025 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Simon Josefsson and Assaf Gordon.
help...
error...
noenc...
extra...
empty1...
empty2...
empty3...
empty4...
empty5...
empty6...
empty7...
empty8...
empty9...
empty1d...
sh: line 1: 70606 Segmentation fault: 11  basenc --base64 -d 'empty1d.1' > empty1d.O 2> empty1d.E
basenc.pl: test empty1d failed: exit status mismatch:  expected 0, got 139
empty2d...
sh: line 1: 70609 Segmentation fault: 11  basenc --base64url -d 'empty2d.1' > empty2d.O 2> empty2d.E
basenc.pl: test empty2d failed: exit status mismatch:  expected 0, got 139
empty3d...
sh: line 1: 70611 Segmentation fault: 11  basenc --base32 -d 'empty3d.1' > empty3d.O 2> empty3d.E
basenc.pl: test empty3d failed: exit status mismatch:  expected 0, got 139
empty4d...
sh: line 1: 70613 Segmentation fault: 11  basenc --base32hex -d 'empty4d.1' > empty4d.O 2> empty4d.E
basenc.pl: test empty4d failed: exit status mismatch:  expected 0, got 139
empty5d...
empty6d...
empty7d...
empty8d...
empty9d...
b64_1...
b64_2...
b64_3...
b64u_1...
b64u_2...
b64u_3...
b64u_4...
b64u_5...
b64u_6...
b64u_7...
b64_bug49741...
b32_1...
b32_2...
b32_3...
b32_4...
b32_5...
b32_6...
b32h_1...
b32h_2...
b32h_3...
b32h_4...
b32h_5...
b32h_6...
b32h_7...
b32h_8...
b32h_9...
b32h_10...
b32h_11...
b16_1...
b16_2...
b16_3...
b16_4...
b16_5...
b16_6...
b16_7...
b16_8...
b16_9...
b16_10...
b2m_1...
b2m_2...
b2m_3...
b2m_4...
b2m_4p...
b2m_5...
b2m_6...
b2m_7...
b2m_8...
b2m_9...
b2m_10...
b2m_11...
b2m_12...
b2l_1...
b2l_2...
b2l_3...
b2l_4...
b2l_5...
b2l_6...
b2l_7...
b2l_8...
b2l_9...
b2l_10...
b2l_11...
b2l_12...
z85_1...
z85_2...
z85_3...
z85_4...
z85_5...
z85_6...
z85_7...
z85_8...
z85_9...
z85_10...
z85_11...
z85_12...
z85_20...
z85_21...
z85_22...
z85_23...
z85_24...
z85_30...
z85_31...
z85_32...
z85_33...
z85_34...
z85_35...
z85_40...
z85_41...
z85_42...
z85_43...
z85_44...
z85_45...
z85_46...
z85_47...
b58_1...
b58_2...
b58_3...
b58_4...
b58_5...
b58_6...
b58_7...
b58_8...
b58_9...
b58_10...
b58_11...
b58_buf1...
b58_buf2...
b58_chars1...
b58_chars2...
b58_inval_1...
b58_inval_2...
b58_inval_3...
b58_inval_4...
b58_inval_5...
b58_inval_6...
b32_paddec1...
b32_paddec2...
b32_paddec3...
b32_paddec4...
b32_baddecode1...
b32_baddecode2...
b32h_paddec1...
b32h_paddec2...
ctx_auto_pad1...
ctx_auto_pad2...
ctx_auto_pad3...
ctx_auto_pad4...
ctx_auto_pad5...
ctx_mixed_pad1...
ctx_mixed_pad2...
ctx_mixed_pad3...
ctx_mixed_pad4...
FAIL tests/basenc/basenc.pl (exit status: 1)


On macOS 15:


FAIL: tests/basenc/basenc
=========================

basenc (GNU coreutils) 2025-09-13
Copyright (C) 2025 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Simon Josefsson and Assaf Gordon.
help...
error...
noenc...
extra...
empty1...
empty2...
empty3...
empty4...
empty5...
empty6...
empty7...
empty8...
empty9...
empty1d...
empty2d...
empty3d...
sh: line 1: 70147 Segmentation fault: 11  basenc --base32 -d 'empty3d.1' > empty3d.O 2> empty3d.E
basenc.pl: test empty3d failed: exit status mismatch:  expected 0, got 139
empty4d...
sh: line 1: 70149 Segmentation fault: 11  basenc --base32hex -d 'empty4d.1' > empty4d.O 2> empty4d.E
basenc.pl: test empty4d failed: exit status mismatch:  expected 0, got 139
empty5d...
empty6d...
empty7d...
empty8d...
empty9d...
b64_1...
b64_2...
b64_3...
b64u_1...
b64u_2...
b64u_3...
b64u_4...
b64u_5...
b64u_6...
b64u_7...
b64_bug49741...
b32_1...
b32_2...
b32_3...
b32_4...
b32_5...
b32_6...
b32h_1...
b32h_2...
b32h_3...
b32h_4...
b32h_5...
b32h_6...
b32h_7...
b32h_8...
b32h_9...
b32h_10...
b32h_11...
b16_1...
b16_2...
b16_3...
b16_4...
b16_5...
b16_6...
b16_7...
b16_8...
b16_9...
b16_10...
b2m_1...
b2m_2...
b2m_3...
b2m_4...
b2m_4p...
b2m_5...
b2m_6...
b2m_7...
b2m_8...
b2m_9...
b2m_10...
b2m_11...
b2m_12...
b2l_1...
b2l_2...
b2l_3...
b2l_4...
b2l_5...
b2l_6...
b2l_7...
b2l_8...
b2l_9...
b2l_10...
b2l_11...
b2l_12...
z85_1...
z85_2...
z85_3...
z85_4...
z85_5...
z85_6...
z85_7...
z85_8...
z85_9...
z85_10...
z85_11...
z85_12...
z85_20...
z85_21...
z85_22...
z85_23...
z85_24...
z85_30...
z85_31...
z85_32...
z85_33...
z85_34...
z85_35...
z85_40...
z85_41...
z85_42...
z85_43...
z85_44...
z85_45...
z85_46...
z85_47...
b58_1...
b58_2...
b58_3...
b58_4...
b58_5...
b58_6...
b58_7...
b58_8...
b58_9...
b58_10...
b58_11...
b58_buf1...
b58_buf2...
b58_chars1...
b58_chars2...
b58_inval_1...
b58_inval_2...
b58_inval_3...
b58_inval_4...
b58_inval_5...
b58_inval_6...
b32_paddec1...
b32_paddec2...
b32_paddec3...
b32_paddec4...
b32_baddecode1...
b32_baddecode2...
b32h_paddec1...
b32h_paddec2...
ctx_auto_pad1...
ctx_auto_pad2...
ctx_auto_pad3...
ctx_auto_pad4...
ctx_auto_pad5...
ctx_mixed_pad1...
ctx_mixed_pad2...
ctx_mixed_pad3...
ctx_mixed_pad4...
FAIL tests/basenc/basenc.pl (exit status: 1)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.