During install of PostgreSQL using binary zip file , this error occurs , when i try to run this command
initdb.exe -U postgres -A password -E utf8 -W -D C:\pgsql\data.
Error Message:
"initdb initialize a new database cluster has stopped working"
it works on some machines and fails on others, I am using latest version 13.2 binaries.
Windows Event log:
Faulting application name: initdb.exe, version: 13.0.1.20314, time stamp: 0x5faa5f0f
Faulting module name: ucrtbase.dll, version: 10.0.14393.3659, time stamp: 0x5e9140a1
Exception code: 0xc0000409
Fault offset: 0x000000000006c9e8
Faulting process id: 0x579c
Faulting application start time: 0x01d72d5bc0a912a0
Faulting application path: C:\pgsql\bin\initdb.exe
Faulting module path: C:\WINDOWS\System32\ucrtbase.dll
Report Id: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Faulting package full name:
Faulting package-relative application ID: