[00:44:58.613] src/tools/ci/cores_backtrace.sh linux /tmp/cores [00:44:58.801] dumping /tmp/cores/postgres-6-18279.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [00:44:59.049] [New LWP 18279] [00:44:59.049] [00:44:59.049] This GDB supports auto-downloading debuginfo from the following URLs: [00:44:59.049] [00:44:59.049] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [00:44:59.049] Debuginfod has been disabled. [00:44:59.049] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [00:44:59.176] [Thread debugging using libthread_db enabled] [00:44:59.176] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [00:44:59.176] Core was generated by `postgres: postgres regression [local] MERGE '. [00:44:59.176] Program terminated with signal SIGABRT, Aborted. [00:44:59.176] #0 0x00007fa73f8a9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [00:45:00.088] [00:45:00.088] Thread 1 (Thread 0x7fa73f5e1f00 (LWP 18279)): [00:45:00.088] #0 0x00007fa73f8a9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [00:45:00.088] No symbol table info available. [00:45:00.088] #1 0x00007fa73f85afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [00:45:00.088] No symbol table info available. [00:45:00.088] #2 0x00007fa73f845472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [00:45:00.088] No symbol table info available. [00:45:00.088] #3 0x000055f4900f6bf2 in ExceptionalCondition (conditionName=conditionName@entry=0x55f490344f85 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x55f490369790 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [00:45:00.088] No locals. [00:45:00.088] #4 0x000055f48faa0e5a in ExecFetchSlotHeapTuple (slot=slot@entry=0x7fff4e6f1510, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7fff4e6f139f) at ../src/backend/executor/execTuples.c:1737 [00:45:00.088] No locals. [00:45:00.088] #5 0x000055f48fa247e5 in ExecIRDeleteTriggers (estate=estate@entry=0x55f492934c50, relinfo=relinfo@entry=0x55f492935200, slot=slot@entry=0x7fff4e6f1510) at ../src/backend/commands/trigger.c:2842 [00:45:00.088] trigger = 0x55f492935460 [00:45:00.088] oldtuple = [00:45:00.088] trigdesc = 0x55f492935410 [00:45:00.088] newtuple = 0x0 [00:45:00.088] should_free = false [00:45:00.088] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7fa733e10240, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [00:45:00.088] i = 0 [00:45:00.088] #6 0x000055f48fafde9e in ExecMergeMatched (context=, resultRelInfo=resultRelInfo@entry=0x55f492935200, tupleid=0x0, oldtuple=0x7fff4e6f1510, canSetTag=true, matched=matched@entry=0x7fff4e6f14af) at ../src/backend/executor/nodeModifyTable.c:3082 [00:45:00.088] relaction = 0x55f492a826d0 [00:45:00.088] commandType = CMD_DELETE [00:45:00.088] result = TM_Ok [00:45:00.088] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [00:45:00.088] l__state = [00:45:00.088] mtstate = 0x55f492934ff0 [00:45:00.088] mergeActions = 0x55f492935310 [00:45:00.088] lockedtid = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0} [00:45:00.088] actionStates = 0x55f492a82c90 [00:45:00.088] newslot = 0x0 [00:45:00.088] rslot = 0x0 [00:45:00.088] estate = 0x55f492934c50 [00:45:00.088] econtext = 0x55f492a81ce0 [00:45:00.088] isNull = false [00:45:00.088] epqstate = 0x55f4929350d8 [00:45:00.088] l = [00:45:00.088] __func__ = "ExecMergeMatched" [00:45:00.088] lmerge_matched = [00:45:00.088] #7 0x000055f48fafeabb in ExecMerge (context=context@entry=0x7fff4e6f1530, resultRelInfo=resultRelInfo@entry=0x55f492935200, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7fff4e6f1510, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2823 [00:45:00.088] rslot = 0x0 [00:45:00.088] matched = true [00:45:00.088] #8 0x000055f48fb00280 in ExecModifyTable (pstate=0x55f492934ff0) at ../src/backend/executor/nodeModifyTable.c:4197 [00:45:00.088] node = 0x55f492934ff0 [00:45:00.088] context = {mtstate = 0x55f492934ff0, epqstate = 0x55f4929350d8, estate = 0x55f492934c50, planSlot = 0x55f492a800c8, tmfd = {ctid = {ip_blkid = {bi_hi = 2, bi_lo = 0}, ip_posid = 0}, xmax = 2460835736, cmax = 22004, traversed = 10}, cpUpdateReturningSlot = 0x55f490139b9a } [00:45:00.088] estate = 0x55f492934c50 [00:45:00.088] operation = CMD_MERGE [00:45:00.088] resultRelInfo = 0x55f492935200 [00:45:00.088] subplanstate = 0x55f492935930 [00:45:00.088] slot = [00:45:00.088] oldSlot = [00:45:00.088] tuple_ctid = {ip_blkid = {bi_hi = 36885, bi_lo = 22004}, ip_posid = 0} [00:45:00.088] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x55f492a49368} [00:45:00.088] oldtuple = 0x7fff4e6f1510 [00:45:00.088] tupleid = 0x0 [00:45:00.088] tuplock = [00:45:00.088] __func__ = "ExecModifyTable" [00:45:00.088] #9 0x000055f48fa9337e in ExecProcNodeFirst (node=0x55f492934ff0) at ../src/backend/executor/execProcnode.c:469 [00:45:00.088] No locals. [00:45:00.088] #10 0x000055f48fa7e6e0 in ExecProcNode (node=node@entry=0x55f492934ff0) at ../src/include/executor/executor.h:278 [00:45:00.088] No locals. [00:45:00.088] #11 0x000055f48fa7e895 in ExecutePlan (estate=estate@entry=0x55f492934c50, planstate=0x55f492934ff0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x55f492a6b8d0, execute_once=true) at ../src/backend/executor/execMain.c:1659 [00:45:00.088] slot = [00:45:00.088] current_tuple_count = 0 [00:45:00.088] #12 0x000055f48fa80650 in standard_ExecutorRun (queryDesc=queryDesc@entry=0x55f492a74248, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:364 [00:45:00.088] estate = 0x55f492934c50 [00:45:00.088] operation = CMD_MERGE [00:45:00.088] dest = 0x55f492a6b8d0 [00:45:00.088] sendTuples = [00:45:00.088] oldcontext = 0x55f492a6b5c0 [00:45:00.088] __func__ = "standard_ExecutorRun" [00:45:00.088] #13 0x000055f48fa808d7 in ExecutorRun (queryDesc=queryDesc@entry=0x55f492a74248, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:305 [00:45:00.088] No locals. [00:45:00.088] #14 0x000055f48fe695b8 in ProcessQuery (plan=plan@entry=0x55f492ad8980, sourceText=0x55f4928e0b50 "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=0x55f492a6b8d0, qc=qc@entry=0x7fff4e6f1780) at ../src/backend/tcop/pquery.c:160 [00:45:00.088] queryDesc = 0x55f492a74248 [00:45:00.088] #15 0x000055f48fe6b1ed in PortalRunMulti (portal=portal@entry=0x55f4929630f0, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x55f492a6b8d0, altdest=0x55f490673ee0 , qc=qc@entry=0x7fff4e6f1780) at ../src/backend/tcop/pquery.c:1278 [00:45:00.088] pstmt = 0x55f492ad8980 [00:45:00.088] stmtlist_item__state = [00:45:00.088] active_snapshot_set = true [00:45:00.088] stmtlist_item = 0x55f492ad8aa8 [00:45:00.088] #16 0x000055f48fe6b73f in FillPortalStore (portal=portal@entry=0x55f4929630f0, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [00:45:00.088] treceiver = 0x55f492a6b8d0 [00:45:00.088] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [00:45:00.088] __func__ = "FillPortalStore" [00:45:00.088] #17 0x000055f48fe6bd10 in PortalRun (portal=portal@entry=0x55f4929630f0, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x55f492ad8ae0, altdest=altdest@entry=0x55f492ad8ae0, qc=0x7fff4e6f1960) at ../src/backend/tcop/pquery.c:763 [00:45:00.088] _save_exception_stack = 0x7fff4e6f1a10 [00:45:00.088] _save_context_stack = 0x0 [00:45:00.088] _local_sigjmp_buf = {{__jmpbuf = {0, -8655189692578439253, 94508919697648, 94508920826912, 94508919697648, 94508920826840, -3173578333906706517, -8655166132080255061}, __mask_was_saved = 0, __saved_mask = {__val = {94508877585306, 94508919163472, 112, 4, 94508877589723, 1315903727, 4, 94508920826840, 112, 163, 94508919697648, 94508920826912, 94508920826888, 94508920826840, 94508877676926, 1}}}} [00:45:00.088] _do_rethrow = [00:45:00.088] result = [00:45:00.088] nprocessed = [00:45:00.088] saveTopTransactionResourceOwner = 0x55f49291fda8 [00:45:00.088] saveTopTransactionContext = 0x55f492974d00 [00:45:00.088] saveActivePortal = 0x0 [00:45:00.088] saveResourceOwner = 0x55f49291fda8 [00:45:00.088] savePortalContext = 0x0 [00:45:00.088] saveMemoryContext = 0x55f492974d00 [00:45:00.088] __func__ = "PortalRun" [00:45:00.088] #18 0x000055f48fe64e0d in exec_simple_query (query_string=query_string@entry=0x55f4928e0b50 "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:1284 [00:45:00.088] cmdtaglen = 5 [00:45:00.088] snapshot_set = [00:45:00.088] per_parsetree_context = 0x0 [00:45:00.088] plantree_list = 0x55f492ad8a90 [00:45:00.088] parsetree = 0x55f492a76bd8 [00:45:00.088] commandTag = [00:45:00.088] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [00:45:00.088] querytree_list = [00:45:00.088] portal = 0x55f4929630f0 [00:45:00.088] receiver = 0x55f492ad8ae0 [00:45:00.088] format = 0 [00:45:00.088] cmdtagname = [00:45:00.088] parsetree_item__state = [00:45:00.088] dest = DestRemote [00:45:00.088] oldcontext = 0x55f492974d00 [00:45:00.088] parsetree_list = 0x55f492a76c08 [00:45:00.088] parsetree_item = 0x55f492a76c20 [00:45:00.088] save_log_statement_stats = false [00:45:00.088] was_logged = false [00:45:00.088] use_implicit_block = false [00:45:00.088] msec_str = "\300\033oN\377\177\000\000\240\311\021\220\364U\000\000\360\031oN\377\177\000\000\026\001\000\000\000\000\000" [00:45:00.088] __func__ = "exec_simple_query" [00:45:00.088] #19 0x000055f48fe67b91 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4793 [00:45:00.088] query_string = 0x55f4928e0b50 "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"... [00:45:00.088] firstchar = [00:45:00.088] input_message = {data = 0x55f4928e0b50 "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 = 278, maxlen = 1024, cursor = 278} [00:45:00.088] local_sigjmp_buf = {{__jmpbuf = {94508890143064, -8655194826758856789, 4, 140734509292480, 140734509292624, 140734509292628, -3173578334112227413, -8655166129602601045}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94508918894192, 15616, 94508890137152, 94508919418208, 140734509292624, 94508877589271, 0, 9, 2, 94508890143072, 94508918894192, 94508890137152, 140734509292480, 140734509292624, 140734509292628}}}} [00:45:00.088] send_ready_for_query = false [00:45:00.088] idle_in_transaction_timeout_enabled = false [00:45:00.088] idle_session_timeout_enabled = false [00:45:00.088] __func__ = "PostgresMain" [00:45:00.088] #20 0x000055f48fe5da08 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [00:45:00.088] bsdata = [00:45:00.088] #21 0x000055f48fd153a7 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7fff4e6f1b6c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7fff4e6f1bc0) at ../src/backend/postmaster/launch_backend.c:274 [00:45:00.088] pid = [00:45:00.088] #22 0x000055f48fd1ae5b in BackendStartup (client_sock=client_sock@entry=0x7fff4e6f1bc0) at ../src/backend/postmaster/postmaster.c:3420 [00:45:00.088] bn = 0x55f4929092a8 [00:45:00.088] pid = [00:45:00.088] startup_data = {canAcceptConnections = CAC_OK} [00:45:00.088] __func__ = "BackendStartup" [00:45:00.088] #23 0x000055f48fd1b3bd in ServerLoop () at ../src/backend/postmaster/postmaster.c:1653 [00:45:00.088] s = {sock = 9, raddr = {addr = {ss_family = 1, __ss_padding = "\aA\247\177\000\000>\004\000\000\000\000\000\000\260\227\203?\247\177\000\000\240/q@\247\177\000\000x\034oN\377\177\000\000t\034oN\377\177", '\000' , ">\337\355\216\364U\000\000\200\307\351\216\364U\000\000@\035oN\377\177\000\0008\035oN\377\177\000\000\225[\362\001\336\262\300\t\240\224h@\247\177\000\000+\000\000\000\000\000\000", __ss_align = 0}, salen = 2}} [00:45:00.088] i = 0 [00:45:00.088] now = [00:45:00.088] last_lockfile_recheck_time = 1727397678 [00:45:00.088] last_touch_time = 1727397678 [00:45:00.088] events = {{pos = 1, events = 2, fd = 7, user_data = 0x0}, {pos = 1382427086, events = 0, fd = 1315904896, user_data = 0x0}, {pos = 15, events = 0, fd = -1897013442, user_data = 0x7fa74109a668}, {pos = 1080596016, events = 32679, fd = 1091150560, user_data = 0x7c96e577}, {pos = 1315904960, events = 32767, fd = 1090980424, user_data = 0xf}, {pos = 1080596016, events = 32679, fd = 1, user_data = 0x0}, {pos = 1, events = 0, fd = 1091150560, user_data = 0x7fff4e6f1d38}, {pos = 1315904832, events = 32767, fd = 1091151464, user_data = 0x0}, {pos = -1836177072, events = 22004, fd = 1066331365, user_data = 0x7fff4e6f2253}, {pos = 1, events = 0, fd = 1315904832, user_data = 0xffffffff}, {pos = 1065541664, events = 32679, fd = 1081159584, user_data = 0x55f49290d7e8}, {pos = -1836001592, events = 22004, fd = -1835992863, user_data = 0x7fa741076ebe}, {pos = 1, events = 0, fd = 1091150560, user_data = 0x1b6}, {pos = -1872151120, events = 22004, fd = 0, user_data = 0x1}, {pos = -1836184560, events = 22004, fd = 1091006142, user_data = 0x1}, {pos = 0, events = 0, fd = 1065541664, user_data = 0x7fa73f8f2dc0 }, {pos = 16, events = 0, fd = 1315905936, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x7fa7410791ba}, {pos = 0, events = 0, fd = 1066069284, user_data = 0x0}, {pos = -1865268512, events = 22004, fd = 2, user_data = 0x7}, {pos = -1836437744, events = 22004, fd = 1952410737, user_data = 0x169}, {pos = -1872151736, events = 22004, fd = 8, user_data = 0x2ffff00001fa0}, {pos = -1836184560, events = 22004, fd = 1091006142, user_data = 0x1}, {pos = 1066102765, events = 32679, fd = 1065575624, user_data = 0x55f49290c4b0}, {pos = 255, events = 0, fd = 99, user_data = 0x100007f00000002}, {pos = 1067392096, events = 32679, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 1023, events = 0, fd = 0, user_data = 0x55f4928a2f10}, {pos = 1066105354, events = 32679, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0xffffffffffffffff}, {pos = -1, events = 4294967295, fd = -1, user_data = 0xffffffffffffffff}, {pos = 762540901, events = 895574884, fd = 168458100, user_data = 0x33373237310a6174}, {pos = 926299961, events = 808716856, fd = 795768178, user_data = 0x726765722f737365}, {pos = 1836330762, events = 1768107888, fd = 1937076850, user_data = 0x0}, {pos = 0, events = 21760, 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 = 1067375072, events = 32679, fd = 1066013038, user_data = 0x100000400}, {pos = 7, events = 0, fd = 2, user_data = 0x9c0b2dea72ad100}, {pos = 1067378144, events = 32679, fd = -328, user_data = 0x0}, {pos = -1836001912, events = 22004, fd = 1024, user_data = 0x55f49290d588}, {pos = 2, events = 0, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 3, user_data = 0x0}, {pos = 16050, events = 0, fd = -328, user_data = 0x0}, {pos = -1836184560, events = 22004, fd = 1066348499, user_data = 0x7fff4e6f2248}, {pos = -1877679858, events = 22004, fd = -1865205488, user_data = 0x55f49013cbcb }, {pos = -1836002112, events = 22004, fd = -1836185008, user_data = 0x55f49290d4c0}, {pos = 1066096702, events = 32679, fd = 0, user_data = 0x55f49014e835 }, {pos = -1836002112, events = 1, fd = -1877677698, user_data = 0x55f4928e0a50}, {pos = -1490366208, events = 163623646, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = 1066019505, user_data = 0x7fa73f8a14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1490366208, user_data = 0x55f4928b8180}, {pos = -1490366208, events = 163623646, fd = 11, user_data = 0x9c0b2dea72ad100}, {pos = 0, events = 0, fd = 1065726521, user_data = 0x1}, {pos = -1882107740, events = 22004, fd = 4194304, user_data = 0x55f49013ca5f }, {pos = -1836351104, events = 22004, fd = -1836185008, user_data = 0x55f4928b8180}, {pos = 1, events = 0, fd = 0, user_data = 0x55f49014e835 }, {pos = -1836351104, events = 22004, fd = -1877677698, user_data = 0x0}, {pos = 8, events = 0, fd = 0, user_data = 0x55f48fb4b85b }, {pos = 0, events = 0, fd = -1883960421, user_data = 0xb}, {pos = -1882086583, events = 22004, fd = -1868804944, user_data = 0x55f4928e1428}} [00:45:00.088] nevents = 1 [00:45:00.088] __func__ = "ServerLoop" [00:45:00.088] #24 0x000055f48fd1cb40 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x55f49289edd0) at ../src/backend/postmaster/postmaster.c:1351 [00:45:00.088] opt = [00:45:00.088] status = [00:45:00.088] userDoption = [00:45:00.088] listen_addr_saved = false [00:45:00.088] output_config_variable = [00:45:00.088] __func__ = "PostmasterMain" [00:45:00.088] #25 0x000055f48fb5bc37 in main (argc=8, argv=0x55f49289edd0) at ../src/backend/main/main.c:197 [00:45:00.089] do_check_root = [00:45:00.125] -e [00:45:00.125] [00:45:00.125] [00:45:00.186] dumping /tmp/cores/postgres-6-19148.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [00:45:00.437] [New LWP 19148] [00:45:00.437] [00:45:00.437] This GDB supports auto-downloading debuginfo from the following URLs: [00:45:00.437] [00:45:00.437] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [00:45:00.437] Debuginfod has been disabled. [00:45:00.437] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [00:45:00.544] [Thread debugging using libthread_db enabled] [00:45:00.544] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [00:45:00.544] Core was generated by `postgres: old_node: postgres regression [local] MERGE '. [00:45:00.544] Program terminated with signal SIGABRT, Aborted. [00:45:00.544] #0 0x00007f2f2aea9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [00:45:01.481] [00:45:01.481] Thread 1 (Thread 0x7f2f28a1ff00 (LWP 19148)): [00:45:01.481] #0 0x00007f2f2aea9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [00:45:01.481] No symbol table info available. [00:45:01.481] #1 0x00007f2f2ae5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [00:45:01.481] No symbol table info available. [00:45:01.481] #2 0x00007f2f2ae45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [00:45:01.481] No symbol table info available. [00:45:01.481] #3 0x00005640ea11abf2 in ExceptionalCondition (conditionName=conditionName@entry=0x5640ea368f85 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x5640ea38d790 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [00:45:01.481] No locals. [00:45:01.481] #4 0x00005640e9ac4e5a in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffd0a65f550, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffd0a65f3df) at ../src/backend/executor/execTuples.c:1737 [00:45:01.481] No locals. [00:45:01.481] #5 0x00005640e9a487e5 in ExecIRDeleteTriggers (estate=estate@entry=0x5640ec900d30, relinfo=relinfo@entry=0x5640ec9012e0, slot=slot@entry=0x7ffd0a65f550) at ../src/backend/commands/trigger.c:2842 [00:45:01.481] trigger = 0x5640ec901540 [00:45:01.481] oldtuple = [00:45:01.481] trigdesc = 0x5640ec9014f0 [00:45:01.481] newtuple = 0x0 [00:45:01.481] should_free = false [00:45:01.481] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f2f1f7e28a0, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [00:45:01.481] i = 0 [00:45:01.481] #6 0x00005640e9b21e9e in ExecMergeMatched (context=, resultRelInfo=resultRelInfo@entry=0x5640ec9012e0, tupleid=0x0, oldtuple=0x7ffd0a65f550, canSetTag=true, matched=matched@entry=0x7ffd0a65f4ef) at ../src/backend/executor/nodeModifyTable.c:3082 [00:45:01.481] relaction = 0x5640ec9ba1d0 [00:45:01.481] commandType = CMD_DELETE [00:45:01.481] result = TM_Ok [00:45:01.481] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [00:45:01.481] l__state = [00:45:01.481] mtstate = 0x5640ec9010d0 [00:45:01.481] mergeActions = 0x5640ec9013f0 [00:45:01.481] lockedtid = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0} [00:45:01.481] actionStates = 0x5640ec9ba790 [00:45:01.481] newslot = 0x0 [00:45:01.481] rslot = 0x0 [00:45:01.481] estate = 0x5640ec900d30 [00:45:01.481] econtext = 0x5640ec9b97e0 [00:45:01.481] isNull = false [00:45:01.481] epqstate = 0x5640ec9011b8 [00:45:01.481] l = [00:45:01.481] __func__ = "ExecMergeMatched" [00:45:01.481] lmerge_matched = [00:45:01.481] #7 0x00005640e9b22abb in ExecMerge (context=context@entry=0x7ffd0a65f570, resultRelInfo=resultRelInfo@entry=0x5640ec9012e0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffd0a65f550, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2823 [00:45:01.481] rslot = 0x0 [00:45:01.481] matched = true [00:45:01.481] #8 0x00005640e9b24280 in ExecModifyTable (pstate=0x5640ec9010d0) at ../src/backend/executor/nodeModifyTable.c:4197 [00:45:01.481] node = 0x5640ec9010d0 [00:45:01.481] context = {mtstate = 0x5640ec9010d0, epqstate = 0x5640ec9011b8, estate = 0x5640ec900d30, planSlot = 0x5640ec9b7bc8, tmfd = {ctid = {ip_blkid = {bi_hi = 2, bi_lo = 0}, ip_posid = 0}, xmax = 3969655432, cmax = 22080, traversed = 10}, cpUpdateReturningSlot = 0x5640ea15db9a } [00:45:01.481] estate = 0x5640ec900d30 [00:45:01.481] operation = CMD_MERGE [00:45:01.481] resultRelInfo = 0x5640ec9012e0 [00:45:01.481] subplanstate = 0x5640ec901a10 [00:45:01.481] slot = [00:45:01.481] oldSlot = [00:45:01.481] tuple_ctid = {ip_blkid = {bi_hi = 59927, bi_lo = 22080}, ip_posid = 0} [00:45:01.481] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x5640ec960448} [00:45:01.481] oldtuple = 0x7ffd0a65f550 [00:45:01.481] tupleid = 0x0 [00:45:01.481] tuplock = [00:45:01.481] __func__ = "ExecModifyTable" [00:45:01.481] #9 0x00005640e9ab737e in ExecProcNodeFirst (node=0x5640ec9010d0) at ../src/backend/executor/execProcnode.c:469 [00:45:01.481] No locals. [00:45:01.481] #10 0x00005640e9aa26e0 in ExecProcNode (node=node@entry=0x5640ec9010d0) at ../src/include/executor/executor.h:278 [00:45:01.481] No locals. [00:45:01.481] #11 0x00005640e9aa2895 in ExecutePlan (estate=estate@entry=0x5640ec900d30, planstate=0x5640ec9010d0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x5640ec9835e0, execute_once=true) at ../src/backend/executor/execMain.c:1659 [00:45:01.481] slot = [00:45:01.481] current_tuple_count = 0 [00:45:01.481] #12 0x00005640e9aa4650 in standard_ExecutorRun (queryDesc=queryDesc@entry=0x5640eca231e8, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:364 [00:45:01.481] estate = 0x5640ec900d30 [00:45:01.481] operation = CMD_MERGE [00:45:01.481] dest = 0x5640ec9835e0 [00:45:01.481] sendTuples = [00:45:01.481] oldcontext = 0x5640ec9832d0 [00:45:01.481] __func__ = "standard_ExecutorRun" [00:45:01.481] #13 0x00005640e9aa48d7 in ExecutorRun (queryDesc=queryDesc@entry=0x5640eca231e8, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:305 [00:45:01.481] No locals. [00:45:01.481] #14 0x00005640e9e8d5b8 in ProcessQuery (plan=plan@entry=0x5640ec9c4c70, sourceText=0x5640ec7f7ad0 "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=0x5640ec9835e0, qc=qc@entry=0x7ffd0a65f7c0) at ../src/backend/tcop/pquery.c:160 [00:45:01.481] queryDesc = 0x5640eca231e8 [00:45:01.481] #15 0x00005640e9e8f1ed in PortalRunMulti (portal=portal@entry=0x5640ec87a720, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x5640ec9835e0, altdest=0x5640ea697ee0 , qc=qc@entry=0x7ffd0a65f7c0) at ../src/backend/tcop/pquery.c:1278 [00:45:01.481] pstmt = 0x5640ec9c4c70 [00:45:01.481] stmtlist_item__state = [00:45:01.481] active_snapshot_set = true [00:45:01.481] stmtlist_item = 0x5640ec9c4d98 [00:45:01.481] #16 0x00005640e9e8f73f in FillPortalStore (portal=portal@entry=0x5640ec87a720, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [00:45:01.481] treceiver = 0x5640ec9835e0 [00:45:01.481] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [00:45:01.481] __func__ = "FillPortalStore" [00:45:01.481] #17 0x00005640e9e8fd10 in PortalRun (portal=portal@entry=0x5640ec87a720, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x5640ec9c4dd0, altdest=altdest@entry=0x5640ec9c4dd0, qc=0x7ffd0a65f9a0) at ../src/backend/tcop/pquery.c:763 [00:45:01.481] _save_exception_stack = 0x7ffd0a65fa50 [00:45:01.481] _save_context_stack = 0x0 [00:45:01.481] _local_sigjmp_buf = {{__jmpbuf = {0, -161010157312889646, 94836846208800, 94836847935264, 94836846208800, 94836847935192, -5856869819980010286, -161020230470816558}, __mask_was_saved = 0, __saved_mask = {__val = {94836805196698, 94836845672912, 112, 4, 94836805201115, 174455087, 4, 94836847935192, 112, 163, 94836846208800, 94836847935264, 94836847935240, 94836847935192, 94836805288318, 1}}}} [00:45:01.481] _do_rethrow = [00:45:01.481] result = [00:45:01.481] nprocessed = [00:45:01.481] saveTopTransactionResourceOwner = 0x5640ec8378d8 [00:45:01.481] saveTopTransactionContext = 0x5640ec88b700 [00:45:01.481] saveActivePortal = 0x0 [00:45:01.481] saveResourceOwner = 0x5640ec8378d8 [00:45:01.481] savePortalContext = 0x0 [00:45:01.481] saveMemoryContext = 0x5640ec88b700 [00:45:01.481] __func__ = "PortalRun" [00:45:01.481] #18 0x00005640e9e88e0d in exec_simple_query (query_string=query_string@entry=0x5640ec7f7ad0 "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:1284 [00:45:01.481] cmdtaglen = 5 [00:45:01.481] snapshot_set = [00:45:01.481] per_parsetree_context = 0x0 [00:45:01.481] plantree_list = 0x5640ec9c4d80 [00:45:01.481] parsetree = 0x5640eca1fed8 [00:45:01.481] commandTag = [00:45:01.481] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [00:45:01.481] querytree_list = [00:45:01.481] portal = 0x5640ec87a720 [00:45:01.481] receiver = 0x5640ec9c4dd0 [00:45:01.481] format = 0 [00:45:01.481] cmdtagname = [00:45:01.481] parsetree_item__state = [00:45:01.481] dest = DestRemote [00:45:01.481] oldcontext = 0x5640ec88b700 [00:45:01.481] parsetree_list = 0x5640eca1ff08 [00:45:01.481] parsetree_item = 0x5640eca1ff20 [00:45:01.481] save_log_statement_stats = false [00:45:01.481] was_logged = true [00:45:01.481] use_implicit_block = false [00:45:01.481] msec_str = "\000\374e\n\375\177\000\000\240\t\024\352@V\000\0000\372e\n\375\177\000\000\026\001\000\000\000\000\000" [00:45:01.481] __func__ = "exec_simple_query" [00:45:01.481] #19 0x00005640e9e8bb91 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4793 [00:45:01.481] query_string = 0x5640ec7f7ad0 "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"... [00:45:01.481] firstchar = [00:45:01.481] input_message = {data = 0x5640ec7f7ad0 "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 = 278, maxlen = 1024, cursor = 278} [00:45:01.481] local_sigjmp_buf = {{__jmpbuf = {94836817754456, -161014067190649646, 4, 140724777909248, 140724777909392, 140724777909396, -5856869819522831150, -161020228519285550}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94836845403728, 14336, 94836817748544, 94836845930640, 140724777909392, 94836805200663, 0, 9, 2, 94836817754464, 94836845403728, 94836817748544, 140724777909248, 140724777909392, 140724777909396}}}} [00:45:01.481] send_ready_for_query = false [00:45:01.481] idle_in_transaction_timeout_enabled = false [00:45:01.481] idle_session_timeout_enabled = false [00:45:01.481] __func__ = "PostgresMain" [00:45:01.481] #20 0x00005640e9e81a08 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [00:45:01.481] bsdata = [00:45:01.481] #21 0x00005640e9d393a7 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffd0a65fbac "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffd0a65fc00) at ../src/backend/postmaster/launch_backend.c:274 [00:45:01.481] pid = [00:45:01.481] #22 0x00005640e9d3ee5b in BackendStartup (client_sock=client_sock@entry=0x7ffd0a65fc00) at ../src/backend/postmaster/postmaster.c:3420 [00:45:01.481] bn = 0x5640ec82cde8 [00:45:01.481] pid = [00:45:01.481] startup_data = {canAcceptConnections = CAC_OK} [00:45:01.481] __func__ = "BackendStartup" [00:45:01.481] #23 0x00005640e9d3f3bd in ServerLoop () at ../src/backend/postmaster/postmaster.c:1653 [00:45:01.481] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "o,/\177\000\000>\004\000\000\000\000\000\000\260\227\343*/\177\000\000\240\2572,/\177\000\000\270\374e\n\375\177\000\000\264\374e\n\375\177", '\000' , ">\037\360\350@V\000\000\200\a\354\350@V\000\000\200\375e\n\375\177\000\000x\375e\n\375\177\000\000\225[\362\001@;\002K\240\304c+/\177\000\000+\000\000\000\000\000\000", __ss_align = 0}, salen = 2}} [00:45:01.481] i = 0 [00:45:01.481] now = [00:45:01.481] last_lockfile_recheck_time = 1727397681 [00:45:01.481] last_touch_time = 1727397681 [00:45:01.481] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 1382427086, events = 0, fd = 174456256, user_data = 0x0}, {pos = 15, events = 0, fd = -386916546, user_data = 0x7f2f2c721668}, {pos = 727959088, events = 32559, fd = 745673440, user_data = 0x7c96e577}, {pos = 174456320, events = 32765, fd = 745503304, user_data = 0xf}, {pos = 727959088, events = 32559, fd = 1, user_data = 0x0}, {pos = 1, events = 0, fd = 745673440, user_data = 0x7ffd0a65fd78}, {pos = 174456192, events = 32765, fd = 745674344, user_data = 0x0}, {pos = -327182192, events = 22080, fd = 720301285, user_data = 0x7ffd0a660293}, {pos = 1, events = 0, fd = 174456192, user_data = 0xffffffff}, {pos = 719511584, events = 32559, fd = 741519264, user_data = 0x5640ec826408}, {pos = -326999320, events = 22080, fd = -326999871, user_data = 0x7f2f2c6fdebe}, {pos = 1, events = 0, fd = 745673440, user_data = 0x1b6}, {pos = -362054224, events = 22080, fd = 0, user_data = 0x1}, {pos = -327189784, events = 22080, fd = 745529022, user_data = 0x1}, {pos = 0, events = 0, fd = 719511584, user_data = 0x7f2f2aef2dc0 }, {pos = 16, events = 0, fd = 174457296, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x7f2f2c7001ba}, {pos = 0, events = 0, fd = 720039204, user_data = 0x0}, {pos = -355171616, events = 22080, fd = 2, user_data = 0x7}, {pos = -327442704, events = 22080, fd = 1952410737, user_data = 0x169}, {pos = -362054840, events = 22080, fd = 4, user_data = 0x2ffff00001fa0}, {pos = -327189784, events = 22080, fd = 745529022, user_data = 0x1}, {pos = 720072327, events = 32559, fd = 719545544, user_data = 0x7d0}, {pos = 255, events = 0, fd = 99, user_data = 0x100007f00000002}, {pos = 721362016, events = 32559, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 1023, events = 0, fd = 0, user_data = 0x5640ec7b9ef0}, {pos = 720075274, events = 32559, 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 = 22016, 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 = 721344992, events = 32559, fd = 719982958, user_data = 0x100000400}, {pos = 7, events = 0, fd = 2, user_data = 0x4b023b4030112700}, {pos = 721348064, events = 32559, fd = -328, user_data = 0x0}, {pos = -326999640, events = 22080, fd = 1024, user_data = 0x5640ec8261a8}, {pos = 2, events = 0, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 3, user_data = 0x0}, {pos = 16651, events = 0, fd = -328, user_data = 0x0}, {pos = -327189784, events = 22080, fd = 720318419, user_data = 0x7ffd0a660288}, {pos = -367582962, events = 22080, fd = -355108592, user_data = 0x5640ea160bcb }, {pos = -326999840, events = 22080, fd = -327190064, user_data = 0x5640ec8260e0}, {pos = 720066283, events = 32559, fd = 0, user_data = 0x5640ea172835 }, {pos = -326999840, events = 1, fd = -367580802, user_data = 0x5640ec7f79d0}, {pos = 806430464, events = 1258437440, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = 719989425, user_data = 0x7f2f2aea14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 806430464, user_data = 0x5640ec7cf100}, {pos = 806430464, events = 1258437440, fd = 11, user_data = 0x4b023b4030112700}, {pos = 0, events = 0, fd = 719696441, user_data = 0x1}, {pos = -372010844, events = 22080, fd = 4194304, user_data = 0x5640ea160a5f }, {pos = -327356160, events = 22080, fd = -327190064, user_data = 0x5640ec7cf100}, {pos = 1, events = 0, fd = 0, user_data = 0x5640ea172835 }, {pos = -327356160, events = 22080, fd = -367580802, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x5640e9b6f85b }, {pos = 0, events = 0, fd = -373863525, user_data = 0xb}, {pos = -371989687, events = 22080, fd = -358708048, user_data = 0x5640ec7f8378}} [00:45:01.482] nevents = 1 [00:45:01.482] __func__ = "ServerLoop" [00:45:01.482] #24 0x00005640e9d40b40 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x5640ec7b5d60) at ../src/backend/postmaster/postmaster.c:1351 [00:45:01.482] opt = [00:45:01.482] status = [00:45:01.482] userDoption = [00:45:01.482] listen_addr_saved = false [00:45:01.482] output_config_variable = [00:45:01.482] __func__ = "PostmasterMain" [00:45:01.482] #25 0x00005640e9b7fc37 in main (argc=4, argv=0x5640ec7b5d60) at ../src/backend/main/main.c:197 [00:45:01.482] do_check_root = [00:45:01.519] -e [00:45:01.519] [00:45:01.519] [00:45:01.581] dumping /tmp/cores/postgres-6-25270.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [00:45:01.830] [New LWP 25270] [00:45:01.830] [00:45:01.830] This GDB supports auto-downloading debuginfo from the following URLs: [00:45:01.830] [00:45:01.830] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [00:45:01.830] Debuginfod has been disabled. [00:45:01.830] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [00:45:01.943] [Thread debugging using libthread_db enabled] [00:45:01.943] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [00:45:01.943] Core was generated by `postgres: primary: postgres regression [local] MERGE '. [00:45:01.943] Program terminated with signal SIGABRT, Aborted. [00:45:01.943] #0 0x00007f50494a9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [00:45:02.859] [00:45:02.859] Thread 1 (Thread 0x7f50491d6f00 (LWP 25270)): [00:45:02.859] #0 0x00007f50494a9e3c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [00:45:02.859] No symbol table info available. [00:45:02.859] #1 0x00007f504945afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [00:45:02.859] No symbol table info available. [00:45:02.859] #2 0x00007f5049445472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [00:45:02.859] No symbol table info available. [00:45:02.859] #3 0x00005626c7e12bf2 in ExceptionalCondition (conditionName=conditionName@entry=0x5626c8060f85 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x5626c8085790 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [00:45:02.859] No locals. [00:45:02.859] #4 0x00005626c77bce5a in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffc28982620, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffc289824af) at ../src/backend/executor/execTuples.c:1737 [00:45:02.859] No locals. [00:45:02.859] #5 0x00005626c77407e5 in ExecIRDeleteTriggers (estate=estate@entry=0x5626c97f8e00, relinfo=relinfo@entry=0x5626c97f93b0, slot=slot@entry=0x7ffc28982620) at ../src/backend/commands/trigger.c:2842 [00:45:02.859] trigger = 0x5626c97f9610 [00:45:02.859] oldtuple = [00:45:02.859] trigdesc = 0x5626c97f95c0 [00:45:02.859] newtuple = 0x0 [00:45:02.859] should_free = false [00:45:02.859] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f5044e10060, tg_trigtuple = 0x0, tg_newtuple = 0x0, tg_trigger = 0x0, tg_trigslot = 0x0, tg_newslot = 0x0, tg_oldtable = 0x0, tg_newtable = 0x0, tg_updatedcols = 0x0} [00:45:02.859] i = 0 [00:45:02.859] #6 0x00005626c7819e9e in ExecMergeMatched (context=, resultRelInfo=resultRelInfo@entry=0x5626c97f93b0, tupleid=0x0, oldtuple=0x7ffc28982620, canSetTag=true, matched=matched@entry=0x7ffc289825bf) at ../src/backend/executor/nodeModifyTable.c:3082 [00:45:02.859] relaction = 0x5626c98928a0 [00:45:02.859] commandType = CMD_DELETE [00:45:02.859] result = TM_Ok [00:45:02.859] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [00:45:02.859] l__state = [00:45:02.859] mtstate = 0x5626c97f91a0 [00:45:02.859] mergeActions = 0x5626c97f94c0 [00:45:02.859] lockedtid = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0} [00:45:02.859] actionStates = 0x5626c9892e60 [00:45:02.859] newslot = 0x0 [00:45:02.859] rslot = 0x0 [00:45:02.859] estate = 0x5626c97f8e00 [00:45:02.859] econtext = 0x5626c9891eb0 [00:45:02.859] isNull = false [00:45:02.859] epqstate = 0x5626c97f9288 [00:45:02.859] l = [00:45:02.859] __func__ = "ExecMergeMatched" [00:45:02.859] lmerge_matched = [00:45:02.859] #7 0x00005626c781aabb in ExecMerge (context=context@entry=0x7ffc28982640, resultRelInfo=resultRelInfo@entry=0x5626c97f93b0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffc28982620, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2823 [00:45:02.859] rslot = 0x0 [00:45:02.859] matched = true [00:45:02.859] #8 0x00005626c781c280 in ExecModifyTable (pstate=0x5626c97f91a0) at ../src/backend/executor/nodeModifyTable.c:4197 [00:45:02.859] node = 0x5626c97f91a0 [00:45:02.859] context = {mtstate = 0x5626c97f91a0, epqstate = 0x5626c97f9288, estate = 0x5626c97f8e00, planSlot = 0x5626c9890298, tmfd = {ctid = {ip_blkid = {bi_hi = 1, bi_lo = 0}, ip_posid = 0}, xmax = 1155435824, cmax = 32592, traversed = 56}, cpUpdateReturningSlot = 0x5626c97f9288} [00:45:02.859] estate = 0x5626c97f8e00 [00:45:02.859] operation = CMD_MERGE [00:45:02.859] resultRelInfo = 0x5626c97f93b0 [00:45:02.859] subplanstate = 0x5626c97f9ae0 [00:45:02.859] slot = [00:45:02.859] oldSlot = [00:45:02.859] tuple_ctid = {ip_blkid = {bi_hi = 51073, bi_lo = 22054}, ip_posid = 0} [00:45:02.859] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x5626c9833cc8} [00:45:02.859] oldtuple = 0x7ffc28982620 [00:45:02.859] tupleid = 0x0 [00:45:02.859] tuplock = [00:45:02.859] __func__ = "ExecModifyTable" [00:45:02.859] #9 0x00005626c77af37e in ExecProcNodeFirst (node=0x5626c97f91a0) at ../src/backend/executor/execProcnode.c:469 [00:45:02.859] No locals. [00:45:02.859] #10 0x00005626c779a6e0 in ExecProcNode (node=node@entry=0x5626c97f91a0) at ../src/include/executor/executor.h:278 [00:45:02.859] No locals. [00:45:02.859] #11 0x00005626c779a895 in ExecutePlan (estate=estate@entry=0x5626c97f8e00, planstate=0x5626c97f91a0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x5626c9857540, execute_once=true) at ../src/backend/executor/execMain.c:1659 [00:45:02.859] slot = [00:45:02.859] current_tuple_count = 0 [00:45:02.859] #12 0x00005626c779c650 in standard_ExecutorRun (queryDesc=queryDesc@entry=0x5626c98de948, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:364 [00:45:02.859] estate = 0x5626c97f8e00 [00:45:02.859] operation = CMD_MERGE [00:45:02.859] dest = 0x5626c9857540 [00:45:02.859] sendTuples = [00:45:02.859] oldcontext = 0x5626c9857230 [00:45:02.859] __func__ = "standard_ExecutorRun" [00:45:02.859] #13 0x00007f5046e63813 in pgss_ExecutorRun (queryDesc=0x5626c98de948, direction=ForwardScanDirection, count=0, execute_once=) at ../contrib/pg_stat_statements/pg_stat_statements.c:1024 [00:45:02.859] _save_exception_stack = 0x7ffc28982a40 [00:45:02.859] _save_context_stack = 0x0 [00:45:02.859] _local_sigjmp_buf = {{__jmpbuf = {94724590266696, -1493733846188870808, 0, 1, 0, 0, 1494458177667543912, 1577875289649132392}, __mask_was_saved = 0, __saved_mask = {__val = {6, 94724589900600, 400, 0, 2147483647, 94724589712704, 0, 0, 94724562534782, 0, 1, 0, 94724555571933, 94724590266696, 94724575000928, 94724589711920}}}} [00:45:02.859] _do_rethrow = false [00:45:02.859] #14 0x00005626c779c899 in ExecutorRun (queryDesc=queryDesc@entry=0x5626c98de948, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:303 [00:45:02.859] No locals. [00:45:02.859] #15 0x00005626c7b855b8 in ProcessQuery (plan=plan@entry=0x5626c9888240, sourceText=0x5626c96e8af0 "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=0x5626c9857540, qc=qc@entry=0x7ffc289829a0) at ../src/backend/tcop/pquery.c:160 [00:45:02.859] queryDesc = 0x5626c98de948 [00:45:02.859] #16 0x00005626c7b871ed in PortalRunMulti (portal=portal@entry=0x5626c976a030, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x5626c9857540, altdest=0x5626c838fee0 , qc=qc@entry=0x7ffc289829a0) at ../src/backend/tcop/pquery.c:1278 [00:45:02.859] pstmt = 0x5626c9888240 [00:45:02.859] stmtlist_item__state = [00:45:02.859] active_snapshot_set = true [00:45:02.859] stmtlist_item = 0x5626c9888368 [00:45:02.859] #17 0x00005626c7b8773f in FillPortalStore (portal=portal@entry=0x5626c976a030, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [00:45:02.859] treceiver = 0x5626c9857540 [00:45:02.859] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [00:45:02.859] __func__ = "FillPortalStore" [00:45:02.859] #18 0x00005626c7b87d10 in PortalRun (portal=portal@entry=0x5626c976a030, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x5626c98883a0, altdest=altdest@entry=0x5626c98883a0, qc=0x7ffc28982b80) at ../src/backend/tcop/pquery.c:763 [00:45:02.859] _save_exception_stack = 0x7ffc28982c30 [00:45:02.859] _save_context_stack = 0x0 [00:45:02.859] _local_sigjmp_buf = {{__jmpbuf = {0, 5118521202522796904, 94724588740656, 94724590429616, 94724588740656, 94724590429544, 1494458177864676200, 5118551583823311720}, __mask_was_saved = 0, __saved_mask = {__val = {94724562443162, 94724588210672, 112, 4, 94724562447579, 681061135, 4, 94724590429544, 112, 163, 94724588740656, 94724590429616, 94724590429592, 94724590429544, 94724562534782, 1}}}} [00:45:02.859] _do_rethrow = [00:45:02.859] result = [00:45:02.859] nprocessed = [00:45:02.859] saveTopTransactionResourceOwner = 0x5626c9729508 [00:45:02.859] saveTopTransactionContext = 0x5626c977c460 [00:45:02.859] saveActivePortal = 0x0 [00:45:02.859] saveResourceOwner = 0x5626c9729508 [00:45:02.859] savePortalContext = 0x0 [00:45:02.859] saveMemoryContext = 0x5626c977c460 [00:45:02.859] __func__ = "PortalRun" [00:45:02.859] #19 0x00005626c7b80e0d in exec_simple_query (query_string=query_string@entry=0x5626c96e8af0 "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:1284 [00:45:02.859] cmdtaglen = 5 [00:45:02.859] snapshot_set = [00:45:02.859] per_parsetree_context = 0x0 [00:45:02.859] plantree_list = 0x5626c9888350 [00:45:02.859] parsetree = 0x5626c9906568 [00:45:02.859] commandTag = [00:45:02.859] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [00:45:02.859] querytree_list = [00:45:02.859] portal = 0x5626c976a030 [00:45:02.859] receiver = 0x5626c98883a0 [00:45:02.859] format = 0 [00:45:02.859] cmdtagname = [00:45:02.859] parsetree_item__state = [00:45:02.859] dest = DestRemote [00:45:02.859] oldcontext = 0x5626c977c460 [00:45:02.859] parsetree_list = 0x5626c9906598 [00:45:02.859] parsetree_item = 0x5626c99065b0 [00:45:02.859] save_log_statement_stats = false [00:45:02.859] was_logged = true [00:45:02.859] use_implicit_block = false [00:45:02.859] msec_str = "\340-\230(\374\177\000\000\240\211\343\307&V\000\000\020,\230(\374\177\000\000\026\001\000\000\000\000\000" [00:45:02.859] __func__ = "exec_simple_query" [00:45:02.859] #20 0x00005626c7b83b91 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4793 [00:45:02.859] query_string = 0x5626c96e8af0 "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"... [00:45:02.859] firstchar = [00:45:02.859] input_message = {data = 0x5626c96e8af0 "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 = 278, maxlen = 1024, cursor = 278} [00:45:02.859] local_sigjmp_buf = {{__jmpbuf = {94724575000920, 5118518765976105832, 4, 140720989548000, 140720989548144, 140720989548148, 1494458177793373032, 5118551581337006952}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 6016, 10, 94724588460512, 0, 168, 94724562447681, 0, 10, 2, 94724575000928, 94724587941520, 94724574995008, 140720989548000, 140720989548144, 140720989548148}}}} [00:45:02.859] send_ready_for_query = false [00:45:02.859] idle_in_transaction_timeout_enabled = false [00:45:02.859] idle_session_timeout_enabled = false [00:45:02.859] __func__ = "PostgresMain" [00:45:02.859] #21 0x00005626c7b79a08 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [00:45:02.859] bsdata = [00:45:02.859] #22 0x00005626c7a313a7 in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffc28982d8c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffc28982de0) at ../src/backend/postmaster/launch_backend.c:274 [00:45:02.859] pid = [00:45:02.859] #23 0x00005626c7a36e5b in BackendStartup (client_sock=client_sock@entry=0x7ffc28982de0) at ../src/backend/postmaster/postmaster.c:3420 [00:45:02.859] bn = 0x5626c97152e8 [00:45:02.859] pid = [00:45:02.859] startup_data = {canAcceptConnections = CAC_OK} [00:45:02.859] __func__ = "BackendStartup" [00:45:02.859] #24 0x00005626c7a373bd in ServerLoop () at ../src/backend/postmaster/postmaster.c:1653 [00:45:02.859] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "\230(\374\177\000\000t.\230(\374\177", '\000' , ">\237\277\306&V\000\000\200\207\273\306&V\000\000@/\230(\374\177\000\0008/\230(\374\177\000\000\225[\362\001\000\000\000\000\020+q\311&V\000\000,", '\000' , "S\236\277\306&V\000\000h\306\312JP\177\000\0000v\303IP\177\000", __ss_align = 139982828913376}, salen = 2}} [00:45:02.859] i = 0 [00:45:02.859] now = [00:45:02.859] last_lockfile_recheck_time = 1727397708 [00:45:02.859] last_touch_time = 1727397708 [00:45:02.859] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = -960520386, events = 22054, fd = 1254803048, user_data = 0x7f5049c37630}, {pos = 1254802144, events = 32592, fd = 2090263927, user_data = 0x7ffc28982fc0}, {pos = 1254632008, events = 32592, fd = 15, user_data = 0x7f5049c37630}, {pos = 1, events = 0, fd = 0, user_data = 0x1}, {pos = 1254802144, events = 32592, fd = 681062200, user_data = 0x7ffc28982f40}, {pos = 1254803048, events = 32592, fd = 0, user_data = 0x5626c96ea930}, {pos = -940948505, events = 22054, fd = 32768, user_data = 0x1}, {pos = -915499504, events = 22054, fd = -1, user_data = 0x7f504942e020}, {pos = 1244811168, events = 32592, fd = -915323992, user_data = 0x5626c9714288}, {pos = -915306191, events = 22054, fd = 1254657726, user_data = 0x1}, {pos = 1254802144, events = 32592, fd = 438, user_data = 0x5626c83afdb0 }, {pos = 0, events = 0, fd = 1, user_data = 0x5626c96ea930}, {pos = 1254657726, events = 32592, fd = 1, user_data = 0x0}, {pos = 1229119520, events = 32592, fd = 1229925824, user_data = 0x10}, {pos = 681063344, events = 32764, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 1254666682, user_data = 0x0}, {pos = 1229647140, events = 32592, fd = 0, user_data = 0x5626c8a402e0 }, {pos = 2, events = 0, fd = 7, user_data = 0x5626c96aaf30}, {pos = -944685617, events = 22054, fd = -915285509, user_data = 0x5626c7b17a08 }, {pos = 1702060386, events = 1936158767, fd = 8096, user_data = 0x5626c96ea930}, {pos = 1254657726, events = 32592, fd = 1, user_data = 0x0}, {pos = 1229153480, events = 32592, fd = 1229572224, user_data = 0x423}, {pos = 1229680621, events = 32592, fd = 2, user_data = 0x5626c971d9a0}, {pos = 255, events = 0, fd = 0, user_data = 0x0}, {pos = 1230969952, events = 32592, fd = 255, user_data = 0xfffffffffffffef0}, {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 = 0x0}, {pos = 0, events = 0, fd = -1, user_data = 0xffffffffffffffff}, {pos = 811562031, events = 1935619890, fd = 1634038388, user_data = 0x797265766f636572}, {pos = 926036015, events = 1920234335, fd = 1237550400, user_data = 0x7f5049c38a80}, {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 = 0xa}, {pos = -941270118, events = 22054, fd = -915310288, user_data = 0x7f50494b583e}, {pos = 1230952928, events = 32592, fd = 1229590894, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0x5e17e7a3e8715000}, {pos = 1230956000, events = 32592, fd = -328, 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 = -915324600, user_data = 0x5626c7e5645d }, {pos = -915324800, events = 22054, fd = 3, user_data = 0x0}, {pos = 23226, events = 0, fd = -328, user_data = 0x0}, {pos = -915494608, events = 22054, fd = 1229926355, user_data = 0x7ffc28983468}, {pos = -941186802, events = 22054, fd = -928712432, user_data = 0x5626c7e58bcb }, {pos = -915324800, events = 22054, fd = -915502608, user_data = 0x5626c9714080}, {pos = 1229674558, events = 32592, fd = 0, user_data = 0x5626c7e6a835 }, {pos = -915324800, events = 1, fd = -941184642, user_data = 0x5626c96e89f0}, {pos = -395227136, events = 1578624931, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = 1229597361, user_data = 0x7f50494a14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -395227136, user_data = 0x5626c96c0120}, {pos = -395227136, events = 1578624931, fd = 11, user_data = 0x5e17e7a3e8715000}, {pos = 0, events = 0, fd = 1229304377, user_data = 0x1}, {pos = -945614684, events = 22054, fd = 4194304, user_data = 0x5626c7e58a5f }, {pos = -915668704, events = 22054, fd = -915502608, user_data = 0x5626c96c0120}, {pos = 1, events = 0, fd = 0, user_data = 0x5626c7e6a835 }, {pos = -915668704, events = 22054, fd = -941184642, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x5626c786785b }, {pos = 0, events = 0, fd = -947467365, user_data = 0xb}, {pos = -945593527, events = 22054, fd = -932311888, user_data = 0x5626c96e93a8}} [00:45:02.860] nevents = 1 [00:45:02.860] __func__ = "ServerLoop" [00:45:02.860] #25 0x00005626c7a38b40 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x5626c96a6d90) at ../src/backend/postmaster/postmaster.c:1351 [00:45:02.860] opt = [00:45:02.860] status = [00:45:02.860] userDoption = [00:45:02.860] listen_addr_saved = false [00:45:02.860] output_config_variable = [00:45:02.860] __func__ = "PostmasterMain" [00:45:02.860] #26 0x00005626c7877c37 in main (argc=4, argv=0x5626c96a6d90) at ../src/backend/main/main.c:197 [00:45:02.860] do_check_root = [00:45:02.898] -e [00:45:02.898] [00:45:02.898] [00:45:02.961] dumping /tmp/cores/postgres-3-29640.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [00:45:03.221] [New LWP 29640] [00:45:03.221] [00:45:03.221] This GDB supports auto-downloading debuginfo from the following URLs: [00:45:03.221] [00:45:03.221] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [00:45:03.221] Debuginfod has been disabled. [00:45:03.221] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [00:45:03.333] [New LWP 28338] [00:45:03.333] [Thread debugging using libthread_db enabled] [00:45:03.333] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [00:45:03.333] Core was generated by `postgres: standby2: startup waiting for 000000010000000000000006 '. [00:45:03.333] Program terminated with signal SIGQUIT, Quit. [00:45:03.333] #0 0x00007fc0914aed24 in pthread_sigmask () from /lib/x86_64-linux-gnu/libc.so.6 [00:45:03.339] [Current thread is 1 (LWP 29640)] [00:45:03.343] [00:45:03.343] Thread 2 (Thread 0x7fc08f41ef00 (LWP 28338)): [00:45:03.343] warning: Couldn't find general-purpose registers in core file. [00:45:03.343] #0 in ?? () [00:45:03.343] PC unavailable, cannot determine locals. [00:45:03.343] Backtrace stopped: not enough registers or memory available to unwind further [00:45:03.343] [00:45:03.343] Thread 1 (LWP 29640): [00:45:03.343] #0 0x00007fc0914aed24 in pthread_sigmask () from /lib/x86_64-linux-gnu/libc.so.6 [00:45:03.343] No symbol table info available. [00:45:03.343] #1 0x00007fc09145b239 in sigprocmask () from /lib/x86_64-linux-gnu/libc.so.6 [00:45:03.343] No symbol table info available. [00:45:03.343] #2 0x00007fc091516184 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [00:45:03.343] No symbol table info available. [00:45:03.343] #3 0x00007fc0915287dc in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [00:45:03.343] No symbol table info available.