[21:16:44.916] src/tools/ci/cores_backtrace.sh macos "${HOME}/cores" [21:16:45.273] (lldb) target create --core "/Users/admin/cores/core.18318" [21:16:57.849] Core file '/Users/admin/cores/core.18318' (arm64) was loaded. [21:16:57.849] (lldb) thread backtrace all [21:16:58.617] * thread #1 [21:16:58.617] * frame #0: 0x0000000185dc8744 libsystem_kernel.dylib`__pthread_kill + 8 [21:16:58.617] frame #1: 0x0000000185dffc28 libsystem_pthread.dylib`pthread_kill + 288 [21:16:58.617] frame #2: 0x0000000185d0dae8 libsystem_c.dylib`abort + 180 [21:16:58.617] frame #3: 0x0000000100574480 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [21:16:58.617] frame #4: 0x00000001002b0d18 postgres`ExecFetchSlotHeapTuple(slot=0x000000016fce0250, materialize=, shouldFree=) at execTuples.c:1737:2 [21:16:58.617] frame #5: 0x000000010027fef8 postgres`ExecIRDeleteTriggers(estate=0x000000012a840700, relinfo=0x000000012a840cb0, slot=0x000000016fce0250) at trigger.c:2841:15 [21:16:58.617] frame #6: 0x00000001002d0d3c postgres`ExecModifyTable at nodeModifyTable.c:3027:11 [21:16:58.617] frame #7: 0x00000001002d0950 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016fce0270, resultRelInfo=0x000000012a840cb0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2791:11 [21:16:58.617] frame #8: 0x00000001002d0950 postgres`ExecModifyTable(pstate=0x000000012a840aa0) at nodeModifyTable.c:4112:12 [21:16:58.617] frame #9: 0x00000001002ab56c postgres`ExecProcNodeFirst(node=0x000000012a840aa0) at execProcnode.c:464:9 [21:16:58.617] frame #10: 0x00000001002a4880 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000012a840aa0) at executor.h:274:9 [21:16:58.617] frame #11: 0x00000001002a4864 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000012a840700, planstate=0x000000012a840aa0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000012a87d910, execute_once=) at execMain.c:1646:10 [21:16:58.617] frame #12: 0x00000001002a4838 postgres`standard_ExecutorRun(queryDesc=0x000000013a8d9248, direction=, count=0, execute_once=) at execMain.c:363:3 [21:16:58.617] frame #13: 0x0000000100f70248 pg_stat_statements.dylib`pgss_ExecutorRun(queryDesc=0x000000013a8d9248, direction=ForwardScanDirection, count=0, execute_once=true) at pg_stat_statements.c:1032:4 [21:16:58.617] frame #14: 0x00000001002a4740 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:302:3 [21:16:58.617] frame #15: 0x0000000100447514 postgres`ProcessQuery(plan=0x0000000140070ce8, 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=0x000000012a87d910, qc=0x000000016fce05d0) at pquery.c:160:2 [21:16:58.617] frame #16: 0x0000000100446bc0 postgres`PortalRunMulti(portal=0x000000013a84c100, isTopLevel=true, setHoldSnapshot=true, dest=0x000000012a87d910, altdest=0x00000001008fd480, qc=0x000000016fce05d0) at pquery.c:0 [21:16:58.617] frame #17: 0x0000000100446784 postgres`FillPortalStore(portal=0x000000013a84c100, isTopLevel=true) at pquery.c:1026:4 [21:16:58.617] frame #18: 0x00000001004464f8 postgres`PortalRun(portal=0x000000013a84c100, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000140070e48, altdest=0x0000000140070e48, qc=0x000000016fce07c8) at pquery.c:763:6 [21:16:58.617] frame #19: 0x00000001004454b4 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 [21:16:58.617] frame #20: 0x0000000100443238 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [21:16:58.617] frame #21: 0x000000010043e9a4 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:105:2 [21:16:58.617] frame #22: 0x00000001003a65ac postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016fce0bc0) at launch_backend.c:265:3 [21:16:58.617] frame #23: 0x00000001003aacd8 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016fce0bc0) at postmaster.c:3593:8 [21:16:58.617] frame #24: 0x00000001003aaaf0 postgres`ServerLoop at postmaster.c:1674:6 [21:16:58.617] frame #25: 0x00000001003a8738 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [21:16:58.617] frame #26: 0x00000001002fa28c postgres`main(argc=4, argv=0x000060000395d1d0) at main.c:197:3 [21:16:58.617] frame #27: 0x0000000185aa7f28 dyld`start + 2236 [21:16:58.617] (lldb) quit [21:16:58.634] -e [21:16:58.634] [21:16:58.634] [21:16:58.751] (lldb) target create --core "/Users/admin/cores/core.12145" [21:17:11.317] Core file '/Users/admin/cores/core.12145' (arm64) was loaded. [21:17:11.317] (lldb) thread backtrace all [21:17:12.026] * thread #1 [21:17:12.026] * frame #0: 0x0000000185dc8744 libsystem_kernel.dylib`__pthread_kill + 8 [21:17:12.026] frame #1: 0x0000000185dffc28 libsystem_pthread.dylib`pthread_kill + 288 [21:17:12.026] frame #2: 0x0000000185d0dae8 libsystem_c.dylib`abort + 180 [21:17:12.026] frame #3: 0x00000001027c4480 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [21:17:12.026] frame #4: 0x0000000102500d18 postgres`ExecFetchSlotHeapTuple(slot=0x000000016da903c0, materialize=, shouldFree=) at execTuples.c:1737:2 [21:17:12.026] frame #5: 0x00000001024cfef8 postgres`ExecIRDeleteTriggers(estate=0x000000013189e500, relinfo=0x000000013189eab0, slot=0x000000016da903c0) at trigger.c:2841:15 [21:17:12.026] frame #6: 0x0000000102520d3c postgres`ExecModifyTable at nodeModifyTable.c:3027:11 [21:17:12.026] frame #7: 0x0000000102520950 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016da903e0, resultRelInfo=0x000000013189eab0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2791:11 [21:17:12.026] frame #8: 0x0000000102520950 postgres`ExecModifyTable(pstate=0x000000013189e8a0) at nodeModifyTable.c:4112:12 [21:17:12.026] frame #9: 0x00000001024fb56c postgres`ExecProcNodeFirst(node=0x000000013189e8a0) at execProcnode.c:464:9 [21:17:12.026] frame #10: 0x00000001024f4880 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000013189e8a0) at executor.h:274:9 [21:17:12.026] frame #11: 0x00000001024f4864 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000013189e500, planstate=0x000000013189e8a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000012187e510, execute_once=) at execMain.c:1646:10 [21:17:12.026] frame #12: 0x00000001024f4838 postgres`standard_ExecutorRun(queryDesc=0x0000000121876a48, direction=, count=0, execute_once=) at execMain.c:363:3 [21:17:12.026] frame #13: 0x00000001024f474c postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [21:17:12.026] frame #14: 0x0000000102697514 postgres`ProcessQuery(plan=0x00000001180efd88, 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=0x000000012187e510, qc=0x000000016da90600) at pquery.c:160:2 [21:17:12.026] frame #15: 0x0000000102696bc0 postgres`PortalRunMulti(portal=0x0000000131826500, isTopLevel=true, setHoldSnapshot=true, dest=0x000000012187e510, altdest=0x0000000102b4d480, qc=0x000000016da90600) at pquery.c:0 [21:17:12.026] frame #16: 0x0000000102696784 postgres`FillPortalStore(portal=0x0000000131826500, isTopLevel=true) at pquery.c:1026:4 [21:17:12.026] frame #17: 0x00000001026964f8 postgres`PortalRun(portal=0x0000000131826500, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x00000001180efee8, altdest=0x00000001180efee8, qc=0x000000016da907f8) at pquery.c:763:6 [21:17:12.026] frame #18: 0x00000001026954b4 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 [21:17:12.026] frame #19: 0x0000000102693238 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [21:17:12.026] frame #20: 0x000000010268e9a4 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:105:2 [21:17:12.026] frame #21: 0x00000001025f65ac postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016da90bf0) at launch_backend.c:265:3 [21:17:12.026] frame #22: 0x00000001025facd8 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016da90bf0) at postmaster.c:3593:8 [21:17:12.026] frame #23: 0x00000001025faaf0 postgres`ServerLoop at postmaster.c:1674:6 [21:17:12.026] frame #24: 0x00000001025f8738 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [21:17:12.026] frame #25: 0x000000010254a28c postgres`main(argc=8, argv=0x0000600002f883c0) at main.c:197:3 [21:17:12.026] frame #26: 0x0000000185aa7f28 dyld`start + 2236 [21:17:12.026] (lldb) quit [21:17:12.036] -e [21:17:12.036] [21:17:12.036] [21:17:12.152] (lldb) target create --core "/Users/admin/cores/core.12347" [21:17:25.083] Core file '/Users/admin/cores/core.12347' (arm64) was loaded. [21:17:25.083] (lldb) thread backtrace all [21:17:25.798] * thread #1 [21:17:25.798] * frame #0: 0x0000000185dc8744 libsystem_kernel.dylib`__pthread_kill + 8 [21:17:25.798] frame #1: 0x0000000185dffc28 libsystem_pthread.dylib`pthread_kill + 288 [21:17:25.798] frame #2: 0x0000000185d0dae8 libsystem_c.dylib`abort + 180 [21:17:25.798] frame #3: 0x00000001027c8480 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [21:17:25.798] frame #4: 0x0000000102504d18 postgres`ExecFetchSlotHeapTuple(slot=0x000000016da8c3b0, materialize=, shouldFree=) at execTuples.c:1737:2 [21:17:25.798] frame #5: 0x00000001024d3ef8 postgres`ExecIRDeleteTriggers(estate=0x000000014f8cc900, relinfo=0x000000014f8cceb0, slot=0x000000016da8c3b0) at trigger.c:2841:15 [21:17:25.798] frame #6: 0x0000000102524d3c postgres`ExecModifyTable at nodeModifyTable.c:3027:11 [21:17:25.798] frame #7: 0x0000000102524950 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016da8c3d0, resultRelInfo=0x000000014f8cceb0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2791:11 [21:17:25.798] frame #8: 0x0000000102524950 postgres`ExecModifyTable(pstate=0x000000014f8ccca0) at nodeModifyTable.c:4112:12 [21:17:25.798] frame #9: 0x00000001024ff56c postgres`ExecProcNodeFirst(node=0x000000014f8ccca0) at execProcnode.c:464:9 [21:17:25.798] frame #10: 0x00000001024f8880 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000014f8ccca0) at executor.h:274:9 [21:17:25.798] frame #11: 0x00000001024f8864 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000014f8cc900, planstate=0x000000014f8ccca0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x0000000158079b10, execute_once=) at execMain.c:1646:10 [21:17:25.798] frame #12: 0x00000001024f8838 postgres`standard_ExecutorRun(queryDesc=0x000000013f845c48, direction=, count=0, execute_once=) at execMain.c:363:3 [21:17:25.798] frame #13: 0x00000001024f874c postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [21:17:25.798] frame #14: 0x000000010269b514 postgres`ProcessQuery(plan=0x000000013008fd88, 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=0x0000000158079b10, qc=0x000000016da8c5f0) at pquery.c:160:2 [21:17:25.798] frame #15: 0x000000010269abc0 postgres`PortalRunMulti(portal=0x000000014f84fb00, isTopLevel=true, setHoldSnapshot=true, dest=0x0000000158079b10, altdest=0x0000000102b51480, qc=0x000000016da8c5f0) at pquery.c:0 [21:17:25.798] frame #16: 0x000000010269a784 postgres`FillPortalStore(portal=0x000000014f84fb00, isTopLevel=true) at pquery.c:1026:4 [21:17:25.798] frame #17: 0x000000010269a4f8 postgres`PortalRun(portal=0x000000014f84fb00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000013008fee8, altdest=0x000000013008fee8, qc=0x000000016da8c7e8) at pquery.c:763:6 [21:17:25.798] frame #18: 0x00000001026994b4 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 [21:17:25.798] frame #19: 0x0000000102697238 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [21:17:25.798] frame #20: 0x00000001026929a4 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:105:2 [21:17:25.798] frame #21: 0x00000001025fa5ac postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016da8cbe0) at launch_backend.c:265:3 [21:17:25.798] frame #22: 0x00000001025fecd8 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016da8cbe0) at postmaster.c:3593:8 [21:17:25.798] frame #23: 0x00000001025feaf0 postgres`ServerLoop at postmaster.c:1674:6 [21:17:25.798] frame #24: 0x00000001025fc738 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [21:17:25.798] frame #25: 0x000000010254e28c postgres`main(argc=4, argv=0x00006000022611d0) at main.c:197:3 [21:17:25.798] frame #26: 0x0000000185aa7f28 dyld`start + 2236 [21:17:25.798] (lldb) quit