[23:48:56.635] src/tools/ci/cores_backtrace.sh macos "${HOME}/cores" [23:48:57.511] (lldb) target create --core "/Users/admin/cores/core.9166" [23:49:17.723] Core file '/Users/admin/cores/core.9166' (arm64) was loaded. [23:49:17.723] (lldb) thread backtrace all [23:49:18.454] * thread #1 [23:49:18.454] * frame #0: 0x000000018afb55f0 libsystem_kernel.dylib`__pthread_kill + 8 [23:49:18.454] frame #1: 0x000000018afedc20 libsystem_pthread.dylib`pthread_kill + 288 [23:49:18.454] frame #2: 0x000000018aefaa30 libsystem_c.dylib`abort + 180 [23:49:18.454] frame #3: 0x0000000100f469a8 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [23:49:18.454] frame #4: 0x0000000100c862a4 postgres`ExecFetchSlotHeapTuple(slot=0x000000016f308230, materialize=, shouldFree=) at execTuples.c:1737:2 [23:49:18.454] frame #5: 0x0000000100c542f8 postgres`ExecIRDeleteTriggers(estate=0x000000012285b700, relinfo=0x000000012285bcb0, slot=0x000000016f308230) at trigger.c:2841:15 [23:49:18.454] frame #6: 0x0000000100ca6250 postgres`ExecModifyTable at nodeModifyTable.c:3043:11 [23:49:18.454] frame #7: 0x0000000100ca5edc postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016f308250, resultRelInfo=0x000000012285bcb0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2804:11 [23:49:18.454] frame #8: 0x0000000100ca5edc postgres`ExecModifyTable(pstate=0x000000012285baa0) at nodeModifyTable.c:4133:12 [23:49:18.454] frame #9: 0x0000000100c79c04 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000012285baa0) at executor.h:278:9 [23:49:18.454] frame #10: 0x0000000100c79be8 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000012285b700, planstate=0x000000012285baa0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x0000000122882510, execute_once=) at execMain.c:1641:10 [23:49:18.454] frame #11: 0x0000000100c79bbc postgres`standard_ExecutorRun(queryDesc=0x000000012285de48, direction=, count=0, execute_once=) at execMain.c:358:3 [23:49:18.454] frame #12: 0x0000000100c79ad8 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:299:3 [artificial] [23:49:18.454] frame #13: 0x0000000100e19208 postgres`ProcessQuery(plan=0x0000000138090628, 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=0x0000000122882510, qc=0x000000016f308440) at pquery.c:160:2 [23:49:18.454] frame #14: 0x0000000100e188b0 postgres`PortalRunMulti(portal=0x0000000123833f00, isTopLevel=true, setHoldSnapshot=true, dest=0x0000000122882510, altdest=0x00000001012cd7c0, qc=0x000000016f308440) at pquery.c:0 [23:49:18.454] frame #15: 0x0000000100e18474 postgres`FillPortalStore(portal=0x0000000123833f00, isTopLevel=true) at pquery.c:1026:4 [23:49:18.454] frame #16: 0x0000000100e181e8 postgres`PortalRun(portal=0x0000000123833f00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000138090788, altdest=0x0000000138090788, qc=0x000000016f308638) at pquery.c:763:6 [23:49:18.454] frame #17: 0x0000000100e171a8 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 [23:49:18.454] frame #18: 0x0000000100e14f24 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [23:49:18.454] frame #19: 0x0000000100e1020c postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [23:49:18.454] frame #20: 0x0000000100d77da8 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016f308a40) at launch_backend.c:274:3 [23:49:18.454] frame #21: 0x0000000100d7befc postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016f308a40) at postmaster.c:3414:8 [23:49:18.454] frame #22: 0x0000000100d7bd74 postgres`ServerLoop at postmaster.c:1648:6 [23:49:18.454] frame #23: 0x0000000100d79ed8 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [23:49:18.454] frame #24: 0x0000000100ccf2f4 postgres`main(argc=8, argv=0x00006000009482d0) at main.c:197:3 [23:49:18.454] frame #25: 0x000000018ac63154 dyld`start + 2476 [23:49:18.454] (lldb) quit [23:49:18.464] -e [23:49:18.464] [23:49:18.464] [23:49:18.617] (lldb) target create --core "/Users/admin/cores/core.17092" [23:49:38.545] Core file '/Users/admin/cores/core.17092' (arm64) was loaded. [23:49:38.545] (lldb) thread backtrace all [23:49:39.221] * thread #1 [23:49:39.221] * frame #0: 0x000000018afb55f0 libsystem_kernel.dylib`__pthread_kill + 8 [23:49:39.221] frame #1: 0x000000018afedc20 libsystem_pthread.dylib`pthread_kill + 288 [23:49:39.221] frame #2: 0x000000018aefaa30 libsystem_c.dylib`abort + 180 [23:49:39.221] frame #3: 0x00000001049ea9a8 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [23:49:39.221] frame #4: 0x000000010472a2a4 postgres`ExecFetchSlotHeapTuple(slot=0x000000016b8640c0, materialize=, shouldFree=) at execTuples.c:1737:2 [23:49:39.221] frame #5: 0x00000001046f82f8 postgres`ExecIRDeleteTriggers(estate=0x0000000137866b00, relinfo=0x00000001378670b0, slot=0x000000016b8640c0) at trigger.c:2841:15 [23:49:39.221] frame #6: 0x000000010474a250 postgres`ExecModifyTable at nodeModifyTable.c:3043:11 [23:49:39.221] frame #7: 0x0000000104749edc postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016b8640e0, resultRelInfo=0x00000001378670b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2804:11 [23:49:39.221] frame #8: 0x0000000104749edc postgres`ExecModifyTable(pstate=0x0000000137866ea0) at nodeModifyTable.c:4133:12 [23:49:39.221] frame #9: 0x000000010471dc04 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x0000000137866ea0) at executor.h:278:9 [23:49:39.221] frame #10: 0x000000010471dbe8 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x0000000137866b00, planstate=0x0000000137866ea0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x0000000140070710, execute_once=) at execMain.c:1641:10 [23:49:39.221] frame #11: 0x000000010471dbbc postgres`standard_ExecutorRun(queryDesc=0x0000000127063048, direction=, count=0, execute_once=) at execMain.c:358:3 [23:49:39.221] frame #12: 0x0000000105117e38 pg_stat_statements.dylib`pgss_ExecutorRun(queryDesc=0x0000000127063048, direction=ForwardScanDirection, count=0, execute_once=true) at pg_stat_statements.c:1031:4 [23:49:39.221] frame #13: 0x00000001048bd208 postgres`ProcessQuery(plan=0x0000000118020de8, 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=0x0000000140070710, qc=0x000000016b864410) at pquery.c:160:2 [23:49:39.221] frame #14: 0x00000001048bc8b0 postgres`PortalRunMulti(portal=0x000000012702ab00, isTopLevel=true, setHoldSnapshot=true, dest=0x0000000140070710, altdest=0x0000000104d717c0, qc=0x000000016b864410) at pquery.c:0 [23:49:39.221] frame #15: 0x00000001048bc474 postgres`FillPortalStore(portal=0x000000012702ab00, isTopLevel=true) at pquery.c:1026:4 [23:49:39.221] frame #16: 0x00000001048bc1e8 postgres`PortalRun(portal=0x000000012702ab00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000118020f48, altdest=0x0000000118020f48, qc=0x000000016b864608) at pquery.c:763:6 [23:49:39.221] frame #17: 0x00000001048bb1a8 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 [23:49:39.221] frame #18: 0x00000001048b8f24 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [23:49:39.221] frame #19: 0x00000001048b420c postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [23:49:39.221] frame #20: 0x000000010481bda8 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016b864a10) at launch_backend.c:274:3 [23:49:39.221] frame #21: 0x000000010481fefc postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016b864a10) at postmaster.c:3414:8 [23:49:39.221] frame #22: 0x000000010481fd74 postgres`ServerLoop at postmaster.c:1648:6 [23:49:39.221] frame #23: 0x000000010481ded8 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [23:49:39.221] frame #24: 0x00000001047732f4 postgres`main(argc=4, argv=0x00006000013607b0) at main.c:197:3 [23:49:39.221] frame #25: 0x000000018ac63154 dyld`start + 2476 [23:49:39.221] (lldb) quit [23:49:39.231] -e [23:49:39.231] [23:49:39.231] [23:49:39.367] (lldb) target create --core "/Users/admin/cores/core.9264" [23:49:59.967] Core file '/Users/admin/cores/core.9264' (arm64) was loaded. [23:49:59.967] (lldb) thread backtrace all [23:50:00.655] * thread #1 [23:50:00.655] * frame #0: 0x000000018afb55f0 libsystem_kernel.dylib`__pthread_kill + 8 [23:50:00.655] frame #1: 0x000000018afedc20 libsystem_pthread.dylib`pthread_kill + 288 [23:50:00.655] frame #2: 0x000000018aefaa30 libsystem_c.dylib`abort + 180 [23:50:00.655] frame #3: 0x00000001044fe9a8 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [23:50:00.655] frame #4: 0x000000010423e2a4 postgres`ExecFetchSlotHeapTuple(slot=0x000000016bd50220, materialize=, shouldFree=) at execTuples.c:1737:2 [23:50:00.655] frame #5: 0x000000010420c2f8 postgres`ExecIRDeleteTriggers(estate=0x0000000121871700, relinfo=0x0000000121871cb0, slot=0x000000016bd50220) at trigger.c:2841:15 [23:50:00.655] frame #6: 0x000000010425e250 postgres`ExecModifyTable at nodeModifyTable.c:3043:11 [23:50:00.655] frame #7: 0x000000010425dedc postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016bd50240, resultRelInfo=0x0000000121871cb0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2804:11 [23:50:00.655] frame #8: 0x000000010425dedc postgres`ExecModifyTable(pstate=0x0000000121871aa0) at nodeModifyTable.c:4133:12 [23:50:00.655] frame #9: 0x0000000104231c04 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x0000000121871aa0) at executor.h:278:9 [23:50:00.655] frame #10: 0x0000000104231be8 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x0000000121871700, planstate=0x0000000121871aa0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000011387c910, execute_once=) at execMain.c:1641:10 [23:50:00.655] frame #11: 0x0000000104231bbc postgres`standard_ExecutorRun(queryDesc=0x0000000113010448, direction=, count=0, execute_once=) at execMain.c:358:3 [23:50:00.655] frame #12: 0x0000000104231ad8 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:299:3 [artificial] [23:50:00.655] frame #13: 0x00000001043d1208 postgres`ProcessQuery(plan=0x00000001380d7e88, 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=0x000000011387c910, qc=0x000000016bd50430) at pquery.c:160:2 [23:50:00.655] frame #14: 0x00000001043d08b0 postgres`PortalRunMulti(portal=0x000000011382c100, isTopLevel=true, setHoldSnapshot=true, dest=0x000000011387c910, altdest=0x00000001048857c0, qc=0x000000016bd50430) at pquery.c:0 [23:50:00.655] frame #15: 0x00000001043d0474 postgres`FillPortalStore(portal=0x000000011382c100, isTopLevel=true) at pquery.c:1026:4 [23:50:00.655] frame #16: 0x00000001043d01e8 postgres`PortalRun(portal=0x000000011382c100, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x00000001380d7fe8, altdest=0x00000001380d7fe8, qc=0x000000016bd50628) at pquery.c:763:6 [23:50:00.655] frame #17: 0x00000001043cf1a8 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 [23:50:00.655] frame #18: 0x00000001043ccf24 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [23:50:00.655] frame #19: 0x00000001043c820c postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [23:50:00.655] frame #20: 0x000000010432fda8 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016bd50a30) at launch_backend.c:274:3 [23:50:00.655] frame #21: 0x0000000104333efc postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016bd50a30) at postmaster.c:3414:8 [23:50:00.655] frame #22: 0x0000000104333d74 postgres`ServerLoop at postmaster.c:1648:6 [23:50:00.655] frame #23: 0x0000000104331ed8 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [23:50:00.655] frame #24: 0x00000001042872f4 postgres`main(argc=4, argv=0x00006000021fcb70) at main.c:197:3 [23:50:00.655] frame #25: 0x000000018ac63154 dyld`start + 2476 [23:50:00.655] (lldb) quit