mimalloc
mimalloc copied to clipboard
x86 segmentation fault stress_test(s)
Not sure if this has been seen anywhere else, but for i686 ran this through a CI pipeline, this segmentation fault occurred. 3.0.10. Options: MI_SECURE
https://github.com/void-linux/void-packages/actions/runs/18393201902/job/52407514397?pr=57456
[0/1] Running tests...
Test project /builddir/mimalloc-3.0.10/build
Start 1: test-api
1/4 Test #1: test-api ......................... Passed 0.02 sec
Start 2: test-api-fill
2/4 Test #2: test-api-fill .................... Passed 0.00 sec
Start 3: test-stress
3/4 Test #3: test-stress ......................***Exception: SegFault 0.43 sec
Start 4: test-stress-dynamic
4/4 Test #4: test-stress-dynamic ..............***Failed 0.42 sec
mimalloc: option 'show_errors': 0
mimalloc: option 'show_stats': 0
mimalloc: option 'verbose': 1
mimalloc: option 'eager_commit': 1
mimalloc: option 'arena_eager_commit': 2
mimalloc: option 'purge_decommits': 1
mimalloc: option 'allow_large_os_pages': 2
mimalloc: option 'reserve_huge_os_pages': 0
mimalloc: option 'reserve_huge_os_pages_at': -1
mimalloc: option 'reserve_os_memory': 0 KiB
mimalloc: option 'deprecated_segment_cache': 0
mimalloc: option 'deprecated_page_reset': 0
mimalloc: option 'abandoned_page_purge': 0
mimalloc: option 'deprecated_segment_reset': 0
mimalloc: option 'eager_commit_delay': 1
mimalloc: option 'purge_delay': 1000
mimalloc: option 'use_numa_nodes': 0
mimalloc: option 'disallow_os_alloc': 0
mimalloc: option 'os_tag': 100
mimalloc: option 'max_errors': 32
mimalloc: option 'max_warnings': 32
mimalloc: option 'deprecated_max_segment_reclaim': 10
mimalloc: option 'destroy_on_exit': 0
mimalloc: option 'arena_reserve': 131072 KiB
mimalloc: option 'arena_purge_mult': 1
mimalloc: option 'deprecated_purge_extend_delay': 1
mimalloc: option 'disallow_arena_alloc': 0
mimalloc: option 'retry_on_oom': 400
mimalloc: option 'visit_abandoned': 0
mimalloc: option 'guarded_min': 0
mimalloc: option 'guarded_max': 1073741824
mimalloc: option 'guarded_precise': 0
mimalloc: option 'guarded_sample_rate': 0
mimalloc: option 'guarded_sample_seed': 0
mimalloc: option 'page_reclaim_on_free': 0
mimalloc: option 'page_full_retain': 2
mimalloc: option 'page_max_candidates': 4
mimalloc: option 'max_vabits': 0
mimalloc: option 'pagemap_commit': 0
mimalloc: option 'page_commit_on_demand': 0
mimalloc: process init: 0xF4E31880
mimalloc: secure level: 4
mimalloc: mem tracking: none
mimalloc: reserved 131072 KiB memory
mimalloc: error: thread 0xEB3ACB40: unable to allocate memory for thread local data
mimalloc: error: thread 0xECBAFB40: unable to allocate memory for thread local data
mimalloc: error: thread 0xEC3AEB40: unable to allocate memory for thread local data
mimalloc: error: thread 0xEBBADB40: unable to allocate memory for thread local data
mimalloc: error: thread 0xEABABB40: unable to allocate memory for thread local data
Segmentation fault
50% tests passed, 2 tests failed out of 4
Total Test time (real) = 0.88 sec
The following tests FAILED:
3 - test-stress (SEGFAULT)
4 - test-stress-dynamic (Failed)
Errors while running CTest
FAILED: [code=8] CMakeFiles/test.util