[06:42:23.149] src/tools/ci/cores_backtrace.sh macos "${HOME}/cores" [06:42:23.475] (lldb) target create --core "/Users/admin/cores/core.16981" [06:42:35.676] Core file '/Users/admin/cores/core.16981' (arm64) was loaded. [06:42:35.676] (lldb) thread backtrace all [06:42:36.451] * thread #1 [06:42:36.451] * frame #0: 0x000000018114c744 libsystem_kernel.dylib`__pthread_kill + 8 [06:42:36.451] frame #1: 0x0000000181183c28 libsystem_pthread.dylib`pthread_kill + 288 [06:42:36.451] frame #2: 0x0000000181091ae8 libsystem_c.dylib`abort + 180 [06:42:36.451] frame #3: 0x000000010320c1d0 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [06:42:36.451] frame #4: 0x0000000102f4b4e8 postgres`ExecFetchSlotHeapTuple(slot=0x000000016d040230, materialize=, shouldFree=) at execTuples.c:1737:2 [06:42:36.451] frame #5: 0x0000000102f1a6a0 postgres`ExecIRDeleteTriggers(estate=0x000000015488e900, relinfo=0x000000015488eeb0, slot=0x000000016d040230) at trigger.c:2840:15 [06:42:36.451] frame #6: 0x0000000102f6b65c postgres`ExecModifyTable at nodeModifyTable.c:3027:11 [06:42:36.451] frame #7: 0x0000000102f6b270 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016d040250, resultRelInfo=0x000000015488eeb0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2791:11 [06:42:36.451] frame #8: 0x0000000102f6b270 postgres`ExecModifyTable(pstate=0x000000015488eca0) at nodeModifyTable.c:4112:12 [06:42:36.451] frame #9: 0x0000000102f45d3c postgres`ExecProcNodeFirst(node=0x000000015488eca0) at execProcnode.c:464:9 [06:42:36.451] frame #10: 0x0000000102f3f050 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000015488eca0) at executor.h:274:9 [06:42:36.451] frame #11: 0x0000000102f3f034 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000015488e900, planstate=0x000000015488eca0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x0000000144866710, execute_once=) at execMain.c:1646:10 [06:42:36.451] frame #12: 0x0000000102f3f008 postgres`standard_ExecutorRun(queryDesc=0x0000000144860c48, direction=, count=0, execute_once=) at execMain.c:363:3 [06:42:36.451] frame #13: 0x0000000103c04244 pg_stat_statements.dylib`pgss_ExecutorRun(queryDesc=0x0000000144860c48, direction=ForwardScanDirection, count=0, execute_once=true) at pg_stat_statements.c:1032:4 [06:42:36.451] frame #14: 0x0000000102f3ef10 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:302:3 [06:42:36.451] frame #15: 0x00000001030df570 postgres`ProcessQuery(plan=0x0000000138090ce8, 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=0x0000000144866710, qc=0x000000016d0405b0) at pquery.c:160:2 [06:42:36.451] frame #16: 0x00000001030dec1c postgres`PortalRunMulti(portal=0x000000015482e700, isTopLevel=true, setHoldSnapshot=true, dest=0x0000000144866710, altdest=0x0000000103591488, qc=0x000000016d0405b0) at pquery.c:0 [06:42:36.451] frame #17: 0x00000001030de7e0 postgres`FillPortalStore(portal=0x000000015482e700, isTopLevel=true) at pquery.c:1026:4 [06:42:36.451] frame #18: 0x00000001030de554 postgres`PortalRun(portal=0x000000015482e700, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000138090e48, altdest=0x0000000138090e48, qc=0x000000016d0407a8) at pquery.c:763:6 [06:42:36.451] frame #19: 0x00000001030dd510 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 [06:42:36.451] frame #20: 0x00000001030db294 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [06:42:36.451] frame #21: 0x00000001030d69fc postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:105:2 [06:42:36.452] frame #22: 0x000000010303e610 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016d040ba0) at launch_backend.c:265:3 [06:42:36.452] frame #23: 0x0000000103042d3c postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016d040ba0) at postmaster.c:3593:8 [06:42:36.452] frame #24: 0x0000000103042b54 postgres`ServerLoop at postmaster.c:1674:6 [06:42:36.452] frame #25: 0x000000010304079c postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [06:42:36.452] frame #26: 0x0000000102f94b78 postgres`main(argc=4, argv=0x000060000069d1d0) at main.c:197:3 [06:42:36.452] frame #27: 0x0000000180e2bf28 dyld`start + 2236 [06:42:36.452] (lldb) quit [06:42:36.468] -e [06:42:36.468] [06:42:36.468] [06:42:36.582] (lldb) target create --core "/Users/admin/cores/core.11737" [06:42:50.642] Core file '/Users/admin/cores/core.11737' (arm64) was loaded. [06:42:50.642] (lldb) thread backtrace all [06:42:51.414] * thread #1 [06:42:51.414] * frame #0: 0x000000018114c744 libsystem_kernel.dylib`__pthread_kill + 8 [06:42:51.414] frame #1: 0x0000000181183c28 libsystem_pthread.dylib`pthread_kill + 288 [06:42:51.414] frame #2: 0x0000000181091ae8 libsystem_c.dylib`abort + 180 [06:42:51.414] frame #3: 0x0000000100ac81d0 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [06:42:51.414] frame #4: 0x00000001008074e8 postgres`ExecFetchSlotHeapTuple(slot=0x000000016f784390, materialize=, shouldFree=) at execTuples.c:1737:2 [06:42:51.414] frame #5: 0x00000001007d66a0 postgres`ExecIRDeleteTriggers(estate=0x000000011b893100, relinfo=0x000000011b8936b0, slot=0x000000016f784390) at trigger.c:2840:15 [06:42:51.414] frame #6: 0x000000010082765c postgres`ExecModifyTable at nodeModifyTable.c:3027:11 [06:42:51.414] frame #7: 0x0000000100827270 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016f7843b0, resultRelInfo=0x000000011b8936b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2791:11 [06:42:51.414] frame #8: 0x0000000100827270 postgres`ExecModifyTable(pstate=0x000000011b8934a0) at nodeModifyTable.c:4112:12 [06:42:51.414] frame #9: 0x0000000100801d3c postgres`ExecProcNodeFirst(node=0x000000011b8934a0) at execProcnode.c:464:9 [06:42:51.414] frame #10: 0x00000001007fb050 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000011b8934a0) at executor.h:274:9 [06:42:51.414] frame #11: 0x00000001007fb034 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000011b893100, planstate=0x000000011b8934a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000013b895910, execute_once=) at execMain.c:1646:10 [06:42:51.414] frame #12: 0x00000001007fb008 postgres`standard_ExecutorRun(queryDesc=0x000000012b81ea48, direction=, count=0, execute_once=) at execMain.c:363:3 [06:42:51.414] frame #13: 0x00000001007faf1c postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [06:42:51.414] frame #14: 0x000000010099b570 postgres`ProcessQuery(plan=0x00000001200f7d88, 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=0x000000013b895910, qc=0x000000016f7845d0) at pquery.c:160:2 [06:42:51.414] frame #15: 0x000000010099ac1c postgres`PortalRunMulti(portal=0x000000011b832b00, isTopLevel=true, setHoldSnapshot=true, dest=0x000000013b895910, altdest=0x0000000100e4d488, qc=0x000000016f7845d0) at pquery.c:0 [06:42:51.414] frame #16: 0x000000010099a7e0 postgres`FillPortalStore(portal=0x000000011b832b00, isTopLevel=true) at pquery.c:1026:4 [06:42:51.414] frame #17: 0x000000010099a554 postgres`PortalRun(portal=0x000000011b832b00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x00000001200f7ee8, altdest=0x00000001200f7ee8, qc=0x000000016f7847c8) at pquery.c:763:6 [06:42:51.414] frame #18: 0x0000000100999510 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 [06:42:51.414] frame #19: 0x0000000100997294 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [06:42:51.414] frame #20: 0x00000001009929fc postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:105:2 [06:42:51.414] frame #21: 0x00000001008fa610 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016f784bc0) at launch_backend.c:265:3 [06:42:51.414] frame #22: 0x00000001008fed3c postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016f784bc0) at postmaster.c:3593:8 [06:42:51.414] frame #23: 0x00000001008feb54 postgres`ServerLoop at postmaster.c:1674:6 [06:42:51.414] frame #24: 0x00000001008fc79c postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [06:42:51.414] frame #25: 0x0000000100850b78 postgres`main(argc=4, argv=0x0000600000ead1d0) at main.c:197:3 [06:42:51.414] frame #26: 0x0000000180e2bf28 dyld`start + 2236 [06:42:51.414] (lldb) quit [06:42:51.425] -e [06:42:51.425] [06:42:51.425] [06:42:51.545] (lldb) target create --core "/Users/admin/cores/core.11344" [06:43:05.465] Core file '/Users/admin/cores/core.11344' (arm64) was loaded. [06:43:05.465] (lldb) thread backtrace all [06:43:06.178] * thread #1 [06:43:06.178] * frame #0: 0x000000018114c744 libsystem_kernel.dylib`__pthread_kill + 8 [06:43:06.178] frame #1: 0x0000000181183c28 libsystem_pthread.dylib`pthread_kill + 288 [06:43:06.178] frame #2: 0x0000000181091ae8 libsystem_c.dylib`abort + 180 [06:43:06.178] frame #3: 0x0000000104f8c1d0 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [06:43:06.178] frame #4: 0x0000000104ccb4e8 postgres`ExecFetchSlotHeapTuple(slot=0x000000016b2c03a0, materialize=, shouldFree=) at execTuples.c:1737:2 [06:43:06.178] frame #5: 0x0000000104c9a6a0 postgres`ExecIRDeleteTriggers(estate=0x00000001360bc700, relinfo=0x00000001360bccb0, slot=0x000000016b2c03a0) at trigger.c:2840:15 [06:43:06.178] frame #6: 0x0000000104ceb65c postgres`ExecModifyTable at nodeModifyTable.c:3027:11 [06:43:06.178] frame #7: 0x0000000104ceb270 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016b2c03c0, resultRelInfo=0x00000001360bccb0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2791:11 [06:43:06.178] frame #8: 0x0000000104ceb270 postgres`ExecModifyTable(pstate=0x00000001360bcaa0) at nodeModifyTable.c:4112:12 [06:43:06.178] frame #9: 0x0000000104cc5d3c postgres`ExecProcNodeFirst(node=0x00000001360bcaa0) at execProcnode.c:464:9 [06:43:06.178] frame #10: 0x0000000104cbf050 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x00000001360bcaa0) at executor.h:274:9 [06:43:06.178] frame #11: 0x0000000104cbf034 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x00000001360bc700, planstate=0x00000001360bcaa0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000013407b510, execute_once=) at execMain.c:1646:10 [06:43:06.178] frame #12: 0x0000000104cbf008 postgres`standard_ExecutorRun(queryDesc=0x000000013480f048, direction=, count=0, execute_once=) at execMain.c:363:3 [06:43:06.178] frame #13: 0x0000000104cbef1c postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [06:43:06.178] frame #14: 0x0000000104e5f570 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=0x000000013407b510, qc=0x000000016b2c05e0) at pquery.c:160:2 [06:43:06.178] frame #15: 0x0000000104e5ec1c postgres`PortalRunMulti(portal=0x0000000136032900, isTopLevel=true, setHoldSnapshot=true, dest=0x000000013407b510, altdest=0x0000000105311488, qc=0x000000016b2c05e0) at pquery.c:0 [06:43:06.178] frame #16: 0x0000000104e5e7e0 postgres`FillPortalStore(portal=0x0000000136032900, isTopLevel=true) at pquery.c:1026:4 [06:43:06.178] frame #17: 0x0000000104e5e554 postgres`PortalRun(portal=0x0000000136032900, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000138047ee8, altdest=0x0000000138047ee8, qc=0x000000016b2c07d8) at pquery.c:763:6 [06:43:06.178] frame #18: 0x0000000104e5d510 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 [06:43:06.178] frame #19: 0x0000000104e5b294 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [06:43:06.178] frame #20: 0x0000000104e569fc postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:105:2 [06:43:06.178] frame #21: 0x0000000104dbe610 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016b2c0bd0) at launch_backend.c:265:3 [06:43:06.178] frame #22: 0x0000000104dc2d3c postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016b2c0bd0) at postmaster.c:3593:8 [06:43:06.178] frame #23: 0x0000000104dc2b54 postgres`ServerLoop at postmaster.c:1674:6 [06:43:06.178] frame #24: 0x0000000104dc079c postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [06:43:06.178] frame #25: 0x0000000104d14b78 postgres`main(argc=8, argv=0x0000600000788370) at main.c:197:3 [06:43:06.178] frame #26: 0x0000000180e2bf28 dyld`start + 2236 [06:43:06.178] (lldb) quit