[00:50:31.302] src/tools/ci/cores_backtrace.sh macos "${HOME}/cores" [00:50:33.580] (lldb) target create --core "/Users/admin/cores/core.7619" [00:51:12.405] Core file '/Users/admin/cores/core.7619' (arm64) was loaded. [00:51:12.405] (lldb) thread backtrace all [00:51:13.256] * thread #1 [00:51:13.256] * frame #0: 0x000000019ca555f0 libsystem_kernel.dylib`__pthread_kill + 8 [00:51:13.256] frame #1: 0x000000019ca8dc20 libsystem_pthread.dylib`pthread_kill + 288 [00:51:13.256] frame #2: 0x000000019c99aa30 libsystem_c.dylib`abort + 180 [00:51:13.256] frame #3: 0x00000001014532e8 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [00:51:13.256] frame #4: 0x0000000101190260 postgres`ExecFetchSlotHeapTuple(slot=0x000000016ee001f0, materialize=, shouldFree=) at execTuples.c:1737:2 [00:51:13.256] frame #5: 0x000000010115dfe0 postgres`ExecIRDeleteTriggers(estate=0x000000014a056300, relinfo=0x000000014a0568b0, slot=0x000000016ee001f0) at trigger.c:2842:15 [00:51:13.256] frame #6: 0x00000001011b0640 postgres`ExecModifyTable at nodeModifyTable.c:3082:11 [00:51:13.256] frame #7: 0x00000001011b0268 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016ee00210, resultRelInfo=, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2823:11 [00:51:13.256] frame #8: 0x00000001011b0268 postgres`ExecModifyTable(pstate=) at nodeModifyTable.c:4197:12 [00:51:13.256] frame #9: 0x0000000101183a6c postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000014a0566a0) at executor.h:278:9 [00:51:13.256] frame #10: 0x0000000101183a50 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000014a056300, planstate=0x000000014a0566a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000013a879710, execute_once=) at execMain.c:1659:10 [00:51:13.256] frame #11: 0x0000000101183a24 postgres`standard_ExecutorRun(queryDesc=0x000000014a0e2e48, direction=, count=0, execute_once=) at execMain.c:364:3 [00:51:13.256] frame #12: 0x0000000101183928 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:305:3 [artificial] [00:51:13.256] frame #13: 0x0000000101324dc8 postgres`ProcessQuery(plan=0x0000000150047f00, 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=0x000000013a879710, qc=0x000000016ee00400) at pquery.c:160:2 [00:51:13.256] frame #14: 0x0000000101324470 postgres`PortalRunMulti(portal=0x000000013a02db00, isTopLevel=true, setHoldSnapshot=true, dest=0x000000013a879710, altdest=0x000000010180d7b8, qc=0x000000016ee00400) at pquery.c:0 [00:51:13.256] frame #15: 0x0000000101324034 postgres`FillPortalStore(portal=0x000000013a02db00, isTopLevel=true) at pquery.c:1026:4 [00:51:13.256] frame #16: 0x0000000101323da8 postgres`PortalRun(portal=0x000000013a02db00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000150048060, altdest=0x0000000150048060, qc=0x000000016ee005f8) at pquery.c:763:6 [00:51:13.256] frame #17: 0x0000000101322d68 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:51:13.256] frame #18: 0x0000000101320a00 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [00:51:13.256] frame #19: 0x000000010131bcc4 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [00:51:13.256] frame #20: 0x0000000101283238 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016ee00a00) at launch_backend.c:274:3 [00:51:13.256] frame #21: 0x0000000101287390 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016ee00a00) at postmaster.c:3420:8 [00:51:13.256] frame #22: 0x0000000101287208 postgres`ServerLoop at postmaster.c:1653:6 [00:51:13.256] frame #23: 0x000000010128536c postgres`PostmasterMain(argc=, argv=) at postmaster.c:1351:11 [00:51:13.256] frame #24: 0x00000001011d9a68 postgres`main(argc=4, argv=0x000060000243cba0) at main.c:197:3 [00:51:13.256] frame #25: 0x000000019c703154 dyld`start + 2476 [00:51:13.256] (lldb) quit [00:51:13.272] -e [00:51:13.272] [00:51:13.272] [00:51:13.466] (lldb) target create --core "/Users/admin/cores/core.13734" [00:51:51.868] Core file '/Users/admin/cores/core.13734' (arm64) was loaded. [00:51:51.868] (lldb) thread backtrace all [00:51:51.868] * thread #1 [00:51:51.868] * frame #0: 0x000000019c707970 dyld`dyld4::ProcessConfig::DyldCache::DyldCache(dyld4::ProcessConfig::Process&, dyld4::ProcessConfig::Security const&, dyld4::ProcessConfig::Logging const&, dyld4::SyscallDelegate&, lsl::Allocator&) + 292 [00:51:51.868] frame #1: 0x000000019c705898 dyld`dyld4::ProcessConfig::ProcessConfig(dyld4::KernelArgs const*, dyld4::SyscallDelegate&, lsl::Allocator&) + 128 [00:51:51.868] frame #2: 0x000000019c702dc0 dyld`start + 1560 [00:51:51.868] (lldb) quit [00:51:51.877] -e [00:51:51.877] [00:51:51.877] [00:51:52.069] (lldb) target create --core "/Users/admin/cores/core.14642" [00:52:36.581] Core file '/Users/admin/cores/core.14642' (arm64) was loaded. [00:52:36.581] (lldb) thread backtrace all [00:52:37.514] * thread #1 [00:52:37.514] * frame #0: 0x000000019ca555f0 libsystem_kernel.dylib`__pthread_kill + 8 [00:52:37.514] frame #1: 0x000000019ca8dc20 libsystem_pthread.dylib`pthread_kill + 288 [00:52:37.514] frame #2: 0x000000019c99aa30 libsystem_c.dylib`abort + 180 [00:52:37.514] frame #3: 0x00000001031072e8 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [00:52:37.514] frame #4: 0x0000000102e44260 postgres`ExecFetchSlotHeapTuple(slot=0x000000016d14c0a0, materialize=, shouldFree=) at execTuples.c:1737:2 [00:52:37.514] frame #5: 0x0000000102e11fe0 postgres`ExecIRDeleteTriggers(estate=0x000000010901c700, relinfo=0x000000010901ccb0, slot=0x000000016d14c0a0) at trigger.c:2842:15 [00:52:37.514] frame #6: 0x0000000102e64640 postgres`ExecModifyTable at nodeModifyTable.c:3082:11 [00:52:37.514] frame #7: 0x0000000102e64268 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016d14c0c0, resultRelInfo=, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2823:11 [00:52:37.514] frame #8: 0x0000000102e64268 postgres`ExecModifyTable(pstate=) at nodeModifyTable.c:4197:12 [00:52:37.514] frame #9: 0x0000000102e37a6c postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000010901caa0) at executor.h:278:9 [00:52:37.514] frame #10: 0x0000000102e37a50 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000010901c700, planstate=0x000000010901caa0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000011e848110, execute_once=) at execMain.c:1659:10 [00:52:37.514] frame #11: 0x0000000102e37a24 postgres`standard_ExecutorRun(queryDesc=0x000000011f152448, direction=, count=0, execute_once=) at execMain.c:364:3 [00:52:37.514] frame #12: 0x000000010386fe38 pg_stat_statements.dylib`pgss_ExecutorRun(queryDesc=0x000000011f152448, direction=ForwardScanDirection, count=0, execute_once=true) at pg_stat_statements.c:1024:4 [00:52:37.514] frame #13: 0x0000000102fd8dc8 postgres`ProcessQuery(plan=0x0000000130020e70, 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=0x000000011e848110, qc=0x000000016d14c3f0) at pquery.c:160:2 [00:52:37.514] frame #14: 0x0000000102fd8470 postgres`PortalRunMulti(portal=0x000000011f028d00, isTopLevel=true, setHoldSnapshot=true, dest=0x000000011e848110, altdest=0x00000001034c17b8, qc=0x000000016d14c3f0) at pquery.c:0 [00:52:37.514] frame #15: 0x0000000102fd8034 postgres`FillPortalStore(portal=0x000000011f028d00, isTopLevel=true) at pquery.c:1026:4 [00:52:37.514] frame #16: 0x0000000102fd7da8 postgres`PortalRun(portal=0x000000011f028d00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000130020fd0, altdest=0x0000000130020fd0, qc=0x000000016d14c5e8) at pquery.c:763:6 [00:52:37.514] frame #17: 0x0000000102fd6d68 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:52:37.514] frame #18: 0x0000000102fd4a00 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [00:52:37.514] frame #19: 0x0000000102fcfcc4 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [00:52:37.514] frame #20: 0x0000000102f37238 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016d14c9f0) at launch_backend.c:274:3 [00:52:37.514] frame #21: 0x0000000102f3b390 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016d14c9f0) at postmaster.c:3420:8 [00:52:37.514] frame #22: 0x0000000102f3b208 postgres`ServerLoop at postmaster.c:1653:6 [00:52:37.514] frame #23: 0x0000000102f3936c postgres`PostmasterMain(argc=, argv=) at postmaster.c:1351:11 [00:52:37.514] frame #24: 0x0000000102e8da68 postgres`main(argc=4, argv=0x0000600003a40480) at main.c:197:3 [00:52:37.514] frame #25: 0x000000019c703154 dyld`start + 2476 [00:52:37.514] (lldb) quit [00:52:37.530] -e [00:52:37.530] [00:52:37.530] [00:52:37.744] (lldb) target create --core "/Users/admin/cores/core.12397" [00:53:13.544] Core file '/Users/admin/cores/core.12397' (arm64) was loaded. [00:53:13.544] (lldb) thread backtrace all [00:53:13.545] * thread #1 [00:53:13.545] * frame #0: 0x000000019ca5b234 libsystem_kernel.dylib`fstat + 8 [00:53:13.545] frame #1: 0x000000019c9380f8 libsystem_c.dylib`__swhatbuf + 76 [00:53:13.545] frame #2: 0x000000019c94d4dc libsystem_c.dylib`setvbuf + 220 [00:53:13.545] frame #3: 0x0000000100f2535c bash`___lldb_unnamed_symbol203 + 3308 [00:53:13.545] frame #4: 0x000000019c703154 dyld`start + 2476 [00:53:13.545] (lldb) quit [00:53:13.556] -e [00:53:13.556] [00:53:13.556] [00:53:13.772] (lldb) target create --core "/Users/admin/cores/core.7615" [00:53:58.140] Core file '/Users/admin/cores/core.7615' (arm64) was loaded. [00:53:58.140] (lldb) thread backtrace all [00:53:58.979] * thread #1 [00:53:58.979] * frame #0: 0x000000019ca555f0 libsystem_kernel.dylib`__pthread_kill + 8 [00:53:58.979] frame #1: 0x000000019ca8dc20 libsystem_pthread.dylib`pthread_kill + 288 [00:53:58.979] frame #2: 0x000000019c99aa30 libsystem_c.dylib`abort + 180 [00:53:58.979] frame #3: 0x000000010488f2e8 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [00:53:58.979] frame #4: 0x00000001045cc260 postgres`ExecFetchSlotHeapTuple(slot=0x000000016b9c41f0, materialize=, shouldFree=) at execTuples.c:1737:2 [00:53:58.979] frame #5: 0x0000000104599fe0 postgres`ExecIRDeleteTriggers(estate=0x00000001600a6700, relinfo=0x00000001600a6cb0, slot=0x000000016b9c41f0) at trigger.c:2842:15 [00:53:58.979] frame #6: 0x00000001045ec640 postgres`ExecModifyTable at nodeModifyTable.c:3082:11 [00:53:58.979] frame #7: 0x00000001045ec268 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016b9c4210, resultRelInfo=, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2823:11 [00:53:58.979] frame #8: 0x00000001045ec268 postgres`ExecModifyTable(pstate=) at nodeModifyTable.c:4197:12 [00:53:58.979] frame #9: 0x00000001045bfa6c postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x00000001600a6aa0) at executor.h:278:9 [00:53:58.979] frame #10: 0x00000001045bfa50 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x00000001600a6700, planstate=0x00000001600a6aa0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x0000000160105910, execute_once=) at execMain.c:1659:10 [00:53:58.979] frame #11: 0x00000001045bfa24 postgres`standard_ExecutorRun(queryDesc=0x000000015787e848, direction=, count=0, execute_once=) at execMain.c:364:3 [00:53:58.979] frame #12: 0x00000001045bf928 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:305:3 [artificial] [00:53:58.979] frame #13: 0x0000000104760dc8 postgres`ProcessQuery(plan=0x0000000158030060, 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=0x0000000160105910, qc=0x000000016b9c4400) at pquery.c:160:2 [00:53:58.979] frame #14: 0x0000000104760470 postgres`PortalRunMulti(portal=0x0000000160043500, isTopLevel=true, setHoldSnapshot=true, dest=0x0000000160105910, altdest=0x0000000104c497b8, qc=0x000000016b9c4400) at pquery.c:0 [00:53:58.979] frame #15: 0x0000000104760034 postgres`FillPortalStore(portal=0x0000000160043500, isTopLevel=true) at pquery.c:1026:4 [00:53:58.979] frame #16: 0x000000010475fda8 postgres`PortalRun(portal=0x0000000160043500, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x00000001580301c0, altdest=0x00000001580301c0, qc=0x000000016b9c45f8) at pquery.c:763:6 [00:53:58.979] frame #17: 0x000000010475ed68 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:53:58.979] frame #18: 0x000000010475ca00 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [00:53:58.979] frame #19: 0x0000000104757cc4 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [00:53:58.979] frame #20: 0x00000001046bf238 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016b9c4a00) at launch_backend.c:274:3 [00:53:58.979] frame #21: 0x00000001046c3390 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016b9c4a00) at postmaster.c:3420:8 [00:53:58.979] frame #22: 0x00000001046c3208 postgres`ServerLoop at postmaster.c:1653:6 [00:53:58.979] frame #23: 0x00000001046c136c postgres`PostmasterMain(argc=, argv=) at postmaster.c:1351:11 [00:53:58.979] frame #24: 0x0000000104615a68 postgres`main(argc=8, argv=0x00006000016bc460) at main.c:197:3 [00:53:58.979] frame #25: 0x000000019c703154 dyld`start + 2476 [00:53:58.979] (lldb) quit