[14:48:12.271] src/tools/ci/cores_backtrace.sh macos "${HOME}/cores" [14:48:12.638] (lldb) target create --core "/Users/admin/cores/core.18066" [14:48:25.120] Core file '/Users/admin/cores/core.18066' (arm64) was loaded. [14:48:25.120] (lldb) thread backtrace all [14:48:25.895] * thread #1 [14:48:25.895] * frame #0: 0x0000000195b2c744 libsystem_kernel.dylib`__pthread_kill + 8 [14:48:25.895] frame #1: 0x0000000195b63c28 libsystem_pthread.dylib`pthread_kill + 288 [14:48:25.895] frame #2: 0x0000000195a71ae8 libsystem_c.dylib`abort + 180 [14:48:25.895] frame #3: 0x000000010252f418 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [14:48:25.895] frame #4: 0x000000010226bc3c postgres`ExecFetchSlotHeapTuple(slot=0x000000016dd24250, materialize=, shouldFree=) at execTuples.c:1737:2 [14:48:25.895] frame #5: 0x000000010223ae1c postgres`ExecIRDeleteTriggers(estate=0x000000011e845f00, relinfo=0x000000011e8464b0, slot=0x000000016dd24250) at trigger.c:2841:15 [14:48:25.895] frame #6: 0x000000010228bc60 postgres`ExecModifyTable at nodeModifyTable.c:3027:11 [14:48:25.895] frame #7: 0x000000010228b874 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016dd24270, resultRelInfo=0x000000011e8464b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2791:11 [14:48:25.895] frame #8: 0x000000010228b874 postgres`ExecModifyTable(pstate=0x000000011e8462a0) at nodeModifyTable.c:4112:12 [14:48:25.895] frame #9: 0x0000000102266490 postgres`ExecProcNodeFirst(node=0x000000011e8462a0) at execProcnode.c:464:9 [14:48:25.895] frame #10: 0x000000010225f7a4 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000011e8462a0) at executor.h:274:9 [14:48:25.895] frame #11: 0x000000010225f788 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000011e845f00, planstate=0x000000011e8462a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000011d05ff10, execute_once=) at execMain.c:1646:10 [14:48:25.895] frame #12: 0x000000010225f75c postgres`standard_ExecutorRun(queryDesc=0x000000011d05b448, direction=, count=0, execute_once=) at execMain.c:363:3 [14:48:25.895] frame #13: 0x0000000102f2c248 pg_stat_statements.dylib`pgss_ExecutorRun(queryDesc=0x000000011d05b448, direction=ForwardScanDirection, count=0, execute_once=true) at pg_stat_statements.c:1032:4 [14:48:25.895] frame #14: 0x000000010225f664 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:302:3 [14:48:25.895] frame #15: 0x0000000102402460 postgres`ProcessQuery(plan=0x0000000120030ce8, 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=0x000000011d05ff10, qc=0x000000016dd245d0) at pquery.c:160:2 [14:48:25.895] frame #16: 0x0000000102401b0c postgres`PortalRunMulti(portal=0x000000011d835300, isTopLevel=true, setHoldSnapshot=true, dest=0x000000011d05ff10, altdest=0x00000001028b9488, qc=0x000000016dd245d0) at pquery.c:0 [14:48:25.895] frame #17: 0x00000001024016d0 postgres`FillPortalStore(portal=0x000000011d835300, isTopLevel=true) at pquery.c:1026:4 [14:48:25.895] frame #18: 0x0000000102401444 postgres`PortalRun(portal=0x000000011d835300, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000120030e48, altdest=0x0000000120030e48, qc=0x000000016dd247c8) at pquery.c:763:6 [14:48:25.895] frame #19: 0x0000000102400400 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 [14:48:25.895] frame #20: 0x00000001023fe184 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [14:48:25.895] frame #21: 0x00000001023f98f0 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:105:2 [14:48:25.895] frame #22: 0x00000001023614f8 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016dd24bc0) at launch_backend.c:265:3 [14:48:25.895] frame #23: 0x0000000102365c24 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016dd24bc0) at postmaster.c:3593:8 [14:48:25.895] frame #24: 0x0000000102365a3c postgres`ServerLoop at postmaster.c:1674:6 [14:48:25.895] frame #25: 0x0000000102363684 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [14:48:25.895] frame #26: 0x00000001022b51b0 postgres`main(argc=4, argv=0x0000600002038cf0) at main.c:197:3 [14:48:25.895] frame #27: 0x000000019580bf28 dyld`start + 2236 [14:48:25.895] (lldb) quit [14:48:25.912] -e [14:48:25.912] [14:48:25.912] [14:48:26.032] (lldb) target create --core "/Users/admin/cores/core.12410" [14:48:38.958] Core file '/Users/admin/cores/core.12410' (arm64) was loaded. [14:48:38.958] (lldb) thread backtrace all [14:48:39.678] * thread #1 [14:48:39.678] * frame #0: 0x0000000195b2c744 libsystem_kernel.dylib`__pthread_kill + 8 [14:48:39.678] frame #1: 0x0000000195b63c28 libsystem_pthread.dylib`pthread_kill + 288 [14:48:39.678] frame #2: 0x0000000195a71ae8 libsystem_c.dylib`abort + 180 [14:48:39.678] frame #3: 0x0000000103053418 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [14:48:39.678] frame #4: 0x0000000102d8fc3c postgres`ExecFetchSlotHeapTuple(slot=0x000000016d2003c0, materialize=, shouldFree=) at execTuples.c:1737:2 [14:48:39.678] frame #5: 0x0000000102d5ee1c postgres`ExecIRDeleteTriggers(estate=0x00000001518d8f00, relinfo=0x00000001518d94b0, slot=0x000000016d2003c0) at trigger.c:2841:15 [14:48:39.678] frame #6: 0x0000000102dafc60 postgres`ExecModifyTable at nodeModifyTable.c:3027:11 [14:48:39.678] frame #7: 0x0000000102daf874 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016d2003e0, resultRelInfo=0x00000001518d94b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2791:11 [14:48:39.678] frame #8: 0x0000000102daf874 postgres`ExecModifyTable(pstate=0x00000001518d92a0) at nodeModifyTable.c:4112:12 [14:48:39.678] frame #9: 0x0000000102d8a490 postgres`ExecProcNodeFirst(node=0x00000001518d92a0) at execProcnode.c:464:9 [14:48:39.678] frame #10: 0x0000000102d837a4 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x00000001518d92a0) at executor.h:274:9 [14:48:39.678] frame #11: 0x0000000102d83788 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x00000001518d8f00, planstate=0x00000001518d92a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000015207a310, execute_once=) at execMain.c:1646:10 [14:48:39.678] frame #12: 0x0000000102d8375c postgres`standard_ExecutorRun(queryDesc=0x0000000152832648, direction=, count=0, execute_once=) at execMain.c:363:3 [14:48:39.678] frame #13: 0x0000000102d83670 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [14:48:39.678] frame #14: 0x0000000102f26460 postgres`ProcessQuery(plan=0x000000014800fd88, 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=0x000000015207a310, qc=0x000000016d200600) at pquery.c:160:2 [14:48:39.678] frame #15: 0x0000000102f25b0c postgres`PortalRunMulti(portal=0x000000015184d500, isTopLevel=true, setHoldSnapshot=true, dest=0x000000015207a310, altdest=0x00000001033dd488, qc=0x000000016d200600) at pquery.c:0 [14:48:39.678] frame #16: 0x0000000102f256d0 postgres`FillPortalStore(portal=0x000000015184d500, isTopLevel=true) at pquery.c:1026:4 [14:48:39.678] frame #17: 0x0000000102f25444 postgres`PortalRun(portal=0x000000015184d500, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000014800fee8, altdest=0x000000014800fee8, qc=0x000000016d2007f8) at pquery.c:763:6 [14:48:39.678] frame #18: 0x0000000102f24400 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 [14:48:39.678] frame #19: 0x0000000102f22184 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [14:48:39.678] frame #20: 0x0000000102f1d8f0 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:105:2 [14:48:39.678] frame #21: 0x0000000102e854f8 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016d200bf0) at launch_backend.c:265:3 [14:48:39.678] frame #22: 0x0000000102e89c24 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016d200bf0) at postmaster.c:3593:8 [14:48:39.678] frame #23: 0x0000000102e89a3c postgres`ServerLoop at postmaster.c:1674:6 [14:48:39.678] frame #24: 0x0000000102e87684 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [14:48:39.678] frame #25: 0x0000000102dd91b0 postgres`main(argc=8, argv=0x0000600001a5ba70) at main.c:197:3 [14:48:39.678] frame #26: 0x000000019580bf28 dyld`start + 2236 [14:48:39.678] (lldb) quit [14:48:39.689] -e [14:48:39.689] [14:48:39.689] [14:48:39.807] (lldb) target create --core "/Users/admin/cores/core.12550" [14:48:52.798] Core file '/Users/admin/cores/core.12550' (arm64) was loaded. [14:48:52.798] (lldb) thread backtrace all [14:48:53.493] * thread #1 [14:48:53.493] * frame #0: 0x0000000195b2c744 libsystem_kernel.dylib`__pthread_kill + 8 [14:48:53.493] frame #1: 0x0000000195b63c28 libsystem_pthread.dylib`pthread_kill + 288 [14:48:53.493] frame #2: 0x0000000195a71ae8 libsystem_c.dylib`abort + 180 [14:48:53.493] frame #3: 0x000000010539b418 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [14:48:53.493] frame #4: 0x00000001050d7c3c postgres`ExecFetchSlotHeapTuple(slot=0x000000016aeb83b0, materialize=, shouldFree=) at execTuples.c:1737:2 [14:48:53.493] frame #5: 0x00000001050a6e1c postgres`ExecIRDeleteTriggers(estate=0x000000014b851d00, relinfo=0x000000014b8522b0, slot=0x000000016aeb83b0) at trigger.c:2841:15 [14:48:53.493] frame #6: 0x00000001050f7c60 postgres`ExecModifyTable at nodeModifyTable.c:3027:11 [14:48:53.493] frame #7: 0x00000001050f7874 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016aeb83d0, resultRelInfo=0x000000014b8522b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2791:11 [14:48:53.493] frame #8: 0x00000001050f7874 postgres`ExecModifyTable(pstate=0x000000014b8520a0) at nodeModifyTable.c:4112:12 [14:48:53.493] frame #9: 0x00000001050d2490 postgres`ExecProcNodeFirst(node=0x000000014b8520a0) at execProcnode.c:464:9 [14:48:53.493] frame #10: 0x00000001050cb7a4 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000014b8520a0) at executor.h:274:9 [14:48:53.493] frame #11: 0x00000001050cb788 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000014b851d00, planstate=0x000000014b8520a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000014b081310, execute_once=) at execMain.c:1646:10 [14:48:53.493] frame #12: 0x00000001050cb75c postgres`standard_ExecutorRun(queryDesc=0x000000014b079848, direction=, count=0, execute_once=) at execMain.c:363:3 [14:48:53.493] frame #13: 0x00000001050cb670 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [14:48:53.493] frame #14: 0x000000010526e460 postgres`ProcessQuery(plan=0x000000015002fd88, 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=0x000000014b081310, qc=0x000000016aeb85f0) at pquery.c:160:2 [14:48:53.493] frame #15: 0x000000010526db0c postgres`PortalRunMulti(portal=0x000000014a833300, isTopLevel=true, setHoldSnapshot=true, dest=0x000000014b081310, altdest=0x0000000105725488, qc=0x000000016aeb85f0) at pquery.c:0 [14:48:53.493] frame #16: 0x000000010526d6d0 postgres`FillPortalStore(portal=0x000000014a833300, isTopLevel=true) at pquery.c:1026:4 [14:48:53.493] frame #17: 0x000000010526d444 postgres`PortalRun(portal=0x000000014a833300, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000015002fee8, altdest=0x000000015002fee8, qc=0x000000016aeb87e8) at pquery.c:763:6 [14:48:53.493] frame #18: 0x000000010526c400 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 [14:48:53.493] frame #19: 0x000000010526a184 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [14:48:53.493] frame #20: 0x00000001052658f0 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:105:2 [14:48:53.493] frame #21: 0x00000001051cd4f8 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016aeb8be0) at launch_backend.c:265:3 [14:48:53.493] frame #22: 0x00000001051d1c24 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016aeb8be0) at postmaster.c:3593:8 [14:48:53.493] frame #23: 0x00000001051d1a3c postgres`ServerLoop at postmaster.c:1674:6 [14:48:53.493] frame #24: 0x00000001051cf684 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [14:48:53.493] frame #25: 0x00000001051211b0 postgres`main(argc=4, argv=0x000060000068c390) at main.c:197:3 [14:48:53.493] frame #26: 0x000000019580bf28 dyld`start + 2236 [14:48:53.493] (lldb) quit