[15:38:57.636] src/tools/ci/cores_backtrace.sh macos "${HOME}/cores" [15:38:57.976] (lldb) target create --core "/Users/admin/cores/core.11940" [15:39:09.313] Core file '/Users/admin/cores/core.11940' (arm64) was loaded. [15:39:09.313] (lldb) thread backtrace all [15:39:09.991] * thread #1 [15:39:09.991] * frame #0: 0x0000000188f10764 libsystem_kernel.dylib`__pthread_kill + 8 [15:39:09.991] frame #1: 0x0000000188f47c28 libsystem_pthread.dylib`pthread_kill + 288 [15:39:09.991] frame #2: 0x0000000188e55ae8 libsystem_c.dylib`abort + 180 [15:39:09.991] frame #3: 0x00000001024826b8 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [15:39:09.991] frame #4: 0x00000001021c5c84 postgres`ExecFetchSlotHeapTuple(slot=0x000000016ddc43a0, materialize=, shouldFree=) at execTuples.c:1737:2 [15:39:09.991] frame #5: 0x0000000102195000 postgres`ExecIRDeleteTriggers(estate=0x000000014603b100, relinfo=0x000000014603b6b0, slot=0x000000016ddc43a0) at trigger.c:2832:15 [15:39:09.991] frame #6: 0x00000001021e5d38 postgres`ExecModifyTable at nodeModifyTable.c:2974:11 [15:39:09.991] frame #7: 0x00000001021e594c postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016ddc43c0, resultRelInfo=0x000000014603b6b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2736:11 [15:39:09.991] frame #8: 0x00000001021e594c postgres`ExecModifyTable(pstate=0x000000014603b4a0) at nodeModifyTable.c:4065:12 [15:39:09.991] frame #9: 0x00000001021c0480 postgres`ExecProcNodeFirst(node=0x000000014603b4a0) at execProcnode.c:464:9 [15:39:09.991] frame #10: 0x00000001021b9794 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000014603b4a0) at executor.h:274:9 [15:39:09.991] frame #11: 0x00000001021b9778 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000014603b100, planstate=0x000000014603b4a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x0000000144878b10, execute_once=) at execMain.c:1646:10 [15:39:09.991] frame #12: 0x00000001021b974c postgres`standard_ExecutorRun(queryDesc=0x0000000146069248, direction=, count=0, execute_once=) at execMain.c:363:3 [15:39:09.991] frame #13: 0x00000001021b9660 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [15:39:09.991] frame #14: 0x0000000102356960 postgres`ProcessQuery(plan=0x000000012800fd88, 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=0x0000000144878b10, qc=0x000000016ddc45e0) at pquery.c:160:2 [15:39:09.991] frame #15: 0x000000010235600c postgres`PortalRunMulti(portal=0x000000014404fb00, isTopLevel=true, setHoldSnapshot=true, dest=0x0000000144878b10, altdest=0x0000000102801468, qc=0x000000016ddc45e0) at pquery.c:0 [15:39:09.991] frame #16: 0x0000000102355bd0 postgres`FillPortalStore(portal=0x000000014404fb00, isTopLevel=true) at pquery.c:1026:4 [15:39:09.991] frame #17: 0x0000000102355944 postgres`PortalRun(portal=0x000000014404fb00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000012800fee8, altdest=0x000000012800fee8, qc=0x000000016ddc47d8) at pquery.c:763:6 [15:39:09.991] frame #18: 0x0000000102354900 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 [15:39:09.991] frame #19: 0x0000000102352684 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [15:39:09.991] frame #20: 0x000000010234e04c postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:101:2 [15:39:09.991] frame #21: 0x00000001022b89d4 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016ddc4bd0) at launch_backend.c:265:3 [15:39:09.991] frame #22: 0x00000001022bcf20 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016ddc4bd0) at postmaster.c:3593:8 [15:39:09.991] frame #23: 0x00000001022bcd38 postgres`ServerLoop at postmaster.c:1674:6 [15:39:09.991] frame #24: 0x00000001022ba980 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [15:39:09.991] frame #25: 0x000000010220ee74 postgres`main(argc=4, argv=0x0000600003ac9200) at main.c:197:3 [15:39:09.991] frame #26: 0x0000000188beff28 dyld`start + 2236 [15:39:09.991] (lldb) quit [15:39:10.007] -e [15:39:10.007] [15:39:10.007] [15:39:10.127] (lldb) target create --core "/Users/admin/cores/core.17758" [15:39:20.860] Core file '/Users/admin/cores/core.17758' (arm64) was loaded. [15:39:20.860] (lldb) thread backtrace all [15:39:21.496] * thread #1 [15:39:21.496] * frame #0: 0x0000000188f10764 libsystem_kernel.dylib`__pthread_kill + 8 [15:39:21.496] frame #1: 0x0000000188f47c28 libsystem_pthread.dylib`pthread_kill + 288 [15:39:21.496] frame #2: 0x0000000188e55ae8 libsystem_c.dylib`abort + 180 [15:39:21.496] frame #3: 0x00000001005126b8 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [15:39:21.496] frame #4: 0x0000000100255c84 postgres`ExecFetchSlotHeapTuple(slot=0x000000016fd34230, materialize=, shouldFree=) at execTuples.c:1737:2 [15:39:21.496] frame #5: 0x0000000100225000 postgres`ExecIRDeleteTriggers(estate=0x0000000145830b00, relinfo=0x00000001458310b0, slot=0x000000016fd34230) at trigger.c:2832:15 [15:39:21.496] frame #6: 0x0000000100275d38 postgres`ExecModifyTable at nodeModifyTable.c:2974:11 [15:39:21.496] frame #7: 0x000000010027594c postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016fd34250, resultRelInfo=0x00000001458310b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2736:11 [15:39:21.496] frame #8: 0x000000010027594c postgres`ExecModifyTable(pstate=0x0000000145830ea0) at nodeModifyTable.c:4065:12 [15:39:21.496] frame #9: 0x0000000100250480 postgres`ExecProcNodeFirst(node=0x0000000145830ea0) at execProcnode.c:464:9 [15:39:21.496] frame #10: 0x0000000100249794 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x0000000145830ea0) at executor.h:274:9 [15:39:21.496] frame #11: 0x0000000100249778 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x0000000145830b00, planstate=0x0000000145830ea0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000013581fd10, execute_once=) at execMain.c:1646:10 [15:39:21.496] frame #12: 0x000000010024974c postgres`standard_ExecutorRun(queryDesc=0x000000013581e248, direction=, count=0, execute_once=) at execMain.c:363:3 [15:39:21.496] frame #13: 0x0000000100ef8248 pg_stat_statements.dylib`pgss_ExecutorRun(queryDesc=0x000000013581e248, direction=ForwardScanDirection, count=0, execute_once=true) at pg_stat_statements.c:1032:4 [15:39:21.496] frame #14: 0x0000000100249654 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:302:3 [15:39:21.496] frame #15: 0x00000001003e6960 postgres`ProcessQuery(plan=0x00000001280b0ce8, 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=0x000000013581fd10, qc=0x000000016fd345b0) at pquery.c:160:2 [15:39:21.496] frame #16: 0x00000001003e600c postgres`PortalRunMulti(portal=0x0000000145038500, isTopLevel=true, setHoldSnapshot=true, dest=0x000000013581fd10, altdest=0x0000000100891468, qc=0x000000016fd345b0) at pquery.c:0 [15:39:21.496] frame #17: 0x00000001003e5bd0 postgres`FillPortalStore(portal=0x0000000145038500, isTopLevel=true) at pquery.c:1026:4 [15:39:21.496] frame #18: 0x00000001003e5944 postgres`PortalRun(portal=0x0000000145038500, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x00000001280b0e48, altdest=0x00000001280b0e48, qc=0x000000016fd347a8) at pquery.c:763:6 [15:39:21.496] frame #19: 0x00000001003e4900 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 [15:39:21.496] frame #20: 0x00000001003e2684 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [15:39:21.496] frame #21: 0x00000001003de04c postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:101:2 [15:39:21.496] frame #22: 0x00000001003489d4 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016fd34ba0) at launch_backend.c:265:3 [15:39:21.496] frame #23: 0x000000010034cf20 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016fd34ba0) at postmaster.c:3593:8 [15:39:21.496] frame #24: 0x000000010034cd38 postgres`ServerLoop at postmaster.c:1674:6 [15:39:21.496] frame #25: 0x000000010034a980 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [15:39:21.496] frame #26: 0x000000010029ee74 postgres`main(argc=4, argv=0x0000600002f25200) at main.c:197:3 [15:39:21.496] frame #27: 0x0000000188beff28 dyld`start + 2236 [15:39:21.496] (lldb) quit [15:39:21.507] -e [15:39:21.507] [15:39:21.507] [15:39:21.623] (lldb) target create --core "/Users/admin/cores/core.11668" [15:39:33.191] Core file '/Users/admin/cores/core.11668' (arm64) was loaded. [15:39:33.191] (lldb) thread backtrace all [15:39:33.839] * thread #1 [15:39:33.839] * frame #0: 0x0000000188f10764 libsystem_kernel.dylib`__pthread_kill + 8 [15:39:33.839] frame #1: 0x0000000188f47c28 libsystem_pthread.dylib`pthread_kill + 288 [15:39:33.839] frame #2: 0x0000000188e55ae8 libsystem_c.dylib`abort + 180 [15:39:33.839] frame #3: 0x00000001011526b8 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [15:39:33.839] frame #4: 0x0000000100e95c84 postgres`ExecFetchSlotHeapTuple(slot=0x000000016f0f43a0, materialize=, shouldFree=) at execTuples.c:1737:2 [15:39:33.839] frame #5: 0x0000000100e65000 postgres`ExecIRDeleteTriggers(estate=0x000000013c0ad500, relinfo=0x000000013c0adab0, slot=0x000000016f0f43a0) at trigger.c:2832:15 [15:39:33.839] frame #6: 0x0000000100eb5d38 postgres`ExecModifyTable at nodeModifyTable.c:2974:11 [15:39:33.839] frame #7: 0x0000000100eb594c postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016f0f43c0, resultRelInfo=0x000000013c0adab0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2736:11 [15:39:33.839] frame #8: 0x0000000100eb594c postgres`ExecModifyTable(pstate=0x000000013c0ad8a0) at nodeModifyTable.c:4065:12 [15:39:33.839] frame #9: 0x0000000100e90480 postgres`ExecProcNodeFirst(node=0x000000013c0ad8a0) at execProcnode.c:464:9 [15:39:33.839] frame #10: 0x0000000100e89794 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000013c0ad8a0) at executor.h:274:9 [15:39:33.839] frame #11: 0x0000000100e89778 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000013c0ad500, planstate=0x000000013c0ad8a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000013c108710, execute_once=) at execMain.c:1646:10 [15:39:33.839] frame #12: 0x0000000100e8974c postgres`standard_ExecutorRun(queryDesc=0x000000013d019248, direction=, count=0, execute_once=) at execMain.c:363:3 [15:39:33.839] frame #13: 0x0000000100e89660 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [15:39:33.839] frame #14: 0x0000000101026960 postgres`ProcessQuery(plan=0x000000011008fdd8, 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=0x000000013c108710, qc=0x000000016f0f45e0) at pquery.c:160:2 [15:39:33.839] frame #15: 0x000000010102600c postgres`PortalRunMulti(portal=0x000000013c03a300, isTopLevel=true, setHoldSnapshot=true, dest=0x000000013c108710, altdest=0x00000001014d1468, qc=0x000000016f0f45e0) at pquery.c:0 [15:39:33.839] frame #16: 0x0000000101025bd0 postgres`FillPortalStore(portal=0x000000013c03a300, isTopLevel=true) at pquery.c:1026:4 [15:39:33.839] frame #17: 0x0000000101025944 postgres`PortalRun(portal=0x000000013c03a300, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000011008ff38, altdest=0x000000011008ff38, qc=0x000000016f0f47d8) at pquery.c:763:6 [15:39:33.839] frame #18: 0x0000000101024900 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 [15:39:33.839] frame #19: 0x0000000101022684 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [15:39:33.839] frame #20: 0x000000010101e04c postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:101:2 [15:39:33.839] frame #21: 0x0000000100f889d4 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016f0f4bd0) at launch_backend.c:265:3 [15:39:33.839] frame #22: 0x0000000100f8cf20 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016f0f4bd0) at postmaster.c:3593:8 [15:39:33.839] frame #23: 0x0000000100f8cd38 postgres`ServerLoop at postmaster.c:1674:6 [15:39:33.839] frame #24: 0x0000000100f8a980 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [15:39:33.839] frame #25: 0x0000000100edee74 postgres`main(argc=8, argv=0x0000600000e543c0) at main.c:197:3 [15:39:33.839] frame #26: 0x0000000188beff28 dyld`start + 2236 [15:39:33.839] (lldb) quit