Skip to content

segfault installing on MacOS Sequioa #198

@PhracturedBlue

Description

@PhracturedBlue

I'm sure this is related to my system in some way, but I have no idea how to debug.
securefs 1.0 was working fine on MacOS Ventura, but after I upgraded to Sequioa, it required a new MacFuse.
I installed 4.10.2, and then 'brew' told me I needed to upgrade, which I did. This resulted in the tests failing with a segfault.
I wiped my brew installation and re-installed just in case, and still see the issue. I also tried MacFuse4.8 (the oldest compatible with Sequoia) with the same results. There isn't much interesting in the logs:

Start testing: Apr 11 03:20 UTC
----------------------------------------------------------
1/1 Testing: sec_test
1/1 Test: sec_test
Command: "/opt/homebrew/opt/cmake/bin/cmake" "-E" "env" "SECUREFS_TEST_REFERENCE=/private/tmp/securefs-mac-20250410-8901-8wryy7/test/reference" "/private/tmp/securefs-mac-20250410-8901-8wryy7/securefs_test"
Directory: /private/tmp/securefs-mac-20250410-8901-8wryy7
"sec_test" start time: Apr 11 03:20 UTC
Output:
----------------------------------------------------------
[Info] [0x1f04acc40] [2025-04-11 03:20:49.455767000 UTC] [get_random_number_engine()::Initializer::Initializer():39]    Random seed: 6739c5c0dc6e8245cf3d63560888672e9b2dc417106a22e67cb067e72a4ffe01b50de6bfe9107ecd719c5e9f22310702ccb8eb72e8085715ca114cc0c0bf317b505a6a4d86d140ca8064098b439169ce79e3bab4fe6c3d5bf2a8627157d9c84c15585a2c6d61fded208db26a2f46399058ff14cce1e6e6659db449f269144309e41e7dbe26f0db215fdcd5f859b1d78303ec8b1302fc5bf07ad322c84633dafac7e812209c67eced7a0197fd00fc165f9e0d1c03e938681c5bb7344169f7ae822f08a3d8979e464b4074327f366715582af6ccaf19ffeb05cb36af4c759e00472e2007cd0d463f3515803413fc72121b092b421a49f4e358caf840bffb525566
[Info] [0x1f04acc40] [2025-04-11 03:20:50.393946000 UTC] [void securefs::full_format::FileTable::init():32]    Root directory not initialized, creating... (No such file or directory (Opening /private/tmp/securefs-mac-20250410-8901-8wryy7/tmp/fullcb0b2f4bd4b3330ed4e66402fc65f588dir/00/0000000000/0000000000000000000000000000000000000000000000000000 with flags 02))
[Info] [0x1f04acc40] [2025-04-11 03:20:50.397151000 UTC] [void securefs::full_format::FileTable::init():32]    Root directory not initialized, creating... (No such file or directory (Opening /private/tmp/securefs-mac-20250410-8901-8wryy7/tmp/fullda1cc17d7a76614833e873a24439c22ddir/00/0000000000/0000000000000000000000000000000000000000000000000000 with flags 02))
[doctest] doctest version is "2.4.11"
[doctest] run with "--help" for options
===============================================================================
/private/tmp/securefs-mac-20250410-8901-8wryy7/test/test_params_io.cpp:31:
TEST CASE:  Decrypte legacy config

/private/tmp/securefs-mac-20250410-8901-8wryy7/test/test_params_io.cpp:31: FATAL ERROR: test case CRASHED: SIGSEGV - Segmentation violation signal

===============================================================================
[doctest] test cases:     15 |     14 passed | 1 failed | 10 skipped
[doctest] assertions: 393202 | 393202 passed | 0 failed |
[doctest] Status: FAILURE!
Segmentation fault
<end of output>
Test time =   1.41 sec
----------------------------------------------------------
Test Failed.
"sec_test" end time: Apr 11 03:20 UTC
"sec_test" time elapsed: 00:00:01
----------------------------------------------------------

End testing: Apr 11 03:20 UTC

brew list --versions:

brew list --versions
abseil 20240722.1
argon2 20190702_1
cmake 4.0.0
cryptopp 8.9.0
doctest 2.4.11
fruit 3.7.1
pkgconf 2.4.3
protobuf 29.3
readline 8.2.13
sqlite 3.49.1
tclap 1.2.5
uni-algo 1.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions