[22:14:30.910] src/tools/ci/cores_backtrace.sh macos "${HOME}/cores" [22:14:31.646] (lldb) target create --core "/Users/admin/cores/core.13209" [22:14:51.257] Core file '/Users/admin/cores/core.13209' (arm64) was loaded. [22:14:51.257] (lldb) thread backtrace all [22:14:52.022] * thread #1 [22:14:52.022] * frame #0: 0x0000000198bc8764 libsystem_kernel.dylib`__pthread_kill + 8 [22:14:52.022] frame #1: 0x0000000198bffc28 libsystem_pthread.dylib`pthread_kill + 288 [22:14:52.022] frame #2: 0x0000000198b0dae8 libsystem_c.dylib`abort + 180 [22:14:52.022] frame #3: 0x0000000104eaf808 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1649) at assert.c:66:2 [22:14:52.022] frame #4: 0x0000000104bf825c postgres`ExecFetchSlotHeapTuple(slot=0x000000016b38c258, materialize=, shouldFree=) at execTuples.c:1649:2 [22:14:52.022] frame #5: 0x0000000104bc8828 postgres`ExecIRDeleteTriggers(estate=0x000000013f07bd00, relinfo=0x000000013f07c2b0, slot=0x000000016b38c258) at trigger.c:2841:15 [22:14:52.022] frame #6: 0x0000000104c18550 postgres`ExecMerge at nodeModifyTable.c:2991:11 [22:14:52.022] frame #7: 0x0000000104c18200 postgres`ExecMerge(context=, resultRelInfo=0x000000013f07c2b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=true) at nodeModifyTable.c:2772:11 [22:14:52.022] frame #8: 0x0000000104c17cac postgres`ExecModifyTable(pstate=0x000000013f07c0a0) at nodeModifyTable.c:4028:12 [22:14:52.022] frame #9: 0x0000000104bf2c10 postgres`ExecProcNodeFirst(node=0x000000013f07c0a0) at execProcnode.c:464:9 [22:14:52.022] frame #10: 0x0000000104bebf48 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000013f07c0a0) at executor.h:274:9 [22:14:52.022] frame #11: 0x0000000104bebf2c postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000013f07bd00, planstate=0x000000013f07c0a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000013f0c7f10, execute_once=) at execMain.c:1644:10 [22:14:52.022] frame #12: 0x0000000104bebf00 postgres`standard_ExecutorRun(queryDesc=0x000000012e83aa48, direction=, count=0, execute_once=) at execMain.c:363:3 [22:14:52.022] frame #13: 0x000000010587c248 pg_stat_statements.dylib`pgss_ExecutorRun(queryDesc=0x000000012e83aa48, direction=ForwardScanDirection, count=0, execute_once=true) at pg_stat_statements.c:1032:4 [22:14:52.022] frame #14: 0x0000000104bebe08 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:302:3 [22:14:52.022] frame #15: 0x0000000104d86f64 postgres`ProcessQuery(plan=0x00000001200b0630, 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=0x000000013f0c7f10, qc=0x000000016b38c5b0) at pquery.c:160:2 [22:14:52.022] frame #16: 0x0000000104d86610 postgres`PortalRunMulti(portal=0x000000013f030300, isTopLevel=true, setHoldSnapshot=true, dest=0x000000013f0c7f10, altdest=0x0000000105219398, qc=0x000000016b38c5b0) at pquery.c:0 [22:14:52.022] frame #17: 0x0000000104d861d4 postgres`FillPortalStore(portal=0x000000013f030300, isTopLevel=true) at pquery.c:1026:4 [22:14:52.022] frame #18: 0x0000000104d85f48 postgres`PortalRun(portal=0x000000013f030300, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x00000001200b0790, altdest=0x00000001200b0790, qc=0x000000016b38c7a8) at pquery.c:763:6 [22:14:52.022] frame #19: 0x0000000104d84f04 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 [22:14:52.022] frame #20: 0x0000000104d82c88 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [22:14:52.022] frame #21: 0x0000000104d7e650 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:101:2 [22:14:52.022] frame #22: 0x0000000104ce911c postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016b38cba0) at launch_backend.c:267:3 [22:14:52.022] frame #23: 0x0000000104ced668 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016b38cba0) at postmaster.c:3593:8 [22:14:52.022] frame #24: 0x0000000104ced480 postgres`ServerLoop at postmaster.c:1674:6 [22:14:52.022] frame #25: 0x0000000104ceb0c8 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [22:14:52.022] frame #26: 0x0000000104c4117c postgres`main(argc=4, argv=0x0000600001e29200) at main.c:197:3 [22:14:52.022] frame #27: 0x00000001988a7f28 dyld`start + 2236 [22:14:52.022] (lldb) quit [22:14:52.045] -e [22:14:52.045] [22:14:52.045] [22:14:52.196] (lldb) target create --core "/Users/admin/cores/core.7622" [22:15:04.270] Core file '/Users/admin/cores/core.7622' (arm64) was loaded. [22:15:04.270] (lldb) thread backtrace all [22:15:04.887] * thread #1 [22:15:04.887] * frame #0: 0x0000000198bc8764 libsystem_kernel.dylib`__pthread_kill + 8 [22:15:04.887] frame #1: 0x0000000198bffc28 libsystem_pthread.dylib`pthread_kill + 288 [22:15:04.887] frame #2: 0x0000000198b0dae8 libsystem_c.dylib`abort + 180 [22:15:04.887] frame #3: 0x000000010082b808 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1649) at assert.c:66:2 [22:15:04.887] frame #4: 0x000000010057425c postgres`ExecFetchSlotHeapTuple(slot=0x000000016fa103c8, materialize=, shouldFree=) at execTuples.c:1649:2 [22:15:04.887] frame #5: 0x0000000100544828 postgres`ExecIRDeleteTriggers(estate=0x000000013884b700, relinfo=0x000000013884bcb0, slot=0x000000016fa103c8) at trigger.c:2841:15 [22:15:04.887] frame #6: 0x0000000100594550 postgres`ExecMerge at nodeModifyTable.c:2991:11 [22:15:04.887] frame #7: 0x0000000100594200 postgres`ExecMerge(context=, resultRelInfo=0x000000013884bcb0, tupleid=0x0000000000000000, oldtuple=, canSetTag=true) at nodeModifyTable.c:2772:11 [22:15:04.887] frame #8: 0x0000000100593cac postgres`ExecModifyTable(pstate=0x000000013884baa0) at nodeModifyTable.c:4028:12 [22:15:04.887] frame #9: 0x000000010056ec10 postgres`ExecProcNodeFirst(node=0x000000013884baa0) at execProcnode.c:464:9 [22:15:04.887] frame #10: 0x0000000100567f48 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000013884baa0) at executor.h:274:9 [22:15:04.887] frame #11: 0x0000000100567f2c postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000013884b700, planstate=0x000000013884baa0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x0000000138886d10, execute_once=) at execMain.c:1644:10 [22:15:04.887] frame #12: 0x0000000100567f00 postgres`standard_ExecutorRun(queryDesc=0x0000000138090848, direction=, count=0, execute_once=) at execMain.c:363:3 [22:15:04.887] frame #13: 0x0000000100567e14 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [22:15:04.887] frame #14: 0x0000000100702f64 postgres`ProcessQuery(plan=0x00000001180376c0, 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=0x0000000138886d10, qc=0x000000016fa105e0) at pquery.c:160:2 [22:15:04.887] frame #15: 0x0000000100702610 postgres`PortalRunMulti(portal=0x000000013803ff00, isTopLevel=true, setHoldSnapshot=true, dest=0x0000000138886d10, altdest=0x0000000100b95398, qc=0x000000016fa105e0) at pquery.c:0 [22:15:04.887] frame #16: 0x00000001007021d4 postgres`FillPortalStore(portal=0x000000013803ff00, isTopLevel=true) at pquery.c:1026:4 [22:15:04.887] frame #17: 0x0000000100701f48 postgres`PortalRun(portal=0x000000013803ff00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000118037820, altdest=0x0000000118037820, qc=0x000000016fa107d8) at pquery.c:763:6 [22:15:04.887] frame #18: 0x0000000100700f04 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 [22:15:04.887] frame #19: 0x00000001006fec88 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [22:15:04.887] frame #20: 0x00000001006fa650 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:101:2 [22:15:04.887] frame #21: 0x000000010066511c postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016fa10bd0) at launch_backend.c:267:3 [22:15:04.887] frame #22: 0x0000000100669668 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016fa10bd0) at postmaster.c:3593:8 [22:15:04.887] frame #23: 0x0000000100669480 postgres`ServerLoop at postmaster.c:1674:6 [22:15:04.887] frame #24: 0x00000001006670c8 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [22:15:04.887] frame #25: 0x00000001005bd17c postgres`main(argc=8, argv=0x0000600003f0c3c0) at main.c:197:3 [22:15:04.887] frame #26: 0x00000001988a7f28 dyld`start + 2236 [22:15:04.887] (lldb) quit [22:15:04.899] -e [22:15:04.899] [22:15:04.899] [22:15:05.027] (lldb) target create --core "/Users/admin/cores/core.8010" [22:15:16.890] Core file '/Users/admin/cores/core.8010' (arm64) was loaded. [22:15:16.890] (lldb) thread backtrace all [22:15:17.493] * thread #1 [22:15:17.493] * frame #0: 0x0000000198bc8764 libsystem_kernel.dylib`__pthread_kill + 8 [22:15:17.493] frame #1: 0x0000000198bffc28 libsystem_pthread.dylib`pthread_kill + 288 [22:15:17.493] frame #2: 0x0000000198b0dae8 libsystem_c.dylib`abort + 180 [22:15:17.493] frame #3: 0x000000010471b808 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1649) at assert.c:66:2 [22:15:17.493] frame #4: 0x000000010446425c postgres`ExecFetchSlotHeapTuple(slot=0x000000016bb203b8, materialize=, shouldFree=) at execTuples.c:1649:2 [22:15:17.493] frame #5: 0x0000000104434828 postgres`ExecIRDeleteTriggers(estate=0x000000013300ef00, relinfo=0x000000013300f4b0, slot=0x000000016bb203b8) at trigger.c:2841:15 [22:15:17.493] frame #6: 0x0000000104484550 postgres`ExecMerge at nodeModifyTable.c:2991:11 [22:15:17.493] frame #7: 0x0000000104484200 postgres`ExecMerge(context=, resultRelInfo=0x000000013300f4b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=true) at nodeModifyTable.c:2772:11 [22:15:17.493] frame #8: 0x0000000104483cac postgres`ExecModifyTable(pstate=0x000000013300f2a0) at nodeModifyTable.c:4028:12 [22:15:17.493] frame #9: 0x000000010445ec10 postgres`ExecProcNodeFirst(node=0x000000013300f2a0) at execProcnode.c:464:9 [22:15:17.493] frame #10: 0x0000000104457f48 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000013300f2a0) at executor.h:274:9 [22:15:17.493] frame #11: 0x0000000104457f2c postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000013300ef00, planstate=0x000000013300f2a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000013305d910, execute_once=) at execMain.c:1644:10 [22:15:17.493] frame #12: 0x0000000104457f00 postgres`standard_ExecutorRun(queryDesc=0x000000012283f048, direction=, count=0, execute_once=) at execMain.c:363:3 [22:15:17.493] frame #13: 0x0000000104457e14 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [22:15:17.493] frame #14: 0x00000001045f2f64 postgres`ProcessQuery(plan=0x000000011800f6c0, 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=0x000000013305d910, qc=0x000000016bb205d0) at pquery.c:160:2 [22:15:17.493] frame #15: 0x00000001045f2610 postgres`PortalRunMulti(portal=0x000000011302c100, isTopLevel=true, setHoldSnapshot=true, dest=0x000000013305d910, altdest=0x0000000104a85398, qc=0x000000016bb205d0) at pquery.c:0 [22:15:17.493] frame #16: 0x00000001045f21d4 postgres`FillPortalStore(portal=0x000000011302c100, isTopLevel=true) at pquery.c:1026:4 [22:15:17.493] frame #17: 0x00000001045f1f48 postgres`PortalRun(portal=0x000000011302c100, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000011800f820, altdest=0x000000011800f820, qc=0x000000016bb207c8) at pquery.c:763:6 [22:15:17.493] frame #18: 0x00000001045f0f04 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 [22:15:17.493] frame #19: 0x00000001045eec88 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [22:15:17.493] frame #20: 0x00000001045ea650 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:101:2 [22:15:17.493] frame #21: 0x000000010455511c postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016bb20bc0) at launch_backend.c:267:3 [22:15:17.493] frame #22: 0x0000000104559668 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016bb20bc0) at postmaster.c:3593:8 [22:15:17.493] frame #23: 0x0000000104559480 postgres`ServerLoop at postmaster.c:1674:6 [22:15:17.493] frame #24: 0x00000001045570c8 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [22:15:17.493] frame #25: 0x00000001044ad17c postgres`main(argc=4, argv=0x00006000005f1200) at main.c:197:3 [22:15:17.493] frame #26: 0x00000001988a7f28 dyld`start + 2236 [22:15:17.493] (lldb) quit