[15:16:42.103] src/tools/ci/cores_backtrace.sh macos "${HOME}/cores" [15:16:43.768] (lldb) target create --core "/Users/admin/cores/core.10188" [15:17:13.008] Core file '/Users/admin/cores/core.10188' (arm64) was loaded. [15:17:13.008] (lldb) thread backtrace all [15:17:13.766] * thread #1 [15:17:13.766] * frame #0: 0x000000019e8915f0 libsystem_kernel.dylib`__pthread_kill + 8 [15:17:13.766] frame #1: 0x000000019e8c9c20 libsystem_pthread.dylib`pthread_kill + 288 [15:17:13.766] frame #2: 0x000000019e7d6a30 libsystem_c.dylib`abort + 180 [15:17:13.766] frame #3: 0x0000000104c2edbc postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [15:17:13.766] frame #4: 0x000000010496d9b0 postgres`ExecFetchSlotHeapTuple(slot=0x000000016b620220, materialize=, shouldFree=) at execTuples.c:1737:2 [15:17:13.766] frame #5: 0x000000010493ba70 postgres`ExecIRDeleteTriggers(estate=0x000000012e044300, relinfo=0x000000012e0448b0, slot=0x000000016b620220) at trigger.c:2841:15 [15:17:13.766] frame #6: 0x000000010498dcf4 postgres`ExecModifyTable at nodeModifyTable.c:3043:11 [15:17:13.766] frame #7: 0x000000010498d980 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016b620240, resultRelInfo=0x000000012e0448b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2804:11 [15:17:13.766] frame #8: 0x000000010498d980 postgres`ExecModifyTable(pstate=0x000000012e0446a0) at nodeModifyTable.c:4133:12 [15:17:13.766] frame #9: 0x0000000104961310 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000012e0446a0) at executor.h:278:9 [15:17:13.766] frame #10: 0x00000001049612f4 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000012e044300, planstate=0x000000012e0446a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000012e01f910, execute_once=) at execMain.c:1641:10 [15:17:13.766] frame #11: 0x00000001049612c8 postgres`standard_ExecutorRun(queryDesc=0x000000013e81c848, direction=, count=0, execute_once=) at execMain.c:358:3 [15:17:13.766] frame #12: 0x00000001049611e4 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:299:3 [artificial] [15:17:13.766] frame #13: 0x0000000104b012b8 postgres`ProcessQuery(plan=0x000000014002fe88, 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=0x000000012e01f910, qc=0x000000016b620430) at pquery.c:160:2 [15:17:13.766] frame #14: 0x0000000104b00960 postgres`PortalRunMulti(portal=0x000000013f835500, isTopLevel=true, setHoldSnapshot=true, dest=0x000000012e01f910, altdest=0x0000000104fb57b8, qc=0x000000016b620430) at pquery.c:0 [15:17:13.766] frame #15: 0x0000000104b00524 postgres`FillPortalStore(portal=0x000000013f835500, isTopLevel=true) at pquery.c:1026:4 [15:17:13.766] frame #16: 0x0000000104b00298 postgres`PortalRun(portal=0x000000013f835500, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000014002ffe8, altdest=0x000000014002ffe8, qc=0x000000016b620628) at pquery.c:763:6 [15:17:13.766] frame #17: 0x0000000104aff258 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 [15:17:13.766] frame #18: 0x0000000104afcfd4 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [15:17:13.766] frame #19: 0x0000000104af82bc postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [15:17:13.766] frame #20: 0x0000000104a5fb78 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016b620a30) at launch_backend.c:274:3 [15:17:13.766] frame #21: 0x0000000104a63ccc postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016b620a30) at postmaster.c:3415:8 [15:17:13.766] frame #22: 0x0000000104a63b44 postgres`ServerLoop at postmaster.c:1648:6 [15:17:13.766] frame #23: 0x0000000104a61ca8 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [15:17:13.766] frame #24: 0x00000001049b6fb8 postgres`main(argc=4, argv=0x0000600001f807b0) at main.c:197:3 [15:17:13.766] frame #25: 0x000000019e53f154 dyld`start + 2476 [15:17:13.766] (lldb) quit [15:17:13.779] -e [15:17:13.779] [15:17:13.779] [15:17:13.928] (lldb) target create --core "/Users/admin/cores/core.9723" [15:17:25.439] Core file '/Users/admin/cores/core.9723' (arm64) was loaded. [15:17:25.439] (lldb) thread backtrace all [15:17:26.147] * thread #1 [15:17:26.147] * frame #0: 0x000000019e8915f0 libsystem_kernel.dylib`__pthread_kill + 8 [15:17:26.147] frame #1: 0x000000019e8c9c20 libsystem_pthread.dylib`pthread_kill + 288 [15:17:26.147] frame #2: 0x000000019e7d6a30 libsystem_c.dylib`abort + 180 [15:17:26.147] frame #3: 0x0000000105342dbc postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [15:17:26.147] frame #4: 0x00000001050819b0 postgres`ExecFetchSlotHeapTuple(slot=0x000000016af0c230, materialize=, shouldFree=) at execTuples.c:1737:2 [15:17:26.147] frame #5: 0x000000010504fa70 postgres`ExecIRDeleteTriggers(estate=0x000000013d046b00, relinfo=0x000000013d0470b0, slot=0x000000016af0c230) at trigger.c:2841:15 [15:17:26.147] frame #6: 0x00000001050a1cf4 postgres`ExecModifyTable at nodeModifyTable.c:3043:11 [15:17:26.147] frame #7: 0x00000001050a1980 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016af0c250, resultRelInfo=0x000000013d0470b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2804:11 [15:17:26.147] frame #8: 0x00000001050a1980 postgres`ExecModifyTable(pstate=0x000000013d046ea0) at nodeModifyTable.c:4133:12 [15:17:26.147] frame #9: 0x0000000105075310 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000013d046ea0) at executor.h:278:9 [15:17:26.147] frame #10: 0x00000001050752f4 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000013d046b00, planstate=0x000000013d046ea0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000013d088d10, execute_once=) at execMain.c:1641:10 [15:17:26.147] frame #11: 0x00000001050752c8 postgres`standard_ExecutorRun(queryDesc=0x000000013d8f3648, direction=, count=0, execute_once=) at execMain.c:358:3 [15:17:26.147] frame #12: 0x00000001050751e4 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:299:3 [artificial] [15:17:26.147] frame #13: 0x00000001052152b8 postgres`ProcessQuery(plan=0x0000000140057e88, 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=0x000000013d088d10, qc=0x000000016af0c440) at pquery.c:160:2 [15:17:26.147] frame #14: 0x0000000105214960 postgres`PortalRunMulti(portal=0x000000013d841900, isTopLevel=true, setHoldSnapshot=true, dest=0x000000013d088d10, altdest=0x00000001056c97b8, qc=0x000000016af0c440) at pquery.c:0 [15:17:26.147] frame #15: 0x0000000105214524 postgres`FillPortalStore(portal=0x000000013d841900, isTopLevel=true) at pquery.c:1026:4 [15:17:26.147] frame #16: 0x0000000105214298 postgres`PortalRun(portal=0x000000013d841900, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000140057fe8, altdest=0x0000000140057fe8, qc=0x000000016af0c638) at pquery.c:763:6 [15:17:26.147] frame #17: 0x0000000105213258 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 [15:17:26.147] frame #18: 0x0000000105210fd4 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [15:17:26.147] frame #19: 0x000000010520c2bc postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [15:17:26.147] frame #20: 0x0000000105173b78 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016af0ca40) at launch_backend.c:274:3 [15:17:26.147] frame #21: 0x0000000105177ccc postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016af0ca40) at postmaster.c:3415:8 [15:17:26.147] frame #22: 0x0000000105177b44 postgres`ServerLoop at postmaster.c:1648:6 [15:17:26.147] frame #23: 0x0000000105175ca8 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [15:17:26.147] frame #24: 0x00000001050cafb8 postgres`main(argc=8, argv=0x0000600003dc4460) at main.c:197:3 [15:17:26.147] frame #25: 0x000000019e53f154 dyld`start + 2476 [15:17:26.147] (lldb) quit [15:17:26.155] -e [15:17:26.155] [15:17:26.155] [15:17:26.322] (lldb) target create --core "/Users/admin/cores/core.17311" [15:17:46.923] Core file '/Users/admin/cores/core.17311' (arm64) was loaded. [15:17:46.923] (lldb) thread backtrace all [15:17:47.651] * thread #1 [15:17:47.651] * frame #0: 0x000000019e8915f0 libsystem_kernel.dylib`__pthread_kill + 8 [15:17:47.651] frame #1: 0x000000019e8c9c20 libsystem_pthread.dylib`pthread_kill + 288 [15:17:47.651] frame #2: 0x000000019e7d6a30 libsystem_c.dylib`abort + 180 [15:17:47.651] frame #3: 0x0000000104e6adbc postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [15:17:47.651] frame #4: 0x0000000104ba99b0 postgres`ExecFetchSlotHeapTuple(slot=0x000000016b3e40c0, materialize=, shouldFree=) at execTuples.c:1737:2 [15:17:47.651] frame #5: 0x0000000104b77a70 postgres`ExecIRDeleteTriggers(estate=0x000000012b022f00, relinfo=0x000000012b0234b0, slot=0x000000016b3e40c0) at trigger.c:2841:15 [15:17:47.651] frame #6: 0x0000000104bc9cf4 postgres`ExecModifyTable at nodeModifyTable.c:3043:11 [15:17:47.651] frame #7: 0x0000000104bc9980 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016b3e40e0, resultRelInfo=0x000000012b0234b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2804:11 [15:17:47.651] frame #8: 0x0000000104bc9980 postgres`ExecModifyTable(pstate=0x000000012b0232a0) at nodeModifyTable.c:4133:12 [15:17:47.651] frame #9: 0x0000000104b9d310 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000012b0232a0) at executor.h:278:9 [15:17:47.651] frame #10: 0x0000000104b9d2f4 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000012b022f00, planstate=0x000000012b0232a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000012b079710, execute_once=) at execMain.c:1641:10 [15:17:47.651] frame #11: 0x0000000104b9d2c8 postgres`standard_ExecutorRun(queryDesc=0x000000012c02f648, direction=, count=0, execute_once=) at execMain.c:358:3 [15:17:47.651] frame #12: 0x0000000105597e38 pg_stat_statements.dylib`pgss_ExecutorRun(queryDesc=0x000000012c02f648, direction=ForwardScanDirection, count=0, execute_once=true) at pg_stat_statements.c:1031:4 [15:17:47.651] frame #13: 0x0000000104d3d2b8 postgres`ProcessQuery(plan=0x0000000130030de8, 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=0x000000012b079710, qc=0x000000016b3e4410) at pquery.c:160:2 [15:17:47.651] frame #14: 0x0000000104d3c960 postgres`PortalRunMulti(portal=0x000000012a840f00, isTopLevel=true, setHoldSnapshot=true, dest=0x000000012b079710, altdest=0x00000001051f17b8, qc=0x000000016b3e4410) at pquery.c:0 [15:17:47.651] frame #15: 0x0000000104d3c524 postgres`FillPortalStore(portal=0x000000012a840f00, isTopLevel=true) at pquery.c:1026:4 [15:17:47.651] frame #16: 0x0000000104d3c298 postgres`PortalRun(portal=0x000000012a840f00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000130030f48, altdest=0x0000000130030f48, qc=0x000000016b3e4608) at pquery.c:763:6 [15:17:47.651] frame #17: 0x0000000104d3b258 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 [15:17:47.651] frame #18: 0x0000000104d38fd4 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [15:17:47.651] frame #19: 0x0000000104d342bc postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [15:17:47.651] frame #20: 0x0000000104c9bb78 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016b3e4a10) at launch_backend.c:274:3 [15:17:47.651] frame #21: 0x0000000104c9fccc postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016b3e4a10) at postmaster.c:3415:8 [15:17:47.651] frame #22: 0x0000000104c9fb44 postgres`ServerLoop at postmaster.c:1648:6 [15:17:47.651] frame #23: 0x0000000104c9dca8 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [15:17:47.651] frame #24: 0x0000000104bf2fb8 postgres`main(argc=4, argv=0x0000600001520450) at main.c:197:3 [15:17:47.651] frame #25: 0x000000019e53f154 dyld`start + 2476 [15:17:47.651] (lldb) quit