[00:02:11.467] src/tools/ci/cores_backtrace.sh macos "${HOME}/cores" [00:02:13.876] (lldb) target create --core "/Users/admin/cores/core.9205" [00:02:55.164] Core file '/Users/admin/cores/core.9205' (arm64) was loaded. [00:02:55.164] (lldb) thread backtrace all [00:02:56.110] * thread #1 [00:02:56.110] * frame #0: 0x000000018bba95f0 libsystem_kernel.dylib`__pthread_kill + 8 [00:02:56.110] frame #1: 0x000000018bbe1c20 libsystem_pthread.dylib`pthread_kill + 288 [00:02:56.110] frame #2: 0x000000018baeea30 libsystem_c.dylib`abort + 180 [00:02:56.110] frame #3: 0x0000000102e376ac postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [00:02:56.110] frame #4: 0x0000000102b74b70 postgres`ExecFetchSlotHeapTuple(slot=0x000000016d4181f0, materialize=, shouldFree=) at execTuples.c:1737:2 [00:02:56.110] frame #5: 0x0000000102b429c8 postgres`ExecIRDeleteTriggers(estate=0x0000000125077300, relinfo=0x00000001250778b0, slot=0x000000016d4181f0) at trigger.c:2842:15 [00:02:56.110] frame #6: 0x0000000102b94eb4 postgres`ExecModifyTable at nodeModifyTable.c:3043:11 [00:02:56.110] frame #7: 0x0000000102b94b40 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016d418210, resultRelInfo=0x00000001250778b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2804:11 [00:02:56.110] frame #8: 0x0000000102b94b40 postgres`ExecModifyTable(pstate=0x00000001250776a0) at nodeModifyTable.c:4133:12 [00:02:56.110] frame #9: 0x0000000102b683f0 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x00000001250776a0) at executor.h:278:9 [00:02:56.110] frame #10: 0x0000000102b683d4 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x0000000125077300, planstate=0x00000001250776a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x00000001250c9b10, execute_once=) at execMain.c:1653:10 [00:02:56.110] frame #11: 0x0000000102b683a8 postgres`standard_ExecutorRun(queryDesc=0x000000012583ba48, direction=, count=0, execute_once=) at execMain.c:364:3 [00:02:56.110] frame #12: 0x0000000102b682ac postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:305:3 [artificial] [00:02:56.110] frame #13: 0x0000000102d09464 postgres`ProcessQuery(plan=0x000000012807ff00, sourceText="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 AND s.a > 0 THEN INSERT VALUES (s.a, s.b)\n RETURNING merge_action(), s.*, t.*;", params=0x0000000000000000, queryEnv=0x0000000000000000, dest=0x00000001250c9b10, qc=0x000000016d418400) at pquery.c:160:2 [00:02:56.110] frame #14: 0x0000000102d08b0c postgres`PortalRunMulti(portal=0x0000000125021100, isTopLevel=true, setHoldSnapshot=true, dest=0x00000001250c9b10, altdest=0x00000001031f17b8, qc=0x000000016d418400) at pquery.c:0 [00:02:56.110] frame #15: 0x0000000102d086d0 postgres`FillPortalStore(portal=0x0000000125021100, isTopLevel=true) at pquery.c:1026:4 [00:02:56.110] frame #16: 0x0000000102d08444 postgres`PortalRun(portal=0x0000000125021100, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000128080060, altdest=0x0000000128080060, qc=0x000000016d4185f8) at pquery.c:763:6 [00:02:56.110] frame #17: 0x0000000102d07404 postgres`exec_simple_query(query_string="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 AND s.a > 0 THEN INSERT VALUES (s.a, s.b)\n RETURNING merge_action(), s.*, t.*;") at postgres.c:1284:10 [00:02:56.110] frame #18: 0x0000000102d0509c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [00:02:56.110] frame #19: 0x0000000102d00360 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [00:02:56.110] frame #20: 0x0000000102c67924 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016d418a00) at launch_backend.c:274:3 [00:02:56.110] frame #21: 0x0000000102c6ba7c postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016d418a00) at postmaster.c:3420:8 [00:02:56.110] frame #22: 0x0000000102c6b8f4 postgres`ServerLoop at postmaster.c:1653:6 [00:02:56.110] frame #23: 0x0000000102c69a58 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1351:11 [00:02:56.110] frame #24: 0x0000000102bbe154 postgres`main(argc=8, argv=0x0000600002670460) at main.c:197:3 [00:02:56.110] frame #25: 0x000000018b857154 dyld`start + 2476 [00:02:56.110] (lldb) quit [00:02:56.125] -e [00:02:56.125] [00:02:56.125] [00:02:56.332] (lldb) target create --core "/Users/admin/cores/core.9404" [00:03:31.816] Core file '/Users/admin/cores/core.9404' (arm64) was loaded. [00:03:31.816] (lldb) thread backtrace all [00:03:32.669] * thread #1 [00:03:32.669] * frame #0: 0x000000018bba95f0 libsystem_kernel.dylib`__pthread_kill + 8 [00:03:32.669] frame #1: 0x000000018bbe1c20 libsystem_pthread.dylib`pthread_kill + 288 [00:03:32.669] frame #2: 0x000000018baeea30 libsystem_c.dylib`abort + 180 [00:03:32.669] frame #3: 0x0000000102e2f6ac postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [00:03:32.669] frame #4: 0x0000000102b6cb70 postgres`ExecFetchSlotHeapTuple(slot=0x000000016d4201f0, materialize=, shouldFree=) at execTuples.c:1737:2 [00:03:32.669] frame #5: 0x0000000102b3a9c8 postgres`ExecIRDeleteTriggers(estate=0x000000011b832700, relinfo=0x000000011b832cb0, slot=0x000000016d4201f0) at trigger.c:2842:15 [00:03:32.669] frame #6: 0x0000000102b8ceb4 postgres`ExecModifyTable at nodeModifyTable.c:3043:11 [00:03:32.669] frame #7: 0x0000000102b8cb40 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016d420210, resultRelInfo=0x000000011b832cb0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2804:11 [00:03:32.669] frame #8: 0x0000000102b8cb40 postgres`ExecModifyTable(pstate=0x000000011b832aa0) at nodeModifyTable.c:4133:12 [00:03:32.669] frame #9: 0x0000000102b603f0 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000011b832aa0) at executor.h:278:9 [00:03:32.669] frame #10: 0x0000000102b603d4 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000011b832700, planstate=0x000000011b832aa0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000011b88d510, execute_once=) at execMain.c:1653:10 [00:03:32.669] frame #11: 0x0000000102b603a8 postgres`standard_ExecutorRun(queryDesc=0x000000012b89b648, direction=, count=0, execute_once=) at execMain.c:364:3 [00:03:32.669] frame #12: 0x0000000102b602ac postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:305:3 [artificial] [00:03:32.669] frame #13: 0x0000000102d01464 postgres`ProcessQuery(plan=0x0000000130047f00, sourceText="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 AND s.a > 0 THEN INSERT VALUES (s.a, s.b)\n RETURNING merge_action(), s.*, t.*;", params=0x0000000000000000, queryEnv=0x0000000000000000, dest=0x000000011b88d510, qc=0x000000016d420400) at pquery.c:160:2 [00:03:32.669] frame #14: 0x0000000102d00b0c postgres`PortalRunMulti(portal=0x000000012b845300, isTopLevel=true, setHoldSnapshot=true, dest=0x000000011b88d510, altdest=0x00000001031e97b8, qc=0x000000016d420400) at pquery.c:0 [00:03:32.669] frame #15: 0x0000000102d006d0 postgres`FillPortalStore(portal=0x000000012b845300, isTopLevel=true) at pquery.c:1026:4 [00:03:32.669] frame #16: 0x0000000102d00444 postgres`PortalRun(portal=0x000000012b845300, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000130048060, altdest=0x0000000130048060, qc=0x000000016d4205f8) at pquery.c:763:6 [00:03:32.669] frame #17: 0x0000000102cff404 postgres`exec_simple_query(query_string="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 AND s.a > 0 THEN INSERT VALUES (s.a, s.b)\n RETURNING merge_action(), s.*, t.*;") at postgres.c:1284:10 [00:03:32.669] frame #18: 0x0000000102cfd09c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [00:03:32.669] frame #19: 0x0000000102cf8360 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [00:03:32.669] frame #20: 0x0000000102c5f924 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016d420a00) at launch_backend.c:274:3 [00:03:32.669] frame #21: 0x0000000102c63a7c postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016d420a00) at postmaster.c:3420:8 [00:03:32.669] frame #22: 0x0000000102c638f4 postgres`ServerLoop at postmaster.c:1653:6 [00:03:32.669] frame #23: 0x0000000102c61a58 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1351:11 [00:03:32.669] frame #24: 0x0000000102bb6154 postgres`main(argc=4, argv=0x0000600000f68ba0) at main.c:197:3 [00:03:32.669] frame #25: 0x000000018b857154 dyld`start + 2476 [00:03:32.669] (lldb) quit [00:03:32.683] -e [00:03:32.683] [00:03:32.683] [00:03:32.867] (lldb) target create --core "/Users/admin/cores/core.17194" [00:04:13.205] Core file '/Users/admin/cores/core.17194' (arm64) was loaded. [00:04:13.205] (lldb) thread backtrace all [00:04:14.138] * thread #1 [00:04:14.138] * frame #0: 0x000000018bba95f0 libsystem_kernel.dylib`__pthread_kill + 8 [00:04:14.138] frame #1: 0x000000018bbe1c20 libsystem_pthread.dylib`pthread_kill + 288 [00:04:14.138] frame #2: 0x000000018baeea30 libsystem_c.dylib`abort + 180 [00:04:14.138] frame #3: 0x00000001007d36ac postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [00:04:14.138] frame #4: 0x0000000100510b70 postgres`ExecFetchSlotHeapTuple(slot=0x000000016fa7c090, materialize=, shouldFree=) at execTuples.c:1737:2 [00:04:14.138] frame #5: 0x00000001004de9c8 postgres`ExecIRDeleteTriggers(estate=0x0000000130017300, relinfo=0x00000001300178b0, slot=0x000000016fa7c090) at trigger.c:2842:15 [00:04:14.138] frame #6: 0x0000000100530eb4 postgres`ExecModifyTable at nodeModifyTable.c:3043:11 [00:04:14.138] frame #7: 0x0000000100530b40 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016fa7c0b0, resultRelInfo=0x00000001300178b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2804:11 [00:04:14.138] frame #8: 0x0000000100530b40 postgres`ExecModifyTable(pstate=0x00000001300176a0) at nodeModifyTable.c:4133:12 [00:04:14.138] frame #9: 0x00000001005043f0 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x00000001300176a0) at executor.h:278:9 [00:04:14.138] frame #10: 0x00000001005043d4 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x0000000130017300, planstate=0x00000001300176a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x0000000117053d10, execute_once=) at execMain.c:1653:10 [00:04:14.138] frame #11: 0x00000001005043a8 postgres`standard_ExecutorRun(queryDesc=0x000000013004e448, direction=, count=0, execute_once=) at execMain.c:364:3 [00:04:14.138] frame #12: 0x0000000100f37e38 pg_stat_statements.dylib`pgss_ExecutorRun(queryDesc=0x000000013004e448, direction=ForwardScanDirection, count=0, execute_once=true) at pg_stat_statements.c:1024:4 [00:04:14.138] frame #13: 0x00000001006a5464 postgres`ProcessQuery(plan=0x00000001180f0e70, sourceText="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 AND s.a > 0 THEN INSERT VALUES (s.a, s.b)\n RETURNING merge_action(), s.*, t.*;", params=0x0000000000000000, queryEnv=0x0000000000000000, dest=0x0000000117053d10, qc=0x000000016fa7c3e0) at pquery.c:160:2 [00:04:14.138] frame #14: 0x00000001006a4b0c postgres`PortalRunMulti(portal=0x000000011702a300, isTopLevel=true, setHoldSnapshot=true, dest=0x0000000117053d10, altdest=0x0000000100b8d7b8, qc=0x000000016fa7c3e0) at pquery.c:0 [00:04:14.138] frame #15: 0x00000001006a46d0 postgres`FillPortalStore(portal=0x000000011702a300, isTopLevel=true) at pquery.c:1026:4 [00:04:14.138] frame #16: 0x00000001006a4444 postgres`PortalRun(portal=0x000000011702a300, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x00000001180f0fd0, altdest=0x00000001180f0fd0, qc=0x000000016fa7c5d8) at pquery.c:763:6 [00:04:14.138] frame #17: 0x00000001006a3404 postgres`exec_simple_query(query_string="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 AND s.a > 0 THEN INSERT VALUES (s.a, s.b)\n RETURNING merge_action(), s.*, t.*;") at postgres.c:1284:10 [00:04:14.138] frame #18: 0x00000001006a109c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [00:04:14.138] frame #19: 0x000000010069c360 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [00:04:14.138] frame #20: 0x0000000100603924 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016fa7c9e0) at launch_backend.c:274:3 [00:04:14.138] frame #21: 0x0000000100607a7c postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016fa7c9e0) at postmaster.c:3420:8 [00:04:14.138] frame #22: 0x00000001006078f4 postgres`ServerLoop at postmaster.c:1653:6 [00:04:14.138] frame #23: 0x0000000100605a58 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1351:11 [00:04:14.138] frame #24: 0x000000010055a154 postgres`main(argc=4, argv=0x0000600000fd4ba0) at main.c:197:3 [00:04:14.138] frame #25: 0x000000018b857154 dyld`start + 2476 [00:04:14.138] (lldb) quit