[21:41:49.227] src/tools/ci/cores_backtrace.sh macos "${HOME}/cores" [21:41:49.522] (lldb) target create --core "/Users/admin/cores/core.8258" [21:42:00.254] Core file '/Users/admin/cores/core.8258' (arm64) was loaded. [21:42:00.254] (lldb) thread backtrace all [21:42:00.908] * thread #1 [21:42:00.908] * frame #0: 0x000000019cc90764 libsystem_kernel.dylib`__pthread_kill + 8 [21:42:00.908] frame #1: 0x000000019ccc7c28 libsystem_pthread.dylib`pthread_kill + 288 [21:42:00.908] frame #2: 0x000000019cbd5ae8 libsystem_c.dylib`abort + 180 [21:42:00.908] frame #3: 0x000000010487572c postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1728) at assert.c:66:2 [21:42:00.908] frame #4: 0x00000001045bab38 postgres`ExecFetchSlotHeapTuple(slot=0x000000016b9d03c8, materialize=, shouldFree=) at execTuples.c:1728:2 [21:42:00.908] frame #5: 0x0000000104589ee8 postgres`ExecIRDeleteTriggers(estate=0x000000014a84dd00, relinfo=0x000000014a84e2b0, slot=0x000000016b9d03c8) at trigger.c:2841:15 [21:42:00.908] frame #6: 0x00000001045dae38 postgres`ExecMerge at nodeModifyTable.c:2991:11 [21:42:00.908] frame #7: 0x00000001045daae8 postgres`ExecMerge(context=, resultRelInfo=0x000000014a84e2b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=true) at nodeModifyTable.c:2772:11 [21:42:00.908] frame #8: 0x00000001045da594 postgres`ExecModifyTable(pstate=0x000000014a84e0a0) at nodeModifyTable.c:4028:12 [21:42:00.908] frame #9: 0x00000001045b538c postgres`ExecProcNodeFirst(node=0x000000014a84e0a0) at execProcnode.c:464:9 [21:42:00.908] frame #10: 0x00000001045ae6c4 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000014a84e0a0) at executor.h:274:9 [21:42:00.908] frame #11: 0x00000001045ae6a8 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000014a84dd00, planstate=0x000000014a84e0a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000014a02d510, execute_once=) at execMain.c:1644:10 [21:42:00.908] frame #12: 0x00000001045ae67c postgres`standard_ExecutorRun(queryDesc=0x000000014a02ea48, direction=, count=0, execute_once=) at execMain.c:363:3 [21:42:00.908] frame #13: 0x00000001045ae590 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [21:42:00.908] frame #14: 0x000000010474a5ec postgres`ProcessQuery(plan=0x00000001300276c0, 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=0x000000014a02d510, qc=0x000000016b9d05e0) at pquery.c:160:2 [21:42:00.908] frame #15: 0x0000000104749c98 postgres`PortalRunMulti(portal=0x000000014b027d00, isTopLevel=true, setHoldSnapshot=true, dest=0x000000014a02d510, altdest=0x0000000104bf1498, qc=0x000000016b9d05e0) at pquery.c:0 [21:42:00.908] frame #16: 0x000000010474985c postgres`FillPortalStore(portal=0x000000014b027d00, isTopLevel=true) at pquery.c:1026:4 [21:42:00.908] frame #17: 0x00000001047495d0 postgres`PortalRun(portal=0x000000014b027d00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000130027820, altdest=0x0000000130027820, qc=0x000000016b9d07d8) at pquery.c:763:6 [21:42:00.908] frame #18: 0x000000010474858c 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 [21:42:00.908] frame #19: 0x0000000104746310 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [21:42:00.908] frame #20: 0x0000000104741cd8 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:101:2 [21:42:00.908] frame #21: 0x00000001046ac7f4 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016b9d0bd0) at launch_backend.c:265:3 [21:42:00.908] frame #22: 0x00000001046b0d40 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016b9d0bd0) at postmaster.c:3593:8 [21:42:00.908] frame #23: 0x00000001046b0b58 postgres`ServerLoop at postmaster.c:1674:6 [21:42:00.908] frame #24: 0x00000001046ae7a0 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [21:42:00.908] frame #25: 0x0000000104603bac postgres`main(argc=4, argv=0x000060000174d200) at main.c:197:3 [21:42:00.908] frame #26: 0x000000019c96ff28 dyld`start + 2236 [21:42:00.908] (lldb) quit [21:42:00.924] -e [21:42:00.924] [21:42:00.924] [21:42:01.040] (lldb) target create --core "/Users/admin/cores/core.7891" [21:42:12.874] Core file '/Users/admin/cores/core.7891' (arm64) was loaded. [21:42:12.874] (lldb) thread backtrace all [21:42:14.051] * thread #1 [21:42:14.051] * frame #0: 0x000000019cc90764 libsystem_kernel.dylib`__pthread_kill + 8 [21:42:14.051] frame #1: 0x000000019ccc7c28 libsystem_pthread.dylib`pthread_kill + 288 [21:42:14.051] frame #2: 0x000000019cbd5ae8 libsystem_c.dylib`abort + 180 [21:42:14.051] frame #3: 0x00000001030b972c postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1728) at assert.c:66:2 [21:42:14.051] frame #4: 0x0000000102dfeb38 postgres`ExecFetchSlotHeapTuple(slot=0x000000016d18c3c8, materialize=, shouldFree=) at execTuples.c:1728:2 [21:42:14.051] frame #5: 0x0000000102dcdee8 postgres`ExecIRDeleteTriggers(estate=0x000000011d0b2d00, relinfo=0x000000011d0b32b0, slot=0x000000016d18c3c8) at trigger.c:2841:15 [21:42:14.051] frame #6: 0x0000000102e1ee38 postgres`ExecMerge at nodeModifyTable.c:2991:11 [21:42:14.051] frame #7: 0x0000000102e1eae8 postgres`ExecMerge(context=, resultRelInfo=0x000000011d0b32b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=true) at nodeModifyTable.c:2772:11 [21:42:14.051] frame #8: 0x0000000102e1e594 postgres`ExecModifyTable(pstate=0x000000011d0b30a0) at nodeModifyTable.c:4028:12 [21:42:14.051] frame #9: 0x0000000102df938c postgres`ExecProcNodeFirst(node=0x000000011d0b30a0) at execProcnode.c:464:9 [21:42:14.051] frame #10: 0x0000000102df26c4 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000011d0b30a0) at executor.h:274:9 [21:42:14.051] frame #11: 0x0000000102df26a8 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000011d0b2d00, planstate=0x000000011d0b30a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000011d834110, execute_once=) at execMain.c:1644:10 [21:42:14.051] frame #12: 0x0000000102df267c postgres`standard_ExecutorRun(queryDesc=0x000000012d028848, direction=, count=0, execute_once=) at execMain.c:363:3 [21:42:14.051] frame #13: 0x0000000102df2590 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [21:42:14.051] frame #14: 0x0000000102f8e5ec postgres`ProcessQuery(plan=0x00000001300476c0, 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=0x000000011d834110, qc=0x000000016d18c5e0) at pquery.c:160:2 [21:42:14.051] frame #15: 0x0000000102f8dc98 postgres`PortalRunMulti(portal=0x000000011d033900, isTopLevel=true, setHoldSnapshot=true, dest=0x000000011d834110, altdest=0x0000000103435498, qc=0x000000016d18c5e0) at pquery.c:0 [21:42:14.051] frame #16: 0x0000000102f8d85c postgres`FillPortalStore(portal=0x000000011d033900, isTopLevel=true) at pquery.c:1026:4 [21:42:14.051] frame #17: 0x0000000102f8d5d0 postgres`PortalRun(portal=0x000000011d033900, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000130047820, altdest=0x0000000130047820, qc=0x000000016d18c7d8) at pquery.c:763:6 [21:42:14.051] frame #18: 0x0000000102f8c58c 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 [21:42:14.051] frame #19: 0x0000000102f8a310 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [21:42:14.051] frame #20: 0x0000000102f85cd8 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:101:2 [21:42:14.051] frame #21: 0x0000000102ef07f4 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016d18cbd0) at launch_backend.c:265:3 [21:42:14.051] frame #22: 0x0000000102ef4d40 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016d18cbd0) at postmaster.c:3593:8 [21:42:14.051] frame #23: 0x0000000102ef4b58 postgres`ServerLoop at postmaster.c:1674:6 [21:42:14.051] frame #24: 0x0000000102ef27a0 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [21:42:14.051] frame #25: 0x0000000102e47bac postgres`main(argc=8, argv=0x0000600003d7ba70) at main.c:197:3 [21:42:14.051] frame #26: 0x000000019c96ff28 dyld`start + 2236 [21:42:14.051] (lldb) quit [21:42:14.062] -e [21:42:14.062] [21:42:14.062] [21:42:14.181] (lldb) target create --core "/Users/admin/cores/core.15045" [21:42:24.737] Core file '/Users/admin/cores/core.15045' (arm64) was loaded. [21:42:24.737] (lldb) thread backtrace all [21:42:25.388] * thread #1 [21:42:25.388] * frame #0: 0x000000019cc90764 libsystem_kernel.dylib`__pthread_kill + 8 [21:42:25.388] frame #1: 0x000000019ccc7c28 libsystem_pthread.dylib`pthread_kill + 288 [21:42:25.388] frame #2: 0x000000019cbd5ae8 libsystem_c.dylib`abort + 180 [21:42:25.388] frame #3: 0x000000010335572c postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1728) at assert.c:66:2 [21:42:25.388] frame #4: 0x000000010309ab38 postgres`ExecFetchSlotHeapTuple(slot=0x000000016cef0268, materialize=, shouldFree=) at execTuples.c:1728:2 [21:42:25.388] frame #5: 0x0000000103069ee8 postgres`ExecIRDeleteTriggers(estate=0x000000012f072f00, relinfo=0x000000012f0734b0, slot=0x000000016cef0268) at trigger.c:2841:15 [21:42:25.388] frame #6: 0x00000001030bae38 postgres`ExecMerge at nodeModifyTable.c:2991:11 [21:42:25.388] frame #7: 0x00000001030baae8 postgres`ExecMerge(context=, resultRelInfo=0x000000012f0734b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=true) at nodeModifyTable.c:2772:11 [21:42:25.388] frame #8: 0x00000001030ba594 postgres`ExecModifyTable(pstate=0x000000012f0732a0) at nodeModifyTable.c:4028:12 [21:42:25.388] frame #9: 0x000000010309538c postgres`ExecProcNodeFirst(node=0x000000012f0732a0) at execProcnode.c:464:9 [21:42:25.388] frame #10: 0x000000010308e6c4 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000012f0732a0) at executor.h:274:9 [21:42:25.388] frame #11: 0x000000010308e6a8 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000012f072f00, planstate=0x000000012f0732a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000012f0af110, execute_once=) at execMain.c:1644:10 [21:42:25.388] frame #12: 0x000000010308e67c postgres`standard_ExecutorRun(queryDesc=0x000000012e09b448, direction=, count=0, execute_once=) at execMain.c:363:3 [21:42:25.388] frame #13: 0x0000000103d38248 pg_stat_statements.dylib`pgss_ExecutorRun(queryDesc=0x000000012e09b448, direction=ForwardScanDirection, count=0, execute_once=true) at pg_stat_statements.c:1032:4 [21:42:25.388] frame #14: 0x000000010308e584 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:302:3 [21:42:25.388] frame #15: 0x000000010322a5ec postgres`ProcessQuery(plan=0x0000000138050630, 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=0x000000012f0af110, qc=0x000000016cef05c0) at pquery.c:160:2 [21:42:25.388] frame #16: 0x0000000103229c98 postgres`PortalRunMulti(portal=0x000000012f031700, isTopLevel=true, setHoldSnapshot=true, dest=0x000000012f0af110, altdest=0x00000001036d1498, qc=0x000000016cef05c0) at pquery.c:0 [21:42:25.388] frame #17: 0x000000010322985c postgres`FillPortalStore(portal=0x000000012f031700, isTopLevel=true) at pquery.c:1026:4 [21:42:25.388] frame #18: 0x00000001032295d0 postgres`PortalRun(portal=0x000000012f031700, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000138050790, altdest=0x0000000138050790, qc=0x000000016cef07b8) at pquery.c:763:6 [21:42:25.388] frame #19: 0x000000010322858c 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 [21:42:25.388] frame #20: 0x0000000103226310 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [21:42:25.388] frame #21: 0x0000000103221cd8 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:101:2 [21:42:25.388] frame #22: 0x000000010318c7f4 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016cef0bb0) at launch_backend.c:265:3 [21:42:25.388] frame #23: 0x0000000103190d40 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016cef0bb0) at postmaster.c:3593:8 [21:42:25.388] frame #24: 0x0000000103190b58 postgres`ServerLoop at postmaster.c:1674:6 [21:42:25.388] frame #25: 0x000000010318e7a0 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [21:42:25.388] frame #26: 0x00000001030e3bac postgres`main(argc=4, argv=0x00006000030d9200) at main.c:197:3 [21:42:25.388] frame #27: 0x000000019c96ff28 dyld`start + 2236 [21:42:25.388] (lldb) quit