WillAyd commented on PR #45854: URL: https://github.com/apache/arrow/pull/45854#issuecomment-2751339024
https://github.com/apache/arrow/issues/45011 may also be related - I do see test failures with mimalloc when run locally, even though this is on a 64 bit platform: ```sh def check_debug_memory_pool_disabled(pool_factory, env_value, msg): if sys.maxsize < 2**32: # GH-45011: mimalloc may print warnings in this test on 32-bit Linux, ignore. pytest.skip("Test may fail on 32-bit platforms") res = run_debug_memory_pool(pool_factory.__name__, env_value) # The subprocess either returned successfully or was killed by a signal # (due to writing out of bounds), depending on the underlying allocator. if os.name == "posix": assert res.returncode <= 0 else: res.check_returncode() if msg == "": > assert res.stderr == "" E AssertionError pyarrow/tests/test_memory.py:256: AssertionError >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> entering PDB >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> PDB post_mortem (IO-capturing turned off) >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > /arrow/pyarrow/tests/test_memory.py(256)check_debug_memory_pool_disabled() -> assert res.stderr == "" (Pdb) res.stderr 'mimalloc: warning: unable to allocate aligned OS memory directly, fall back to over-allocation (67108864 bytes, address: 0x77fd022f5000, alignment: 67108864, commit: 1) mimalloc: warning: mi_usable_size: pointer might not point to a valid heap region: 0x77fd00020080 (this may still be a valid very large allocation (over 64MiB)) mimalloc: warning: (yes, the previous pointer 0x77fd00020080 was valid after all) mimalloc: warning: mi_usable_size: pointer might not point to a valid heap region: 0x77fd00020080 (this may still be a valid very large allocation (over 64MiB)) mimalloc: warning: (yes, the previous pointer 0x77fd00020080 was valid after all) mimalloc: warning: mi_free: pointer might not point to a valid heap region: 0x77fd00020080 (this may still be a valid very large allocation (over 64MiB)) mimalloc: warning: (yes, the previous pointer 0x77fd00020080 was valid after all)' ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org