This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Running test suite gives me - python.exe(14198,0x114352dc0) malloc: can't allocate region
Type: behavior Stage: resolved
Components: Build, macOS Versions: Python 3.10
process
Status: closed Resolution: duplicate
Dependencies: Superseder: OS X: malloc(): set default diagnostics to DEBUG_WRITE_ON_CRASH
View: 40928
Assigned To: Nosy List: ned.deily, remi.lapeyre, ronaldoussoren, thatiparthy
Priority: normal Keywords:

Created on 2020-06-26 10:11 by thatiparthy, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (3)
msg372420 - (view) Author: Srinivas Reddy Thatiparthy(శ్రీనివాస్ రెడ్డి తాటిపర్తి) (thatiparthy) * Date: 2020-06-26 10:11
While running tests with `./python.exe Lib/test`, I see the following text in the console.

Is this a bug? 

``
python.exe(14198,0x114352dc0) malloc: can't allocate region
:*** mach_vm_map(size=842105263157895168, flags: 100) failed (error code=3)
python.exe(14198,0x114352dc0) malloc: *** set a breakpoint in malloc_error_break to debug
python.exe(14198,0x114352dc0) malloc: can't allocate region
:*** mach_vm_map(size=842105263157895168, flags: 100) failed (error code=3)
python.exe(14198,0x114352dc0) malloc: *** set a breakpoint in malloc_error_break to debug
python.exe(14198,0x114352dc0) malloc: can't allocate region
:*** mach_vm_map(size=421052631578947584, flags: 100) failed (error code=3)
python.exe(14198,0x114352dc0) malloc: *** set a breakpoint in malloc_error_break to debug
python.exe(14198,0x114352dc0) malloc: can't allocate region
:*** mach_vm_map(size=421052631578947584, flags: 100) failed (error code=3)
python.exe(14198,0x114352dc0) malloc: *** set a breakpoint in malloc_error_break to debug
``

My system is macOS Catalina 10.15.5 (19F101).

unman -a

Darwin Srinivass-MacBook-Pro.local 19.5.0 Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64 x86_64
msg372423 - (view) Author: Rémi Lapeyre (remi.lapeyre) * Date: 2020-06-26 12:53
This is probably related to issue 40928. Does the test succeed or fail when you do this?
msg372424 - (view) Author: Srinivas Reddy Thatiparthy(శ్రీనివాస్ రెడ్డి తాటిపర్తి) (thatiparthy) * Date: 2020-06-26 14:27
It was a success. And yes, this is a duplicate of issue 40928.
History
Date User Action Args
2022-04-11 14:59:32adminsetgithub: 85298
2020-11-07 11:38:01ronaldoussorensetstatus: open -> closed
type: behavior
superseder: OS X: malloc(): set default diagnostics to DEBUG_WRITE_ON_CRASH
resolution: duplicate
stage: resolved
2020-06-26 14:27:18thatiparthysetmessages: + msg372424
2020-06-26 12:53:10remi.lapeyresetnosy: + remi.lapeyre
messages: + msg372423
2020-06-26 12:31:19eric.smithsetnosy: + ronaldoussoren, ned.deily
components: + macOS
2020-06-26 10:12:23thatiparthysetcomponents: + Build
versions: + Python 3.10
2020-06-26 10:11:48thatiparthycreate