Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libpq.dll not compatible with uacrtbase.dll v10.0.20348.2461 #223

Open
JaqucesT opened this issue Jun 12, 2024 · 0 comments
Open

libpq.dll not compatible with uacrtbase.dll v10.0.20348.2461 #223

JaqucesT opened this issue Jun 12, 2024 · 0 comments

Comments

@JaqucesT
Copy link

when trying to upgrade our v7.6 mapserver to v8.0.1 we got crashes of MapServer when using CLUSTER-Styles.
Dump-file analysis revealed that libpq.dll crashes because of Heap corruption through uacrtbase.dll.

EXCEPTION_RECORD: (.exr -1)
ExceptionAddress: 00007fff89bc3579 (ntdll!RtlReportFatalFailure+0x0000000000000009)
ExceptionCode: c0000374
ExceptionFlags: 00000081
NumberParameters: 1
Parameter[0]: 00007fff89c30820

PROCESS_NAME: libpq.dll

ERROR_CODE: (NTSTATUS) 0xc0000374 - Heap corruption

EXCEPTION_CODE_STR: c0000374

EXCEPTION_PARAMETER1: 00007fff89c30820

--
STACK_COMMAND: ~0s; .ecxr ; kb

SYMBOL_NAME: ucrtbase!_free_base+1b

MODULE_NAME: ucrtbase

IMAGE_NAME: ucrtbase.dll

FAILURE_BUCKET_ID: HEAP_CORRUPTION_c0000374_ucrtbase.dll!_free_base

OS_VERSION: 10.0.20348.1

BUILDLAB_STR: fe_release

OSPLATFORM_TYPE: x64

OSNAME: Windows 10

IMAGE_VERSION: 10.0.20348.2461

Setup was running in windows server 2022 21H2 datacenter edition. The same setup worked on a plain windows 10 machine.
Microsoft claims that you cannot use a different uacrtbase.dll as the one installed for windows by ms.
So i exchanged the release version of libpq.dll with one of OSGeo4W and the problem was solved.

Would be great to have a MapServer release that works on Windows Server.

Thanks and best regards
Stefan H.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant