[11:48:12.756] src/tools/ci/cores_backtrace.sh macos "${HOME}/cores" [11:48:13.115] (lldb) target create --core "/Users/admin/cores/core.13994" [11:48:25.586] Core file '/Users/admin/cores/core.13994' (arm64) was loaded. [11:48:25.586] (lldb) thread backtrace all [11:48:26.333] * thread #1 [11:48:26.333] * frame #0: 0x000000018c06c744 libsystem_kernel.dylib`__pthread_kill + 8 [11:48:26.333] frame #1: 0x000000018c0a3c28 libsystem_pthread.dylib`pthread_kill + 288 [11:48:26.333] frame #2: 0x000000018bfb1ae8 libsystem_c.dylib`abort + 180 [11:48:26.333] frame #3: 0x000000010077285c postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [11:48:26.333] frame #4: 0x00000001004b4700 postgres`ExecFetchSlotHeapTuple(slot=0x000000016fad8210, materialize=, shouldFree=) at execTuples.c:1737:2 [11:48:26.333] frame #5: 0x00000001004832a4 postgres`ExecIRDeleteTriggers(estate=0x000000014d085500, relinfo=0x000000014d085ab0, slot=0x000000016fad8210) at trigger.c:2832:15 [11:48:26.333] frame #6: 0x00000001004d4820 postgres`ExecModifyTable at nodeModifyTable.c:2976:11 [11:48:26.333] frame #7: 0x00000001004d4434 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016fad8230, resultRelInfo=0x000000014d085ab0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2738:11 [11:48:26.333] frame #8: 0x00000001004d4434 postgres`ExecModifyTable(pstate=0x000000014d0858a0) at nodeModifyTable.c:4067:12 [11:48:26.333] frame #9: 0x00000001004a81a4 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000014d0858a0) at executor.h:274:9 [11:48:26.333] frame #10: 0x00000001004a8188 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000014d085500, planstate=0x000000014d0858a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000013d83d910, execute_once=) at execMain.c:1646:10 [11:48:26.333] frame #11: 0x00000001004a815c postgres`standard_ExecutorRun(queryDesc=0x000000014d83ae48, direction=, count=0, execute_once=) at execMain.c:363:3 [11:48:26.333] frame #12: 0x00000001010dbe30 pg_stat_statements.dylib`pgss_ExecutorRun(queryDesc=0x000000014d83ae48, direction=ForwardScanDirection, count=0, execute_once=true) at pg_stat_statements.c:1032:4 [11:48:26.333] frame #13: 0x0000000100647970 postgres`ProcessQuery(plan=0x0000000140010ce8, 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=0x000000013d83d910, qc=0x000000016fad8560) at pquery.c:160:2 [11:48:26.333] frame #14: 0x0000000100647018 postgres`PortalRunMulti(portal=0x000000014d048100, isTopLevel=true, setHoldSnapshot=true, dest=0x000000013d83d910, altdest=0x0000000100af9538, qc=0x000000016fad8560) at pquery.c:0 [11:48:26.333] frame #15: 0x0000000100646bdc postgres`FillPortalStore(portal=0x000000014d048100, isTopLevel=true) at pquery.c:1026:4 [11:48:26.333] frame #16: 0x0000000100646950 postgres`PortalRun(portal=0x000000014d048100, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000140010e48, altdest=0x0000000140010e48, qc=0x000000016fad8758) at pquery.c:763:6 [11:48:26.333] frame #17: 0x0000000100645910 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 [11:48:26.333] frame #18: 0x00000001006436d4 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [11:48:26.333] frame #19: 0x000000010063f108 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:101:2 [11:48:26.333] frame #20: 0x00000001005a77d4 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016fad8b50) at launch_backend.c:265:3 [11:48:26.333] frame #21: 0x00000001005abe00 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016fad8b50) at postmaster.c:3593:8 [11:48:26.333] frame #22: 0x00000001005abc20 postgres`ServerLoop at postmaster.c:1674:6 [11:48:26.333] frame #23: 0x00000001005a9908 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [11:48:26.333] frame #24: 0x00000001004fd42c postgres`main(argc=4, argv=0x0000600000ae1230) at main.c:197:3 [11:48:26.333] frame #25: 0x000000018bd4bf28 dyld`start + 2236 [11:48:26.333] (lldb) quit [11:48:26.349] -e [11:48:26.349] [11:48:26.349] [11:48:26.482] (lldb) target create --core "/Users/admin/cores/core.7894" [11:48:40.270] Core file '/Users/admin/cores/core.7894' (arm64) was loaded. [11:48:40.270] (lldb) thread backtrace all [11:48:41.044] * thread #1 [11:48:41.044] * frame #0: 0x000000018c06c744 libsystem_kernel.dylib`__pthread_kill + 8 [11:48:41.044] frame #1: 0x000000018c0a3c28 libsystem_pthread.dylib`pthread_kill + 288 [11:48:41.044] frame #2: 0x000000018bfb1ae8 libsystem_c.dylib`abort + 180 [11:48:41.044] frame #3: 0x0000000104ebe85c postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [11:48:41.044] frame #4: 0x0000000104c00700 postgres`ExecFetchSlotHeapTuple(slot=0x000000016b38c380, materialize=, shouldFree=) at execTuples.c:1737:2 [11:48:41.044] frame #5: 0x0000000104bcf2a4 postgres`ExecIRDeleteTriggers(estate=0x000000013a046300, relinfo=0x000000013a0468b0, slot=0x000000016b38c380) at trigger.c:2832:15 [11:48:41.044] frame #6: 0x0000000104c20820 postgres`ExecModifyTable at nodeModifyTable.c:2976:11 [11:48:41.044] frame #7: 0x0000000104c20434 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016b38c3a0, resultRelInfo=0x000000013a0468b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2738:11 [11:48:41.044] frame #8: 0x0000000104c20434 postgres`ExecModifyTable(pstate=0x000000013a0466a0) at nodeModifyTable.c:4067:12 [11:48:41.044] frame #9: 0x0000000104bf41a4 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000013a0466a0) at executor.h:274:9 [11:48:41.044] frame #10: 0x0000000104bf4188 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000013a046300, planstate=0x000000013a0466a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000013a0a5d10, execute_once=) at execMain.c:1646:10 [11:48:41.044] frame #11: 0x0000000104bf415c postgres`standard_ExecutorRun(queryDesc=0x000000013905d448, direction=, count=0, execute_once=) at execMain.c:363:3 [11:48:41.044] frame #12: 0x0000000104bf4078 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [artificial] [11:48:41.044] frame #13: 0x0000000104d93970 postgres`ProcessQuery(plan=0x000000013004fd88, 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=0x000000013a0a5d10, qc=0x000000016b38c590) at pquery.c:160:2 [11:48:41.044] frame #14: 0x0000000104d93018 postgres`PortalRunMulti(portal=0x0000000139039300, isTopLevel=true, setHoldSnapshot=true, dest=0x000000013a0a5d10, altdest=0x0000000105245538, qc=0x000000016b38c590) at pquery.c:0 [11:48:41.044] frame #15: 0x0000000104d92bdc postgres`FillPortalStore(portal=0x0000000139039300, isTopLevel=true) at pquery.c:1026:4 [11:48:41.044] frame #16: 0x0000000104d92950 postgres`PortalRun(portal=0x0000000139039300, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000013004fee8, altdest=0x000000013004fee8, qc=0x000000016b38c788) at pquery.c:763:6 [11:48:41.044] frame #17: 0x0000000104d91910 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 [11:48:41.044] frame #18: 0x0000000104d8f6d4 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [11:48:41.044] frame #19: 0x0000000104d8b108 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:101:2 [11:48:41.044] frame #20: 0x0000000104cf37d4 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016b38cb80) at launch_backend.c:265:3 [11:48:41.044] frame #21: 0x0000000104cf7e00 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016b38cb80) at postmaster.c:3593:8 [11:48:41.044] frame #22: 0x0000000104cf7c20 postgres`ServerLoop at postmaster.c:1674:6 [11:48:41.044] frame #23: 0x0000000104cf5908 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [11:48:41.044] frame #24: 0x0000000104c4942c postgres`main(argc=8, argv=0x000060000225ba20) at main.c:197:3 [11:48:41.044] frame #25: 0x000000018bd4bf28 dyld`start + 2236 [11:48:41.044] (lldb) quit [11:48:41.054] -e [11:48:41.054] [11:48:41.054] [11:48:41.197] (lldb) target create --core "/Users/admin/cores/core.8101" [11:48:54.668] Core file '/Users/admin/cores/core.8101' (arm64) was loaded. [11:48:54.668] (lldb) thread backtrace all [11:48:55.375] * thread #1 [11:48:55.375] * frame #0: 0x000000018c06c744 libsystem_kernel.dylib`__pthread_kill + 8 [11:48:55.375] frame #1: 0x000000018c0a3c28 libsystem_pthread.dylib`pthread_kill + 288 [11:48:55.375] frame #2: 0x000000018bfb1ae8 libsystem_c.dylib`abort + 180 [11:48:55.375] frame #3: 0x000000010269a85c postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [11:48:55.375] frame #4: 0x00000001023dc700 postgres`ExecFetchSlotHeapTuple(slot=0x000000016dbb0370, materialize=, shouldFree=) at execTuples.c:1737:2 [11:48:55.375] frame #5: 0x00000001023ab2a4 postgres`ExecIRDeleteTriggers(estate=0x0000000128038d00, relinfo=0x00000001280392b0, slot=0x000000016dbb0370) at trigger.c:2832:15 [11:48:55.375] frame #6: 0x00000001023fc820 postgres`ExecModifyTable at nodeModifyTable.c:2976:11 [11:48:55.375] frame #7: 0x00000001023fc434 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016dbb0390, resultRelInfo=0x00000001280392b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2738:11 [11:48:55.375] frame #8: 0x00000001023fc434 postgres`ExecModifyTable(pstate=0x00000001280390a0) at nodeModifyTable.c:4067:12 [11:48:55.375] frame #9: 0x00000001023d01a4 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x00000001280390a0) at executor.h:274:9 [11:48:55.375] frame #10: 0x00000001023d0188 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x0000000128038d00, planstate=0x00000001280390a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x0000000128831510, execute_once=) at execMain.c:1646:10 [11:48:55.375] frame #11: 0x00000001023d015c postgres`standard_ExecutorRun(queryDesc=0x000000013084e848, direction=, count=0, execute_once=) at execMain.c:363:3 [11:48:55.375] frame #12: 0x00000001023d0078 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [artificial] [11:48:55.375] frame #13: 0x000000010256f970 postgres`ProcessQuery(plan=0x0000000120087d88, 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=0x0000000128831510, qc=0x000000016dbb0580) at pquery.c:160:2 [11:48:55.375] frame #14: 0x000000010256f018 postgres`PortalRunMulti(portal=0x0000000130028700, isTopLevel=true, setHoldSnapshot=true, dest=0x0000000128831510, altdest=0x0000000102a21538, qc=0x000000016dbb0580) at pquery.c:0 [11:48:55.375] frame #15: 0x000000010256ebdc postgres`FillPortalStore(portal=0x0000000130028700, isTopLevel=true) at pquery.c:1026:4 [11:48:55.375] frame #16: 0x000000010256e950 postgres`PortalRun(portal=0x0000000130028700, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000120087ee8, altdest=0x0000000120087ee8, qc=0x000000016dbb0778) at pquery.c:763:6 [11:48:55.375] frame #17: 0x000000010256d910 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 [11:48:55.375] frame #18: 0x000000010256b6d4 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [11:48:55.375] frame #19: 0x0000000102567108 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:101:2 [11:48:55.375] frame #20: 0x00000001024cf7d4 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016dbb0b70) at launch_backend.c:265:3 [11:48:55.375] frame #21: 0x00000001024d3e00 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016dbb0b70) at postmaster.c:3593:8 [11:48:55.375] frame #22: 0x00000001024d3c20 postgres`ServerLoop at postmaster.c:1674:6 [11:48:55.375] frame #23: 0x00000001024d1908 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [11:48:55.375] frame #24: 0x000000010242542c postgres`main(argc=4, argv=0x00006000023a8bd0) at main.c:197:3 [11:48:55.375] frame #25: 0x000000018bd4bf28 dyld`start + 2236 [11:48:55.375] (lldb) quit