[04:45:13.066] src/tools/ci/cores_backtrace.sh linux /tmp/cores [04:45:13.806] dumping /tmp/cores/postgres-6-17700.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [04:45:15.476] [New LWP 17700] [04:45:15.476] Downloading separate debug info for /lib/x86_64-linux-gnu/libm.so.6... [04:45:16.238] Downloading separate debug info for /lib/x86_64-linux-gnu/libdl.so.2... [04:45:17.000] Downloading separate debug info for /lib/x86_64-linux-gnu/librt.so.1... [04:45:18.219] Downloading separate debug info for /lib/x86_64-linux-gnu/libgssapi_krb5.so.2... [04:45:20.576] Downloading separate debug info for /lib/x86_64-linux-gnu/libicuuc.so.67... [04:45:20.576] Downloading separate debug info for /.cache/debuginfod_client/f871bbd529a02abd860f0d16b842b5b20234cb49/debuginfo... [04:45:22.449] Downloading separate debug info for /lib/x86_64-linux-gnu/libicui18n.so.67... [04:45:23.662] Downloading separate debug info for /lib/x86_64-linux-gnu/libldap_r-2.4.so.2... [04:45:25.236] Downloading separate debug info for /lib/x86_64-linux-gnu/libxml2.so.2... [04:45:26.298] Downloading separate debug info for /lib/x86_64-linux-gnu/liblz4.so.1... [04:45:27.063] Downloading separate debug info for /lib/x86_64-linux-gnu/libpam.so.0... [04:45:28.289] Downloading separate debug info for /lib/x86_64-linux-gnu/libssl.so.1.1... [04:45:29.900] Downloading separate debug info for /lib/x86_64-linux-gnu/libcrypto.so.1.1... [04:45:31.301] Downloading separate debug info for /lib/x86_64-linux-gnu/libsystemd.so.0... [04:45:32.212] Downloading separate debug info for /lib/x86_64-linux-gnu/libz.so.1... [04:45:33.743] Downloading separate debug info for /lib/x86_64-linux-gnu/libzstd.so.1... [04:45:35.125] Downloading separate debug info for /lib/x86_64-linux-gnu/libpthread.so.0... [04:45:35.595] [Thread debugging using libthread_db enabled] [04:45:35.595] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [04:45:36.660] Downloading separate debug info for /lib64/ld-linux-x86-64.so.2... [04:45:38.049] Downloading separate debug info for /lib/x86_64-linux-gnu/libkrb5.so.3... [04:45:39.111] Downloading separate debug info for /lib/x86_64-linux-gnu/libk5crypto.so.3... [04:45:39.728] Downloading separate debug info for /lib/x86_64-linux-gnu/libcom_err.so.2... [04:45:40.493] Downloading separate debug info for /lib/x86_64-linux-gnu/libkrb5support.so.0... [04:45:42.770] Downloading separate debug info for /lib/x86_64-linux-gnu/libstdc++.so.6... [04:45:43.683] Downloading separate debug info for /lib/x86_64-linux-gnu/libgcc_s.so.1... [04:45:44.464] Downloading separate debug info for /lib/x86_64-linux-gnu/liblber-2.4.so.2... [04:45:45.508] Downloading separate debug info for /lib/x86_64-linux-gnu/libresolv.so.2... [04:45:46.417] Downloading separate debug info for /lib/x86_64-linux-gnu/libsasl2.so.2... [04:45:48.003] Downloading separate debug info for /lib/x86_64-linux-gnu/libgnutls.so.30... [04:45:49.062] Downloading separate debug info for /lib/x86_64-linux-gnu/liblzma.so.5... [04:45:49.827] Downloading separate debug info for /lib/x86_64-linux-gnu/libaudit.so.1... [04:45:51.208] Downloading separate debug info for /lib/x86_64-linux-gnu/libgcrypt.so.20... [04:45:51.825] Downloading separate debug info for /lib/x86_64-linux-gnu/libkeyutils.so.1... [04:45:53.353] Downloading separate debug info for /lib/x86_64-linux-gnu/libp11-kit.so.0... [04:45:54.114] Downloading separate debug info for /lib/x86_64-linux-gnu/libidn2.so.0... [04:45:55.339] Downloading separate debug info for /lib/x86_64-linux-gnu/libunistring.so.2... [04:45:56.103] Downloading separate debug info for /lib/x86_64-linux-gnu/libtasn1.so.6... [04:45:57.167] Downloading separate debug info for /lib/x86_64-linux-gnu/libnettle.so.8... [04:45:58.086] Downloading separate debug info for /lib/x86_64-linux-gnu/libhogweed.so.6... [04:45:59.304] Downloading separate debug info for /lib/x86_64-linux-gnu/libgmp.so.10... [04:45:59.919] Downloading separate debug info for /lib/x86_64-linux-gnu/libcap-ng.so.0... [04:46:00.834] Downloading separate debug info for /lib/x86_64-linux-gnu/libgpg-error.so.0... [04:46:01.598] Downloading separate debug info for /lib/x86_64-linux-gnu/libffi.so.7... [04:46:02.091] Core was generated by `postgres: old_node: postgres regression [local] MERGE '. [04:46:02.091] Program terminated with signal SIGABRT, Aborted. [04:46:02.091] #0 0x00007f66dbb24ce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [04:46:02.312] [04:46:02.312] Thread 1 (Thread 0x7f66d94bba40 (LWP 17700)): [04:46:02.312] #0 0x00007f66dbb24ce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [04:46:02.312] No symbol table info available. [04:46:02.312] #1 0x00007f66dbb0e537 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [04:46:02.312] No symbol table info available. [04:46:02.312] #2 0x000055f327b5c97d in ExceptionalCondition (conditionName=conditionName@entry=0x55f327d9bc28 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x55f327dbfa58 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1649) at ../src/backend/utils/error/assert.c:66 [04:46:02.312] No locals. [04:46:02.312] #3 0x000055f3274ccc98 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffc2b9a6b40, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffc2b9a69ff) at ../src/backend/executor/execTuples.c:1649 [04:46:02.312] No locals. [04:46:02.312] #4 0x000055f327453420 in ExecIRDeleteTriggers (estate=estate@entry=0x55f32909f9f0, relinfo=relinfo@entry=0x55f32909ffa0, slot=slot@entry=0x7ffc2b9a6b40) at ../src/backend/commands/trigger.c:2848 [04:46:02.312] trigger = 0x55f3290a0200 [04:46:02.312] oldtuple = [04:46:02.312] trigdesc = 0x55f3290a01b0 [04:46:02.312] newtuple = 0x0 [04:46:02.312] should_free = false [04:46:02.312] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f66d0514978, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [04:46:02.312] i = 0 [04:46:02.312] #5 0x000055f32752fbbc in ExecMergeMatched (context=0x7ffc2b9a6b60, resultRelInfo=resultRelInfo@entry=0x55f32909ffa0, tupleid=0x0, oldtuple=0x7ffc2b9a6b40, canSetTag=true) at ../src/backend/executor/nodeModifyTable.c:2980 [04:46:02.312] relaction = 0x55f328ffee08 [04:46:02.312] commandType = CMD_DELETE [04:46:02.312] result = TM_Ok [04:46:02.312] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [04:46:02.312] l__state = {l = , i = } [04:46:02.312] mtstate = 0x55f32909fd90 [04:46:02.312] newslot = [04:46:02.312] estate = 0x55f32909f9f0 [04:46:02.312] econtext = 0x55f328ffebc8 [04:46:02.312] isNull = false [04:46:02.312] epqstate = 0x55f32909fe78 [04:46:02.312] l = [04:46:02.312] lmerge_matched = [04:46:02.312] __func__ = "ExecMergeMatched" [04:46:02.312] #6 0x000055f327530728 in ExecMerge (context=context@entry=0x7ffc2b9a6b60, resultRelInfo=resultRelInfo@entry=0x55f32909ffa0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffc2b9a6b40, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2777 [04:46:02.312] matched = true [04:46:02.312] #7 0x000055f327532030 in ExecModifyTable (pstate=0x55f32909fd90) at ../src/backend/executor/nodeModifyTable.c:3923 [04:46:02.312] node = 0x55f32909fd90 [04:46:02.312] context = {mtstate = 0x55f32909fd90, epqstate = 0x55f32909fe78, estate = 0x55f32909f9f0, planSlot = 0x55f328ffd9e8, relaction = 0x55f328ffee08, tmfd = {ctid = {ip_blkid = {bi_hi = 3073, bi_lo = 10031}, ip_posid = 22003}, xmax = 1, cmax = 0, traversed = 203}, cpUpdateReturningSlot = 0x55f329069768} [04:46:02.312] estate = 0x55f32909f9f0 [04:46:02.312] operation = CMD_MERGE [04:46:02.312] resultRelInfo = 0x55f32909ffa0 [04:46:02.312] subplanstate = 0x55f3290a06d0 [04:46:02.312] slot = [04:46:02.312] oldSlot = [04:46:02.312] tuple_ctid = {ip_blkid = {bi_hi = 10502, bi_lo = 22003}, ip_posid = 0} [04:46:02.312] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x55f329014628} [04:46:02.312] oldtuple = 0x7ffc2b9a6b40 [04:46:02.312] tupleid = 0x0 [04:46:02.312] __func__ = "ExecModifyTable" [04:46:02.312] #8 0x000055f3274bf1f7 in ExecProcNodeFirst (node=0x55f32909fd90) at ../src/backend/executor/execProcnode.c:464 [04:46:02.312] No locals. [04:46:02.312] #9 0x000055f3274abbba in ExecProcNode (node=0x55f32909fd90) at ../src/include/executor/executor.h:274 [04:46:02.312] No locals. [04:46:02.312] #10 ExecutePlan (estate=estate@entry=0x55f32909f9f0, planstate=0x55f32909fd90, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=false, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x55f32906a838, execute_once=true) at ../src/backend/executor/execMain.c:1647 [04:46:02.312] slot = [04:46:02.312] current_tuple_count = 0 [04:46:02.312] #11 0x000055f3274abedd in standard_ExecutorRun (queryDesc=0x55f329040190, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:366 [04:46:02.312] estate = 0x55f32909f9f0 [04:46:02.312] operation = CMD_MERGE [04:46:02.312] dest = 0x55f32906a838 [04:46:02.312] sendTuples = false [04:46:02.312] oldcontext = 0x55f329040090 [04:46:02.312] __func__ = "standard_ExecutorRun" [04:46:02.312] #12 0x000055f3274ac048 in ExecutorRun (queryDesc=queryDesc@entry=0x55f329040190, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:310 [04:46:02.312] No locals. [04:46:02.312] #13 0x000055f3278bc64c in ProcessQuery (plan=plan@entry=0x55f32906a6d8, sourceText=0x55f328eb1280 "MERGE INTO rw_view2 t\n USING (SELECT x, 'R'||x FROM generate_series(0,3) x) AS s(a,b) ON t.a = s.a\n WHEN MATCHED AND t.a <= 1 THEN DELETE\n WHEN MATCHED THEN UPDATE SET b = s.b\n WHEN NOT MATCHED AN"..., params=0x0, queryEnv=0x0, dest=dest@entry=0x55f32906a838, qc=qc@entry=0x7ffc2b9a6f40) at ../src/backend/tcop/pquery.c:160 [04:46:02.312] queryDesc = 0x55f329040190 [04:46:02.312] #14 0x000055f3278be395 in PortalRunMulti (portal=portal@entry=0x55f328f34310, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55f32906a838, altdest=altdest@entry=0x55f32906a838, qc=qc@entry=0x7ffc2b9a6f40) at ../src/backend/tcop/pquery.c:1277 [04:46:02.312] pstmt = 0x55f32906a6d8 [04:46:02.312] stmtlist_item__state = {l = , i = } [04:46:02.312] active_snapshot_set = true [04:46:02.312] stmtlist_item = 0x55f32906a800 [04:46:02.312] #15 0x000055f3278bedb0 in PortalRun (portal=portal@entry=0x55f328f34310, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x55f32906a838, altdest=altdest@entry=0x55f32906a838, qc=0x7ffc2b9a6f40) at ../src/backend/tcop/pquery.c:791 [04:46:02.312] _save_exception_stack = 0x7ffc2b9a6ff0 [04:46:02.312] _save_context_stack = 0x0 [04:46:02.312] _local_sigjmp_buf = {{__jmpbuf = {1, -305907964816452864, 94502853716024, 94502853903840, 94502852444944, 94502853903768, 304385944961094400, 5775722780261159680}, __mask_was_saved = 0, __saved_mask = {__val = {140721040027343, 94502834715614, 94502852453152, 94502834715614, 1, 140721040027343, 94502853903816, 94502853903768, 94502831751228, 94502834308243, 94502852444944, 94502834715614, 1, 1, 94502832007942, 163}}}} [04:46:02.312] _do_rethrow = [04:46:02.312] result = [04:46:02.312] nprocessed = [04:46:02.312] saveTopTransactionResourceOwner = 0x55f328efde08 [04:46:02.312] saveTopTransactionContext = 0x55f328ee4440 [04:46:02.312] saveActivePortal = 0x0 [04:46:02.312] saveResourceOwner = 0x55f328efde08 [04:46:02.312] savePortalContext = 0x0 [04:46:02.312] saveMemoryContext = 0x55f328ee4440 [04:46:02.312] __func__ = "PortalRun" [04:46:02.312] #16 0x000055f3278b802f in exec_simple_query (query_string=query_string@entry=0x55f328eb1280 "MERGE INTO rw_view2 t\n USING (SELECT x, 'R'||x FROM generate_series(0,3) x) AS s(a,b) ON t.a = s.a\n WHEN MATCHED AND t.a <= 1 THEN DELETE\n WHEN MATCHED THEN UPDATE SET b = s.b\n WHEN NOT MATCHED AN"...) at ../src/backend/tcop/postgres.c:1273 [04:46:02.312] cmdtaglen = 5 [04:46:02.312] snapshot_set = [04:46:02.312] per_parsetree_context = 0x0 [04:46:02.312] plantree_list = 0x55f32906a7e8 [04:46:02.312] parsetree = 0x55f329098598 [04:46:02.312] commandTag = [04:46:02.312] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [04:46:02.312] querytree_list = [04:46:02.312] portal = 0x55f328f34310 [04:46:02.312] receiver = 0x55f32906a838 [04:46:02.312] format = 0 [04:46:02.312] cmdtagname = [04:46:02.312] parsetree_item__state = {l = , i = } [04:46:02.312] dest = DestRemote [04:46:02.312] oldcontext = 0x55f328ee4440 [04:46:02.312] parsetree_list = 0x55f3290985c8 [04:46:02.312] parsetree_item = 0x55f3290985e0 [04:46:02.312] save_log_statement_stats = false [04:46:02.312] was_logged = true [04:46:02.312] use_implicit_block = false [04:46:02.312] msec_str = "\004\000\000\000\000\000\000\000\372V\270'\363U\000\000\320o\232+\374\177\000\000\361\000\000\000\000\000\000" [04:46:02.312] __func__ = "exec_simple_query" [04:46:02.312] #17 0x000055f3278bade7 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4675 [04:46:02.312] query_string = 0x55f328eb1280 "MERGE INTO rw_view2 t\n USING (SELECT x, 'R'||x FROM generate_series(0,3) x) AS s(a,b) ON t.a = s.a\n WHEN MATCHED AND t.a <= 1 THEN DELETE\n WHEN MATCHED THEN UPDATE SET b = s.b\n WHEN NOT MATCHED AN"... [04:46:02.312] firstchar = [04:46:02.312] input_message = {data = 0x55f328eb1280 "MERGE INTO rw_view2 t\n USING (SELECT x, 'R'||x FROM generate_series(0,3) x) AS s(a,b) ON t.a = s.a\n WHEN MATCHED AND t.a <= 1 THEN DELETE\n WHEN MATCHED THEN UPDATE SET b = s.b\n WHEN NOT MATCHED AN"..., len = 241, maxlen = 1024, cursor = 241} [04:46:02.312] local_sigjmp_buf = {{__jmpbuf = {94502844075704, 5775693575491097344, 0, 4, 140721040028004, 1, 304385944898179840, 5775722782079259392}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 14344, 0, 1, 140079749602788, 94502851882800, 14336, 14400, 94502831921773, 94502844075712, 94502851907968, 94502844069816, 4, 140721040028004, 94502831925841, 1}}}} [04:46:02.312] send_ready_for_query = false [04:46:02.312] idle_in_transaction_timeout_enabled = false [04:46:02.312] idle_session_timeout_enabled = false [04:46:02.312] __func__ = "PostgresMain" [04:46:02.312] #18 0x000055f32775f382 in BackendRun (port=port@entry=0x55f328edc640) at ../src/backend/postmaster/postmaster.c:4477 [04:46:02.312] No locals. [04:46:02.312] #19 0x000055f327764c66 in BackendStartup (port=port@entry=0x55f328edc640) at ../src/backend/postmaster/postmaster.c:4153 [04:46:02.312] bn = 0x55f328ee6708 [04:46:02.312] pid = 0 [04:46:02.312] __func__ = "BackendStartup" [04:46:02.312] #20 0x000055f327764fe3 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1771 [04:46:02.312] port = 0x55f328edc640 [04:46:02.312] i = 0 [04:46:02.312] now = [04:46:02.312] last_lockfile_recheck_time = 1709527358 [04:46:02.312] last_touch_time = 1709527358 [04:46:02.312] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 1508362478, events = 0, fd = 23568163, user_data = 0x7ffc2b9a71c4}, {pos = -649114048, events = 32614, fd = 731542160, user_data = 0x7f66dbcc1320}, {pos = 731542144, events = 32764, fd = 45, user_data = 0x7f66dd48d180}, {pos = 64, events = 0, fd = 0, user_data = 0x7f66dd48d180}, {pos = 1508362478, events = 0, fd = -595613816, user_data = 0x7f66dbcc3fea}, {pos = 731542312, events = 32764, fd = 731542144, user_data = 0x7ffc2b9a7290}, {pos = -582566687, events = 32614, fd = 18, user_data = 0x7f66d94c1618}, {pos = 1, events = 0, fd = 0, user_data = 0x1}, {pos = -595614688, events = 32614, fd = 7, user_data = 0x7f66d94c1618}, {pos = -595614688, events = 32614, fd = 671611048, user_data = 0x7f66dc7fa788}, {pos = 0, events = 0, fd = 686656176, user_data = 0x55f328eda448}, {pos = -1, events = 0, fd = -582547933, user_data = 0x7f66dbaf0418}, {pos = -595613408, events = 32614, fd = 8, user_data = 0x7f66dbafb9f8}, {pos = 731543120, events = 32764, fd = -582519158, user_data = 0x10}, {pos = 16777343, events = 0, fd = 16, user_data = 0x7f66dbcdd0f8 <__libc_fork@got.plt>}, {pos = 4, events = 0, fd = 686501952, user_data = 0x1}, {pos = 1, events = 0, fd = 686501920, user_data = 0x7f66dd470623 <_dl_fixup+211>}, {pos = 1, events = 0, fd = 0, user_data = 0x55f328ee4440}, {pos = -609287144, events = 32614, fd = 731543232, user_data = 0x7f66dd47768a <_dl_runtime_resolve_xsavec+122>}, {pos = 0, events = 0, fd = 0, user_data = 0x7ffc2b9a76e0}, {pos = 678603936, events = 22003, fd = 2, user_data = 0x55f32872aca0 }, {pos = 0, events = 0, fd = 64, user_data = 0x7000000101}, {pos = 111, events = 124, fd = 1, user_data = 0x2ffff00001fa0}, {pos = 8, events = 0, fd = 0, user_data = 0x100007f00000002}, {pos = 255, events = 0, fd = 4096, user_data = 0xffffffffffffff08}, {pos = 0, events = 0, fd = 686662616, user_data = 0x3ff}, {pos = 4096, events = 0, fd = 686485456, user_data = 0x55f328eaefd0}, {pos = 0, events = 0, fd = -608846379, user_data = 0x801}, {pos = 678299, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0xffffffffffffffff}, {pos = -1, events = 4294967295, fd = 794915937, user_data = 0x6770755f67705f32}, {pos = 1853190772, events = 1600614447, fd = 1919381621, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 686675488, events = 22003, fd = 686662616, user_data = 0x3ff}, {pos = -608786558, events = 1, fd = 784, user_data = 0x55f327dcad4c}, {pos = 686661520, events = 22003, fd = 1686806016, user_data = 0x7ffc2b9a75ce}, {pos = 686662560, events = 22003, fd = 686661520, user_data = 0x55f328eda058}, {pos = 2, events = 0, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x55f328eda058}, {pos = 1024, events = 0, fd = 0, user_data = 0x55f327bb4d69 }, {pos = 678661744, events = 22003, fd = 666521853, user_data = 0x55f328ed9f90}, {pos = 686695688, events = 22003, fd = 0, user_data = 0xf}, {pos = 74, events = 0, fd = -608768722, user_data = 0x55f328eaefd0}, {pos = 660082123, events = 22003, fd = 686678459, user_data = 0x128eaefd0}, {pos = 731543384, events = 32764, fd = 0, user_data = 0x55f328ed9f90}, {pos = -608783958, events = 32614, fd = 686675080, user_data = 0x55f328eaefd0}, {pos = -608790288, events = 32614, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x3b07}, {pos = -608486651, events = 32614, fd = 4, user_data = 0xbe243deb648a9e00}, {pos = 1, events = 0, fd = 662032201, user_data = 0x400000}, {pos = 666521489, events = 22003, fd = 686656368, user_data = 0x4}, {pos = 0, events = 0, fd = 1, user_data = 0x0}, {pos = 666588277, events = 22003, fd = 0, user_data = 0x55f32758099e }, {pos = 0, events = 0, fd = 660105076, user_data = 0x55f328eb1180}, {pos = 662059444, events = 22003, fd = 0, user_data = 0x0}} [04:46:02.313] nevents = 1 [04:46:02.313] __func__ = "ServerLoop" [04:46:02.313] #21 0x000055f327766a75 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x55f328eaae40) at ../src/backend/postmaster/postmaster.c:1470 [04:46:02.313] opt = [04:46:02.313] status = [04:46:02.313] userDoption = [04:46:02.313] listen_addr_saved = false [04:46:02.313] output_config_variable = [04:46:02.313] __func__ = "PostmasterMain" [04:46:02.313] #22 0x000055f3275917b2 in main (argc=4, argv=0x55f328eaae40) at ../src/backend/main/main.c:198 [04:46:02.313] do_check_root = [04:46:02.330] -e [04:46:02.330] [04:46:02.330] [04:46:02.848] dumping /tmp/cores/sh-3-22023.core for /bin/sh [04:46:03.838] Downloading separate debug info for /bin/sh... [04:46:04.304] [New LWP 22023] [04:46:04.305] Core was generated by `sh -c cp "/tmp/cirrus-ci-build/build/testrun/recovery/025_stuck_on_old_timeline'. [04:46:04.305] Program terminated with signal SIGQUIT, Quit. [04:46:04.305] #0 0x00007fe8f2846090 in ?? () [04:46:04.305] [04:46:04.305] Thread 1 (LWP 22023): [04:46:04.305] #0 0x00007fe8f2846090 in ?? () [04:46:04.305] No symbol table info available. [04:46:04.305] #1 0x0000000000000003 in ?? () [04:46:04.305] No symbol table info available. [04:46:04.305] #2 0x00007ffd5e58c3d4 in ?? () [04:46:04.305] No symbol table info available. [04:46:04.305] #3 0x00007ffd5e58c3d7 in ?? () [04:46:04.305] No symbol table info available. [04:46:04.305] #4 0x00007ffd5e58c3da in ?? () [04:46:04.305] No symbol table info available. [04:46:04.305] #5 0x0000000000000000 in ?? () [04:46:04.305] No symbol table info available. [04:46:04.312] -e [04:46:04.312] [04:46:04.312] [04:46:04.845] dumping /tmp/cores/postgres-6-23933.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [04:46:05.149] [New LWP 23933] [04:46:06.285] [Thread debugging using libthread_db enabled] [04:46:06.285] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [04:46:07.705] Core was generated by `postgres: primary: postgres regression [local] MERGE '. [04:46:07.705] Program terminated with signal SIGABRT, Aborted. [04:46:07.705] #0 0x00007fc689a5fce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [04:46:07.909] [04:46:07.909] Thread 1 (Thread 0x7fc6873f6a40 (LWP 23933)): [04:46:07.909] #0 0x00007fc689a5fce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [04:46:07.909] No symbol table info available. [04:46:07.909] #1 0x00007fc689a49537 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [04:46:07.909] No symbol table info available. [04:46:07.909] #2 0x0000555b086ef97d in ExceptionalCondition (conditionName=conditionName@entry=0x555b0892ec28 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x555b08952a58 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1649) at ../src/backend/utils/error/assert.c:66 [04:46:07.909] No locals. [04:46:07.909] #3 0x0000555b0805fc98 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffcf3e75ce0, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffcf3e75b9f) at ../src/backend/executor/execTuples.c:1649 [04:46:07.909] No locals. [04:46:07.909] #4 0x0000555b07fe6420 in ExecIRDeleteTriggers (estate=estate@entry=0x555b0a1e72b0, relinfo=relinfo@entry=0x555b0a1e7860, slot=slot@entry=0x7ffcf3e75ce0) at ../src/backend/commands/trigger.c:2848 [04:46:07.909] trigger = 0x555b0a1e7ac0 [04:46:07.909] oldtuple = [04:46:07.909] trigdesc = 0x555b0a1e7a70 [04:46:07.909] newtuple = 0x0 [04:46:07.909] should_free = false [04:46:07.909] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7fc6855b3bb0, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [04:46:07.909] i = 0 [04:46:07.909] #5 0x0000555b080c2bbc in ExecMergeMatched (context=0x7ffcf3e75d00, resultRelInfo=resultRelInfo@entry=0x555b0a1e7860, tupleid=0x0, oldtuple=0x7ffcf3e75ce0, canSetTag=true) at ../src/backend/executor/nodeModifyTable.c:2980 [04:46:07.909] relaction = 0x555b0a134888 [04:46:07.909] commandType = CMD_DELETE [04:46:07.909] result = TM_Ok [04:46:07.909] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [04:46:07.909] l__state = {l = , i = } [04:46:07.909] mtstate = 0x555b0a1e7650 [04:46:07.909] newslot = [04:46:07.909] estate = 0x555b0a1e72b0 [04:46:07.909] econtext = 0x555b0a134648 [04:46:07.909] isNull = false [04:46:07.909] epqstate = 0x555b0a1e7738 [04:46:07.909] l = [04:46:07.909] lmerge_matched = [04:46:07.909] __func__ = "ExecMergeMatched" [04:46:07.909] #6 0x0000555b080c3728 in ExecMerge (context=context@entry=0x7ffcf3e75d00, resultRelInfo=resultRelInfo@entry=0x555b0a1e7860, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffcf3e75ce0, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2777 [04:46:07.909] matched = true [04:46:07.909] #7 0x0000555b080c5030 in ExecModifyTable (pstate=0x555b0a1e7650) at ../src/backend/executor/nodeModifyTable.c:3923 [04:46:07.909] node = 0x555b0a1e7650 [04:46:07.909] context = {mtstate = 0x555b0a1e7650, epqstate = 0x555b0a1e7738, estate = 0x555b0a1e72b0, planSlot = 0x555b0a133468, relaction = 0x555b0a134888, tmfd = {ctid = {ip_blkid = {bi_hi = 60256, bi_lo = 2585}, ip_posid = 21851}, xmax = 169035224, cmax = 21851, traversed = 96}, cpUpdateReturningSlot = 0x555b0a1e7650} [04:46:07.909] estate = 0x555b0a1e72b0 [04:46:07.909] operation = CMD_MERGE [04:46:07.909] resultRelInfo = 0x555b0a1e7860 [04:46:07.909] subplanstate = 0x555b0a1e7f90 [04:46:07.909] slot = [04:46:07.909] oldSlot = [04:46:07.909] tuple_ctid = {ip_blkid = {bi_hi = 2590, bi_lo = 21851}, ip_posid = 0} [04:46:07.909] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x555b0a15c908} [04:46:07.909] oldtuple = 0x7ffcf3e75ce0 [04:46:07.909] tupleid = 0x0 [04:46:07.909] __func__ = "ExecModifyTable" [04:46:07.909] #8 0x0000555b080521f7 in ExecProcNodeFirst (node=0x555b0a1e7650) at ../src/backend/executor/execProcnode.c:464 [04:46:07.909] No locals. [04:46:07.909] #9 0x0000555b0803ebba in ExecProcNode (node=0x555b0a1e7650) at ../src/include/executor/executor.h:274 [04:46:07.909] No locals. [04:46:07.909] #10 ExecutePlan (estate=estate@entry=0x555b0a1e72b0, planstate=0x555b0a1e7650, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=false, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x555b0a1a1510, execute_once=true) at ../src/backend/executor/execMain.c:1647 [04:46:07.909] slot = [04:46:07.909] current_tuple_count = 0 [04:46:07.909] #11 0x0000555b0803eedd in standard_ExecutorRun (queryDesc=queryDesc@entry=0x555b0a18efa0, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:366 [04:46:07.909] estate = 0x555b0a1e72b0 [04:46:07.909] operation = CMD_MERGE [04:46:07.909] dest = 0x555b0a1a1510 [04:46:07.909] sendTuples = false [04:46:07.909] oldcontext = 0x555b0a18eea0 [04:46:07.909] __func__ = "standard_ExecutorRun" [04:46:07.909] #12 0x00007fc68721b7fc in pgss_ExecutorRun (queryDesc=0x555b0a18efa0, direction=ForwardScanDirection, count=0, execute_once=) at ../contrib/pg_stat_statements/pg_stat_statements.c:1032 [04:46:07.909] _save_exception_stack = 0x7ffcf3e760b0 [04:46:07.909] _save_context_stack = 0x0 [04:46:07.909] _local_sigjmp_buf = {{__jmpbuf = {93849499791264, -4385616165026381017, 93849498161856, 93849499866384, 0, 0, -4385616166989315289, -4370812875789810905}, __mask_was_saved = 0, __saved_mask = {__val = {93849500152496, 93849499791264, 0, 93849499791008, 93849472244486, 0, 1, 0, 93849465043220, 93849499791264, 93849484312256, 93849499791008, 140490647393314, 93849499791264, 0, 93849498161856}}}} [04:46:07.909] _do_rethrow = false [04:46:07.909] #13 0x0000555b0803f03b in ExecutorRun (queryDesc=queryDesc@entry=0x555b0a18efa0, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:308 [04:46:07.909] No locals. [04:46:07.909] #14 0x0000555b0844f64c in ProcessQuery (plan=plan@entry=0x555b0a1a13b0, sourceText=0x555b0a0012c0 "MERGE INTO rw_view2 t\n USING (SELECT x, 'R'||x FROM generate_series(0,3) x) AS s(a,b) ON t.a = s.a\n WHEN MATCHED AND t.a <= 1 THEN DELETE\n WHEN MATCHED THEN UPDATE SET b = s.b\n WHEN NOT MATCHED AN"..., params=0x0, queryEnv=0x0, dest=dest@entry=0x555b0a1a1510, qc=qc@entry=0x7ffcf3e761f0) at ../src/backend/tcop/pquery.c:160 [04:46:07.909] queryDesc = 0x555b0a18efa0 [04:46:07.909] #15 0x0000555b08451395 in PortalRunMulti (portal=portal@entry=0x555b0a082fd0, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x555b0a1a1510, altdest=altdest@entry=0x555b0a1a1510, qc=qc@entry=0x7ffcf3e761f0) at ../src/backend/tcop/pquery.c:1277 [04:46:07.909] pstmt = 0x555b0a1a13b0 [04:46:07.909] stmtlist_item__state = {l = , i = } [04:46:07.909] active_snapshot_set = true [04:46:07.909] stmtlist_item = 0x555b0a1a14d8 [04:46:07.909] #16 0x0000555b08451db0 in PortalRun (portal=portal@entry=0x555b0a082fd0, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x555b0a1a1510, altdest=altdest@entry=0x555b0a1a1510, qc=0x7ffcf3e761f0) at ../src/backend/tcop/pquery.c:791 [04:46:07.909] _save_exception_stack = 0x7ffcf3e762a0 [04:46:07.909] _save_context_stack = 0x0 [04:46:07.909] _local_sigjmp_buf = {{__jmpbuf = {1, 4385044355426304807, 93849499866384, 93849499818256, 93849498693584, 93849499818184, -4385616165049449689, -7607461503788498137}, __mask_was_saved = 0, __saved_mask = {__val = {140724400513407, 93849474952158, 93849498701792, 93849474952158, 1, 140724400513407, 93849499818232, 93849499818184, 93849471987772, 93849474544787, 93849498693584, 93849474952158, 1, 1, 93849472244486, 163}}}} [04:46:07.909] _do_rethrow = [04:46:07.909] result = [04:46:07.909] nprocessed = [04:46:07.909] saveTopTransactionResourceOwner = 0x555b0a044a68 [04:46:07.909] saveTopTransactionContext = 0x555b0a02d8b0 [04:46:07.909] saveActivePortal = 0x0 [04:46:07.909] saveResourceOwner = 0x555b0a044a68 [04:46:07.909] savePortalContext = 0x0 [04:46:07.909] saveMemoryContext = 0x555b0a02d8b0 [04:46:07.909] __func__ = "PortalRun" [04:46:07.909] #17 0x0000555b0844b02f in exec_simple_query (query_string=query_string@entry=0x555b0a0012c0 "MERGE INTO rw_view2 t\n USING (SELECT x, 'R'||x FROM generate_series(0,3) x) AS s(a,b) ON t.a = s.a\n WHEN MATCHED AND t.a <= 1 THEN DELETE\n WHEN MATCHED THEN UPDATE SET b = s.b\n WHEN NOT MATCHED AN"...) at ../src/backend/tcop/postgres.c:1273 [04:46:07.909] cmdtaglen = 5 [04:46:07.909] snapshot_set = [04:46:07.909] per_parsetree_context = 0x0 [04:46:07.909] plantree_list = 0x555b0a1a14c0 [04:46:07.909] parsetree = 0x555b0a1958c8 [04:46:07.909] commandTag = [04:46:07.909] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [04:46:07.909] querytree_list = [04:46:07.909] portal = 0x555b0a082fd0 [04:46:07.909] receiver = 0x555b0a1a1510 [04:46:07.909] format = 0 [04:46:07.909] cmdtagname = [04:46:07.909] parsetree_item__state = {l = , i = } [04:46:07.909] dest = DestRemote [04:46:07.909] oldcontext = 0x555b0a02d8b0 [04:46:07.909] parsetree_list = 0x555b0a1958f8 [04:46:07.909] parsetree_item = 0x555b0a195910 [04:46:07.909] save_log_statement_stats = false [04:46:07.909] was_logged = true [04:46:07.909] use_implicit_block = false [04:46:07.909] msec_str = "\004\000\000\000\000\000\000\000\372\206q\b[U\000\000\200b\347\363\374\177\000\000\361\000\000\000\000\000\000" [04:46:07.909] __func__ = "exec_simple_query" [04:46:07.909] #18 0x0000555b0844dde7 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4675 [04:46:07.909] query_string = 0x555b0a0012c0 "MERGE INTO rw_view2 t\n USING (SELECT x, 'R'||x FROM generate_series(0,3) x) AS s(a,b) ON t.a = s.a\n WHEN MATCHED AND t.a <= 1 THEN DELETE\n WHEN MATCHED THEN UPDATE SET b = s.b\n WHEN NOT MATCHED AN"... [04:46:07.909] firstchar = [04:46:07.909] input_message = {data = 0x555b0a0012c0 "MERGE INTO rw_view2 t\n USING (SELECT x, 'R'||x FROM generate_series(0,3) x) AS s(a,b) ON t.a = s.a\n WHEN MATCHED AND t.a <= 1 THEN DELETE\n WHEN MATCHED THEN UPDATE SET b = s.b\n WHEN NOT MATCHED AN"..., len = 241, maxlen = 1024, cursor = 241} [04:46:07.909] local_sigjmp_buf = {{__jmpbuf = {93849484312248, -7607462941465230553, 0, 4, 140724400514068, 1, -4385616164978146521, -7607461501303766233}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 93849498136432, 16384, 8248, 93849472160024, 0, 0, 0, 93849484312256, 93849498161600, 93849484306360, 4, 140724400514068, 1, 93849472163074, 1}}}} [04:46:07.909] send_ready_for_query = false [04:46:07.909] idle_in_transaction_timeout_enabled = false [04:46:07.909] idle_session_timeout_enabled = false [04:46:07.909] __func__ = "PostgresMain" [04:46:07.909] #19 0x0000555b082f2382 in BackendRun (port=port@entry=0x555b0a030220) at ../src/backend/postmaster/postmaster.c:4477 [04:46:07.909] No locals. [04:46:07.909] #20 0x0000555b082f7c66 in BackendStartup (port=port@entry=0x555b0a030220) at ../src/backend/postmaster/postmaster.c:4153 [04:46:07.909] bn = 0x555b0a02df78 [04:46:07.909] pid = 0 [04:46:07.909] __func__ = "BackendStartup" [04:46:07.909] #21 0x0000555b082f7fe3 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1771 [04:46:07.909] port = 0x555b0a030220 [04:46:07.909] i = 0 [04:46:07.909] now = [04:46:07.909] last_lockfile_recheck_time = 1709527381 [04:46:07.909] last_touch_time = 1709527381 [04:46:07.909] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = -202939136, events = 32764, fd = 46, user_data = 0x7ffcf3e764c0}, {pos = -202939184, events = 0, fd = 0, user_data = 0x12}, {pos = 1508362478, events = 0, fd = -1972152440, user_data = 0x7fc689bfefea}, {pos = -202938968, events = 32764, fd = -202939136, user_data = 0x7ffcf3e76510}, {pos = -1959105311, events = 32710, fd = 18, user_data = 0x7fc6873fc618}, {pos = 1, events = 0, fd = 0, user_data = 0x1}, {pos = -1972153312, events = 32710, fd = -1, user_data = 0x7fc6873fc618}, {pos = -1972153312, events = 32710, fd = 1024, user_data = 0x7fc68a735788}, {pos = 0, events = 0, fd = 7, user_data = 0x7ffcf3e76510}, {pos = -1, events = 0, fd = -1985045318, user_data = 0x7fc689a2b418}, {pos = -1972152032, events = 32710, fd = 167974264, user_data = 0x555b0a031408}, {pos = 167955344, events = 21851, fd = 167974296, user_data = 0x555b0a0310c1}, {pos = -1959086557, events = 32710, fd = 1, user_data = 0x7fc689c180f8 <__libc_fork@got.plt>}, {pos = 4, events = 0, fd = 167779808, user_data = 0x1}, {pos = 1, events = 0, fd = 167784736, user_data = 0x7fc68b3ab623 <_dl_fixup+211>}, {pos = 1, events = 0, fd = 0, user_data = 0x555b0a02cb90}, {pos = -1985825768, events = 32710, fd = -202938000, user_data = 0x7fc68b3b268a <_dl_runtime_resolve_xsavec+122>}, {pos = 0, events = 0, fd = 0, user_data = 0x7ffcf3e76990}, {pos = 153869472, events = 21851, fd = 2, user_data = 0x555b092bdca0 }, {pos = 0, events = 0, fd = 7, user_data = 0x0}, {pos = 4096, events = 0, fd = 99, user_data = 0x2ffff00001fa0}, {pos = 4144, events = 0, fd = 64, user_data = 0x7000000101}, {pos = 111, events = 124, fd = 1, user_data = 0x7700000063}, {pos = 8, events = 0, fd = 0, user_data = 0x100007f00000002}, {pos = 255, events = 0, fd = 4096, user_data = 0xffffffffffffff08}, {pos = 0, events = 0, fd = 167995768, user_data = 0x3ff}, {pos = 4096, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -65536, user_data = 0xffffffffffffffff}, {pos = 0, events = 0, fd = 0, user_data = 0xffffffffffffffff}, {pos = -1, events = 4294967295, fd = 811562031, user_data = 0x65725f6d61657274}, {pos = 1868785010, events = 2037540214, fd = 926036015, user_data = 0x2020200a0a533652}, {pos = 825571126, events = 538982451, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 7, events = 0, fd = 1024, user_data = 0x400}, {pos = 167768080, events = 21851, fd = -1983961984, user_data = 0x7fc689aa9bfb}, {pos = 167969552, events = 21851, fd = 167995768, user_data = 0x3ff}, {pos = -1985325182, events = 1, fd = 784, user_data = 0x555b0895dd4c}, {pos = 2, events = 0, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 141786710, events = 21851, fd = 167973088, user_data = 0x555b0a0310e0}, {pos = 167973088, events = 21851, fd = 1, user_data = 0x555b0a0311a8}, {pos = 1024, events = 0, fd = 0, user_data = 0x555b08747d69 }, {pos = 153927280, events = 21851, fd = 141787389, user_data = 0x555b0a0310e0}, {pos = 167987720, events = 21851, fd = 0, user_data = 0xf}, {pos = 74, events = 0, fd = -1985307346, user_data = 0x555b09fff010}, {pos = 135347659, events = 21851, fd = 168001323, user_data = 0x109fff010}, {pos = -202937848, events = 32764, fd = 0, user_data = 0x555b0a0310e0}, {pos = -1985322582, events = 32710, fd = 167997944, user_data = 0x555b09fff010}, {pos = -1985328912, events = 32710, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x55ac}, {pos = -1985025275, events = 32710, fd = 4, user_data = 0x2073402b5ac58000}, {pos = 1, events = 0, fd = 137297737, user_data = 0x400000}, {pos = 141787025, events = 21851, fd = 167947248, user_data = 0x4}, {pos = 0, events = 0, fd = 1, user_data = 0x0}, {pos = 141853813, events = 21851, fd = 0, user_data = 0x555b0811399e }, {pos = 0, events = 0, fd = 135370612, user_data = 0x555b0a0011c0}, {pos = 137324980, events = 21851, fd = 0, user_data = 0x0}} [04:46:07.910] nevents = 1 [04:46:07.910] __func__ = "ServerLoop" [04:46:07.910] #22 0x0000555b082f9a75 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x555b09ffae70) at ../src/backend/postmaster/postmaster.c:1470 [04:46:07.910] opt = [04:46:07.910] status = [04:46:07.910] userDoption = [04:46:07.910] listen_addr_saved = false [04:46:07.910] output_config_variable = [04:46:07.910] __func__ = "PostmasterMain" [04:46:07.910] #23 0x0000555b081247b2 in main (argc=4, argv=0x555b09ffae70) at ../src/backend/main/main.c:198 [04:46:07.910] do_check_root = [04:46:07.927] -e [04:46:07.927] [04:46:07.927] [04:46:08.466] dumping /tmp/cores/postgres-6-16839.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [04:46:08.769] [New LWP 16839] [04:46:09.905] [Thread debugging using libthread_db enabled] [04:46:09.905] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [04:46:11.325] Core was generated by `postgres: postgres regression [local] MERGE '. [04:46:11.325] Program terminated with signal SIGABRT, Aborted. [04:46:11.325] #0 0x00007f0fe1b16ce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [04:46:11.516] [04:46:11.516] Thread 1 (Thread 0x7f0fdf4ada40 (LWP 16839)): [04:46:11.516] #0 0x00007f0fe1b16ce1 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [04:46:11.516] No symbol table info available. [04:46:11.516] #1 0x00007f0fe1b00537 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [04:46:11.516] No symbol table info available. [04:46:11.516] #2 0x000055a71982797d in ExceptionalCondition (conditionName=conditionName@entry=0x55a719a66c28 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x55a719a8aa58 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1649) at ../src/backend/utils/error/assert.c:66 [04:46:11.516] No locals. [04:46:11.516] #3 0x000055a719197c98 in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffc0072a3e0, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffc0072a29f) at ../src/backend/executor/execTuples.c:1649 [04:46:11.516] No locals. [04:46:11.516] #4 0x000055a71911e420 in ExecIRDeleteTriggers (estate=estate@entry=0x55a71b593140, relinfo=relinfo@entry=0x55a71b5936f0, slot=slot@entry=0x7ffc0072a3e0) at ../src/backend/commands/trigger.c:2848 [04:46:11.516] trigger = 0x55a71b593950 [04:46:11.516] oldtuple = [04:46:11.516] trigdesc = 0x55a71b593900 [04:46:11.516] newtuple = 0x0 [04:46:11.516] should_free = false [04:46:11.516] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f0fd61eaac0, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [04:46:11.516] i = 0 [04:46:11.516] #5 0x000055a7191fabbc in ExecMergeMatched (context=0x7ffc0072a400, resultRelInfo=resultRelInfo@entry=0x55a71b5936f0, tupleid=0x0, oldtuple=0x7ffc0072a3e0, canSetTag=true) at ../src/backend/executor/nodeModifyTable.c:2980 [04:46:11.516] relaction = 0x55a71b589b58 [04:46:11.516] commandType = CMD_DELETE [04:46:11.516] result = TM_Ok [04:46:11.516] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [04:46:11.516] l__state = {l = , i = } [04:46:11.516] mtstate = 0x55a71b5934e0 [04:46:11.516] newslot = [04:46:11.516] estate = 0x55a71b593140 [04:46:11.516] econtext = 0x55a71b589918 [04:46:11.516] isNull = false [04:46:11.516] epqstate = 0x55a71b5935c8 [04:46:11.516] l = [04:46:11.516] lmerge_matched = [04:46:11.516] __func__ = "ExecMergeMatched" [04:46:11.516] #6 0x000055a7191fb728 in ExecMerge (context=context@entry=0x7ffc0072a400, resultRelInfo=resultRelInfo@entry=0x55a71b5936f0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffc0072a3e0, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2777 [04:46:11.516] matched = true [04:46:11.516] #7 0x000055a7191fd030 in ExecModifyTable (pstate=0x55a71b5934e0) at ../src/backend/executor/nodeModifyTable.c:3923 [04:46:11.516] node = 0x55a71b5934e0 [04:46:11.516] context = {mtstate = 0x55a71b5934e0, epqstate = 0x55a71b5935c8, estate = 0x55a71b593140, planSlot = 0x55a71b588738, relaction = 0x55a71b589b58, tmfd = {ctid = {ip_blkid = {bi_hi = 48129, bi_lo = 6395}, ip_posid = 21927}, xmax = 1, cmax = 0, traversed = 203}, cpUpdateReturningSlot = 0x55a71b54dda8} [04:46:11.516] estate = 0x55a71b593140 [04:46:11.516] operation = CMD_MERGE [04:46:11.516] resultRelInfo = 0x55a71b5936f0 [04:46:11.516] subplanstate = 0x55a71b593e20 [04:46:11.516] slot = [04:46:11.516] oldSlot = [04:46:11.516] tuple_ctid = {ip_blkid = {bi_hi = 6996, bi_lo = 21927}, ip_posid = 0} [04:46:11.516] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x55a71b507968} [04:46:11.516] oldtuple = 0x7ffc0072a3e0 [04:46:11.516] tupleid = 0x0 [04:46:11.516] __func__ = "ExecModifyTable" [04:46:11.516] #8 0x000055a71918a1f7 in ExecProcNodeFirst (node=0x55a71b5934e0) at ../src/backend/executor/execProcnode.c:464 [04:46:11.516] No locals. [04:46:11.516] #9 0x000055a719176bba in ExecProcNode (node=0x55a71b5934e0) at ../src/include/executor/executor.h:274 [04:46:11.516] No locals. [04:46:11.516] #10 ExecutePlan (estate=estate@entry=0x55a71b593140, planstate=0x55a71b5934e0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=false, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x55a71b54ee78, execute_once=true) at ../src/backend/executor/execMain.c:1647 [04:46:11.516] slot = [04:46:11.516] current_tuple_count = 0 [04:46:11.516] #11 0x000055a719176edd in standard_ExecutorRun (queryDesc=0x55a71b5338e0, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:366 [04:46:11.516] estate = 0x55a71b593140 [04:46:11.516] operation = CMD_MERGE [04:46:11.516] dest = 0x55a71b54ee78 [04:46:11.516] sendTuples = false [04:46:11.516] oldcontext = 0x55a71b5337e0 [04:46:11.516] __func__ = "standard_ExecutorRun" [04:46:11.516] #12 0x000055a719177048 in ExecutorRun (queryDesc=queryDesc@entry=0x55a71b5338e0, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:310 [04:46:11.516] No locals. [04:46:11.516] #13 0x000055a71958764c in ProcessQuery (plan=plan@entry=0x55a71b54ed18, sourceText=0x55a71b3a8290 "MERGE INTO rw_view2 t\n USING (SELECT x, 'R'||x FROM generate_series(0,3) x) AS s(a,b) ON t.a = s.a\n WHEN MATCHED AND t.a <= 1 THEN DELETE\n WHEN MATCHED THEN UPDATE SET b = s.b\n WHEN NOT MATCHED AN"..., params=0x0, queryEnv=0x0, dest=dest@entry=0x55a71b54ee78, qc=qc@entry=0x7ffc0072a7e0) at ../src/backend/tcop/pquery.c:160 [04:46:11.516] queryDesc = 0x55a71b5338e0 [04:46:11.516] #14 0x000055a719589395 in PortalRunMulti (portal=portal@entry=0x55a71b428fc0, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x55a71b54ee78, altdest=altdest@entry=0x55a71b54ee78, qc=qc@entry=0x7ffc0072a7e0) at ../src/backend/tcop/pquery.c:1277 [04:46:11.516] pstmt = 0x55a71b54ed18 [04:46:11.516] stmtlist_item__state = {l = , i = } [04:46:11.516] active_snapshot_set = true [04:46:11.516] stmtlist_item = 0x55a71b54ee40 [04:46:11.516] #15 0x000055a719589db0 in PortalRun (portal=portal@entry=0x55a71b428fc0, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x55a71b54ee78, altdest=altdest@entry=0x55a71b54ee78, qc=0x7ffc0072a7e0) at ../src/backend/tcop/pquery.c:791 [04:46:11.516] _save_exception_stack = 0x7ffc0072a890 [04:46:11.516] _save_context_stack = 0x0 [04:46:11.516] _local_sigjmp_buf = {{__jmpbuf = {1, 8080191822797831434, 94176206450296, 94176206383696, 94176205246400, 94176206383624, -8080975866101662454, -2635545762257208054}, __mask_was_saved = 0, __saved_mask = {__val = {140720316000111, 94176178957278, 94176205254608, 94176178957278, 1, 140720316000111, 94176206383672, 94176206383624, 94176175992892, 94176178549907, 94176205246400, 94176178957278, 1, 1, 94176176249606, 163}}}} [04:46:11.516] _do_rethrow = [04:46:11.516] result = [04:46:11.516] nprocessed = [04:46:11.516] saveTopTransactionResourceOwner = 0x55a71b3f4ac8 [04:46:11.516] saveTopTransactionContext = 0x55a71b3d0ba0 [04:46:11.516] saveActivePortal = 0x0 [04:46:11.516] saveResourceOwner = 0x55a71b3f4ac8 [04:46:11.516] savePortalContext = 0x0 [04:46:11.516] saveMemoryContext = 0x55a71b3d0ba0 [04:46:11.516] __func__ = "PortalRun" [04:46:11.516] #16 0x000055a71958302f in exec_simple_query (query_string=query_string@entry=0x55a71b3a8290 "MERGE INTO rw_view2 t\n USING (SELECT x, 'R'||x FROM generate_series(0,3) x) AS s(a,b) ON t.a = s.a\n WHEN MATCHED AND t.a <= 1 THEN DELETE\n WHEN MATCHED THEN UPDATE SET b = s.b\n WHEN NOT MATCHED AN"...) at ../src/backend/tcop/postgres.c:1273 [04:46:11.516] cmdtaglen = 5 [04:46:11.516] snapshot_set = [04:46:11.516] per_parsetree_context = 0x0 [04:46:11.516] plantree_list = 0x55a71b54ee28 [04:46:11.516] parsetree = 0x55a71b53ea08 [04:46:11.516] commandTag = [04:46:11.516] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [04:46:11.516] querytree_list = [04:46:11.516] portal = 0x55a71b428fc0 [04:46:11.516] receiver = 0x55a71b54ee78 [04:46:11.516] format = 0 [04:46:11.516] cmdtagname = [04:46:11.516] parsetree_item__state = {l = , i = } [04:46:11.516] dest = DestRemote [04:46:11.516] oldcontext = 0x55a71b3d0ba0 [04:46:11.516] parsetree_list = 0x55a71b53ea38 [04:46:11.516] parsetree_item = 0x55a71b53ea50 [04:46:11.516] save_log_statement_stats = false [04:46:11.516] was_logged = false [04:46:11.516] use_implicit_block = false [04:46:11.516] msec_str = "\004\000\000\000\000\000\000\000\372\006\205\031\247U\000\000p\250r\000\374\177\000\000\361\000\000\000\000\000\000" [04:46:11.516] __func__ = "exec_simple_query" [04:46:11.516] #17 0x000055a719585de7 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4675 [04:46:11.516] query_string = 0x55a71b3a8290 "MERGE INTO rw_view2 t\n USING (SELECT x, 'R'||x FROM generate_series(0,3) x) AS s(a,b) ON t.a = s.a\n WHEN MATCHED AND t.a <= 1 THEN DELETE\n WHEN MATCHED THEN UPDATE SET b = s.b\n WHEN NOT MATCHED AN"... [04:46:11.516] firstchar = [04:46:11.516] input_message = {data = 0x55a71b3a8290 "MERGE INTO rw_view2 t\n USING (SELECT x, 'R'||x FROM generate_series(0,3) x) AS s(a,b) ON t.a = s.a\n WHEN MATCHED AND t.a <= 1 THEN DELETE\n WHEN MATCHED THEN UPDATE SET b = s.b\n WHEN NOT MATCHED AN"..., len = 241, maxlen = 1024, cursor = 241} [04:46:11.516] local_sigjmp_buf = {{__jmpbuf = {94176188317368, -2635539101769433846, 0, 4, 140720316000772, 1, -8080975866575618806, -2635545768367129334}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 15624, 0, 1, 139706188053988, 94176204693280, 15616, 15680, 94176176163437, 94176188317376, 94176204718480, 94176188311480, 4, 140720316000772, 94176176167505, 1}}}} [04:46:11.516] send_ready_for_query = false [04:46:11.516] idle_in_transaction_timeout_enabled = false [04:46:11.516] idle_session_timeout_enabled = false [04:46:11.516] __func__ = "PostgresMain" [04:46:11.516] #18 0x000055a71942a382 in BackendRun (port=port@entry=0x55a71b3d4cf0) at ../src/backend/postmaster/postmaster.c:4477 [04:46:11.516] No locals. [04:46:11.516] #19 0x000055a71942fc66 in BackendStartup (port=port@entry=0x55a71b3d4cf0) at ../src/backend/postmaster/postmaster.c:4153 [04:46:11.516] bn = 0x55a71b3d0d68 [04:46:11.516] pid = 0 [04:46:11.516] __func__ = "BackendStartup" [04:46:11.516] #20 0x000055a71942ffe3 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1771 [04:46:11.516] port = 0x55a71b3d4cf0 [04:46:11.516] i = 0 [04:46:11.516] now = [04:46:11.516] last_lockfile_recheck_time = 1709527357 [04:46:11.516] last_touch_time = 1709527357 [04:46:11.516] events = {{pos = 1, events = 2, fd = 7, user_data = 0x0}, {pos = 7514896, events = 32764, fd = -506776800, user_data = 0x7ffc0072ab00}, {pos = 45, events = 0, fd = -481824384, user_data = 0x72aad0}, {pos = 0, events = 0, fd = -481824384, user_data = 0x59e7c8ee}, {pos = -495007864, events = 32527, fd = -506765334, user_data = 0x7ffc0072aba8}, {pos = 7514880, events = 32764, fd = 7514896, user_data = 0x7f0fe345dce1 <_dl_lookup_symbol_x+289>}, {pos = 18, events = 0, fd = -548719080, user_data = 0x1}, {pos = 0, events = 0, fd = 1, user_data = 0x7f0fe27ec420}, {pos = 7514832, events = 32764, fd = -548719080, user_data = 0x7f0fe27ec420}, {pos = 433367208, events = 1, fd = -495007864, user_data = 0x0}, {pos = 456972832, events = 21927, fd = 457006168, user_data = 0xffffffff}, {pos = -481941981, events = 32527, fd = -508681192, user_data = 0x7f0fe27ec920}, {pos = 457006136, events = 21927, fd = -508634632, user_data = 0x7ffc0072aef0}, {pos = -481913206, events = 32527, fd = 16, user_data = 0x100007f}, {pos = 16, events = 0, fd = -506662664, user_data = 0x8}, {pos = 456827024, events = 21927, fd = 1, user_data = 0x1}, {pos = 456826976, events = 21927, fd = -481941981, user_data = 0x1}, {pos = 0, events = 0, fd = 457005960, user_data = 0x7f0fe1ae2418}, {pos = 7516000, events = 32764, fd = -481913206, user_data = 0x0}, {pos = 0, events = 0, fd = 7516032, user_data = 0x55a71a3f5ca0 }, {pos = 2, events = 0, fd = 440360096, user_data = 0x0}, {pos = 4096, events = 0, fd = 99, user_data = 0x10f}, {pos = 4144, events = 0, fd = 8096, user_data = 0x7000000101}, {pos = 111, events = 124, fd = 1, user_data = 0x7700000063}, {pos = 8, events = 0, fd = 0, user_data = 0x2020206c6c612020}, {pos = 255, events = 0, fd = 4096, user_data = 0xffffffffffffff08}, {pos = 0, events = 0, fd = 456999880, user_data = 0x3ff}, {pos = 4096, events = 0, fd = 456810432, user_data = 0x55a71b3a5fc0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 4294901760, fd = -1, user_data = 0xffffffffffffffff}, {pos = 1734701663, events = 1936942450, fd = 1632729645, user_data = 0x6961517a2d737365}, {pos = 168445027, events = 908075040, fd = 822763892, user_data = 0x30340a3735333732}, {pos = 795768178, events = 1919378802, fd = 796095333, user_data = 0x69632f706d742f0a}, {pos = 1937076850, events = 761881389, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x400}, {pos = 456810432, events = 21927, fd = -506817408, user_data = 0x7f0fe1b60bfb}, {pos = 457008640, events = 21927, fd = 456999880, user_data = 0x3ff}, {pos = -508180606, events = 1, fd = 784, user_data = 0x55a719a95d4c}, {pos = 456995856, events = 21927, fd = -1010684416, user_data = 0x2}, {pos = 6, events = 2147483648, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 456995856, user_data = 0x55a71b3d3410}, {pos = 456995856, events = 21927, fd = 1, user_data = 0x55a71b3d34d8}, {pos = 1024, events = 0, fd = 0, user_data = 0x55a71987fd69 }, {pos = 440417904, events = 21927, fd = 428278013, user_data = 0x55a71b3d3410}, {pos = 457022664, events = 21927, fd = 0, user_data = 0xf}, {pos = 74, events = 0, fd = -508163077, user_data = 0x55a71b3a5fc0}, {pos = 421838283, events = 21927, fd = 457032155, user_data = 0x11b3a5fc0}, {pos = 7516152, events = 32764, fd = 0, user_data = 0x55a71b3d3410}, {pos = -508178006, events = 32527, fd = 457010296, user_data = 0x55a71b3a5fc0}, {pos = -508184336, events = 32527, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x3909}, {pos = -507880699, events = 32527, fd = 8, user_data = 0x6aeab07c3c22e00}, {pos = 1, events = 0, fd = 423788361, user_data = 0x400000}, {pos = 428277649, events = 21927, fd = 456984464, user_data = 0x8}, {pos = 0, events = 0, fd = 1, user_data = 0x0}, {pos = 428344437, events = 21927, fd = 0, user_data = 0x55a71924b99e }, {pos = 0, events = 0, fd = 421861236, user_data = 0x55a71b3a8190}, {pos = 423815604, events = 21927, fd = 0, user_data = 0x0}} [04:46:11.517] nevents = 1 [04:46:11.517] __func__ = "ServerLoop" [04:46:11.517] #21 0x000055a719431a75 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x55a71b3a1e80) at ../src/backend/postmaster/postmaster.c:1470 [04:46:11.517] opt = [04:46:11.517] status = [04:46:11.517] userDoption = [04:46:11.517] listen_addr_saved = false [04:46:11.517] output_config_variable = [04:46:11.517] __func__ = "PostmasterMain" [04:46:11.517] #22 0x000055a71925c7b2 in main (argc=8, argv=0x55a71b3a1e80) at ../src/backend/main/main.c:198 [04:46:11.517] do_check_root =