[05:47:19.102] src/tools/ci/cores_backtrace.sh macos "${HOME}/cores" [05:47:19.880] (lldb) target create --core "/Users/admin/cores/core.11922" [05:47:51.021] Core file '/Users/admin/cores/core.11922' (arm64) was loaded. [05:47:51.021] (lldb) thread backtrace all [05:47:52.836] * thread #1 [05:47:52.836] * frame #0: 0x000000018d898764 libsystem_kernel.dylib`__pthread_kill + 8 [05:47:52.836] frame #1: 0x000000018d8cfc28 libsystem_pthread.dylib`pthread_kill + 288 [05:47:52.836] frame #2: 0x000000018d7ddae8 libsystem_c.dylib`abort + 180 [05:47:52.836] frame #3: 0x0000000104fbab70 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [05:47:52.836] frame #4: 0x0000000104cf70a4 postgres`ExecFetchSlotHeapTuple(slot=0x000000016b2983b0, materialize=, shouldFree=) at execTuples.c:1737:2 [05:47:52.836] frame #5: 0x0000000104cc629c postgres`ExecIRDeleteTriggers(estate=0x00000001220b3300, relinfo=0x00000001220b38b0, slot=0x000000016b2983b0) at trigger.c:2841:15 [05:47:52.836] frame #6: 0x0000000104d17218 postgres`ExecModifyTable at nodeModifyTable.c:3027:11 [05:47:52.836] frame #7: 0x0000000104d16e2c postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016b2983d0, resultRelInfo=0x00000001220b38b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2791:11 [05:47:52.836] frame #8: 0x0000000104d16e2c postgres`ExecModifyTable(pstate=0x00000001220b36a0) at nodeModifyTable.c:4112:12 [05:47:52.836] frame #9: 0x0000000104cf18f8 postgres`ExecProcNodeFirst(node=0x00000001220b36a0) at execProcnode.c:464:9 [05:47:52.836] frame #10: 0x0000000104ceac0c postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x00000001220b36a0) at executor.h:274:9 [05:47:52.836] frame #11: 0x0000000104ceabf0 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x00000001220b3300, planstate=0x00000001220b36a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x0000000113861110, execute_once=) at execMain.c:1646:10 [05:47:52.836] frame #12: 0x0000000104ceabc4 postgres`standard_ExecutorRun(queryDesc=0x0000000113867a48, direction=, count=0, execute_once=) at execMain.c:363:3 [05:47:52.836] frame #13: 0x0000000104ceaad8 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [05:47:52.836] frame #14: 0x0000000104e8db70 postgres`ProcessQuery(plan=0x000000014004fd88, 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=0x0000000113861110, qc=0x000000016b2985f0) at pquery.c:160:2 [05:47:52.836] frame #15: 0x0000000104e8d21c postgres`PortalRunMulti(portal=0x0000000122033500, isTopLevel=true, setHoldSnapshot=true, dest=0x0000000113861110, altdest=0x0000000105345488, qc=0x000000016b2985f0) at pquery.c:0 [05:47:52.836] frame #16: 0x0000000104e8cde0 postgres`FillPortalStore(portal=0x0000000122033500, isTopLevel=true) at pquery.c:1026:4 [05:47:52.836] frame #17: 0x0000000104e8cb54 postgres`PortalRun(portal=0x0000000122033500, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000014004fee8, altdest=0x000000014004fee8, qc=0x000000016b2987e8) at pquery.c:763:6 [05:47:52.836] frame #18: 0x0000000104e8bb10 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 [05:47:52.836] frame #19: 0x0000000104e89894 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [05:47:52.836] frame #20: 0x0000000104e84ffc postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:105:2 [05:47:52.836] frame #21: 0x0000000104decbd0 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016b298be0) at launch_backend.c:265:3 [05:47:52.836] frame #22: 0x0000000104df12fc postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016b298be0) at postmaster.c:3593:8 [05:47:52.836] frame #23: 0x0000000104df1114 postgres`ServerLoop at postmaster.c:1674:6 [05:47:52.836] frame #24: 0x0000000104deed5c postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [05:47:52.836] frame #25: 0x0000000104d40724 postgres`main(argc=4, argv=0x0000600000ca11a0) at main.c:197:3 [05:47:52.836] frame #26: 0x000000018d577f28 dyld`start + 2236 [05:47:52.836] (lldb) quit [05:47:52.863] -e [05:47:52.863] [05:47:52.863] [05:47:53.105] (lldb) target create --core "/Users/admin/cores/core.18540" [05:48:27.367] Core file '/Users/admin/cores/core.18540' (arm64) was loaded. [05:48:27.367] (lldb) thread backtrace all [05:48:28.599] * thread #1 [05:48:28.599] * frame #0: 0x000000018d898764 libsystem_kernel.dylib`__pthread_kill + 8 [05:48:28.599] frame #1: 0x000000018d8cfc28 libsystem_pthread.dylib`pthread_kill + 288 [05:48:28.599] frame #2: 0x000000018d7ddae8 libsystem_c.dylib`abort + 180 [05:48:28.599] frame #3: 0x000000010531eb70 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [05:48:28.599] frame #4: 0x000000010505b0a4 postgres`ExecFetchSlotHeapTuple(slot=0x000000016af34250, materialize=, shouldFree=) at execTuples.c:1737:2 [05:48:28.599] frame #5: 0x000000010502a29c postgres`ExecIRDeleteTriggers(estate=0x000000014a85ab00, relinfo=0x000000014a85b0b0, slot=0x000000016af34250) at trigger.c:2841:15 [05:48:28.599] frame #6: 0x000000010507b218 postgres`ExecModifyTable at nodeModifyTable.c:3027:11 [05:48:28.599] frame #7: 0x000000010507ae2c postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016af34270, resultRelInfo=0x000000014a85b0b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2791:11 [05:48:28.599] frame #8: 0x000000010507ae2c postgres`ExecModifyTable(pstate=0x000000014a85aea0) at nodeModifyTable.c:4112:12 [05:48:28.599] frame #9: 0x00000001050558f8 postgres`ExecProcNodeFirst(node=0x000000014a85aea0) at execProcnode.c:464:9 [05:48:28.599] frame #10: 0x000000010504ec0c postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000014a85aea0) at executor.h:274:9 [05:48:28.599] frame #11: 0x000000010504ebf0 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000014a85ab00, planstate=0x000000014a85aea0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000014a072b10, execute_once=) at execMain.c:1646:10 [05:48:28.599] frame #12: 0x000000010504ebc4 postgres`standard_ExecutorRun(queryDesc=0x000000014b817648, direction=, count=0, execute_once=) at execMain.c:363:3 [05:48:28.599] frame #13: 0x0000000105d20248 pg_stat_statements.dylib`pgss_ExecutorRun(queryDesc=0x000000014b817648, direction=ForwardScanDirection, count=0, execute_once=true) at pg_stat_statements.c:1032:4 [05:48:28.599] frame #14: 0x000000010504eacc postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:302:3 [05:48:28.599] frame #15: 0x00000001051f1b70 postgres`ProcessQuery(plan=0x0000000130090d40, 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=0x000000014a072b10, qc=0x000000016af345d0) at pquery.c:160:2 [05:48:28.599] frame #16: 0x00000001051f121c postgres`PortalRunMulti(portal=0x000000014b02dd00, isTopLevel=true, setHoldSnapshot=true, dest=0x000000014a072b10, altdest=0x00000001056a9488, qc=0x000000016af345d0) at pquery.c:0 [05:48:28.599] frame #17: 0x00000001051f0de0 postgres`FillPortalStore(portal=0x000000014b02dd00, isTopLevel=true) at pquery.c:1026:4 [05:48:28.599] frame #18: 0x00000001051f0b54 postgres`PortalRun(portal=0x000000014b02dd00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000130090ea0, altdest=0x0000000130090ea0, qc=0x000000016af347c8) at pquery.c:763:6 [05:48:28.599] frame #19: 0x00000001051efb10 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 [05:48:28.599] frame #20: 0x00000001051ed894 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [05:48:28.599] frame #21: 0x00000001051e8ffc postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:105:2 [05:48:28.599] frame #22: 0x0000000105150bd0 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016af34bc0) at launch_backend.c:265:3 [05:48:28.599] frame #23: 0x00000001051552fc postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016af34bc0) at postmaster.c:3593:8 [05:48:28.599] frame #24: 0x0000000105155114 postgres`ServerLoop at postmaster.c:1674:6 [05:48:28.599] frame #25: 0x0000000105152d5c postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [05:48:28.599] frame #26: 0x00000001050a4724 postgres`main(argc=4, argv=0x00006000010243f0) at main.c:197:3 [05:48:28.599] frame #27: 0x000000018d577f28 dyld`start + 2236 [05:48:28.599] (lldb) quit [05:48:28.645] -e [05:48:28.645] [05:48:28.645] [05:48:28.852] (lldb) target create --core "/Users/admin/cores/core.11672" [05:48:54.075] Core file '/Users/admin/cores/core.11672' (arm64) was loaded. [05:48:54.075] (lldb) thread backtrace all [05:48:55.491] * thread #1 [05:48:55.491] * frame #0: 0x000000018d898764 libsystem_kernel.dylib`__pthread_kill + 8 [05:48:55.491] frame #1: 0x000000018d8cfc28 libsystem_pthread.dylib`pthread_kill + 288 [05:48:55.491] frame #2: 0x000000018d7ddae8 libsystem_c.dylib`abort + 180 [05:48:55.491] frame #3: 0x0000000102ac2b70 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [05:48:55.491] frame #4: 0x00000001027ff0a4 postgres`ExecFetchSlotHeapTuple(slot=0x000000016d7903c0, materialize=, shouldFree=) at execTuples.c:1737:2 [05:48:55.491] frame #5: 0x00000001027ce29c postgres`ExecIRDeleteTriggers(estate=0x0000000135078700, relinfo=0x0000000135078cb0, slot=0x000000016d7903c0) at trigger.c:2841:15 [05:48:55.491] frame #6: 0x000000010281f218 postgres`ExecModifyTable at nodeModifyTable.c:3027:11 [05:48:55.491] frame #7: 0x000000010281ee2c postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016d7903e0, resultRelInfo=0x0000000135078cb0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2791:11 [05:48:55.491] frame #8: 0x000000010281ee2c postgres`ExecModifyTable(pstate=0x0000000135078aa0) at nodeModifyTable.c:4112:12 [05:48:55.491] frame #9: 0x00000001027f98f8 postgres`ExecProcNodeFirst(node=0x0000000135078aa0) at execProcnode.c:464:9 [05:48:55.491] frame #10: 0x00000001027f2c0c postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x0000000135078aa0) at executor.h:274:9 [05:48:55.491] frame #11: 0x00000001027f2bf0 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x0000000135078700, planstate=0x0000000135078aa0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000013307d110, execute_once=) at execMain.c:1646:10 [05:48:55.491] frame #12: 0x00000001027f2bc4 postgres`standard_ExecutorRun(queryDesc=0x000000013406ac48, direction=, count=0, execute_once=) at execMain.c:363:3 [05:48:55.491] frame #13: 0x00000001027f2ad8 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [05:48:55.491] frame #14: 0x0000000102995b70 postgres`ProcessQuery(plan=0x0000000128037d88, 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=0x000000013307d110, qc=0x000000016d790600) at pquery.c:160:2 [05:48:55.491] frame #15: 0x000000010299521c postgres`PortalRunMulti(portal=0x0000000134039700, isTopLevel=true, setHoldSnapshot=true, dest=0x000000013307d110, altdest=0x0000000102e4d488, qc=0x000000016d790600) at pquery.c:0 [05:48:55.491] frame #16: 0x0000000102994de0 postgres`FillPortalStore(portal=0x0000000134039700, isTopLevel=true) at pquery.c:1026:4 [05:48:55.491] frame #17: 0x0000000102994b54 postgres`PortalRun(portal=0x0000000134039700, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000128037ee8, altdest=0x0000000128037ee8, qc=0x000000016d7907f8) at pquery.c:763:6 [05:48:55.491] frame #18: 0x0000000102993b10 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 [05:48:55.491] frame #19: 0x0000000102991894 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [05:48:55.491] frame #20: 0x000000010298cffc postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:105:2 [05:48:55.491] frame #21: 0x00000001028f4bd0 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016d790bf0) at launch_backend.c:265:3 [05:48:55.491] frame #22: 0x00000001028f92fc postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016d790bf0) at postmaster.c:3593:8 [05:48:55.491] frame #23: 0x00000001028f9114 postgres`ServerLoop at postmaster.c:1674:6 [05:48:55.491] frame #24: 0x00000001028f6d5c postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [05:48:55.491] frame #25: 0x0000000102848724 postgres`main(argc=8, argv=0x00006000024efa70) at main.c:197:3 [05:48:55.491] frame #26: 0x000000018d577f28 dyld`start + 2236 [05:48:55.491] (lldb) quit