[13:38:49.000] src/tools/ci/cores_backtrace.sh macos "${HOME}/cores" [13:38:49.278] (lldb) target create --core "/Users/admin/cores/core.11822" [13:38:59.524] Core file '/Users/admin/cores/core.11822' (arm64) was loaded. [13:38:59.524] (lldb) thread backtrace all [13:39:00.240] * thread #1 [13:39:00.240] * frame #0: 0x000000019a3b0764 libsystem_kernel.dylib`__pthread_kill + 8 [13:39:00.240] frame #1: 0x000000019a3e7c28 libsystem_pthread.dylib`pthread_kill + 288 [13:39:00.240] frame #2: 0x000000019a2f5ae8 libsystem_c.dylib`abort + 180 [13:39:00.240] frame #3: 0x00000001013bb0a4 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [13:39:00.240] frame #4: 0x00000001010f7688 postgres`ExecFetchSlotHeapTuple(slot=0x000000016ee983b0, materialize=, shouldFree=) at execTuples.c:1737:2 [13:39:00.240] frame #5: 0x00000001010c6854 postgres`ExecIRDeleteTriggers(estate=0x0000000152043d00, relinfo=0x00000001520442b0, slot=0x000000016ee983b0) at trigger.c:2841:15 [13:39:00.240] frame #6: 0x00000001011176ac postgres`ExecModifyTable at nodeModifyTable.c:3027:11 [13:39:00.240] frame #7: 0x00000001011172c0 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016ee983d0, resultRelInfo=0x00000001520442b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2791:11 [13:39:00.240] frame #8: 0x00000001011172c0 postgres`ExecModifyTable(pstate=0x00000001520440a0) at nodeModifyTable.c:4112:12 [13:39:00.240] frame #9: 0x00000001010f1edc postgres`ExecProcNodeFirst(node=0x00000001520440a0) at execProcnode.c:464:9 [13:39:00.240] frame #10: 0x00000001010eb1f0 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x00000001520440a0) at executor.h:274:9 [13:39:00.240] frame #11: 0x00000001010eb1d4 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x0000000152043d00, planstate=0x00000001520440a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x0000000141876310, execute_once=) at execMain.c:1646:10 [13:39:00.240] frame #12: 0x00000001010eb1a8 postgres`standard_ExecutorRun(queryDesc=0x0000000142052448, direction=, count=0, execute_once=) at execMain.c:363:3 [13:39:00.240] frame #13: 0x00000001010eb0bc postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [13:39:00.240] frame #14: 0x000000010128e0c4 postgres`ProcessQuery(plan=0x000000012800fd88, 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=0x0000000141876310, qc=0x000000016ee985f0) at pquery.c:160:2 [13:39:00.240] frame #15: 0x000000010128d770 postgres`PortalRunMulti(portal=0x0000000151849b00, isTopLevel=true, setHoldSnapshot=true, dest=0x0000000141876310, altdest=0x0000000101745488, qc=0x000000016ee985f0) at pquery.c:0 [13:39:00.240] frame #16: 0x000000010128d334 postgres`FillPortalStore(portal=0x0000000151849b00, isTopLevel=true) at pquery.c:1026:4 [13:39:00.240] frame #17: 0x000000010128d0a8 postgres`PortalRun(portal=0x0000000151849b00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000012800fee8, altdest=0x000000012800fee8, qc=0x000000016ee987e8) at pquery.c:763:6 [13:39:00.240] frame #18: 0x000000010128c064 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:1274:10 [13:39:00.240] frame #19: 0x0000000101289de8 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [13:39:00.240] frame #20: 0x0000000101285550 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:105:2 [13:39:00.240] frame #21: 0x00000001011ed108 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016ee98be0) at launch_backend.c:265:3 [13:39:00.240] frame #22: 0x00000001011f1834 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016ee98be0) at postmaster.c:3593:8 [13:39:00.240] frame #23: 0x00000001011f164c postgres`ServerLoop at postmaster.c:1674:6 [13:39:00.240] frame #24: 0x00000001011ef294 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [13:39:00.240] frame #25: 0x0000000101140bb4 postgres`main(argc=4, argv=0x0000600002ee91a0) at main.c:197:3 [13:39:00.240] frame #26: 0x000000019a08ff28 dyld`start + 2236 [13:39:00.240] (lldb) quit [13:39:00.258] -e [13:39:00.258] [13:39:00.258] [13:39:00.365] (lldb) target create --core "/Users/admin/cores/core.16783" [13:39:11.158] Core file '/Users/admin/cores/core.16783' (arm64) was loaded. [13:39:11.158] (lldb) thread backtrace all [13:39:11.826] * thread #1 [13:39:11.826] * frame #0: 0x000000019a3b0764 libsystem_kernel.dylib`__pthread_kill + 8 [13:39:11.826] frame #1: 0x000000019a3e7c28 libsystem_pthread.dylib`pthread_kill + 288 [13:39:11.826] frame #2: 0x000000019a2f5ae8 libsystem_c.dylib`abort + 180 [13:39:11.826] frame #3: 0x0000000104c1b0a4 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [13:39:11.826] frame #4: 0x0000000104957688 postgres`ExecFetchSlotHeapTuple(slot=0x000000016b638250, materialize=, shouldFree=) at execTuples.c:1737:2 [13:39:11.826] frame #5: 0x0000000104926854 postgres`ExecIRDeleteTriggers(estate=0x000000012e041100, relinfo=0x000000012e0416b0, slot=0x000000016b638250) at trigger.c:2841:15 [13:39:11.826] frame #6: 0x00000001049776ac postgres`ExecModifyTable at nodeModifyTable.c:3027:11 [13:39:11.826] frame #7: 0x00000001049772c0 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016b638270, resultRelInfo=0x000000012e0416b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2791:11 [13:39:11.826] frame #8: 0x00000001049772c0 postgres`ExecModifyTable(pstate=0x000000012e0414a0) at nodeModifyTable.c:4112:12 [13:39:11.826] frame #9: 0x0000000104951edc postgres`ExecProcNodeFirst(node=0x000000012e0414a0) at execProcnode.c:464:9 [13:39:11.826] frame #10: 0x000000010494b1f0 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000012e0414a0) at executor.h:274:9 [13:39:11.826] frame #11: 0x000000010494b1d4 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000012e041100, planstate=0x000000012e0414a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000012e81af10, execute_once=) at execMain.c:1646:10 [13:39:11.826] frame #12: 0x000000010494b1a8 postgres`standard_ExecutorRun(queryDesc=0x000000012e08b048, direction=, count=0, execute_once=) at execMain.c:363:3 [13:39:11.826] frame #13: 0x0000000105618248 pg_stat_statements.dylib`pgss_ExecutorRun(queryDesc=0x000000012e08b048, direction=ForwardScanDirection, count=0, execute_once=true) at pg_stat_statements.c:1032:4 [13:39:11.826] frame #14: 0x000000010494b0b0 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:302:3 [13:39:11.826] frame #15: 0x0000000104aee0c4 postgres`ProcessQuery(plan=0x0000000130030ce8, 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=0x000000012e81af10, qc=0x000000016b6385d0) at pquery.c:160:2 [13:39:11.826] frame #16: 0x0000000104aed770 postgres`PortalRunMulti(portal=0x000000011e02e700, isTopLevel=true, setHoldSnapshot=true, dest=0x000000012e81af10, altdest=0x0000000104fa5488, qc=0x000000016b6385d0) at pquery.c:0 [13:39:11.826] frame #17: 0x0000000104aed334 postgres`FillPortalStore(portal=0x000000011e02e700, isTopLevel=true) at pquery.c:1026:4 [13:39:11.826] frame #18: 0x0000000104aed0a8 postgres`PortalRun(portal=0x000000011e02e700, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000130030e48, altdest=0x0000000130030e48, qc=0x000000016b6387c8) at pquery.c:763:6 [13:39:11.826] frame #19: 0x0000000104aec064 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:1274:10 [13:39:11.826] frame #20: 0x0000000104ae9de8 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [13:39:11.826] frame #21: 0x0000000104ae5550 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:105:2 [13:39:11.826] frame #22: 0x0000000104a4d108 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016b638bc0) at launch_backend.c:265:3 [13:39:11.826] frame #23: 0x0000000104a51834 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016b638bc0) at postmaster.c:3593:8 [13:39:11.826] frame #24: 0x0000000104a5164c postgres`ServerLoop at postmaster.c:1674:6 [13:39:11.826] frame #25: 0x0000000104a4f294 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [13:39:11.826] frame #26: 0x00000001049a0bb4 postgres`main(argc=4, argv=0x0000600001eed1a0) at main.c:197:3 [13:39:11.826] frame #27: 0x000000019a08ff28 dyld`start + 2236 [13:39:11.826] (lldb) quit [13:39:11.836] -e [13:39:11.836] [13:39:11.836] [13:39:11.951] (lldb) target create --core "/Users/admin/cores/core.11732" [13:39:23.047] Core file '/Users/admin/cores/core.11732' (arm64) was loaded. [13:39:23.047] (lldb) thread backtrace all [13:39:23.724] * thread #1 [13:39:23.724] * frame #0: 0x000000019a3b0764 libsystem_kernel.dylib`__pthread_kill + 8 [13:39:23.724] frame #1: 0x000000019a3e7c28 libsystem_pthread.dylib`pthread_kill + 288 [13:39:23.724] frame #2: 0x000000019a2f5ae8 libsystem_c.dylib`abort + 180 [13:39:23.724] frame #3: 0x0000000102b870a4 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [13:39:23.724] frame #4: 0x00000001028c3688 postgres`ExecFetchSlotHeapTuple(slot=0x000000016d6cc3c0, materialize=, shouldFree=) at execTuples.c:1737:2 [13:39:23.724] frame #5: 0x0000000102892854 postgres`ExecIRDeleteTriggers(estate=0x000000013d044300, relinfo=0x000000013d0448b0, slot=0x000000016d6cc3c0) at trigger.c:2841:15 [13:39:23.724] frame #6: 0x00000001028e36ac postgres`ExecModifyTable at nodeModifyTable.c:3027:11 [13:39:23.724] frame #7: 0x00000001028e32c0 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016d6cc3e0, resultRelInfo=0x000000013d0448b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2791:11 [13:39:23.724] frame #8: 0x00000001028e32c0 postgres`ExecModifyTable(pstate=0x000000013d0446a0) at nodeModifyTable.c:4112:12 [13:39:23.724] frame #9: 0x00000001028bdedc postgres`ExecProcNodeFirst(node=0x000000013d0446a0) at execProcnode.c:464:9 [13:39:23.724] frame #10: 0x00000001028b71f0 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000013d0446a0) at executor.h:274:9 [13:39:23.724] frame #11: 0x00000001028b71d4 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000013d044300, planstate=0x000000013d0446a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000013d09c510, execute_once=) at execMain.c:1646:10 [13:39:23.724] frame #12: 0x00000001028b71a8 postgres`standard_ExecutorRun(queryDesc=0x000000014e913648, direction=, count=0, execute_once=) at execMain.c:363:3 [13:39:23.724] frame #13: 0x00000001028b70bc postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [13:39:23.724] frame #14: 0x0000000102a5a0c4 postgres`ProcessQuery(plan=0x000000015006fd88, 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=0x000000013d09c510, qc=0x000000016d6cc600) at pquery.c:160:2 [13:39:23.724] frame #15: 0x0000000102a59770 postgres`PortalRunMulti(portal=0x000000014e84ef00, isTopLevel=true, setHoldSnapshot=true, dest=0x000000013d09c510, altdest=0x0000000102f11488, qc=0x000000016d6cc600) at pquery.c:0 [13:39:23.724] frame #16: 0x0000000102a59334 postgres`FillPortalStore(portal=0x000000014e84ef00, isTopLevel=true) at pquery.c:1026:4 [13:39:23.724] frame #17: 0x0000000102a590a8 postgres`PortalRun(portal=0x000000014e84ef00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000015006fee8, altdest=0x000000015006fee8, qc=0x000000016d6cc7f8) at pquery.c:763:6 [13:39:23.724] frame #18: 0x0000000102a58064 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:1274:10 [13:39:23.724] frame #19: 0x0000000102a55de8 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [13:39:23.724] frame #20: 0x0000000102a51550 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:105:2 [13:39:23.724] frame #21: 0x00000001029b9108 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016d6ccbf0) at launch_backend.c:265:3 [13:39:23.724] frame #22: 0x00000001029bd834 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016d6ccbf0) at postmaster.c:3593:8 [13:39:23.724] frame #23: 0x00000001029bd64c postgres`ServerLoop at postmaster.c:1674:6 [13:39:23.724] frame #24: 0x00000001029bb294 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [13:39:23.724] frame #25: 0x000000010290cbb4 postgres`main(argc=8, argv=0x0000600003324370) at main.c:197:3 [13:39:23.724] frame #26: 0x000000019a08ff28 dyld`start + 2236 [13:39:23.724] (lldb) quit