[23:28:01.039] src/tools/ci/cores_backtrace.sh macos "${HOME}/cores" [23:28:03.145] (lldb) target create --core "/Users/admin/cores/core.7561" [23:28:23.095] Core file '/Users/admin/cores/core.7561' (arm64) was loaded. [23:28:23.095] (lldb) thread backtrace all [23:28:23.829] * thread #1 [23:28:23.829] * frame #0: 0x00000001838a6a60 libsystem_kernel.dylib`__pthread_kill + 8 [23:28:23.829] frame #1: 0x00000001838dec20 libsystem_pthread.dylib`pthread_kill + 288 [23:28:23.829] frame #2: 0x00000001837eba30 libsystem_c.dylib`abort + 180 [23:28:23.829] frame #3: 0x00000001052b03c0 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [23:28:23.829] frame #4: 0x0000000104ff0f78 postgres`ExecFetchSlotHeapTuple(slot=0x000000016af9c220, materialize=, shouldFree=) at execTuples.c:1737:2 [23:28:23.829] frame #5: 0x0000000104fc0214 postgres`ExecIRDeleteTriggers(estate=0x000000012c0d5900, relinfo=0x000000012c0d5eb0, slot=0x000000016af9c220) at trigger.c:2841:15 [23:28:23.829] frame #6: 0x000000010501119c postgres`ExecModifyTable at nodeModifyTable.c:3040:11 [23:28:23.829] frame #7: 0x0000000105010e28 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016af9c240, resultRelInfo=0x000000012c0d5eb0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2801:11 [23:28:23.829] frame #8: 0x0000000105010e28 postgres`ExecModifyTable(pstate=0x000000012c0d5ca0) at nodeModifyTable.c:4130:12 [23:28:23.829] frame #9: 0x0000000104fe4ab8 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000012c0d5ca0) at executor.h:274:9 [23:28:23.829] frame #10: 0x0000000104fe4a9c postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000012c0d5900, planstate=0x000000012c0d5ca0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000012b034910, execute_once=) at execMain.c:1646:10 [23:28:23.829] frame #11: 0x0000000104fe4a70 postgres`standard_ExecutorRun(queryDesc=0x000000012b859c48, direction=, count=0, execute_once=) at execMain.c:363:3 [23:28:23.829] frame #12: 0x0000000104fe498c postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [artificial] [23:28:23.829] frame #13: 0x0000000105184880 postgres`ProcessQuery(plan=0x000000012000ffe0, 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=0x000000012b034910, qc=0x000000016af9c430) at pquery.c:160:2 [23:28:23.829] frame #14: 0x0000000105183f28 postgres`PortalRunMulti(portal=0x000000012c046700, isTopLevel=true, setHoldSnapshot=true, dest=0x000000012b034910, altdest=0x00000001056356e8, qc=0x000000016af9c430) at pquery.c:0 [23:28:23.829] frame #15: 0x0000000105183aec postgres`FillPortalStore(portal=0x000000012c046700, isTopLevel=true) at pquery.c:1026:4 [23:28:23.829] frame #16: 0x0000000105183860 postgres`PortalRun(portal=0x000000012c046700, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000120010140, altdest=0x0000000120010140, qc=0x000000016af9c628) at pquery.c:763:6 [23:28:23.829] frame #17: 0x0000000105182820 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 [23:28:23.829] frame #18: 0x00000001051805cc postgres`PostgresMain(dbname=, username=) at postgres.c:0 [23:28:23.829] frame #19: 0x000000010517bdb4 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:105:2 [23:28:23.829] frame #20: 0x00000001050e3e60 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016af9ca20) at launch_backend.c:265:3 [23:28:23.829] frame #21: 0x00000001050e8488 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016af9ca20) at postmaster.c:3593:8 [23:28:23.829] frame #22: 0x00000001050e82a8 postgres`ServerLoop at postmaster.c:1674:6 [23:28:23.829] frame #23: 0x00000001050e5f90 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [23:28:23.829] frame #24: 0x000000010503a274 postgres`main(argc=8, argv=0x0000600002168460) at main.c:197:3 [23:28:23.829] frame #25: 0x00000001835560e0 dyld`start + 2360 [23:28:23.829] (lldb) quit [23:28:23.840] -e [23:28:23.840] [23:28:23.840] [23:28:23.981] (lldb) target create --core "/Users/admin/cores/core.7881" [23:28:44.399] Core file '/Users/admin/cores/core.7881' (arm64) was loaded. [23:28:44.399] (lldb) thread backtrace all [23:28:45.101] * thread #1 [23:28:45.101] * frame #0: 0x00000001838a6a60 libsystem_kernel.dylib`__pthread_kill + 8 [23:28:45.101] frame #1: 0x00000001838dec20 libsystem_pthread.dylib`pthread_kill + 288 [23:28:45.101] frame #2: 0x00000001837eba30 libsystem_c.dylib`abort + 180 [23:28:45.101] frame #3: 0x0000000104a583c0 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [23:28:45.101] frame #4: 0x0000000104798f78 postgres`ExecFetchSlotHeapTuple(slot=0x000000016b7f4200, materialize=, shouldFree=) at execTuples.c:1737:2 [23:28:45.101] frame #5: 0x0000000104768214 postgres`ExecIRDeleteTriggers(estate=0x00000001400b9f00, relinfo=0x00000001400ba4b0, slot=0x000000016b7f4200) at trigger.c:2841:15 [23:28:45.101] frame #6: 0x00000001047b919c postgres`ExecModifyTable at nodeModifyTable.c:3040:11 [23:28:45.101] frame #7: 0x00000001047b8e28 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016b7f4220, resultRelInfo=0x00000001400ba4b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2801:11 [23:28:45.101] frame #8: 0x00000001047b8e28 postgres`ExecModifyTable(pstate=0x00000001400ba2a0) at nodeModifyTable.c:4130:12 [23:28:45.101] frame #9: 0x000000010478cab8 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x00000001400ba2a0) at executor.h:274:9 [23:28:45.101] frame #10: 0x000000010478ca9c postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x00000001400b9f00, planstate=0x00000001400ba2a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x0000000130063710, execute_once=) at execMain.c:1646:10 [23:28:45.101] frame #11: 0x000000010478ca70 postgres`standard_ExecutorRun(queryDesc=0x000000013783d648, direction=, count=0, execute_once=) at execMain.c:363:3 [23:28:45.101] frame #12: 0x000000010478c98c postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [artificial] [23:28:45.101] frame #13: 0x000000010492c880 postgres`ProcessQuery(plan=0x0000000138047d88, 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=0x0000000130063710, qc=0x000000016b7f4410) at pquery.c:160:2 [23:28:45.101] frame #14: 0x000000010492bf28 postgres`PortalRunMulti(portal=0x000000014002dd00, isTopLevel=true, setHoldSnapshot=true, dest=0x0000000130063710, altdest=0x0000000104ddd6e8, qc=0x000000016b7f4410) at pquery.c:0 [23:28:45.101] frame #15: 0x000000010492baec postgres`FillPortalStore(portal=0x000000014002dd00, isTopLevel=true) at pquery.c:1026:4 [23:28:45.101] frame #16: 0x000000010492b860 postgres`PortalRun(portal=0x000000014002dd00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000138047ee8, altdest=0x0000000138047ee8, qc=0x000000016b7f4608) at pquery.c:763:6 [23:28:45.101] frame #17: 0x000000010492a820 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 [23:28:45.101] frame #18: 0x00000001049285cc postgres`PostgresMain(dbname=, username=) at postgres.c:0 [23:28:45.101] frame #19: 0x0000000104923db4 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:105:2 [23:28:45.101] frame #20: 0x000000010488be60 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016b7f4a00) at launch_backend.c:265:3 [23:28:45.101] frame #21: 0x0000000104890488 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016b7f4a00) at postmaster.c:3593:8 [23:28:45.101] frame #22: 0x00000001048902a8 postgres`ServerLoop at postmaster.c:1674:6 [23:28:45.101] frame #23: 0x000000010488df90 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [23:28:45.101] frame #24: 0x00000001047e2274 postgres`main(argc=4, argv=0x0000600003b28ba0) at main.c:197:3 [23:28:45.101] frame #25: 0x00000001835560e0 dyld`start + 2360 [23:28:45.101] (lldb) quit [23:28:45.112] -e [23:28:45.112] [23:28:45.112] [23:28:45.267] (lldb) target create --core "/Users/admin/cores/core.14383" [23:29:15.972] Core file '/Users/admin/cores/core.14383' (arm64) was loaded. [23:29:15.972] (lldb) thread backtrace all [23:29:17.468] * thread #1 [23:29:17.468] * frame #0: 0x00000001838a6a60 libsystem_kernel.dylib`__pthread_kill + 8 [23:29:17.468] frame #1: 0x00000001838dec20 libsystem_pthread.dylib`pthread_kill + 288 [23:29:17.468] frame #2: 0x00000001837eba30 libsystem_c.dylib`abort + 180 [23:29:17.468] frame #3: 0x00000001005d43c0 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [23:29:17.468] frame #4: 0x0000000100314f78 postgres`ExecFetchSlotHeapTuple(slot=0x000000016fc780b0, materialize=, shouldFree=) at execTuples.c:1737:2 [23:29:17.468] frame #5: 0x00000001002e4214 postgres`ExecIRDeleteTriggers(estate=0x000000014603d100, relinfo=0x000000014603d6b0, slot=0x000000016fc780b0) at trigger.c:2841:15 [23:29:17.468] frame #6: 0x000000010033519c postgres`ExecModifyTable at nodeModifyTable.c:3040:11 [23:29:17.468] frame #7: 0x0000000100334e28 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016fc780d0, resultRelInfo=0x000000014603d6b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2801:11 [23:29:17.468] frame #8: 0x0000000100334e28 postgres`ExecModifyTable(pstate=0x000000014603d4a0) at nodeModifyTable.c:4130:12 [23:29:17.468] frame #9: 0x0000000100308ab8 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000014603d4a0) at executor.h:274:9 [23:29:17.468] frame #10: 0x0000000100308a9c postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000014603d100, planstate=0x000000014603d4a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x00000001578e7310, execute_once=) at execMain.c:1646:10 [23:29:17.468] frame #11: 0x0000000100308a70 postgres`standard_ExecutorRun(queryDesc=0x00000001578e6848, direction=, count=0, execute_once=) at execMain.c:363:3 [23:29:17.468] frame #12: 0x0000000100d03e2c pg_stat_statements.dylib`pgss_ExecutorRun(queryDesc=0x00000001578e6848, direction=ForwardScanDirection, count=0, execute_once=true) at pg_stat_statements.c:1032:4 [23:29:17.468] frame #13: 0x00000001004a8880 postgres`ProcessQuery(plan=0x0000000138020ce8, 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=0x00000001578e7310, qc=0x000000016fc78400) at pquery.c:160:2 [23:29:17.468] frame #14: 0x00000001004a7f28 postgres`PortalRunMulti(portal=0x0000000157830700, isTopLevel=true, setHoldSnapshot=true, dest=0x00000001578e7310, altdest=0x00000001009596e8, qc=0x000000016fc78400) at pquery.c:0 [23:29:17.468] frame #15: 0x00000001004a7aec postgres`FillPortalStore(portal=0x0000000157830700, isTopLevel=true) at pquery.c:1026:4 [23:29:17.468] frame #16: 0x00000001004a7860 postgres`PortalRun(portal=0x0000000157830700, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000138020e48, altdest=0x0000000138020e48, qc=0x000000016fc785f8) at pquery.c:763:6 [23:29:17.468] frame #17: 0x00000001004a6820 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 [23:29:17.468] frame #18: 0x00000001004a45cc postgres`PostgresMain(dbname=, username=) at postgres.c:0 [23:29:17.468] frame #19: 0x000000010049fdb4 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:105:2 [23:29:17.468] frame #20: 0x0000000100407e60 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016fc789f0) at launch_backend.c:265:3 [23:29:17.468] frame #21: 0x000000010040c488 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016fc789f0) at postmaster.c:3593:8 [23:29:17.468] frame #22: 0x000000010040c2a8 postgres`ServerLoop at postmaster.c:1674:6 [23:29:17.468] frame #23: 0x0000000100409f90 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [23:29:17.468] frame #24: 0x000000010035e274 postgres`main(argc=4, argv=0x00006000011507e0) at main.c:197:3 [23:29:17.468] frame #25: 0x00000001835560e0 dyld`start + 2360 [23:29:17.468] (lldb) quit