Skip to content

mimalloc: warning: unable to directly request hinted aligned OS memory#112027

@furkanonder

Description

@furkanonder

Bug report

Bug description:

Configuration:

./configure --disable-gil --with-pydebug

Test Output:

dietpi@DietPi:~/cpython$ ./python -m test test_cmd_line -v ====================================================================== FAIL: test_pythonmalloc (test.test_cmd_line.CmdLineTest.test_pythonmalloc) (env_var='mimalloc', name='mimalloc') ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/dietpi/cpython/Lib/test/test_cmd_line.py", line 845, in test_pythonmallocself.check_pythonmalloc(env_var, name) File "/home/dietpi/cpython/Lib/test/test_cmd_line.py", line 811, in check_pythonmallocself.assertEqual(proc.stdout.rstrip(), name) AssertionError: 'mimalloc: warning: unable to directly request hin[119 chars]lloc' != 'mimalloc' - mimalloc: warning: unable to directly request hinted aligned OS memory (error: 2 (0x2), size: 0x40000000 bytes, alignment: 0x2000000, hint address: 0x20000000000) mimalloc ====================================================================== FAIL: test_pythonmalloc (test.test_cmd_line.CmdLineTest.test_pythonmalloc) (env_var='mimalloc_debug', name='mimalloc_debug') ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/dietpi/cpython/Lib/test/test_cmd_line.py", line 845, in test_pythonmallocself.check_pythonmalloc(env_var, name) File "/home/dietpi/cpython/Lib/test/test_cmd_line.py", line 811, in check_pythonmallocself.assertEqual(proc.stdout.rstrip(), name) AssertionError: 'mimalloc: warning: unable to directly request hin[125 chars]ebug' != 'mimalloc_debug' - mimalloc: warning: unable to directly request hinted aligned OS memory (error: 2 (0x2), size: 0x40000000 bytes, alignment: 0x2000000, hint address: 0x20000000000) mimalloc_debug ---------------------------------------------------------------------- Ran 56 tests in 41.751s FAILED (failures=2, skipped=2) test test_cmd_line failed test_cmd_line failed (2 failures) in 43.1 sec == Tests result: FAILURE == 1 test failed: test_cmd_line

Environment:

dietpi@DietPi:~/cpython$ uname -a Linux DietPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux 

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions