[16:14:35.338] src/tools/ci/cores_backtrace.sh macos "${HOME}/cores" [16:14:36.877] (lldb) target create --core "/Users/admin/cores/core.18185" [16:15:11.855] Core file '/Users/admin/cores/core.18185' (arm64) was loaded. [16:15:11.855] (lldb) thread backtrace all [16:15:12.719] * thread #1 [16:15:12.719] * frame #0: 0x000000019cbbd5f0 libsystem_kernel.dylib`__pthread_kill + 8 [16:15:12.719] frame #1: 0x000000019cbf5c20 libsystem_pthread.dylib`pthread_kill + 288 [16:15:12.719] frame #2: 0x000000019cb02a30 libsystem_c.dylib`abort + 180 [16:15:12.719] frame #3: 0x00000001031a6ab4 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [16:15:12.719] frame #4: 0x0000000102ee5af4 postgres`ExecFetchSlotHeapTuple(slot=0x000000016d0a80c0, materialize=, shouldFree=) at execTuples.c:1737:2 [16:15:12.719] frame #5: 0x0000000102eb3bb4 postgres`ExecIRDeleteTriggers(estate=0x000000015284cf00, relinfo=0x000000015284d4b0, slot=0x000000016d0a80c0) at trigger.c:2841:15 [16:15:12.719] frame #6: 0x0000000102f05e38 postgres`ExecModifyTable at nodeModifyTable.c:3043:11 [16:15:12.719] frame #7: 0x0000000102f05ac4 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016d0a80e0, resultRelInfo=0x000000015284d4b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2804:11 [16:15:12.719] frame #8: 0x0000000102f05ac4 postgres`ExecModifyTable(pstate=0x000000015284d2a0) at nodeModifyTable.c:4133:12 [16:15:12.719] frame #9: 0x0000000102ed9454 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000015284d2a0) at executor.h:278:9 [16:15:12.719] frame #10: 0x0000000102ed9438 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000015284cf00, planstate=0x000000015284d2a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x00000001538d1b10, execute_once=) at execMain.c:1641:10 [16:15:12.719] frame #11: 0x0000000102ed940c postgres`standard_ExecutorRun(queryDesc=0x00000001520a4c48, direction=, count=0, execute_once=) at execMain.c:358:3 [16:15:12.719] frame #12: 0x00000001038d3e38 pg_stat_statements.dylib`pgss_ExecutorRun(queryDesc=0x00000001520a4c48, direction=ForwardScanDirection, count=0, execute_once=true) at pg_stat_statements.c:1031:4 [16:15:12.719] frame #13: 0x0000000103079158 postgres`ProcessQuery(plan=0x0000000140010de8, 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=0x00000001538d1b10, qc=0x000000016d0a8410) at pquery.c:160:2 [16:15:12.719] frame #14: 0x0000000103078800 postgres`PortalRunMulti(portal=0x0000000153830100, isTopLevel=true, setHoldSnapshot=true, dest=0x00000001538d1b10, altdest=0x000000010352d7b8, qc=0x000000016d0a8410) at pquery.c:0 [16:15:12.719] frame #15: 0x00000001030783c4 postgres`FillPortalStore(portal=0x0000000153830100, isTopLevel=true) at pquery.c:1026:4 [16:15:12.719] frame #16: 0x0000000103078138 postgres`PortalRun(portal=0x0000000153830100, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000140010f48, altdest=0x0000000140010f48, qc=0x000000016d0a8608) at pquery.c:763:6 [16:15:12.719] frame #17: 0x00000001030770f8 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 [16:15:12.719] frame #18: 0x0000000103074e74 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [16:15:12.719] frame #19: 0x000000010307015c postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [16:15:12.719] frame #20: 0x0000000102fd7a30 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016d0a8a10) at launch_backend.c:274:3 [16:15:12.719] frame #21: 0x0000000102fdbb84 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016d0a8a10) at postmaster.c:3415:8 [16:15:12.719] frame #22: 0x0000000102fdb9fc postgres`ServerLoop at postmaster.c:1648:6 [16:15:12.719] frame #23: 0x0000000102fd9b60 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [16:15:12.719] frame #24: 0x0000000102f2eef0 postgres`main(argc=4, argv=0x00006000015043f0) at main.c:197:3 [16:15:12.719] frame #25: 0x000000019c86b154 dyld`start + 2476 [16:15:12.719] (lldb) quit [16:15:12.733] -e [16:15:12.733] [16:15:12.733] [16:15:12.906] (lldb) target create --core "/Users/admin/cores/core.10983" [16:15:28.504] Core file '/Users/admin/cores/core.10983' (arm64) was loaded. [16:15:28.504] (lldb) thread backtrace all [16:15:29.239] * thread #1 [16:15:29.239] * frame #0: 0x000000019cbbd5f0 libsystem_kernel.dylib`__pthread_kill + 8 [16:15:29.239] frame #1: 0x000000019cbf5c20 libsystem_pthread.dylib`pthread_kill + 288 [16:15:29.239] frame #2: 0x000000019cb02a30 libsystem_c.dylib`abort + 180 [16:15:29.239] frame #3: 0x0000000103102ab4 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [16:15:29.239] frame #4: 0x0000000102e41af4 postgres`ExecFetchSlotHeapTuple(slot=0x000000016d14c230, materialize=, shouldFree=) at execTuples.c:1737:2 [16:15:29.239] frame #5: 0x0000000102e0fbb4 postgres`ExecIRDeleteTriggers(estate=0x000000012882f500, relinfo=0x000000012882fab0, slot=0x000000016d14c230) at trigger.c:2841:15 [16:15:29.239] frame #6: 0x0000000102e61e38 postgres`ExecModifyTable at nodeModifyTable.c:3043:11 [16:15:29.239] frame #7: 0x0000000102e61ac4 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016d14c250, resultRelInfo=0x000000012882fab0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2804:11 [16:15:29.239] frame #8: 0x0000000102e61ac4 postgres`ExecModifyTable(pstate=0x000000012882f8a0) at nodeModifyTable.c:4133:12 [16:15:29.239] frame #9: 0x0000000102e35454 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000012882f8a0) at executor.h:278:9 [16:15:29.239] frame #10: 0x0000000102e35438 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000012882f500, planstate=0x000000012882f8a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x0000000129818310, execute_once=) at execMain.c:1641:10 [16:15:29.239] frame #11: 0x0000000102e3540c postgres`standard_ExecutorRun(queryDesc=0x0000000120078848, direction=, count=0, execute_once=) at execMain.c:358:3 [16:15:29.239] frame #12: 0x0000000102e35328 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:299:3 [artificial] [16:15:29.239] frame #13: 0x0000000102fd5158 postgres`ProcessQuery(plan=0x0000000130027e88, 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=0x0000000129818310, qc=0x000000016d14c440) at pquery.c:160:2 [16:15:29.239] frame #14: 0x0000000102fd4800 postgres`PortalRunMulti(portal=0x000000012802cb00, isTopLevel=true, setHoldSnapshot=true, dest=0x0000000129818310, altdest=0x00000001034897b8, qc=0x000000016d14c440) at pquery.c:0 [16:15:29.239] frame #15: 0x0000000102fd43c4 postgres`FillPortalStore(portal=0x000000012802cb00, isTopLevel=true) at pquery.c:1026:4 [16:15:29.239] frame #16: 0x0000000102fd4138 postgres`PortalRun(portal=0x000000012802cb00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000130027fe8, altdest=0x0000000130027fe8, qc=0x000000016d14c638) at pquery.c:763:6 [16:15:29.239] frame #17: 0x0000000102fd30f8 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 [16:15:29.239] frame #18: 0x0000000102fd0e74 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [16:15:29.239] frame #19: 0x0000000102fcc15c postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [16:15:29.239] frame #20: 0x0000000102f33a30 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016d14ca40) at launch_backend.c:274:3 [16:15:29.239] frame #21: 0x0000000102f37b84 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016d14ca40) at postmaster.c:3415:8 [16:15:29.239] frame #22: 0x0000000102f379fc postgres`ServerLoop at postmaster.c:1648:6 [16:15:29.239] frame #23: 0x0000000102f35b60 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [16:15:29.239] frame #24: 0x0000000102e8aef0 postgres`main(argc=8, argv=0x0000600002bf4370) at main.c:197:3 [16:15:29.239] frame #25: 0x000000019c86b154 dyld`start + 2476 [16:15:29.239] (lldb) quit [16:15:29.250] -e [16:15:29.250] [16:15:29.250] [16:15:29.429] (lldb) target create --core "/Users/admin/cores/core.11075" [16:15:51.056] Core file '/Users/admin/cores/core.11075' (arm64) was loaded. [16:15:51.056] (lldb) thread backtrace all [16:15:51.747] * thread #1 [16:15:51.747] * frame #0: 0x000000019cbbd5f0 libsystem_kernel.dylib`__pthread_kill + 8 [16:15:51.747] frame #1: 0x000000019cbf5c20 libsystem_pthread.dylib`pthread_kill + 288 [16:15:51.747] frame #2: 0x000000019cb02a30 libsystem_c.dylib`abort + 180 [16:15:51.747] frame #3: 0x0000000100912ab4 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [16:15:51.747] frame #4: 0x0000000100651af4 postgres`ExecFetchSlotHeapTuple(slot=0x000000016f93c220, materialize=, shouldFree=) at execTuples.c:1737:2 [16:15:51.747] frame #5: 0x000000010061fbb4 postgres`ExecIRDeleteTriggers(estate=0x0000000160042700, relinfo=0x0000000160042cb0, slot=0x000000016f93c220) at trigger.c:2841:15 [16:15:51.747] frame #6: 0x0000000100671e38 postgres`ExecModifyTable at nodeModifyTable.c:3043:11 [16:15:51.747] frame #7: 0x0000000100671ac4 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016f93c240, resultRelInfo=0x0000000160042cb0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2804:11 [16:15:51.747] frame #8: 0x0000000100671ac4 postgres`ExecModifyTable(pstate=0x0000000160042aa0) at nodeModifyTable.c:4133:12 [16:15:51.747] frame #9: 0x0000000100645454 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x0000000160042aa0) at executor.h:278:9 [16:15:51.747] frame #10: 0x0000000100645438 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x0000000160042700, planstate=0x0000000160042aa0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x00000001560ed310, execute_once=) at execMain.c:1641:10 [16:15:51.747] frame #11: 0x000000010064540c postgres`standard_ExecutorRun(queryDesc=0x0000000156089a48, direction=, count=0, execute_once=) at execMain.c:358:3 [16:15:51.747] frame #12: 0x0000000100645328 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:299:3 [artificial] [16:15:51.747] frame #13: 0x00000001007e5158 postgres`ProcessQuery(plan=0x000000015803fe88, 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=0x00000001560ed310, qc=0x000000016f93c430) at pquery.c:160:2 [16:15:51.747] frame #14: 0x00000001007e4800 postgres`PortalRunMulti(portal=0x000000015603a500, isTopLevel=true, setHoldSnapshot=true, dest=0x00000001560ed310, altdest=0x0000000100c997b8, qc=0x000000016f93c430) at pquery.c:0 [16:15:51.747] frame #15: 0x00000001007e43c4 postgres`FillPortalStore(portal=0x000000015603a500, isTopLevel=true) at pquery.c:1026:4 [16:15:51.747] frame #16: 0x00000001007e4138 postgres`PortalRun(portal=0x000000015603a500, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000015803ffe8, altdest=0x000000015803ffe8, qc=0x000000016f93c628) at pquery.c:763:6 [16:15:51.747] frame #17: 0x00000001007e30f8 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 [16:15:51.747] frame #18: 0x00000001007e0e74 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [16:15:51.747] frame #19: 0x00000001007dc15c postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [16:15:51.747] frame #20: 0x0000000100743a30 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016f93ca30) at launch_backend.c:274:3 [16:15:51.747] frame #21: 0x0000000100747b84 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016f93ca30) at postmaster.c:3415:8 [16:15:51.747] frame #22: 0x00000001007479fc postgres`ServerLoop at postmaster.c:1648:6 [16:15:51.747] frame #23: 0x0000000100745b60 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [16:15:51.747] frame #24: 0x000000010069aef0 postgres`main(argc=4, argv=0x00006000029f8b70) at main.c:197:3 [16:15:51.747] frame #25: 0x000000019c86b154 dyld`start + 2476 [16:15:51.747] (lldb) quit