Skip to content

Assert failed on tests on a debug build of Postgres 19 #113

@RekGRpth

Description

@RekGRpth

assert added by postgres/postgres@c456e39#diff-84ae4db08eb77a6fc7e504e7120adc1fa379f22405aecbbdedebe44b203dcb2eR2328

#1  0x00007892994657a9 in raise (sig=sig@entry=6) at src/signal/raise.c:11
#2  0x0000789299448f7a in abort () at src/exit/abort.c:11
#3  0x00005fc4fa9616b4 in ExceptionalCondition (conditionName=0x5fc4fab50a70 "tupdesc->firstNonCachedOffsetAttr >= 0", fileName=0x5fc4fab506b8 "execTuples.c", lineNumber=2335) at assert.c:65
#4  0x00005fc4fa434f92 in BlessTupleDesc (tupdesc=0x7892981e2a30) at execTuples.c:2335
#5  0x0000789298521131 in pg_wait_sampling_get_current (fcinfo=0x78927a7fd450) at pg_wait_sampling.c:528
#6  0x00005fc4fa42ea73 in ExecMakeTableFunctionResult (setexpr=0x78927a7f7668, econtext=0x78927a7f7508, argContext=0x78927a7fd350, expectedDesc=0x78927a7f8120, randomAccess=false) at execSRF.c:235
#7  0x00005fc4fa44c67b in FunctionNext (node=0x78927a7f72f8) at nodeFunctionscan.c:95
#8  0x00005fc4fa43058a in ExecScanFetch (node=0x78927a7f72f8, epqstate=0x0, accessMtd=0x5fc4fa44c5c8 <FunctionNext>, recheckMtd=0x5fc4fa44c9d0 <FunctionRecheck>) at ../../../src/include/executor/execScan.h:135
#9  0x00005fc4fa4305f1 in ExecScanExtended (node=0x78927a7f72f8, accessMtd=0x5fc4fa44c5c8 <FunctionNext>, recheckMtd=0x5fc4fa44c9d0 <FunctionRecheck>, epqstate=0x0, qual=0x0, projInfo=0x0) at ../../../src/include/executor/execScan.h:179
#10 0x00005fc4fa43075d in ExecScan (node=0x78927a7f72f8, accessMtd=0x5fc4fa44c5c8 <FunctionNext>, recheckMtd=0x5fc4fa44c9d0 <FunctionRecheck>) at execScan.c:59
#11 0x00005fc4fa44ca21 in ExecFunctionScan (pstate=0x78927a7f72f8) at nodeFunctionscan.c:270
#12 0x00005fc4fa42af1b in ExecProcNodeFirst (node=0x78927a7f72f8) at execProcnode.c:470
#13 0x00005fc4fa43d24b in ExecProcNode (node=0x78927a7f72f8) at ../../../src/include/executor/executor.h:320
#14 0x00005fc4fa43d7f2 in fetch_input_tuple (aggstate=0x78927a7f6b50) at nodeAgg.c:564
#15 0x00005fc4fa440de3 in agg_retrieve_direct (aggstate=0x78927a7f6b50) at nodeAgg.c:2453
#16 0x00005fc4fa4409b7 in ExecAgg (pstate=0x78927a7f6b50) at nodeAgg.c:2268
#17 0x00005fc4fa42af1b in ExecProcNodeFirst (node=0x78927a7f6b50) at execProcnode.c:470
#18 0x00005fc4fa44aa96 in ExecProcNode (node=0x78927a7f6b50) at ../../../src/include/executor/executor.h:320
#19 0x00005fc4fa44abd9 in CteScanNext (node=0x78927a7fcc10) at nodeCtescan.c:104
#20 0x00005fc4fa43058a in ExecScanFetch (node=0x78927a7fcc10, epqstate=0x0, accessMtd=0x5fc4fa44aa98 <CteScanNext>, recheckMtd=0x5fc4fa44ac5d <CteScanRecheck>) at ../../../src/include/executor/execScan.h:135
#21 0x00005fc4fa4305f1 in ExecScanExtended (node=0x78927a7fcc10, accessMtd=0x5fc4fa44aa98 <CteScanNext>, recheckMtd=0x5fc4fa44ac5d <CteScanRecheck>, epqstate=0x0, qual=0x0, projInfo=0x0) at ../../../src/include/executor/execScan.h:179
#22 0x00005fc4fa43075d in ExecScan (node=0x78927a7fcc10, accessMtd=0x5fc4fa44aa98 <CteScanNext>, recheckMtd=0x5fc4fa44ac5d <CteScanRecheck>) at execScan.c:59
#23 0x00005fc4fa44acae in ExecCteScan (pstate=0x78927a7fcc10) at nodeCtescan.c:165
#24 0x00005fc4fa42af1b in ExecProcNodeFirst (node=0x78927a7fcc10) at execProcnode.c:470
#25 0x00005fc4fa4744e0 in ExecProcNode (node=0x78927a7fcc10) at ../../../src/include/executor/executor.h:320
#26 0x00005fc4fa4747dd in ExecNestLoop (pstate=0x78927a7fc9f0) at nodeNestloop.c:109
#27 0x00005fc4fa42af1b in ExecProcNodeFirst (node=0x78927a7fc9f0) at execProcnode.c:470
#28 0x00005fc4fa43d24b in ExecProcNode (node=0x78927a7fc9f0) at ../../../src/include/executor/executor.h:320
#29 0x00005fc4fa43d7f2 in fetch_input_tuple (aggstate=0x78927a7fc208) at nodeAgg.c:564
#30 0x00005fc4fa440de3 in agg_retrieve_direct (aggstate=0x78927a7fc208) at nodeAgg.c:2453
#31 0x00005fc4fa4409b7 in ExecAgg (pstate=0x78927a7fc208) at nodeAgg.c:2268
#32 0x00005fc4fa42af1b in ExecProcNodeFirst (node=0x78927a7fc208) at execProcnode.c:470
#33 0x00005fc4fa41c5d0 in ExecProcNode (node=0x78927a7fc208) at ../../../src/include/executor/executor.h:320
#34 0x00005fc4fa41f67f in ExecutePlan (queryDesc=0x7892981e3740, operation=CMD_SELECT, sendTuples=true, numberTuples=0, direction=ForwardScanDirection, dest=0x78927a6d3ac8) at execMain.c:1726
#35 0x00005fc4fa41cc82 in standard_ExecutorRun (queryDesc=0x7892981e3740, direction=ForwardScanDirection, count=0) at execMain.c:368
#36 0x0000789298522d2b in pgws_ExecutorRun (queryDesc=0x7892981e3740, direction=ForwardScanDirection, count=0) at pg_wait_sampling.c:1048
#37 0x00005fc4fa41cacd in ExecutorRun (queryDesc=0x7892981e3740, direction=ForwardScanDirection, count=0) at execMain.c:303
#38 0x00005fc4fa74e7ad in PortalRunSelect (portal=0x78927aa61750, forward=true, count=0, dest=0x78927a6d3ac8) at pquery.c:916
#39 0x00005fc4fa74e3e6 in PortalRun (portal=0x78927aa61750, count=9223372036854775807, isTopLevel=true, dest=0x78927a6d3ac8, altdest=0x78927a6d3ac8, qc=0x7ffd207ec640) at pquery.c:760
#40 0x00005fc4fa746964 in exec_simple_query (query_string=0x7892985674a0 "WITH t as (SELECT sum(0) FROM pg_wait_sampling_current)\n\tSELECT sum(0) FROM generate_series(1, 2), t;") at postgres.c:1278
#41 0x00005fc4fa74c3a1 in PostgresMain (dbname=0x7892984c3ab0 "contrib_regression", username=0x7892984c3a90 "postgres") at postgres.c:4810
#42 0x00005fc4fa741bc1 in BackendMain (startup_data=0x7ffd207ec8f0, startup_data_len=24) at backend_startup.c:124
#43 0x00005fc4fa6310c9 in postmaster_child_launch (child_type=B_BACKEND, child_slot=1, startup_data=0x7ffd207ec8f0, startup_data_len=24, client_sock=0x7ffd207ec950) at launch_backend.c:268
#44 0x00005fc4fa637df5 in BackendStartup (client_sock=0x7ffd207ec950) at postmaster.c:3606
#45 0x00005fc4fa635254 in ServerLoop () at postmaster.c:1713
#46 0x00005fc4fa634b43 in PostmasterMain (argc=1, argv=0x789299225bf0) at postmaster.c:1403
#47 0x00005fc4fa4b9e4d in main (argc=1, argv=0x789299225bf0) at main.c:231

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions