[00:14:16.746] src/tools/ci/cores_backtrace.sh macos "${HOME}/cores" [00:14:19.419] (lldb) target create --core "/Users/admin/cores/core.13373" [00:14:46.266] Core file '/Users/admin/cores/core.13373' (arm64) was loaded. [00:14:46.266] (lldb) thread backtrace all [00:14:46.266] * thread #1 [00:14:46.266] * frame #0: 0x000000010047cb70 dyld`_dyld_start [00:14:46.266] (lldb) quit [00:14:46.279] -e [00:14:46.279] [00:14:46.279] [00:14:46.461] (lldb) target create --core "/Users/admin/cores/core.7895" [00:15:26.440] Core file '/Users/admin/cores/core.7895' (arm64) was loaded. [00:15:26.440] (lldb) thread backtrace all [00:15:27.249] * thread #1 [00:15:27.249] * frame #0: 0x000000019f81d5f0 libsystem_kernel.dylib`__pthread_kill + 8 [00:15:27.249] frame #1: 0x000000019f855c20 libsystem_pthread.dylib`pthread_kill + 288 [00:15:27.249] frame #2: 0x000000019f762a30 libsystem_c.dylib`abort + 180 [00:15:27.249] frame #3: 0x000000010310b8f0 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [00:15:27.249] frame #4: 0x0000000102e490a4 postgres`ExecFetchSlotHeapTuple(slot=0x000000016d1441f0, materialize=, shouldFree=) at execTuples.c:1737:2 [00:15:27.249] frame #5: 0x0000000102e16ea8 postgres`ExecIRDeleteTriggers(estate=0x000000014588d300, relinfo=0x000000014588d8b0, slot=0x000000016d1441f0) at trigger.c:2842:15 [00:15:27.249] frame #6: 0x0000000102e693e8 postgres`ExecModifyTable at nodeModifyTable.c:3043:11 [00:15:27.249] frame #7: 0x0000000102e69074 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016d144210, resultRelInfo=0x000000014588d8b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2804:11 [00:15:27.249] frame #8: 0x0000000102e69074 postgres`ExecModifyTable(pstate=0x000000014588d6a0) at nodeModifyTable.c:4133:12 [00:15:27.249] frame #9: 0x0000000102e3c924 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000014588d6a0) at executor.h:278:9 [00:15:27.249] frame #10: 0x0000000102e3c908 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000014588d300, planstate=0x000000014588d6a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x0000000145018110, execute_once=) at execMain.c:1653:10 [00:15:27.249] frame #11: 0x0000000102e3c8dc postgres`standard_ExecutorRun(queryDesc=0x0000000145091c48, direction=, count=0, execute_once=) at execMain.c:364:3 [00:15:27.249] frame #12: 0x0000000102e3c7e0 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:305:3 [artificial] [00:15:27.249] frame #13: 0x0000000102fdd6a8 postgres`ProcessQuery(plan=0x000000014802ff00, 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=0x0000000145018110, qc=0x000000016d144400) at pquery.c:160:2 [00:15:27.249] frame #14: 0x0000000102fdcd50 postgres`PortalRunMulti(portal=0x0000000145840f00, isTopLevel=true, setHoldSnapshot=true, dest=0x0000000145018110, altdest=0x00000001034c57b8, qc=0x000000016d144400) at pquery.c:0 [00:15:27.249] frame #15: 0x0000000102fdc914 postgres`FillPortalStore(portal=0x0000000145840f00, isTopLevel=true) at pquery.c:1026:4 [00:15:27.249] frame #16: 0x0000000102fdc688 postgres`PortalRun(portal=0x0000000145840f00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000148030060, altdest=0x0000000148030060, qc=0x000000016d1445f8) at pquery.c:763:6 [00:15:27.249] frame #17: 0x0000000102fdb648 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 [00:15:27.249] frame #18: 0x0000000102fd92e0 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [00:15:27.249] frame #19: 0x0000000102fd45a8 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [00:15:27.249] frame #20: 0x0000000102f3be7c postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016d144a00) at launch_backend.c:274:3 [00:15:27.249] frame #21: 0x0000000102f3ffd0 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016d144a00) at postmaster.c:3415:8 [00:15:27.249] frame #22: 0x0000000102f3fe48 postgres`ServerLoop at postmaster.c:1648:6 [00:15:27.249] frame #23: 0x0000000102f3dfac postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [00:15:27.249] frame #24: 0x0000000102e926ac postgres`main(argc=4, argv=0x0000600000ea8ba0) at main.c:197:3 [00:15:27.249] frame #25: 0x000000019f4cb154 dyld`start + 2476 [00:15:27.249] (lldb) quit [00:15:27.263] -e [00:15:27.263] [00:15:27.263] [00:15:27.452] (lldb) target create --core "/Users/admin/cores/core.7599" [00:16:19.609] Core file '/Users/admin/cores/core.7599' (arm64) was loaded. [00:16:19.609] (lldb) thread backtrace all [00:16:20.413] * thread #1 [00:16:20.413] * frame #0: 0x000000019f81d5f0 libsystem_kernel.dylib`__pthread_kill + 8 [00:16:20.413] frame #1: 0x000000019f855c20 libsystem_pthread.dylib`pthread_kill + 288 [00:16:20.413] frame #2: 0x000000019f762a30 libsystem_c.dylib`abort + 180 [00:16:20.413] frame #3: 0x00000001052378f0 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [00:16:20.413] frame #4: 0x0000000104f750a4 postgres`ExecFetchSlotHeapTuple(slot=0x000000016b0181f0, materialize=, shouldFree=) at execTuples.c:1737:2 [00:16:20.413] frame #5: 0x0000000104f42ea8 postgres`ExecIRDeleteTriggers(estate=0x0000000138889300, relinfo=0x00000001388898b0, slot=0x000000016b0181f0) at trigger.c:2842:15 [00:16:20.413] frame #6: 0x0000000104f953e8 postgres`ExecModifyTable at nodeModifyTable.c:3043:11 [00:16:20.413] frame #7: 0x0000000104f95074 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016b018210, resultRelInfo=0x00000001388898b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2804:11 [00:16:20.413] frame #8: 0x0000000104f95074 postgres`ExecModifyTable(pstate=0x00000001388896a0) at nodeModifyTable.c:4133:12 [00:16:20.413] frame #9: 0x0000000104f68924 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x00000001388896a0) at executor.h:278:9 [00:16:20.413] frame #10: 0x0000000104f68908 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x0000000138889300, planstate=0x00000001388896a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x00000001388df110, execute_once=) at execMain.c:1653:10 [00:16:20.413] frame #11: 0x0000000104f688dc postgres`standard_ExecutorRun(queryDesc=0x000000013904e648, direction=, count=0, execute_once=) at execMain.c:364:3 [00:16:20.413] frame #12: 0x0000000104f687e0 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:305:3 [artificial] [00:16:20.413] frame #13: 0x00000001051096a8 postgres`ProcessQuery(plan=0x0000000140047f00, 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=0x00000001388df110, qc=0x000000016b018400) at pquery.c:160:2 [00:16:20.413] frame #14: 0x0000000105108d50 postgres`PortalRunMulti(portal=0x0000000138832b00, isTopLevel=true, setHoldSnapshot=true, dest=0x00000001388df110, altdest=0x00000001055f17b8, qc=0x000000016b018400) at pquery.c:0 [00:16:20.413] frame #15: 0x0000000105108914 postgres`FillPortalStore(portal=0x0000000138832b00, isTopLevel=true) at pquery.c:1026:4 [00:16:20.413] frame #16: 0x0000000105108688 postgres`PortalRun(portal=0x0000000138832b00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000140048060, altdest=0x0000000140048060, qc=0x000000016b0185f8) at pquery.c:763:6 [00:16:20.413] frame #17: 0x0000000105107648 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 [00:16:20.413] frame #18: 0x00000001051052e0 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [00:16:20.413] frame #19: 0x00000001051005a8 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [00:16:20.413] frame #20: 0x0000000105067e7c postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016b018a00) at launch_backend.c:274:3 [00:16:20.413] frame #21: 0x000000010506bfd0 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016b018a00) at postmaster.c:3415:8 [00:16:20.413] frame #22: 0x000000010506be48 postgres`ServerLoop at postmaster.c:1648:6 [00:16:20.413] frame #23: 0x0000000105069fac postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [00:16:20.413] frame #24: 0x0000000104fbe6ac postgres`main(argc=8, argv=0x0000600002be0460) at main.c:197:3 [00:16:20.413] frame #25: 0x000000019f4cb154 dyld`start + 2476 [00:16:20.414] (lldb) quit [00:16:20.428] -e [00:16:20.428] [00:16:20.428] [00:16:20.604] (lldb) target create --core "/Users/admin/cores/core.14500" [00:17:12.924] Core file '/Users/admin/cores/core.14500' (arm64) was loaded. [00:17:12.924] (lldb) thread backtrace all [00:17:13.733] * thread #1 [00:17:13.733] * frame #0: 0x000000019f81d5f0 libsystem_kernel.dylib`__pthread_kill + 8 [00:17:13.733] frame #1: 0x000000019f855c20 libsystem_pthread.dylib`pthread_kill + 288 [00:17:13.733] frame #2: 0x000000019f762a30 libsystem_c.dylib`abort + 180 [00:17:13.733] frame #3: 0x000000010066b8f0 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [00:17:13.733] frame #4: 0x00000001003a90a4 postgres`ExecFetchSlotHeapTuple(slot=0x000000016fbe4090, materialize=, shouldFree=) at execTuples.c:1737:2 [00:17:13.733] frame #5: 0x0000000100376ea8 postgres`ExecIRDeleteTriggers(estate=0x000000012a00eb00, relinfo=0x000000012a00f0b0, slot=0x000000016fbe4090) at trigger.c:2842:15 [00:17:13.733] frame #6: 0x00000001003c93e8 postgres`ExecModifyTable at nodeModifyTable.c:3043:11 [00:17:13.733] frame #7: 0x00000001003c9074 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016fbe40b0, resultRelInfo=0x000000012a00f0b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2804:11 [00:17:13.733] frame #8: 0x00000001003c9074 postgres`ExecModifyTable(pstate=0x000000012a00eea0) at nodeModifyTable.c:4133:12 [00:17:13.733] frame #9: 0x000000010039c924 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000012a00eea0) at executor.h:278:9 [00:17:13.733] frame #10: 0x000000010039c908 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000012a00eb00, planstate=0x000000012a00eea0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000012a05cd10, execute_once=) at execMain.c:1653:10 [00:17:13.733] frame #11: 0x000000010039c8dc postgres`standard_ExecutorRun(queryDesc=0x0000000119808e48, direction=, count=0, execute_once=) at execMain.c:364:3 [00:17:13.733] frame #12: 0x0000000100dcfe38 pg_stat_statements.dylib`pgss_ExecutorRun(queryDesc=0x0000000119808e48, direction=ForwardScanDirection, count=0, execute_once=true) at pg_stat_statements.c:1024:4 [00:17:13.733] frame #13: 0x000000010053d6a8 postgres`ProcessQuery(plan=0x0000000110020e70, 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=0x000000012a05cd10, qc=0x000000016fbe43e0) at pquery.c:160:2 [00:17:13.733] frame #14: 0x000000010053cd50 postgres`PortalRunMulti(portal=0x000000011982eb00, isTopLevel=true, setHoldSnapshot=true, dest=0x000000012a05cd10, altdest=0x0000000100a257b8, qc=0x000000016fbe43e0) at pquery.c:0 [00:17:13.733] frame #15: 0x000000010053c914 postgres`FillPortalStore(portal=0x000000011982eb00, isTopLevel=true) at pquery.c:1026:4 [00:17:13.733] frame #16: 0x000000010053c688 postgres`PortalRun(portal=0x000000011982eb00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000110020fd0, altdest=0x0000000110020fd0, qc=0x000000016fbe45d8) at pquery.c:763:6 [00:17:13.733] frame #17: 0x000000010053b648 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 [00:17:13.733] frame #18: 0x00000001005392e0 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [00:17:13.733] frame #19: 0x00000001005345a8 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [00:17:13.733] frame #20: 0x000000010049be7c postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016fbe49e0) at launch_backend.c:274:3 [00:17:13.733] frame #21: 0x000000010049ffd0 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016fbe49e0) at postmaster.c:3415:8 [00:17:13.733] frame #22: 0x000000010049fe48 postgres`ServerLoop at postmaster.c:1648:6 [00:17:13.733] frame #23: 0x000000010049dfac postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [00:17:13.733] frame #24: 0x00000001003f26ac postgres`main(argc=4, argv=0x00006000003b4ba0) at main.c:197:3 [00:17:13.733] frame #25: 0x000000019f4cb154 dyld`start + 2476 [00:17:13.733] (lldb) quit