[00:46:17.840] src/tools/ci/cores_backtrace.sh linux /tmp/cores [00:46:18.055] dumping /tmp/cores/postgres-6-33882.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [00:46:18.306] [New LWP 33882] [00:46:18.306] [00:46:18.306] This GDB supports auto-downloading debuginfo from the following URLs: [00:46:18.306] [00:46:18.306] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [00:46:18.306] Debuginfod has been disabled. [00:46:18.306] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [00:46:18.443] [Thread debugging using libthread_db enabled] [00:46:18.443] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [00:46:18.443] Core was generated by `postgres: primary: postgres regression [local] MERGE '. [00:46:18.443] Program terminated with signal SIGABRT, Aborted. [00:46:18.443] #0 0x00007ff632aa9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [00:46:19.342] [00:46:19.342] Thread 1 (Thread 0x7ff63323af00 (LWP 33882)): [00:46:19.342] #0 0x00007ff632aa9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [00:46:19.342] No symbol table info available. [00:46:19.342] #1 0x00007ff632a5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [00:46:19.342] No symbol table info available. [00:46:19.342] #2 0x00007ff632a45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [00:46:19.342] No symbol table info available. [00:46:19.342] #3 0x000055bbdbf11a7e in ExceptionalCondition (conditionName=conditionName@entry=0x55bbdc15ce05 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x55bbdc1811d8 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [00:46:19.342] No locals. [00:46:19.342] #4 0x000055bbdb8bf61b in ExecFetchSlotHeapTuple (slot=slot@entry=0x7fff39fe31d0, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7fff39fe306f) at ../src/backend/executor/execTuples.c:1737 [00:46:19.342] No locals. [00:46:19.342] #5 0x000055bbdb8449b2 in ExecIRDeleteTriggers (estate=estate@entry=0x55bbddea0640, relinfo=relinfo@entry=0x55bbddea0bf0, slot=slot@entry=0x7fff39fe31d0) at ../src/backend/commands/trigger.c:2841 [00:46:19.342] trigger = 0x55bbddea0e50 [00:46:19.342] oldtuple = [00:46:19.342] trigdesc = 0x55bbddea0e00 [00:46:19.342] newtuple = 0x0 [00:46:19.342] should_free = false [00:46:19.342] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7ff62e5bdd08, 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:46:19.342] i = 0 [00:46:19.342] #6 0x000055bbdb91c4b3 in ExecMergeMatched (context=0x7fff39fe31f0, resultRelInfo=resultRelInfo@entry=0x55bbddea0bf0, tupleid=0x0, oldtuple=0x7fff39fe31d0, canSetTag=true, matched=matched@entry=0x7fff39fe317f) at ../src/backend/executor/nodeModifyTable.c:3040 [00:46:19.342] relaction = 0x55bbddf529e8 [00:46:19.342] commandType = CMD_DELETE [00:46:19.342] result = TM_Ok [00:46:19.342] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [00:46:19.342] l__state = [00:46:19.342] mtstate = 0x55bbddea09e0 [00:46:19.342] mergeActions = 0x55bbddea0d00 [00:46:19.342] actionStates = 0x55bbddf52fa8 [00:46:19.342] newslot = 0x0 [00:46:19.342] rslot = 0x0 [00:46:19.342] estate = 0x55bbddea0640 [00:46:19.342] econtext = 0x55bbddf51ff8 [00:46:19.342] isNull = false [00:46:19.342] epqstate = 0x55bbddea0ac8 [00:46:19.342] l = [00:46:19.342] __func__ = "ExecMergeMatched" [00:46:19.342] lmerge_matched = [00:46:19.342] #7 0x000055bbdb91d071 in ExecMerge (context=context@entry=0x7fff39fe31f0, resultRelInfo=resultRelInfo@entry=0x55bbddea0bf0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7fff39fe31d0, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2801 [00:46:19.342] rslot = 0x0 [00:46:19.342] matched = true [00:46:19.342] #8 0x000055bbdb91e836 in ExecModifyTable (pstate=0x55bbddea09e0) at ../src/backend/executor/nodeModifyTable.c:4130 [00:46:19.342] node = 0x55bbddea09e0 [00:46:19.342] context = {mtstate = 0x55bbddea09e0, epqstate = 0x55bbddea0ac8, estate = 0x55bbddea0640, planSlot = 0x55bbddf50a08, tmfd = {ctid = {ip_blkid = {bi_hi = 10328, bi_lo = 56821}, ip_posid = 21947}, xmax = 3723759928, cmax = 21947, traversed = 5}, cpUpdateReturningSlot = 0x55bbddf41138} [00:46:19.342] estate = 0x55bbddea0640 [00:46:19.342] operation = CMD_MERGE [00:46:19.342] resultRelInfo = 0x55bbddea0bf0 [00:46:19.342] subplanstate = 0x55bbddea1320 [00:46:19.342] slot = [00:46:19.342] oldSlot = [00:46:19.342] tuple_ctid = {ip_blkid = {bi_hi = 56821, bi_lo = 21947}, ip_posid = 0} [00:46:19.342] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x55bbddf04398} [00:46:19.342] oldtuple = 0x7fff39fe31d0 [00:46:19.342] tupleid = 0x0 [00:46:19.342] __func__ = "ExecModifyTable" [00:46:19.342] #9 0x000055bbdb8b1f16 in ExecProcNodeFirst (node=0x55bbddea09e0) at ../src/backend/executor/execProcnode.c:469 [00:46:19.342] No locals. [00:46:19.342] #10 0x000055bbdb89d414 in ExecProcNode (node=node@entry=0x55bbddea09e0) at ../src/include/executor/executor.h:274 [00:46:19.342] No locals. [00:46:19.342] #11 0x000055bbdb89d5c9 in ExecutePlan (estate=estate@entry=0x55bbddea0640, planstate=0x55bbddea09e0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x55bbdde64030, execute_once=true) at ../src/backend/executor/execMain.c:1646 [00:46:19.342] slot = [00:46:19.342] current_tuple_count = 0 [00:46:19.342] #12 0x000055bbdb89f7e2 in standard_ExecutorRun (queryDesc=queryDesc@entry=0x55bbddf2ea58, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:363 [00:46:19.342] estate = 0x55bbddea0640 [00:46:19.342] operation = CMD_MERGE [00:46:19.342] dest = 0x55bbdde64030 [00:46:19.342] sendTuples = [00:46:19.342] oldcontext = 0x55bbdde63d20 [00:46:19.342] __func__ = "standard_ExecutorRun" [00:46:19.342] #13 0x00007ff630a31813 in pgss_ExecutorRun (queryDesc=0x55bbddf2ea58, direction=ForwardScanDirection, count=0, execute_once=) at ../contrib/pg_stat_statements/pg_stat_statements.c:1031 [00:46:19.342] _save_exception_stack = 0x7fff39fe35d0 [00:46:19.342] _save_context_stack = 0x0 [00:46:19.342] _local_sigjmp_buf = {{__jmpbuf = {94265370929752, 2488228190407982560, 94265369307888, 94265370099760, 0, 0, 2488228190615600608, 2492149625525075424}, __mask_was_saved = 0, __saved_mask = {__val = {2147483647, 94265370099760, 0, 0, 94265337622160, 0, 1, 0, 94265330674334, 94265370929752, 94265349857088, 94265370098976, 140695354681292, 94265370929752, 0, 94265369307888}}}} [00:46:19.342] _do_rethrow = false [00:46:19.342] #14 0x000055bbdb89fa08 in ExecutorRun (queryDesc=queryDesc@entry=0x55bbddf2ea58, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:302 [00:46:19.342] No locals. [00:46:19.342] #15 0x000055bbdbc86317 in ProcessQuery (plan=plan@entry=0x55bbddf44330, sourceText=0x55bbddda2af0 "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=0x55bbdde64030, qc=qc@entry=0x7fff39fe3530) at ../src/backend/tcop/pquery.c:160 [00:46:19.342] queryDesc = 0x55bbddf2ea58 [00:46:19.342] #16 0x000055bbdbc87f4c in PortalRunMulti (portal=portal@entry=0x55bbdde24030, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x55bbdde64030, altdest=0x55bbdc45b1e0 , qc=qc@entry=0x7fff39fe3530) at ../src/backend/tcop/pquery.c:1278 [00:46:19.342] pstmt = 0x55bbddf44330 [00:46:19.342] stmtlist_item__state = [00:46:19.342] active_snapshot_set = true [00:46:19.342] stmtlist_item = 0x55bbddf44458 [00:46:19.342] #17 0x000055bbdbc8849e in FillPortalStore (portal=portal@entry=0x55bbdde24030, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [00:46:19.342] treceiver = 0x55bbdde64030 [00:46:19.342] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [00:46:19.342] __func__ = "FillPortalStore" [00:46:19.342] #18 0x000055bbdbc88a6f in PortalRun (portal=portal@entry=0x55bbdde24030, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x55bbddf44490, altdest=altdest@entry=0x55bbddf44490, qc=0x7fff39fe3710) at ../src/backend/tcop/pquery.c:763 [00:46:19.342] _save_exception_stack = 0x7fff39fe37c0 [00:46:19.342] _save_context_stack = 0x0 [00:46:19.342] _local_sigjmp_buf = {{__jmpbuf = {0, 8506805258429758944, 94265369837616, 94265371401184, 94265369837616, 94265371401112, 2488228190414274016, 8506791954839731680}, __mask_was_saved = 0, __saved_mask = {__val = {94265337530540, 94265369307632, 112, 4, 94265337534957, 972961439, 4, 94265371401112, 112, 163, 94265369837616, 94265371401184, 94265371401160, 94265371401112, 94265337622160, 1}}}} [00:46:19.342] _do_rethrow = [00:46:19.342] result = [00:46:19.342] nprocessed = [00:46:19.342] saveTopTransactionResourceOwner = 0x55bbddde34f0 [00:46:19.342] saveTopTransactionContext = 0x55bbdde36460 [00:46:19.342] saveActivePortal = 0x0 [00:46:19.342] saveResourceOwner = 0x55bbddde34f0 [00:46:19.342] savePortalContext = 0x0 [00:46:19.342] saveMemoryContext = 0x55bbdde36460 [00:46:19.342] __func__ = "PortalRun" [00:46:19.342] #19 0x000055bbdbc81e1c in exec_simple_query (query_string=query_string@entry=0x55bbddda2af0 "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:46:19.342] cmdtaglen = 5 [00:46:19.342] snapshot_set = [00:46:19.342] per_parsetree_context = 0x0 [00:46:19.342] plantree_list = 0x55bbddf44440 [00:46:19.342] parsetree = 0x55bbddfa1b98 [00:46:19.342] commandTag = [00:46:19.342] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [00:46:19.342] querytree_list = [00:46:19.342] portal = 0x55bbdde24030 [00:46:19.342] receiver = 0x55bbddf44490 [00:46:19.342] format = 0 [00:46:19.342] cmdtagname = [00:46:19.342] parsetree_item__state = [00:46:19.342] dest = DestRemote [00:46:19.342] oldcontext = 0x55bbdde36460 [00:46:19.342] parsetree_list = 0x55bbddfa1bc8 [00:46:19.342] parsetree_item = 0x55bbddfa1be0 [00:46:19.342] save_log_statement_stats = false [00:46:19.342] was_logged = true [00:46:19.342] use_implicit_block = false [00:46:19.342] msec_str = "p9\3769\377\177\000\000\227v\363ۻU\000\000\2407\3769\377\177\000\000\026\001\000\000\000\000\000" [00:46:19.342] __func__ = "exec_simple_query" [00:46:19.342] #20 0x000055bbdbc848f5 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [00:46:19.342] query_string = 0x55bbddda2af0 "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:46:19.342] firstchar = [00:46:19.342] input_message = {data = 0x55bbddda2af0 "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:46:19.342] local_sigjmp_buf = {{__jmpbuf = {94265349857080, 8506803567074573792, 4, 140734166350192, 140734166350336, 140734166350340, 2488228190452022752, 8506791961355582944}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 6016, 10, 94265369557472, 0, 168, 94265337535059, 0, 10, 2, 94265349857088, 94265369038480, 94265349851168, 140734166350192, 140734166350336, 140734166350340}}}} [00:46:19.342] send_ready_for_query = false [00:46:19.342] idle_in_transaction_timeout_enabled = false [00:46:19.342] idle_session_timeout_enabled = false [00:46:19.342] __func__ = "PostgresMain" [00:46:19.342] #21 0x000055bbdbc7aa17 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [00:46:19.342] bsdata = [00:46:19.342] #22 0x000055bbdbb346db in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7fff39fe391c "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7fff39fe3970) at ../src/backend/postmaster/launch_backend.c:274 [00:46:19.342] pid = [00:46:19.342] #23 0x000055bbdbb3a190 in BackendStartup (client_sock=client_sock@entry=0x7fff39fe3970) at ../src/backend/postmaster/postmaster.c:3414 [00:46:19.342] bn = 0x55bbdddcf6f8 [00:46:19.342] pid = [00:46:19.342] startup_data = {canAcceptConnections = CAC_OK} [00:46:19.342] __func__ = "BackendStartup" [00:46:19.342] #24 0x000055bbdbb3a6f2 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [00:46:19.342] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "\2422\366\177\000\0004:\3769\377\177\000\000\312\320A4\366\177\000\000=\004\000\000\000\000\000\000\220\227\2432\366\177\000\000\240_\3713\366\177\000\0008:\3769\377\177\000\0004:\3769\377\177\000\000\000\000\000\000\000\000\000\000\3209\3769\377\177\000\000s+\320ڻU\000\000\b\027\314ڻU\000\000\000;\3769\377\177\000\000\370:\3769\377\177\000\000\225[\362\001\000\000\000", __ss_align = 94265369479952}, salen = 2}} [00:46:19.342] i = 0 [00:46:19.342] now = [00:46:19.342] last_lockfile_recheck_time = 1723941788 [00:46:19.342] last_touch_time = 1723941788 [00:46:19.342] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 1, user_data = 0x7ff6344472e0}, {pos = 972962424, events = 0, fd = 0, user_data = 0x7ff634447668}, {pos = -623891597, events = 21947, fd = 876901992, user_data = 0x7ff633f2c630}, {pos = 876901088, events = 32758, fd = 2090263927, user_data = 0x7fff39fe3b80}, {pos = 876730952, events = 32758, fd = 15, user_data = 0x7ff633f2c630}, {pos = 1, events = 0, fd = 0, user_data = 0x1}, {pos = 876901088, events = 32758, fd = 972962552, user_data = 0x7fff39fe3b00}, {pos = 876901992, events = 32758, fd = 0, user_data = 0x55bbdddce3a8}, {pos = -572726648, events = 21947, fd = -572708559, user_data = 0x7ff600000001}, {pos = 1, events = 0, fd = -1, user_data = 0x7ff632a2e000}, {pos = 871980960, events = 32758, fd = -572726360, user_data = 0x7fff39fe3ef0}, {pos = -572708392, events = 21947, fd = -572706464, user_data = 0x55bbdddce3a8}, {pos = 876901088, events = 32758, fd = 439, user_data = 0x55bbdc47adb8 }, {pos = 0, events = 0, fd = 1, user_data = 0x55bbddda4930}, {pos = 876756670, events = 32758, fd = 1, user_data = 0x0}, {pos = 849534976, events = 32758, fd = 850341312, user_data = 0x7fff39fe3f60}, {pos = 972963648, events = 32767, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 876765610, user_data = 0x0}, {pos = 850062612, events = 32758, fd = 0, user_data = 0x55bbdcb07920 }, {pos = 2, events = 0, fd = 7, user_data = 0x55bbddd64f30}, {pos = 1952410737, events = 28781, fd = 849568936, user_data = 0x7ff632a9c880 }, {pos = 857976248, events = 32758, fd = 8096, user_data = 0x100007f00000002}, {pos = 850096093, events = 32758, fd = 2, user_data = 0x55bbdddd79a0}, {pos = 255, events = 0, fd = 0, user_data = 0x2}, {pos = 851385440, events = 32758, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 1023, events = 0, fd = 0, user_data = 0x55bbddd64f30}, {pos = 850098682, events = 32758, fd = 1769300525, user_data = 0x55bbddd64f30}, {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 = -1, user_data = 0xffffffffffffffff}, {pos = 811562031, events = 1935619890, fd = 1634038388, user_data = 0x797265766f636572}, {pos = 926036015, events = 1920234335, fd = 871552320, user_data = 0x7ff633f2da80}, {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 = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0xf05226e8aed75100}, {pos = 851371488, events = 32758, fd = -328, user_data = 0x0}, {pos = -572726968, events = 21947, fd = 1024, user_data = 0x55bbdddce148}, {pos = 972963832, events = 32767, fd = 850099855, user_data = 0x2}, {pos = 6, events = 2147483648, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 3, user_data = 0x0}, {pos = 31855, events = 0, fd = -328, user_data = 0x0}, {pos = -572896976, events = 21947, fd = 850341843, user_data = 0x7fff39fe3ff8}, {pos = -604598752, events = 21947, fd = -592355600, user_data = 0x55bbdbf578dd }, {pos = -572727168, events = 21947, fd = -572904976, user_data = 0x55bbdddce080}, {pos = 850090030, events = 32758, fd = 0, user_data = 0x55bbdbf69547 }, {pos = -572727168, events = 1, fd = -604596592, user_data = 0x55bbddda29f0}, {pos = -1361620736, events = 4031915752, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = 850012849, user_data = 0x7ff632aa14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1361620736, user_data = 0x55bbddd7a120}, {pos = -1361620736, events = 4031915752, fd = 11, user_data = 0xf05226e8aed75100}, {pos = 0, events = 0, fd = 849719865, user_data = 0x1}, {pos = -609008680, events = 21947, fd = 4194304, user_data = 0x55bbdbf57771 }, {pos = -573071072, events = 21947, fd = -572904976, user_data = 0x55bbddd7a120}, {pos = 1, events = 0, fd = 0, user_data = 0x55bbdbf69547 }, {pos = -573071072, events = 21947, fd = -604596592, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x55bbdb969b0a }, {pos = 0, events = 0, fd = -610865580, user_data = 0xb}, {pos = -608987522, events = 21947, fd = -595934896, user_data = 0x55bbddda33a8}} [00:46:19.343] nevents = 1 [00:46:19.343] __func__ = "ServerLoop" [00:46:19.343] #25 0x000055bbdbb3be68 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x55bbddd60d90) at ../src/backend/postmaster/postmaster.c:1346 [00:46:19.343] opt = [00:46:19.343] status = [00:46:19.343] userDoption = [00:46:19.343] listen_addr_saved = false [00:46:19.343] output_config_variable = [00:46:19.343] __func__ = "PostmasterMain" [00:46:19.343] #26 0x000055bbdb979f28 in main (argc=4, argv=0x55bbddd60d90) at ../src/backend/main/main.c:197 [00:46:19.343] do_check_root = [00:46:19.377] -e [00:46:19.377] [00:46:19.377] [00:46:19.439] dumping /tmp/cores/postgres-6-26900.core for /tmp/cirrus-ci-build/build/tmp_install//usr/local/pgsql/bin/postgres [00:46:19.689] [New LWP 26900] [00:46:19.689] [00:46:19.689] This GDB supports auto-downloading debuginfo from the following URLs: [00:46:19.689] [00:46:19.689] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [00:46:19.689] Debuginfod has been disabled. [00:46:19.689] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [00:46:19.799] [Thread debugging using libthread_db enabled] [00:46:19.799] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [00:46:19.799] Core was generated by `postgres: postgres regression [local] MERGE '. [00:46:19.799] Program terminated with signal SIGABRT, Aborted. [00:46:19.799] #0 0x00007fd0eaaa9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [00:46:20.658] [00:46:20.658] Thread 1 (Thread 0x7fd0eb233f00 (LWP 26900)): [00:46:20.658] #0 0x00007fd0eaaa9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [00:46:20.658] No symbol table info available. [00:46:20.658] #1 0x00007fd0eaa5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [00:46:20.658] No symbol table info available. [00:46:20.658] #2 0x00007fd0eaa45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [00:46:20.658] No symbol table info available. [00:46:20.658] #3 0x0000564ffa347a7e in ExceptionalCondition (conditionName=conditionName@entry=0x564ffa592e05 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x564ffa5b71d8 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [00:46:20.658] No locals. [00:46:20.658] #4 0x0000564ff9cf561b in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffe36dc7f90, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffe36dc7e2f) at ../src/backend/executor/execTuples.c:1737 [00:46:20.658] No locals. [00:46:20.658] #5 0x0000564ff9c7a9b2 in ExecIRDeleteTriggers (estate=estate@entry=0x564ffb6ccb00, relinfo=relinfo@entry=0x564ffb6cd0b0, slot=slot@entry=0x7ffe36dc7f90) at ../src/backend/commands/trigger.c:2841 [00:46:20.658] trigger = 0x564ffb6cd310 [00:46:20.658] oldtuple = [00:46:20.658] trigdesc = 0x564ffb6cd2c0 [00:46:20.658] newtuple = 0x0 [00:46:20.658] should_free = false [00:46:20.658] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7fd0defcce78, 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:46:20.658] i = 0 [00:46:20.658] #6 0x0000564ff9d524b3 in ExecMergeMatched (context=0x7ffe36dc7fb0, resultRelInfo=resultRelInfo@entry=0x564ffb6cd0b0, tupleid=0x0, oldtuple=0x7ffe36dc7f90, canSetTag=true, matched=matched@entry=0x7ffe36dc7f3f) at ../src/backend/executor/nodeModifyTable.c:3040 [00:46:20.658] relaction = 0x564ffb7e73c8 [00:46:20.658] commandType = CMD_DELETE [00:46:20.658] result = TM_Ok [00:46:20.658] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [00:46:20.658] l__state = [00:46:20.658] mtstate = 0x564ffb6ccea0 [00:46:20.658] mergeActions = 0x564ffb6cd1c0 [00:46:20.658] actionStates = 0x564ffb7e7988 [00:46:20.658] newslot = 0x0 [00:46:20.658] rslot = 0x0 [00:46:20.658] estate = 0x564ffb6ccb00 [00:46:20.658] econtext = 0x564ffb7e69d8 [00:46:20.658] isNull = false [00:46:20.658] epqstate = 0x564ffb6ccf88 [00:46:20.658] l = [00:46:20.658] __func__ = "ExecMergeMatched" [00:46:20.658] lmerge_matched = [00:46:20.658] #7 0x0000564ff9d53071 in ExecMerge (context=context@entry=0x7ffe36dc7fb0, resultRelInfo=resultRelInfo@entry=0x564ffb6cd0b0, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffe36dc7f90, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2801 [00:46:20.658] rslot = 0x0 [00:46:20.658] matched = true [00:46:20.658] #8 0x0000564ff9d54836 in ExecModifyTable (pstate=0x564ffb6ccea0) at ../src/backend/executor/nodeModifyTable.c:4130 [00:46:20.658] node = 0x564ffb6ccea0 [00:46:20.658] context = {mtstate = 0x564ffb6ccea0, epqstate = 0x564ffb6ccf88, estate = 0x564ffb6ccb00, planSlot = 0x564ffb7e53e8, tmfd = {ctid = {ip_blkid = {bi_hi = 51712, bi_lo = 64364}, ip_posid = 22095}, xmax = 4198017196, cmax = 22095, traversed = false}, cpUpdateReturningSlot = 0x564ffa38a8ac } [00:46:20.658] estate = 0x564ffb6ccb00 [00:46:20.658] operation = CMD_MERGE [00:46:20.658] resultRelInfo = 0x564ffb6cd0b0 [00:46:20.658] subplanstate = 0x564ffb6cd7e0 [00:46:20.658] slot = [00:46:20.658] oldSlot = [00:46:20.658] tuple_ctid = {ip_blkid = {bi_hi = 64376, bi_lo = 22095}, ip_posid = 0} [00:46:20.658] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x564ffb72f748} [00:46:20.658] oldtuple = 0x7ffe36dc7f90 [00:46:20.658] tupleid = 0x0 [00:46:20.658] __func__ = "ExecModifyTable" [00:46:20.658] #9 0x0000564ff9ce7f16 in ExecProcNodeFirst (node=0x564ffb6ccea0) at ../src/backend/executor/execProcnode.c:469 [00:46:20.658] No locals. [00:46:20.658] #10 0x0000564ff9cd3414 in ExecProcNode (node=node@entry=0x564ffb6ccea0) at ../src/include/executor/executor.h:274 [00:46:20.658] No locals. [00:46:20.658] #11 0x0000564ff9cd35c9 in ExecutePlan (estate=estate@entry=0x564ffb6ccb00, planstate=0x564ffb6ccea0, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x564ffb7518b0, execute_once=true) at ../src/backend/executor/execMain.c:1646 [00:46:20.658] slot = [00:46:20.658] current_tuple_count = 0 [00:46:20.658] #12 0x0000564ff9cd57e2 in standard_ExecutorRun (queryDesc=0x564ffb75a228, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:363 [00:46:20.658] estate = 0x564ffb6ccb00 [00:46:20.658] operation = CMD_MERGE [00:46:20.658] dest = 0x564ffb7518b0 [00:46:20.658] sendTuples = [00:46:20.658] oldcontext = 0x564ffb7515a0 [00:46:20.658] __func__ = "standard_ExecutorRun" [00:46:20.658] #13 0x0000564ff9cd5a15 in ExecutorRun (queryDesc=queryDesc@entry=0x564ffb75a228, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:304 [00:46:20.658] No locals. [00:46:20.658] #14 0x0000564ffa0bc317 in ProcessQuery (plan=plan@entry=0x564ffb78c7a8, sourceText=0x564ffb5c9b40 "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=0x564ffb7518b0, qc=qc@entry=0x7ffe36dc81e0) at ../src/backend/tcop/pquery.c:160 [00:46:20.658] queryDesc = 0x564ffb75a228 [00:46:20.658] #15 0x0000564ffa0bdf4c in PortalRunMulti (portal=portal@entry=0x564ffb64c0e0, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x564ffb7518b0, altdest=0x564ffa8911e0 , qc=qc@entry=0x7ffe36dc81e0) at ../src/backend/tcop/pquery.c:1278 [00:46:20.658] pstmt = 0x564ffb78c7a8 [00:46:20.658] stmtlist_item__state = [00:46:20.658] active_snapshot_set = true [00:46:20.658] stmtlist_item = 0x564ffb78c8d0 [00:46:20.658] #16 0x0000564ffa0be49e in FillPortalStore (portal=portal@entry=0x564ffb64c0e0, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [00:46:20.658] treceiver = 0x564ffb7518b0 [00:46:20.658] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [00:46:20.658] __func__ = "FillPortalStore" [00:46:20.658] #17 0x0000564ffa0bea6f in PortalRun (portal=portal@entry=0x564ffb64c0e0, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x564ffb78c908, altdest=altdest@entry=0x564ffb78c908, qc=0x7ffe36dc83c0) at ../src/backend/tcop/pquery.c:763 [00:46:20.658] _save_exception_stack = 0x7ffe36dc8470 [00:46:20.658] _save_context_stack = 0x0 [00:46:20.658] _local_sigjmp_buf = {{__jmpbuf = {0, -6641575617341615682, 94901520089312, 94901520837824, 94901520089312, 94901520837752, -1101137381525483074, -6641577119090798146}, __mask_was_saved = 0, __saved_mask = {__val = {94901500422316, 94901519555136, 112, 4, 94901500426733, 920421199, 4, 94901520837752, 112, 163, 94901520089312, 94901520837824, 94901520837800, 94901520837752, 94901500513936, 1}}}} [00:46:20.658] _do_rethrow = [00:46:20.658] result = [00:46:20.658] nprocessed = [00:46:20.658] saveTopTransactionResourceOwner = 0x564ffb608d98 [00:46:20.658] saveTopTransactionContext = 0x564ffb65dcf0 [00:46:20.658] saveActivePortal = 0x0 [00:46:20.658] saveResourceOwner = 0x564ffb608d98 [00:46:20.658] savePortalContext = 0x0 [00:46:20.658] saveMemoryContext = 0x564ffb65dcf0 [00:46:20.658] __func__ = "PortalRun" [00:46:20.658] #18 0x0000564ffa0b7e1c in exec_simple_query (query_string=query_string@entry=0x564ffb5c9b40 "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:46:20.658] cmdtaglen = 5 [00:46:20.658] snapshot_set = [00:46:20.658] per_parsetree_context = 0x0 [00:46:20.658] plantree_list = 0x564ffb78c8b8 [00:46:20.658] parsetree = 0x564ffb702c78 [00:46:20.658] commandTag = [00:46:20.658] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [00:46:20.658] querytree_list = [00:46:20.658] portal = 0x564ffb64c0e0 [00:46:20.658] receiver = 0x564ffb78c908 [00:46:20.658] format = 0 [00:46:20.658] cmdtagname = [00:46:20.658] parsetree_item__state = [00:46:20.658] dest = DestRemote [00:46:20.658] oldcontext = 0x564ffb65dcf0 [00:46:20.658] parsetree_list = 0x564ffb702ca8 [00:46:20.658] parsetree_item = 0x564ffb702cc0 [00:46:20.658] save_log_statement_stats = false [00:46:20.658] was_logged = false [00:46:20.658] use_implicit_block = false [00:46:20.658] msec_str = " \206\3346\376\177\000\000\227\3266\372OV\000\000P\204\3346\376\177\000\000\026\001\000\000\000\000\000" [00:46:20.658] __func__ = "exec_simple_query" [00:46:20.658] #19 0x0000564ffa0ba8f5 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [00:46:20.658] query_string = 0x564ffb5c9b40 "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:46:20.658] firstchar = [00:46:20.658] input_message = {data = 0x564ffb5c9b40 "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:46:20.658] local_sigjmp_buf = {{__jmpbuf = {94901512748856, -6641576679600483906, 4, 140729818842656, 140729818842800, 140729818842804, -1101137381462568514, -6641577117134155330}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 94901519285824, 15616, 94901512742944, 94901519809872, 140729818842800, 94901500426281, 0, 9, 2, 94901512748864, 94901519285824, 94901512742944, 140729818842656, 140729818842800, 140729818842804}}}} [00:46:20.658] send_ready_for_query = false [00:46:20.658] idle_in_transaction_timeout_enabled = false [00:46:20.658] idle_session_timeout_enabled = false [00:46:20.658] __func__ = "PostgresMain" [00:46:20.658] #20 0x0000564ffa0b0a17 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [00:46:20.658] bsdata = [00:46:20.658] #21 0x0000564ff9f6a6db in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffe36dc85cc "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffe36dc8620) at ../src/backend/postmaster/launch_backend.c:274 [00:46:20.658] pid = [00:46:20.658] #22 0x0000564ff9f70190 in BackendStartup (client_sock=client_sock@entry=0x7ffe36dc8620) at ../src/backend/postmaster/postmaster.c:3414 [00:46:20.658] bn = 0x564ffb5f24c8 [00:46:20.658] pid = [00:46:20.658] startup_data = {canAcceptConnections = CAC_OK} [00:46:20.658] __func__ = "BackendStartup" [00:46:20.658] #23 0x0000564ff9f706f2 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [00:46:20.658] s = {sock = 9, raddr = {addr = {ss_family = 1, __ss_padding = "\3346\376\177\000\000\264\206\3346\376\177", '\000' , "s\213\023\371OV\000\000\bw\017\371OV\000\000\200\207\3346\376\177\000\000x\207\3346\376\177\000\000\225[\362\001\000\000\000\000\240\244#\353\320\177\000\000+", '\000' , "\210\212\023\371OV\000\000h\3260\354\320\177\000\0000\246#\353\320\177\000", __ss_align = 140535292547808}, salen = 2}} [00:46:20.658] i = 0 [00:46:20.658] now = [00:46:20.658] last_lockfile_recheck_time = 1723941756 [00:46:20.658] last_touch_time = 1723941756 [00:46:20.658] events = {{pos = 1, events = 2, fd = 7, user_data = 0x0}, {pos = -116159629, events = 22095, fd = -332343704, user_data = 0x7fd0eb23a630}, {pos = -332344608, events = 32720, fd = 2090263927, user_data = 0x7ffe36dc8800}, {pos = -332514744, events = 32720, fd = 15, user_data = 0x7fd0eb23a630}, {pos = 1, events = 0, fd = 0, user_data = 0x1}, {pos = -332344608, events = 32720, fd = 920422264, user_data = 0x7ffe36dc8780}, {pos = -332343704, events = 32720, fd = 0, user_data = 0x564ffb5c9c00}, {pos = -357860870, events = 32720, fd = -77816832, user_data = 0x564f00000001}, {pos = 32768, events = 0, fd = -1, user_data = 0x7fd0eaa2e000}, {pos = -336416864, events = 32720, fd = -77633576, user_data = 0x564ffb5f66b8}, {pos = -77625135, events = 22095, fd = -332489026, user_data = 0x1}, {pos = -332344608, events = 32720, fd = 439, user_data = 0x564ffa8b0db8 }, {pos = 0, events = 0, fd = 1, user_data = 0x564ffb5c9c00}, {pos = -332489026, events = 32720, fd = 1, user_data = 0x0}, {pos = -358424576, events = 32720, fd = -357618240, user_data = 0x10}, {pos = 920423408, events = 32766, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -332480086, user_data = 0x0}, {pos = -357896940, events = 32720, fd = 0, user_data = 0x564ffaf3d920 }, {pos = 2, events = 0, fd = 7, user_data = 0x564ffb58bee0}, {pos = -100357090, events = 22095, fd = -77607664, user_data = 0x564ffa04bba2 }, {pos = -77607573, events = 22095, fd = 8096, user_data = 0x7367702f65736162}, {pos = 1952410737, events = 28781, fd = 1, user_data = 0x0}, {pos = -358390616, events = 32720, fd = -357971840, user_data = 0x41e}, {pos = -357863459, events = 32720, fd = 2, user_data = 0x564ffb5f54a0}, {pos = 255, events = 0, fd = 99, user_data = 0x0}, {pos = -356574112, events = 32720, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -1, user_data = 0xffffffffffffffff}, {pos = -1, events = 4294967295, fd = -1, user_data = 0x553671462d737365}, {pos = 168440664, events = 924852256, fd = 822763892, user_data = 0x30340a3635373134}, {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 = 0xa}, {pos = -96950100, events = 22095, fd = -77631296, user_data = 0x7fd0eaab56db}, {pos = -356591136, events = 32720, fd = -357953170, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0x9afbb5f4e5e8fc00}, {pos = -356588064, events = 32720, 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 = -77634184, user_data = 0x564ffa38b16f }, {pos = -77634384, events = 22095, fd = 3, user_data = 0x0}, {pos = 24626, events = 0, fd = -328, user_data = 0x0}, {pos = -77816832, events = 22095, fd = -357617709, user_data = 0x7ffe36dc8ca8}, {pos = -96866784, events = 22095, fd = -84623632, user_data = 0x564ffa38d8dd }, {pos = -77634384, events = 22095, fd = -77817280, user_data = 0x564ffb5f64b0}, {pos = -357869522, events = 32720, fd = 0, user_data = 0x564ffa39f547 }, {pos = -77634384, events = 1, fd = -96864624, user_data = 0x564ffb5c9a40}, {pos = -437715968, events = 2600187380, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = -357946703, user_data = 0x7fd0eaaa14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = -437715968, user_data = 0x564ffb5a1170}, {pos = -437715968, events = 2600187380, fd = 11, user_data = 0x9afbb5f4e5e8fc00}, {pos = 0, events = 0, fd = -358239687, user_data = 0x1}, {pos = -101276712, events = 22095, fd = 4194304, user_data = 0x564ffa38d771 }, {pos = -77983376, events = 22095, fd = -77817280, user_data = 0x564ffb5a1170}, {pos = 1, events = 0, fd = 0, user_data = 0x564ffa39f547 }, {pos = -77983376, events = 22095, fd = -96864624, user_data = 0x0}, {pos = 8, events = 0, fd = 0, user_data = 0x564ff9d9fb0a }, {pos = 0, events = 0, fd = -103133612, user_data = 0xb}, {pos = -101255554, events = 22095, fd = -88202928, user_data = 0x564ffb5ca418}} [00:46:20.658] nevents = 1 [00:46:20.658] __func__ = "ServerLoop" [00:46:20.658] #24 0x0000564ff9f71e68 in PostmasterMain (argc=argc@entry=8, argv=argv@entry=0x564ffb587da0) at ../src/backend/postmaster/postmaster.c:1346 [00:46:20.658] opt = [00:46:20.658] status = [00:46:20.658] userDoption = [00:46:20.658] listen_addr_saved = false [00:46:20.658] output_config_variable = [00:46:20.658] __func__ = "PostmasterMain" [00:46:20.658] #25 0x0000564ff9daff28 in main (argc=8, argv=0x564ffb587da0) at ../src/backend/main/main.c:197 [00:46:20.658] do_check_root = [00:46:20.693] -e [00:46:20.693] [00:46:20.693] [00:46:20.759] dumping /tmp/cores/postgres-6-27728.core for /tmp/cirrus-ci-build/build/tmp_install/usr/local/pgsql/bin/postgres [00:46:21.009] [New LWP 27728] [00:46:21.009] [00:46:21.009] This GDB supports auto-downloading debuginfo from the following URLs: [00:46:21.009] [00:46:21.009] Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal] [00:46:21.009] Debuginfod has been disabled. [00:46:21.009] To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. [00:46:21.116] [Thread debugging using libthread_db enabled] [00:46:21.116] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [00:46:21.116] Core was generated by `postgres: old_node: postgres regression [local] MERGE '. [00:46:21.116] Program terminated with signal SIGABRT, Aborted. [00:46:21.116] #0 0x00007f973aaa9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [00:46:21.954] [00:46:21.954] Thread 1 (Thread 0x7f973a9d9f00 (LWP 27728)): [00:46:21.954] #0 0x00007f973aaa9e2c in ?? () from /lib/x86_64-linux-gnu/libc.so.6 [00:46:21.954] No symbol table info available. [00:46:21.954] #1 0x00007f973aa5afb2 in raise () from /lib/x86_64-linux-gnu/libc.so.6 [00:46:21.954] No symbol table info available. [00:46:21.954] #2 0x00007f973aa45472 in abort () from /lib/x86_64-linux-gnu/libc.so.6 [00:46:21.954] No symbol table info available. [00:46:21.954] #3 0x00005565094fda7e in ExceptionalCondition (conditionName=conditionName@entry=0x556509748e05 "!TTS_EMPTY(slot)", fileName=fileName@entry=0x55650976d1d8 "../src/backend/executor/execTuples.c", lineNumber=lineNumber@entry=1737) at ../src/backend/utils/error/assert.c:66 [00:46:21.954] No locals. [00:46:21.954] #4 0x0000556508eab61b in ExecFetchSlotHeapTuple (slot=slot@entry=0x7ffd97e2f980, materialize=materialize@entry=true, shouldFree=shouldFree@entry=0x7ffd97e2f81f) at ../src/backend/executor/execTuples.c:1737 [00:46:21.954] No locals. [00:46:21.954] #5 0x0000556508e309b2 in ExecIRDeleteTriggers (estate=estate@entry=0x55650c113ce0, relinfo=relinfo@entry=0x55650c114290, slot=slot@entry=0x7ffd97e2f980) at ../src/backend/commands/trigger.c:2841 [00:46:21.954] trigger = 0x55650c1144f0 [00:46:21.954] oldtuple = [00:46:21.954] trigdesc = 0x55650c1144a0 [00:46:21.954] newtuple = 0x0 [00:46:21.954] should_free = false [00:46:21.954] LocTriggerData = {type = T_TriggerData, tg_event = 21, tg_relation = 0x7f972f39d130, 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:46:21.954] i = 0 [00:46:21.954] #6 0x0000556508f084b3 in ExecMergeMatched (context=0x7ffd97e2f9a0, resultRelInfo=resultRelInfo@entry=0x55650c114290, tupleid=0x0, oldtuple=0x7ffd97e2f980, canSetTag=true, matched=matched@entry=0x7ffd97e2f92f) at ../src/backend/executor/nodeModifyTable.c:3040 [00:46:21.954] relaction = 0x55650c159418 [00:46:21.954] commandType = CMD_DELETE [00:46:21.954] result = TM_Ok [00:46:21.954] updateCxt = {crossPartUpdate = false, updateIndexes = TU_None, lockmode = LockTupleKeyShare} [00:46:21.954] l__state = [00:46:21.954] mtstate = 0x55650c114080 [00:46:21.954] mergeActions = 0x55650c1143a0 [00:46:21.954] actionStates = 0x55650c1599d8 [00:46:21.954] newslot = 0x0 [00:46:21.954] rslot = 0x0 [00:46:21.954] estate = 0x55650c113ce0 [00:46:21.954] econtext = 0x55650c158a28 [00:46:21.954] isNull = false [00:46:21.954] epqstate = 0x55650c114168 [00:46:21.954] l = [00:46:21.954] __func__ = "ExecMergeMatched" [00:46:21.954] lmerge_matched = [00:46:21.954] #7 0x0000556508f09071 in ExecMerge (context=context@entry=0x7ffd97e2f9a0, resultRelInfo=resultRelInfo@entry=0x55650c114290, tupleid=tupleid@entry=0x0, oldtuple=oldtuple@entry=0x7ffd97e2f980, canSetTag=) at ../src/backend/executor/nodeModifyTable.c:2801 [00:46:21.954] rslot = 0x0 [00:46:21.954] matched = true [00:46:21.954] #8 0x0000556508f0a836 in ExecModifyTable (pstate=0x55650c114080) at ../src/backend/executor/nodeModifyTable.c:4130 [00:46:21.954] node = 0x55650c114080 [00:46:21.954] context = {mtstate = 0x55650c114080, epqstate = 0x55650c114168, estate = 0x55650c113ce0, planSlot = 0x55650c157438, tmfd = {ctid = {ip_blkid = {bi_hi = 15328, bi_lo = 3089}, ip_posid = 21861}, xmax = 156502188, cmax = 21861, traversed = 224}, cpUpdateReturningSlot = 0x5565095408ac } [00:46:21.954] estate = 0x55650c113ce0 [00:46:21.954] operation = CMD_MERGE [00:46:21.954] resultRelInfo = 0x55650c114290 [00:46:21.954] subplanstate = 0x55650c1149c0 [00:46:21.954] slot = [00:46:21.954] oldSlot = [00:46:21.954] tuple_ctid = {ip_blkid = {bi_hi = 3104, bi_lo = 21861}, ip_posid = 0} [00:46:21.954] oldtupdata = {t_len = 34, t_self = {ip_blkid = {bi_hi = 65535, bi_lo = 65535}, ip_posid = 0}, t_tableOid = 0, t_data = 0x55650c176928} [00:46:21.954] oldtuple = 0x7ffd97e2f980 [00:46:21.954] tupleid = 0x0 [00:46:21.954] __func__ = "ExecModifyTable" [00:46:21.954] #9 0x0000556508e9df16 in ExecProcNodeFirst (node=0x55650c114080) at ../src/backend/executor/execProcnode.c:469 [00:46:21.954] No locals. [00:46:21.954] #10 0x0000556508e89414 in ExecProcNode (node=node@entry=0x55650c114080) at ../src/include/executor/executor.h:274 [00:46:21.954] No locals. [00:46:21.954] #11 0x0000556508e895c9 in ExecutePlan (estate=estate@entry=0x55650c113ce0, planstate=0x55650c114080, use_parallel_mode=, operation=operation@entry=CMD_MERGE, sendTuples=sendTuples@entry=true, numberTuples=numberTuples@entry=0, direction=ForwardScanDirection, dest=0x55650c19ddc0, execute_once=true) at ../src/backend/executor/execMain.c:1646 [00:46:21.954] slot = [00:46:21.954] current_tuple_count = 0 [00:46:21.954] #12 0x0000556508e8b7e2 in standard_ExecutorRun (queryDesc=0x55650c1c4c28, direction=ForwardScanDirection, count=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:363 [00:46:21.954] estate = 0x55650c113ce0 [00:46:21.954] operation = CMD_MERGE [00:46:21.954] dest = 0x55650c19ddc0 [00:46:21.954] sendTuples = [00:46:21.954] oldcontext = 0x55650c19dab0 [00:46:21.954] __func__ = "standard_ExecutorRun" [00:46:21.954] #13 0x0000556508e8ba15 in ExecutorRun (queryDesc=queryDesc@entry=0x55650c1c4c28, direction=direction@entry=ForwardScanDirection, count=count@entry=0, execute_once=execute_once@entry=true) at ../src/backend/executor/execMain.c:304 [00:46:21.954] No locals. [00:46:21.954] #14 0x0000556509272317 in ProcessQuery (plan=plan@entry=0x55650c207bb8, sourceText=0x55650c011ad0 "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=0x55650c19ddc0, qc=qc@entry=0x7ffd97e2fbd0) at ../src/backend/tcop/pquery.c:160 [00:46:21.954] queryDesc = 0x55650c1c4c28 [00:46:21.954] #15 0x0000556509273f4c in PortalRunMulti (portal=portal@entry=0x55650c094720, isTopLevel=isTopLevel@entry=true, setHoldSnapshot=setHoldSnapshot@entry=true, dest=dest@entry=0x55650c19ddc0, altdest=0x556509a471e0 , qc=qc@entry=0x7ffd97e2fbd0) at ../src/backend/tcop/pquery.c:1278 [00:46:21.954] pstmt = 0x55650c207bb8 [00:46:21.954] stmtlist_item__state = [00:46:21.954] active_snapshot_set = true [00:46:21.954] stmtlist_item = 0x55650c207ce0 [00:46:21.954] #16 0x000055650927449e in FillPortalStore (portal=portal@entry=0x55650c094720, isTopLevel=isTopLevel@entry=true) at ../src/backend/tcop/pquery.c:1026 [00:46:21.954] treceiver = 0x55650c19ddc0 [00:46:21.954] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [00:46:21.954] __func__ = "FillPortalStore" [00:46:21.954] #17 0x0000556509274a6f in PortalRun (portal=portal@entry=0x55650c094720, count=count@entry=9223372036854775807, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x55650c207d18, altdest=altdest@entry=0x55650c207d18, qc=0x7ffd97e2fdb0) at ../src/backend/tcop/pquery.c:763 [00:46:21.954] _save_exception_stack = 0x7ffd97e2fe60 [00:46:21.954] _save_context_stack = 0x0 [00:46:21.954] _local_sigjmp_buf = {{__jmpbuf = {0, -5321251064470100102, 93892481992480, 93892483712480, 93892481992480, 93892483712408, -2083431750064199814, -5321262066878044294}, __mask_was_saved = 0, __saved_mask = {__val = {93892436560044, 93892481456592, 112, 4, 93892436564461, 2548235583, 4, 93892483712408, 112, 163, 93892481992480, 93892483712480, 93892483712456, 93892483712408, 93892436651664, 1}}}} [00:46:21.954] _do_rethrow = [00:46:21.954] result = [00:46:21.954] nprocessed = [00:46:21.954] saveTopTransactionResourceOwner = 0x55650c0518d8 [00:46:21.954] saveTopTransactionContext = 0x55650c0a5700 [00:46:21.954] saveActivePortal = 0x0 [00:46:21.954] saveResourceOwner = 0x55650c0518d8 [00:46:21.954] savePortalContext = 0x0 [00:46:21.954] saveMemoryContext = 0x55650c0a5700 [00:46:21.954] __func__ = "PortalRun" [00:46:21.954] #18 0x000055650926de1c in exec_simple_query (query_string=query_string@entry=0x55650c011ad0 "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:46:21.954] cmdtaglen = 5 [00:46:21.954] snapshot_set = [00:46:21.954] per_parsetree_context = 0x0 [00:46:21.954] plantree_list = 0x55650c207cc8 [00:46:21.954] parsetree = 0x55650c238598 [00:46:21.954] commandTag = [00:46:21.954] qc = {commandTag = CMDTAG_UNKNOWN, nprocessed = 0} [00:46:21.954] querytree_list = [00:46:21.954] portal = 0x55650c094720 [00:46:21.954] receiver = 0x55650c207d18 [00:46:21.954] format = 0 [00:46:21.954] cmdtagname = [00:46:21.954] parsetree_item__state = [00:46:21.954] dest = DestRemote [00:46:21.954] oldcontext = 0x55650c0a5700 [00:46:21.954] parsetree_list = 0x55650c2385c8 [00:46:21.954] parsetree_item = 0x55650c2385e0 [00:46:21.954] save_log_statement_stats = false [00:46:21.954] was_logged = true [00:46:21.954] use_implicit_block = false [00:46:21.954] msec_str = "\020\000\343\227\375\177\000\000\2276R\teU\000\000@\376\342\227\375\177\000\000\026\001\000\000\000\000\000" [00:46:21.954] __func__ = "exec_simple_query" [00:46:21.954] #19 0x00005565092708f5 in PostgresMain (dbname=, username=) at ../src/backend/tcop/postgres.c:4766 [00:46:21.954] query_string = 0x55650c011ad0 "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:46:21.954] firstchar = [00:46:21.954] input_message = {data = 0x55650c011ad0 "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:46:21.954] local_sigjmp_buf = {{__jmpbuf = {93892448886584, -5321264397196777606, 4, 140727151689744, 140727151689888, 140727151689892, -2083431750127114374, -5321262069107316870}, __mask_was_saved = 1, __saved_mask = {__val = {4194304, 93892481187408, 14336, 93892448880672, 93892481714320, 140727151689888, 93892436564009, 0, 9, 2, 93892448886592, 93892481187408, 93892448880672, 140727151689744, 140727151689888, 140727151689892}}}} [00:46:21.954] send_ready_for_query = false [00:46:21.954] idle_in_transaction_timeout_enabled = false [00:46:21.954] idle_session_timeout_enabled = false [00:46:21.954] __func__ = "PostgresMain" [00:46:21.954] #20 0x0000556509266a17 in BackendMain (startup_data=, startup_data_len=) at ../src/backend/tcop/backend_startup.c:107 [00:46:21.954] bsdata = [00:46:21.954] #21 0x00005565091206db in postmaster_child_launch (child_type=child_type@entry=B_BACKEND, startup_data=startup_data@entry=0x7ffd97e2ffbc "", startup_data_len=startup_data_len@entry=4, client_sock=client_sock@entry=0x7ffd97e30010) at ../src/backend/postmaster/launch_backend.c:274 [00:46:21.954] pid = [00:46:21.954] #22 0x0000556509126190 in BackendStartup (client_sock=client_sock@entry=0x7ffd97e30010) at ../src/backend/postmaster/postmaster.c:3414 [00:46:21.954] bn = 0x55650c046b18 [00:46:21.954] pid = [00:46:21.954] startup_data = {canAcceptConnections = CAC_OK} [00:46:21.954] __func__ = "BackendStartup" [00:46:21.954] #23 0x00005565091266f2 in ServerLoop () at ../src/backend/postmaster/postmaster.c:1648 [00:46:21.954] s = {sock = 8, raddr = {addr = {ss_family = 1, __ss_padding = "\243:\227\177\000\000\240\377\371;\227\177\000\000\270\000\343\227\375\177\000\000\264\000\343\227\375\177", '\000' , "s\353.\beU\000\000\b\327*\beU\000\000\200\001\343\227\375\177\000\000x\001\343\227\375\177\000\000\225[\362\001\000\000\000\000\240d\210;\227\177\000\000+", '\000' , "eU\000\000\210\352.\beU\000", __ss_align = 140287527257704}, salen = 2}} [00:46:21.954] i = 0 [00:46:21.954] now = [00:46:21.954] last_lockfile_recheck_time = 1723941759 [00:46:21.954] last_touch_time = 1723941759 [00:46:21.954] events = {{pos = 1, events = 2, fd = 6, user_data = 0x0}, {pos = 0, events = 0, fd = 15, user_data = 0x5565082eeb73}, {pos = 1010468456, events = 32663, fd = 998794800, user_data = 0x7f973c3a82e0}, {pos = 2090263927, events = 0, fd = -1746730496, user_data = 0x7f973c37ea48}, {pos = 15, events = 0, fd = 998794800, user_data = 0x1}, {pos = 0, events = 0, fd = 1, user_data = 0x7f973c3a82e0}, {pos = -1746730632, events = 32765, fd = -1746730624, user_data = 0x7f973c3a8668}, {pos = 0, events = 0, fd = 201399016, user_data = 0x55650958efe7 }, {pos = 32768, events = 0, fd = 1, user_data = 0x55650c013890}, {pos = -1, events = 0, fd = 983752704, user_data = 0x7f973bf9ffa0}, {pos = 201589768, events = 21861, fd = 201589480, user_data = 0x55650c0400c1}, {pos = 1010323134, events = 32663, fd = 1, user_data = 0x7f973c3a82e0}, {pos = 439, events = 0, fd = 161902008, user_data = 0x0}, {pos = 1, events = 0, fd = 201399016, user_data = 0x7f973c384ebe}, {pos = 1, events = 0, fd = 0, user_data = 0x7f973aa2e000}, {pos = 984559040, events = 32663, fd = 16, user_data = 0x7ffd97e305e0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 1010332074, events = 32663, fd = 0, user_data = 0x7f973aaaed14 }, {pos = 0, events = 0, fd = 168769824, user_data = 0x2}, {pos = 7, events = 0, fd = 201146096, user_data = 0x556509201ba2 }, {pos = 201607339, events = 21861, fd = 153114564, user_data = 0x7367702f65736162}, {pos = 8096, events = 196607, fd = 201399016, user_data = 0x7f973c384ebe}, {pos = 1, events = 0, fd = 0, user_data = 0x7f973aa364a8}, {pos = 984313463, events = 32663, fd = 168820288, user_data = 0x7d0}, {pos = 255, events = 0, fd = 99, user_data = 0x100007f00000002}, {pos = 985603168, events = 32663, fd = 255, user_data = 0xfffffffffffffef0}, {pos = 1023, 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 = 4294967040, fd = 0, user_data = 0x0}, {pos = -1, events = 4294967295, fd = -1, user_data = 0x30305f742f617461}, {pos = 1735417650, events = 1735423327, fd = 1853190772, user_data = 0x2f65646172677075}, {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 = 0, events = 0, fd = 201562848, user_data = 0x7f973aab56db}, {pos = 985586144, events = 32663, fd = 984224110, user_data = 0x100000400}, {pos = 7, events = 0, fd = 0, user_data = 0x3ca111a6048dc800}, {pos = 985589216, events = 32663, fd = -328, user_data = 0x0}, {pos = 201589160, events = 21861, fd = 2, user_data = 0x8000000000000006}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 201588960, events = 21861, fd = 3, user_data = 0x0}, {pos = 25188, events = 0, fd = -328, user_data = 0x0}, {pos = 201399016, events = 21861, fd = 984559571, user_data = 0x7ffd97e30698}, {pos = 156585504, events = 21861, fd = 168828656, user_data = 0x5565095438dd }, {pos = 201588960, events = 21861, fd = 201398736, user_data = 0x55650c0400e0}, {pos = 984307419, events = 32663, fd = 0, user_data = 0x556509555547 }, {pos = 201588960, events = 1, fd = 156587664, user_data = 0x55650c0119d0}, {pos = 76400640, events = 1017188774, fd = 0, user_data = 0xfffffffffffffeb8}, {pos = 0, events = 0, fd = 984230577, user_data = 0x7f973aaa14f0}, {pos = 0, events = 0, fd = 0, user_data = 0x0}, {pos = 0, events = 0, fd = 76400640, user_data = 0x55650bfe9100}, {pos = 76400640, events = 1017188774, fd = 11, user_data = 0x3ca111a6048dc800}, {pos = 0, events = 0, fd = 983937593, user_data = 0x1}, {pos = 152175576, events = 21861, fd = 4194304, user_data = 0x556509543771 }, {pos = 201232640, events = 21861, fd = 201398736, user_data = 0x55650bfe9100}, {pos = 1, events = 0, fd = 0, user_data = 0x556509555547 }, {pos = 201232640, events = 21861, fd = 156587664, user_data = 0x0}, {pos = 4, events = 0, fd = 0, user_data = 0x556508f55b0a }, {pos = 0, events = 0, fd = 150318676, user_data = 0xb}, {pos = 152196734, events = 21861, fd = 165249360, user_data = 0x55650c012378}} [00:46:21.955] nevents = 1 [00:46:21.955] __func__ = "ServerLoop" [00:46:21.955] #24 0x0000556509127e68 in PostmasterMain (argc=argc@entry=4, argv=argv@entry=0x55650bfcfd60) at ../src/backend/postmaster/postmaster.c:1346 [00:46:21.955] opt = [00:46:21.955] status = [00:46:21.955] userDoption = [00:46:21.955] listen_addr_saved = false [00:46:21.955] output_config_variable = [00:46:21.955] __func__ = "PostmasterMain" [00:46:21.955] #25 0x0000556508f65f28 in main (argc=4, argv=0x55650bfcfd60) at ../src/backend/main/main.c:197 [00:46:21.955] do_check_root =