[00:47:27.702] src/tools/ci/cores_backtrace.sh macos "${HOME}/cores" [00:47:28.621] (lldb) target create --core "/Users/admin/cores/core.10394" [00:48:07.288] Core file '/Users/admin/cores/core.10394' (arm64) was loaded. [00:48:07.288] (lldb) thread backtrace all [00:48:08.129] * thread #1 [00:48:08.129] * frame #0: 0x000000018125d5f0 libsystem_kernel.dylib`__pthread_kill + 8 [00:48:08.129] frame #1: 0x0000000181295c20 libsystem_pthread.dylib`pthread_kill + 288 [00:48:08.129] frame #2: 0x00000001811a2a30 libsystem_c.dylib`abort + 180 [00:48:08.129] frame #3: 0x00000001047f1658 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [00:48:08.129] frame #4: 0x0000000104530230 postgres`ExecFetchSlotHeapTuple(slot=0x000000016ba5c220, materialize=, shouldFree=) at execTuples.c:1737:2 [00:48:08.129] frame #5: 0x00000001044fe9d0 postgres`ExecIRDeleteTriggers(estate=0x0000000156844f00, relinfo=0x00000001568454b0, slot=0x000000016ba5c220) at trigger.c:2841:15 [00:48:08.129] frame #6: 0x0000000104550454 postgres`ExecModifyTable at nodeModifyTable.c:3040:11 [00:48:08.129] frame #7: 0x00000001045500e0 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016ba5c240, resultRelInfo=0x00000001568454b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2801:11 [00:48:08.129] frame #8: 0x00000001045500e0 postgres`ExecModifyTable(pstate=0x00000001568452a0) at nodeModifyTable.c:4130:12 [00:48:08.129] frame #9: 0x0000000104523d50 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x00000001568452a0) at executor.h:274:9 [00:48:08.129] frame #10: 0x0000000104523d34 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x0000000156844f00, planstate=0x00000001568452a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x00000001578e1910, execute_once=) at execMain.c:1646:10 [00:48:08.129] frame #11: 0x0000000104523d08 postgres`standard_ExecutorRun(queryDesc=0x000000015603f248, direction=, count=0, execute_once=) at execMain.c:363:3 [00:48:08.129] frame #12: 0x0000000104523c24 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [artificial] [00:48:08.129] frame #13: 0x00000001046c3e70 postgres`ProcessQuery(plan=0x000000013800fd88, 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=0x00000001578e1910, qc=0x000000016ba5c430) at pquery.c:160:2 [00:48:08.129] frame #14: 0x00000001046c3518 postgres`PortalRunMulti(portal=0x0000000157842f00, isTopLevel=true, setHoldSnapshot=true, dest=0x00000001578e1910, altdest=0x0000000104b79768, qc=0x000000016ba5c430) at pquery.c:0 [00:48:08.129] frame #15: 0x00000001046c30dc postgres`FillPortalStore(portal=0x0000000157842f00, isTopLevel=true) at pquery.c:1026:4 [00:48:08.129] frame #16: 0x00000001046c2e50 postgres`PortalRun(portal=0x0000000157842f00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000013800fee8, altdest=0x000000013800fee8, qc=0x000000016ba5c628) at pquery.c:763:6 [00:48:08.129] frame #17: 0x00000001046c1e10 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:48:08.129] frame #18: 0x00000001046bfb8c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [00:48:08.129] frame #19: 0x00000001046bae74 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [00:48:08.129] frame #20: 0x00000001046234f0 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016ba5ca30) at launch_backend.c:274:3 [00:48:08.129] frame #21: 0x0000000104627644 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016ba5ca30) at postmaster.c:3414:8 [00:48:08.129] frame #22: 0x00000001046274bc postgres`ServerLoop at postmaster.c:1648:6 [00:48:08.129] frame #23: 0x0000000104625620 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [00:48:08.129] frame #24: 0x00000001045794dc postgres`main(argc=4, argv=0x00006000014a0b70) at main.c:197:3 [00:48:08.129] frame #25: 0x0000000180f0b154 dyld`start + 2476 [00:48:08.129] (lldb) quit [00:48:08.142] -e [00:48:08.142] [00:48:08.142] [00:48:08.343] (lldb) target create --core "/Users/admin/cores/core.9905" [00:48:47.979] Core file '/Users/admin/cores/core.9905' (arm64) was loaded. [00:48:47.979] (lldb) thread backtrace all [00:48:48.786] * thread #1 [00:48:48.786] * frame #0: 0x000000018125d5f0 libsystem_kernel.dylib`__pthread_kill + 8 [00:48:48.786] frame #1: 0x0000000181295c20 libsystem_pthread.dylib`pthread_kill + 288 [00:48:48.786] frame #2: 0x00000001811a2a30 libsystem_c.dylib`abort + 180 [00:48:48.786] frame #3: 0x00000001006dd658 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [00:48:48.786] frame #4: 0x000000010041c230 postgres`ExecFetchSlotHeapTuple(slot=0x000000016fb70230, materialize=, shouldFree=) at execTuples.c:1737:2 [00:48:48.786] frame #5: 0x00000001003ea9d0 postgres`ExecIRDeleteTriggers(estate=0x0000000155099500, relinfo=0x0000000155099ab0, slot=0x000000016fb70230) at trigger.c:2841:15 [00:48:48.786] frame #6: 0x000000010043c454 postgres`ExecModifyTable at nodeModifyTable.c:3040:11 [00:48:48.786] frame #7: 0x000000010043c0e0 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016fb70250, resultRelInfo=0x0000000155099ab0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2801:11 [00:48:48.786] frame #8: 0x000000010043c0e0 postgres`ExecModifyTable(pstate=0x00000001550998a0) at nodeModifyTable.c:4130:12 [00:48:48.786] frame #9: 0x000000010040fd50 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x00000001550998a0) at executor.h:274:9 [00:48:48.786] frame #10: 0x000000010040fd34 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x0000000155099500, planstate=0x00000001550998a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x00000001550d6d10, execute_once=) at execMain.c:1646:10 [00:48:48.786] frame #11: 0x000000010040fd08 postgres`standard_ExecutorRun(queryDesc=0x000000015403e248, direction=, count=0, execute_once=) at execMain.c:363:3 [00:48:48.786] frame #12: 0x000000010040fc24 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [artificial] [00:48:48.786] frame #13: 0x00000001005afe70 postgres`ProcessQuery(plan=0x0000000158047d88, 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=0x00000001550d6d10, qc=0x000000016fb70440) at pquery.c:160:2 [00:48:48.786] frame #14: 0x00000001005af518 postgres`PortalRunMulti(portal=0x000000015502f900, isTopLevel=true, setHoldSnapshot=true, dest=0x00000001550d6d10, altdest=0x0000000100a65768, qc=0x000000016fb70440) at pquery.c:0 [00:48:48.786] frame #15: 0x00000001005af0dc postgres`FillPortalStore(portal=0x000000015502f900, isTopLevel=true) at pquery.c:1026:4 [00:48:48.786] frame #16: 0x00000001005aee50 postgres`PortalRun(portal=0x000000015502f900, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000158047ee8, altdest=0x0000000158047ee8, qc=0x000000016fb70638) at pquery.c:763:6 [00:48:48.786] frame #17: 0x00000001005ade10 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:48:48.786] frame #18: 0x00000001005abb8c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [00:48:48.786] frame #19: 0x00000001005a6e74 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [00:48:48.786] frame #20: 0x000000010050f4f0 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016fb70a40) at launch_backend.c:274:3 [00:48:48.786] frame #21: 0x0000000100513644 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016fb70a40) at postmaster.c:3414:8 [00:48:48.786] frame #22: 0x00000001005134bc postgres`ServerLoop at postmaster.c:1648:6 [00:48:48.786] frame #23: 0x0000000100511620 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [00:48:48.786] frame #24: 0x00000001004654dc postgres`main(argc=8, argv=0x0000600003144460) at main.c:197:3 [00:48:48.786] frame #25: 0x0000000180f0b154 dyld`start + 2476 [00:48:48.786] (lldb) quit [00:48:48.796] -e [00:48:48.796] [00:48:48.796] [00:48:48.958] (lldb) target create --core "/Users/admin/cores/core.16857" [00:49:28.339] Core file '/Users/admin/cores/core.16857' (arm64) was loaded. [00:49:28.339] (lldb) thread backtrace all [00:49:29.152] * thread #1 [00:49:29.152] * frame #0: 0x000000018125d5f0 libsystem_kernel.dylib`__pthread_kill + 8 [00:49:29.152] frame #1: 0x0000000181295c20 libsystem_pthread.dylib`pthread_kill + 288 [00:49:29.152] frame #2: 0x00000001811a2a30 libsystem_c.dylib`abort + 180 [00:49:29.152] frame #3: 0x00000001011b9658 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [00:49:29.152] frame #4: 0x0000000100ef8230 postgres`ExecFetchSlotHeapTuple(slot=0x000000016f0940c0, materialize=, shouldFree=) at execTuples.c:1737:2 [00:49:29.152] frame #5: 0x0000000100ec69d0 postgres`ExecIRDeleteTriggers(estate=0x0000000151844700, relinfo=0x0000000151844cb0, slot=0x000000016f0940c0) at trigger.c:2841:15 [00:49:29.152] frame #6: 0x0000000100f18454 postgres`ExecModifyTable at nodeModifyTable.c:3040:11 [00:49:29.152] frame #7: 0x0000000100f180e0 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016f0940e0, resultRelInfo=0x0000000151844cb0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2801:11 [00:49:29.152] frame #8: 0x0000000100f180e0 postgres`ExecModifyTable(pstate=0x0000000151844aa0) at nodeModifyTable.c:4130:12 [00:49:29.152] frame #9: 0x0000000100eebd50 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x0000000151844aa0) at executor.h:274:9 [00:49:29.152] frame #10: 0x0000000100eebd34 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x0000000151844700, planstate=0x0000000151844aa0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x0000000150878d10, execute_once=) at execMain.c:1646:10 [00:49:29.152] frame #11: 0x0000000100eebd08 postgres`standard_ExecutorRun(queryDesc=0x0000000151868048, direction=, count=0, execute_once=) at execMain.c:363:3 [00:49:29.152] frame #12: 0x00000001018e7e38 pg_stat_statements.dylib`pgss_ExecutorRun(queryDesc=0x0000000151868048, direction=ForwardScanDirection, count=0, execute_once=true) at pg_stat_statements.c:1031:4 [00:49:29.152] frame #13: 0x000000010108be70 postgres`ProcessQuery(plan=0x0000000138010ce8, 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=0x0000000150878d10, qc=0x000000016f094410) at pquery.c:160:2 [00:49:29.152] frame #14: 0x000000010108b518 postgres`PortalRunMulti(portal=0x000000015202a300, isTopLevel=true, setHoldSnapshot=true, dest=0x0000000150878d10, altdest=0x0000000101541768, qc=0x000000016f094410) at pquery.c:0 [00:49:29.152] frame #15: 0x000000010108b0dc postgres`FillPortalStore(portal=0x000000015202a300, isTopLevel=true) at pquery.c:1026:4 [00:49:29.152] frame #16: 0x000000010108ae50 postgres`PortalRun(portal=0x000000015202a300, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000138010e48, altdest=0x0000000138010e48, qc=0x000000016f094608) at pquery.c:763:6 [00:49:29.152] frame #17: 0x0000000101089e10 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:49:29.152] frame #18: 0x0000000101087b8c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [00:49:29.152] frame #19: 0x0000000101082e74 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [00:49:29.152] frame #20: 0x0000000100feb4f0 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016f094a10) at launch_backend.c:274:3 [00:49:29.152] frame #21: 0x0000000100fef644 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016f094a10) at postmaster.c:3414:8 [00:49:29.152] frame #22: 0x0000000100fef4bc postgres`ServerLoop at postmaster.c:1648:6 [00:49:29.152] frame #23: 0x0000000100fed620 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [00:49:29.152] frame #24: 0x0000000100f414dc postgres`main(argc=4, argv=0x00006000032289c0) at main.c:197:3 [00:49:29.152] frame #25: 0x0000000180f0b154 dyld`start + 2476 [00:49:29.152] (lldb) quit