windbg_dump_analyze.txt

text/plain

Filename: windbg_dump_analyze.txt
Type: text/plain
Part: 0
Message: postgres access violation in pg_detoast_datum
Loading Dump File [D:\logs\PIDS\crash_dumps\postgres.exe.14104.dmp]
User Mini Dump File: Only registers, stack and portions of memory are available


************* Path validation summary **************
Response                         Time (ms)     Location
Deferred                                       srv*
Symbol search path is: srv*
Executable search path is: 
Windows 10 Version 19044 MP (18 procs) Free x64
Product: WinNt, suite: SingleUserTS
Edition build lab: 19041.1.amd64fre.vb_release.191206-1406
Debug session time: Mon Oct 20 23:55:42.000 2025 (UTC + 2:00)
System Uptime: not available
Process Uptime: 0 days 4:06:39.000
......................................
This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr
(3718.3364): Access violation - code c0000005 (first/second chance not available)
For analysis of this file, run !analyze -v
ntdll!NtWaitForMultipleObjects+0x14:
00007fff`9d2ae044 c3              ret
0:000> !analyze -v
......................................
*******************************************************************************
*                                                                             *
*                        Exception Analysis                                   *
*                                                                             *
*******************************************************************************


KEY_VALUES_STRING: 1

    Key  : AV.Type
    Value: Read

    Key  : Analysis.CPU.mSec
    Value: 562

    Key  : Analysis.Elapsed.mSec
    Value: 5595

    Key  : Analysis.IO.Other.Mb
    Value: 0

    Key  : Analysis.IO.Read.Mb
    Value: 1

    Key  : Analysis.IO.Write.Mb
    Value: 0

    Key  : Analysis.Init.CPU.mSec
    Value: 1125

    Key  : Analysis.Init.Elapsed.mSec
    Value: 23653

    Key  : Analysis.Memory.CommitPeak.Mb
    Value: 102

    Key  : Analysis.Version.DbgEng
    Value: 10.0.29457.1000

    Key  : Analysis.Version.Description
    Value: 10.2506.23.01 amd64fre

    Key  : Analysis.Version.Ext
    Value: 1.2506.23.1

    Key  : Failure.Bucket
    Value: INVALID_POINTER_READ_c0000005_postgres.exe!pg_detoast_datum

    Key  : Failure.Exception.Code
    Value: 0xc0000005

    Key  : Failure.Exception.IP.Address
    Value: 0x7ff6ef1e86f0

    Key  : Failure.Exception.IP.Module
    Value: postgres

    Key  : Failure.Exception.IP.Offset
    Value: 0x5086f0

    Key  : Failure.Hash
    Value: {f7b3946c-d59b-1a89-0c47-4093df8b5c9b}

    Key  : Failure.ProblemClass.Primary
    Value: INVALID_POINTER_READ

    Key  : Timeline.Process.Start.DeltaSec
    Value: 14799

    Key  : WER.OS.Branch
    Value: vb_release

    Key  : WER.OS.Version
    Value: 10.0.19041.1

    Key  : WER.Process.Version
    Value: 17.0.2.0


FILE_IN_CAB:  postgres.exe.14104.dmp

NTGLOBALFLAG:  0

APPLICATION_VERIFIER_FLAGS:  0

CONTEXT:  (.ecxr)
rax=ffffffffffffffff rbx=ffffffffffffffff rcx=ffffffffffffffff
rdx=ffffffffffffffff rsi=000002210e046650 rdi=000002210dc255c0
rip=00007ff6ef1e86f0 rsp=000000d34ebfebf8 rbp=000000d34ebfec80
 r8=000002210dc255c0  r9=00000000ffffffff r10=0000000000000000
r11=000002210e047074 r12=00000000ffffffff r13=000002210dc24db8
r14=ffffffffffffffff r15=0000000000000018
iopl=0         nv up ei pl nz na po nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010206
postgres!pg_detoast_datum:
00007ff6`ef1e86f0 f60103          test    byte ptr [rcx],3 ds:ffffffff`ffffffff=??
Resetting default scope

EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 00007ff6ef1e86f0 (postgres!pg_detoast_datum)
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 0000000000000000
   Parameter[1]: ffffffffffffffff
Attempt to read from address ffffffffffffffff

PROCESS_NAME:  postgres.exe
READ_ADDRESS:  ffffffffffffffff 
ERROR_CODE: (NTSTATUS) 0xc0000005 - Die Anweisung in 0x%p verwies auf Arbeitsspeicher bei 0x%p. Der Vorgang %s konnte im Arbeitsspeicher nicht durchgef hrt werden.
EXCEPTION_CODE_STR:  c0000005
EXCEPTION_PARAMETER1:  0000000000000000
EXCEPTION_PARAMETER2:  ffffffffffffffff

STACK_TEXT:  
000000d3`4ebfebf8 00007ff6`ef138655     : 00000000`00000018 ffffffff`ffffffff 00000221`0dc24db8 00000000`ffffffff : postgres!pg_detoast_datum
000000d3`4ebfec00 00007ff6`ef218f23     : 00000000`00000019 000000d3`4ebfec80 00000221`0e046650 00000221`0dc255c0 : postgres!numeric_fac+0x195
000000d3`4ebfec30 00007ff6`ef218b49     : 00000221`0dce8400 00007ff6`eeeb7d00 00000221`0dd1c040 00000221`0dce8528 : postgres!tuplesort_used_bound+0xd03
000000d3`4ebfecc0 00007ff6`ef213f5c     : 00000221`0dd1c088 00000221`0dd1c0d0 00000000`00000001 00000000`00000000 : postgres!tuplesort_used_bound+0x929
000000d3`4ebfed00 00007ff6`ef217692     : 00000221`0e047658 00000000`00000007 00000221`0dc24db8 00000221`0dc24db8 : postgres!PrepareSortSupportFromOrderingOp+0x212c
000000d3`4ebfed80 00007ff6`eeedf1e6     : 00000221`0dce8420 00000221`0dce8420 00000221`0dce8218 00000221`0dc24db8 : postgres!tuplesort_performsort+0x1d2
000000d3`4ebfede0 00007ff6`eeeaf728     : 00000221`0dce8110 00000221`0dce8110 00000000`00000000 00000221`0dc30e18 : postgres!ExecReScanSort+0x276
000000d3`4ebfee50 00007ff6`eeebe847     : 00000221`0dc318c8 00000221`0dc318c8 00000221`0dce8110 00000221`0db21e48 : postgres!ExecScan+0x198
000000d3`4ebfeeb0 00007ff6`eeedf1c6     : 00000221`0dc318c8 00000221`0dc316c0 00000221`0dc318c8 00000221`0dc316c0 : postgres!hash_agg_set_limits+0x1e27
000000d3`4ebfeee0 00007ff6`eeee4056     : 00000221`0dc314b8 00000221`0d96df80 00000221`0dc31378 00000221`0dded180 : postgres!ExecReScanSort+0x256
000000d3`4ebfef50 00007ff6`eeedf1c6     : 00000221`0dc31270 00000221`0dc314b8 00000221`0d96df80 00000221`0dc314b8 : postgres!ExecReScanUnique+0x96
000000d3`4ebfefa0 00007ff6`eeea740a     : 00000000`00000000 00000221`0dc314b8 00000221`0dbc9220 00000221`0dc30e18 : postgres!ExecReScanSort+0x256
000000d3`4ebff010 00007fff`87fd36d1     : 00000221`00000001 00007fff`00000301 00000000`00000000 00000000`00000000 : postgres!standard_ExecutorRun+0x14a
000000d3`4ebff080 00007ff6`ef07ace3     : 00000221`0d898198 00000221`0dbc9220 00000000`000003ff 00000000`00002001 : pg_stat_statements!pg_stat_statements_reset_1_7+0x2d1
000000d3`4ebff200 00007ff6`ef07a608     : 000000d3`4ebff340 00000000`00000000 00000221`0b313560 00000000`00000000 : postgres!PortalRunFetch+0x593
000000d3`4ebff240 00007ff6`ef077240     : 00000000`00000003 00000221`0d8d4a88 00007ff6`eef04778 0000027f`00001fb1 : postgres!PortalRun+0x228
000000d3`4ebff420 00007ff6`ef07407c     : 00000000`00000045 000000d3`4ebff630 00000221`0d8d4a89 00000221`5a030000 : postgres!die+0x1450
000000d3`4ebff530 00007ff6`eefc85d3     : 00000000`00000018 00007ff6`ef5e1d10 00000000`00000018 00000221`00000000 : postgres!PostgresMain+0x72c
000000d3`4ebff6f0 00007ff6`eef0a087     : 00000000`00000000 00000000`00000003 00000000`00000004 00000221`0b296b88 : postgres!SubPostmasterMain+0x1a3
000000d3`4ebff730 00007ff6`ef2e7124     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : postgres!main+0x4f7
000000d3`4ebff920 00007fff`9cf77374     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : postgres!record_config_file_error+0x81c4
000000d3`4ebff960 00007fff`9d25cc91     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0x14
000000d3`4ebff990 00000000`00000000     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x21


STACK_COMMAND: ~0s; .ecxr ; kb
SYMBOL_NAME:  postgres!pg_detoast_datum+d34ebfebf0
MODULE_NAME: postgres

IMAGE_NAME:  postgres.exe
FAILURE_BUCKET_ID:  INVALID_POINTER_READ_c0000005_postgres.exe!pg_detoast_datum
OS_VERSION:  10.0.19041.1
BUILDLAB_STR:  vb_release
OSPLATFORM_TYPE:  x64
OSNAME:  Windows 10
IMAGE_VERSION:  17.0.2.0

FAILURE_ID_HASH:  {f7b3946c-d59b-1a89-0c47-4093df8b5c9b}
Followup:     MachineOwner