[04:23:43.066] src/tools/ci/cores_backtrace.sh macos "${HOME}/cores" [04:23:44.000] (lldb) target create --core "/Users/admin/cores/core.16578" [04:24:03.851] Core file '/Users/admin/cores/core.16578' (arm64) was loaded. [04:24:03.851] (lldb) thread backtrace all [04:24:04.635] * thread #1 [04:24:04.635] * frame #0: 0x000000019ed8d5f0 libsystem_kernel.dylib`__pthread_kill + 8 [04:24:04.635] frame #1: 0x000000019edc5c20 libsystem_pthread.dylib`pthread_kill + 288 [04:24:04.635] frame #2: 0x000000019ecd2a30 libsystem_c.dylib`abort + 180 [04:24:04.635] frame #3: 0x00000001013c684c postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [04:24:04.635] frame #4: 0x0000000101105e58 postgres`ExecFetchSlotHeapTuple(slot=0x000000016ee880c0, materialize=, shouldFree=) at execTuples.c:1737:2 [04:24:04.635] frame #5: 0x00000001010d3eac postgres`ExecIRDeleteTriggers(estate=0x0000000123824700, relinfo=0x0000000123824cb0, slot=0x000000016ee880c0) at trigger.c:2841:15 [04:24:04.635] frame #6: 0x0000000101125e04 postgres`ExecModifyTable at nodeModifyTable.c:3043:11 [04:24:04.635] frame #7: 0x0000000101125a90 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016ee880e0, resultRelInfo=0x0000000123824cb0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2804:11 [04:24:04.635] frame #8: 0x0000000101125a90 postgres`ExecModifyTable(pstate=0x0000000123824aa0) at nodeModifyTable.c:4133:12 [04:24:04.635] frame #9: 0x00000001010f97b8 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x0000000123824aa0) at executor.h:278:9 [04:24:04.635] frame #10: 0x00000001010f979c postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x0000000123824700, planstate=0x0000000123824aa0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x0000000145073510, execute_once=) at execMain.c:1641:10 [04:24:04.635] frame #11: 0x00000001010f9770 postgres`standard_ExecutorRun(queryDesc=0x0000000145081e48, direction=, count=0, execute_once=) at execMain.c:358:3 [04:24:04.635] frame #12: 0x0000000101af3e38 pg_stat_statements.dylib`pgss_ExecutorRun(queryDesc=0x0000000145081e48, direction=ForwardScanDirection, count=0, execute_once=true) at pg_stat_statements.c:1031:4 [04:24:04.635] frame #13: 0x0000000101298d50 postgres`ProcessQuery(plan=0x0000000128020e40, 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=0x0000000145073510, qc=0x000000016ee88410) at pquery.c:160:2 [04:24:04.635] frame #14: 0x00000001012983f8 postgres`PortalRunMulti(portal=0x0000000145034900, isTopLevel=true, setHoldSnapshot=true, dest=0x0000000145073510, altdest=0x000000010174d7c0, qc=0x000000016ee88410) at pquery.c:0 [04:24:04.635] frame #15: 0x0000000101297fbc postgres`FillPortalStore(portal=0x0000000145034900, isTopLevel=true) at pquery.c:1026:4 [04:24:04.635] frame #16: 0x0000000101297d30 postgres`PortalRun(portal=0x0000000145034900, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000128020fa0, altdest=0x0000000128020fa0, qc=0x000000016ee88608) at pquery.c:763:6 [04:24:04.635] frame #17: 0x0000000101296cf0 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 [04:24:04.635] frame #18: 0x0000000101294a6c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [04:24:04.635] frame #19: 0x000000010128fd54 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [04:24:04.635] frame #20: 0x00000001011f795c postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016ee88a10) at launch_backend.c:274:3 [04:24:04.635] frame #21: 0x00000001011fbab0 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016ee88a10) at postmaster.c:3414:8 [04:24:04.635] frame #22: 0x00000001011fb928 postgres`ServerLoop at postmaster.c:1648:6 [04:24:04.635] frame #23: 0x00000001011f9a8c postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [04:24:04.635] frame #24: 0x000000010114eea8 postgres`main(argc=4, argv=0x0000600000e64b70) at main.c:197:3 [04:24:04.635] frame #25: 0x000000019ea3b154 dyld`start + 2476 [04:24:04.635] (lldb) quit [04:24:04.644] -e [04:24:04.644] [04:24:04.644] [04:24:04.796] (lldb) target create --core "/Users/admin/cores/core.9296" [04:24:25.585] Core file '/Users/admin/cores/core.9296' (arm64) was loaded. [04:24:25.585] (lldb) thread backtrace all [04:24:26.441] * thread #1 [04:24:26.441] * frame #0: 0x000000019ed8d5f0 libsystem_kernel.dylib`__pthread_kill + 8 [04:24:26.441] frame #1: 0x000000019edc5c20 libsystem_pthread.dylib`pthread_kill + 288 [04:24:26.441] frame #2: 0x000000019ecd2a30 libsystem_c.dylib`abort + 180 [04:24:26.441] frame #3: 0x0000000100c9284c postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [04:24:26.441] frame #4: 0x00000001009d1e58 postgres`ExecFetchSlotHeapTuple(slot=0x000000016f5bc220, materialize=, shouldFree=) at execTuples.c:1737:2 [04:24:26.441] frame #5: 0x000000010099feac postgres`ExecIRDeleteTriggers(estate=0x000000013e02e300, relinfo=0x000000013e02e8b0, slot=0x000000016f5bc220) at trigger.c:2841:15 [04:24:26.441] frame #6: 0x00000001009f1e04 postgres`ExecModifyTable at nodeModifyTable.c:3043:11 [04:24:26.441] frame #7: 0x00000001009f1a90 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016f5bc240, resultRelInfo=0x000000013e02e8b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2804:11 [04:24:26.441] frame #8: 0x00000001009f1a90 postgres`ExecModifyTable(pstate=0x000000013e02e6a0) at nodeModifyTable.c:4133:12 [04:24:26.441] frame #9: 0x00000001009c57b8 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000013e02e6a0) at executor.h:278:9 [04:24:26.441] frame #10: 0x00000001009c579c postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000013e02e300, planstate=0x000000013e02e6a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000012e88dd10, execute_once=) at execMain.c:1641:10 [04:24:26.441] frame #11: 0x00000001009c5770 postgres`standard_ExecutorRun(queryDesc=0x000000013e02ac48, direction=, count=0, execute_once=) at execMain.c:358:3 [04:24:26.441] frame #12: 0x00000001009c568c postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:299:3 [artificial] [04:24:26.441] frame #13: 0x0000000100b64d50 postgres`ProcessQuery(plan=0x000000013000fe88, 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=0x000000012e88dd10, qc=0x000000016f5bc430) at pquery.c:160:2 [04:24:26.441] frame #14: 0x0000000100b643f8 postgres`PortalRunMulti(portal=0x000000012d82eb00, isTopLevel=true, setHoldSnapshot=true, dest=0x000000012e88dd10, altdest=0x00000001010197c0, qc=0x000000016f5bc430) at pquery.c:0 [04:24:26.441] frame #15: 0x0000000100b63fbc postgres`FillPortalStore(portal=0x000000012d82eb00, isTopLevel=true) at pquery.c:1026:4 [04:24:26.441] frame #16: 0x0000000100b63d30 postgres`PortalRun(portal=0x000000012d82eb00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000013000ffe8, altdest=0x000000013000ffe8, qc=0x000000016f5bc628) at pquery.c:763:6 [04:24:26.441] frame #17: 0x0000000100b62cf0 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 [04:24:26.441] frame #18: 0x0000000100b60a6c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [04:24:26.441] frame #19: 0x0000000100b5bd54 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [04:24:26.441] frame #20: 0x0000000100ac395c postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016f5bca30) at launch_backend.c:274:3 [04:24:26.441] frame #21: 0x0000000100ac7ab0 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016f5bca30) at postmaster.c:3414:8 [04:24:26.441] frame #22: 0x0000000100ac7928 postgres`ServerLoop at postmaster.c:1648:6 [04:24:26.441] frame #23: 0x0000000100ac5a8c postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [04:24:26.441] frame #24: 0x0000000100a1aea8 postgres`main(argc=4, argv=0x0000600002dc8b70) at main.c:197:3 [04:24:26.441] frame #25: 0x000000019ea3b154 dyld`start + 2476 [04:24:26.441] (lldb) quit [04:24:26.452] -e [04:24:26.452] [04:24:26.452] [04:24:26.702] (lldb) target create --core "/Users/admin/cores/core.9149" [04:24:49.026] Core file '/Users/admin/cores/core.9149' (arm64) was loaded. [04:24:49.026] (lldb) thread backtrace all [04:24:49.786] * thread #1 [04:24:49.786] * frame #0: 0x000000019ed8d5f0 libsystem_kernel.dylib`__pthread_kill + 8 [04:24:49.786] frame #1: 0x000000019edc5c20 libsystem_pthread.dylib`pthread_kill + 288 [04:24:49.786] frame #2: 0x000000019ecd2a30 libsystem_c.dylib`abort + 180 [04:24:49.786] frame #3: 0x000000010486284c postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [04:24:49.786] frame #4: 0x00000001045a1e58 postgres`ExecFetchSlotHeapTuple(slot=0x000000016b9ec230, materialize=, shouldFree=) at execTuples.c:1737:2 [04:24:49.786] frame #5: 0x000000010456feac postgres`ExecIRDeleteTriggers(estate=0x000000013007b900, relinfo=0x000000013007beb0, slot=0x000000016b9ec230) at trigger.c:2841:15 [04:24:49.786] frame #6: 0x00000001045c1e04 postgres`ExecModifyTable at nodeModifyTable.c:3043:11 [04:24:49.786] frame #7: 0x00000001045c1a90 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016b9ec250, resultRelInfo=0x000000013007beb0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2804:11 [04:24:49.786] frame #8: 0x00000001045c1a90 postgres`ExecModifyTable(pstate=0x000000013007bca0) at nodeModifyTable.c:4133:12 [04:24:49.786] frame #9: 0x00000001045957b8 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000013007bca0) at executor.h:278:9 [04:24:49.786] frame #10: 0x000000010459579c postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000013007b900, planstate=0x000000013007bca0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x00000001300cdd10, execute_once=) at execMain.c:1641:10 [04:24:49.786] frame #11: 0x0000000104595770 postgres`standard_ExecutorRun(queryDesc=0x000000012f861648, direction=, count=0, execute_once=) at execMain.c:358:3 [04:24:49.786] frame #12: 0x000000010459568c postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:299:3 [artificial] [04:24:49.786] frame #13: 0x0000000104734d50 postgres`ProcessQuery(plan=0x00000001400a7ed8, 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=0x00000001300cdd10, qc=0x000000016b9ec440) at pquery.c:160:2 [04:24:49.786] frame #14: 0x00000001047343f8 postgres`PortalRunMulti(portal=0x000000011f832b00, isTopLevel=true, setHoldSnapshot=true, dest=0x00000001300cdd10, altdest=0x0000000104be97c0, qc=0x000000016b9ec440) at pquery.c:0 [04:24:49.786] frame #15: 0x0000000104733fbc postgres`FillPortalStore(portal=0x000000011f832b00, isTopLevel=true) at pquery.c:1026:4 [04:24:49.786] frame #16: 0x0000000104733d30 postgres`PortalRun(portal=0x000000011f832b00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x00000001400a8038, altdest=0x00000001400a8038, qc=0x000000016b9ec638) at pquery.c:763:6 [04:24:49.786] frame #17: 0x0000000104732cf0 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 [04:24:49.786] frame #18: 0x0000000104730a6c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [04:24:49.786] frame #19: 0x000000010472bd54 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [04:24:49.786] frame #20: 0x000000010469395c postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016b9eca40) at launch_backend.c:274:3 [04:24:49.786] frame #21: 0x0000000104697ab0 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016b9eca40) at postmaster.c:3414:8 [04:24:49.786] frame #22: 0x0000000104697928 postgres`ServerLoop at postmaster.c:1648:6 [04:24:49.786] frame #23: 0x0000000104695a8c postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [04:24:49.786] frame #24: 0x00000001045eaea8 postgres`main(argc=8, argv=0x0000600002ff4410) at main.c:197:3 [04:24:49.786] frame #25: 0x000000019ea3b154 dyld`start + 2476 [04:24:49.786] (lldb) quit