[03:17:26.995] src/tools/ci/cores_backtrace.sh macos "${HOME}/cores" [03:17:27.278] (lldb) target create --core "/Users/admin/cores/core.12138" [03:17:38.319] Core file '/Users/admin/cores/core.12138' (arm64) was loaded. [03:17:38.319] (lldb) thread backtrace all [03:17:39.077] * thread #1 [03:17:39.077] * frame #0: 0x00000001a48e4764 libsystem_kernel.dylib`__pthread_kill + 8 [03:17:39.077] frame #1: 0x00000001a491bc28 libsystem_pthread.dylib`pthread_kill + 288 [03:17:39.077] frame #2: 0x00000001a4829ae8 libsystem_c.dylib`abort + 180 [03:17:39.077] frame #3: 0x000000010489311c postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [03:17:39.077] frame #4: 0x00000001045cf7bc postgres`ExecFetchSlotHeapTuple(slot=0x000000016b9c03b0, materialize=, shouldFree=) at execTuples.c:1737:2 [03:17:39.077] frame #5: 0x000000010459e988 postgres`ExecIRDeleteTriggers(estate=0x000000014c0a6f00, relinfo=0x000000014c0a74b0, slot=0x000000016b9c03b0) at trigger.c:2841:15 [03:17:39.077] frame #6: 0x00000001045ef7e0 postgres`ExecModifyTable at nodeModifyTable.c:3027:11 [03:17:39.077] frame #7: 0x00000001045ef3f4 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016b9c03d0, resultRelInfo=0x000000014c0a74b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2791:11 [03:17:39.077] frame #8: 0x00000001045ef3f4 postgres`ExecModifyTable(pstate=0x000000014c0a72a0) at nodeModifyTable.c:4112:12 [03:17:39.077] frame #9: 0x00000001045ca010 postgres`ExecProcNodeFirst(node=0x000000014c0a72a0) at execProcnode.c:464:9 [03:17:39.077] frame #10: 0x00000001045c3324 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000014c0a72a0) at executor.h:274:9 [03:17:39.077] frame #11: 0x00000001045c3308 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000014c0a6f00, planstate=0x000000014c0a72a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000014b0a9b10, execute_once=) at execMain.c:1646:10 [03:17:39.077] frame #12: 0x00000001045c32dc postgres`standard_ExecutorRun(queryDesc=0x000000014b0ac048, direction=, count=0, execute_once=) at execMain.c:363:3 [03:17:39.077] frame #13: 0x00000001045c31f0 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [03:17:39.077] frame #14: 0x000000010476613c postgres`ProcessQuery(plan=0x0000000150047d88, 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=0x000000014b0a9b10, qc=0x000000016b9c05f0) at pquery.c:160:2 [03:17:39.077] frame #15: 0x00000001047657e8 postgres`PortalRunMulti(portal=0x000000014c031d00, isTopLevel=true, setHoldSnapshot=true, dest=0x000000014b0a9b10, altdest=0x0000000104c1d488, qc=0x000000016b9c05f0) at pquery.c:0 [03:17:39.077] frame #16: 0x00000001047653ac postgres`FillPortalStore(portal=0x000000014c031d00, isTopLevel=true) at pquery.c:1026:4 [03:17:39.077] frame #17: 0x0000000104765120 postgres`PortalRun(portal=0x000000014c031d00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000150047ee8, altdest=0x0000000150047ee8, qc=0x000000016b9c07e8) at pquery.c:763:6 [03:17:39.077] frame #18: 0x00000001047640dc 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 [03:17:39.077] frame #19: 0x0000000104761e60 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [03:17:39.077] frame #20: 0x000000010475d5cc postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:105:2 [03:17:39.077] frame #21: 0x00000001046c5284 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016b9c0be0) at launch_backend.c:265:3 [03:17:39.077] frame #22: 0x00000001046c99b0 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016b9c0be0) at postmaster.c:3593:8 [03:17:39.077] frame #23: 0x00000001046c97c8 postgres`ServerLoop at postmaster.c:1674:6 [03:17:39.077] frame #24: 0x00000001046c7410 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [03:17:39.077] frame #25: 0x0000000104618d30 postgres`main(argc=4, argv=0x0000600002c691a0) at main.c:197:3 [03:17:39.077] frame #26: 0x00000001a45c3f28 dyld`start + 2236 [03:17:39.077] (lldb) quit [03:17:39.094] -e [03:17:39.094] [03:17:39.094] [03:17:39.210] (lldb) target create --core "/Users/admin/cores/core.11898" [03:17:51.117] Core file '/Users/admin/cores/core.11898' (arm64) was loaded. [03:17:51.117] (lldb) thread backtrace all [03:17:51.820] * thread #1 [03:17:51.820] * frame #0: 0x00000001a48e4764 libsystem_kernel.dylib`__pthread_kill + 8 [03:17:51.820] frame #1: 0x00000001a491bc28 libsystem_pthread.dylib`pthread_kill + 288 [03:17:51.820] frame #2: 0x00000001a4829ae8 libsystem_c.dylib`abort + 180 [03:17:51.820] frame #3: 0x000000010072f11c postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [03:17:51.820] frame #4: 0x000000010046b7bc postgres`ExecFetchSlotHeapTuple(slot=0x000000016fb243c0, materialize=, shouldFree=) at execTuples.c:1737:2 [03:17:51.820] frame #5: 0x000000010043a988 postgres`ExecIRDeleteTriggers(estate=0x000000013e053100, relinfo=0x000000013e0536b0, slot=0x000000016fb243c0) at trigger.c:2841:15 [03:17:51.820] frame #6: 0x000000010048b7e0 postgres`ExecModifyTable at nodeModifyTable.c:3027:11 [03:17:51.820] frame #7: 0x000000010048b3f4 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016fb243e0, resultRelInfo=0x000000013e0536b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2791:11 [03:17:51.820] frame #8: 0x000000010048b3f4 postgres`ExecModifyTable(pstate=0x000000013e0534a0) at nodeModifyTable.c:4112:12 [03:17:51.820] frame #9: 0x0000000100466010 postgres`ExecProcNodeFirst(node=0x000000013e0534a0) at execProcnode.c:464:9 [03:17:51.820] frame #10: 0x000000010045f324 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000013e0534a0) at executor.h:274:9 [03:17:51.820] frame #11: 0x000000010045f308 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000013e053100, planstate=0x000000013e0534a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000013e8f7310, execute_once=) at execMain.c:1646:10 [03:17:51.820] frame #12: 0x000000010045f2dc postgres`standard_ExecutorRun(queryDesc=0x000000012e038448, direction=, count=0, execute_once=) at execMain.c:363:3 [03:17:51.820] frame #13: 0x000000010045f1f0 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [03:17:51.820] frame #14: 0x000000010060213c postgres`ProcessQuery(plan=0x000000011000fdd8, 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=0x000000013e8f7310, qc=0x000000016fb24600) at pquery.c:160:2 [03:17:51.820] frame #15: 0x00000001006017e8 postgres`PortalRunMulti(portal=0x000000013e83d300, isTopLevel=true, setHoldSnapshot=true, dest=0x000000013e8f7310, altdest=0x0000000100ab9488, qc=0x000000016fb24600) at pquery.c:0 [03:17:51.820] frame #16: 0x00000001006013ac postgres`FillPortalStore(portal=0x000000013e83d300, isTopLevel=true) at pquery.c:1026:4 [03:17:51.820] frame #17: 0x0000000100601120 postgres`PortalRun(portal=0x000000013e83d300, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000011000ff38, altdest=0x000000011000ff38, qc=0x000000016fb247f8) at pquery.c:763:6 [03:17:51.820] frame #18: 0x00000001006000dc 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 [03:17:51.820] frame #19: 0x00000001005fde60 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [03:17:51.820] frame #20: 0x00000001005f95cc postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:105:2 [03:17:51.820] frame #21: 0x0000000100561284 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016fb24bf0) at launch_backend.c:265:3 [03:17:51.820] frame #22: 0x00000001005659b0 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016fb24bf0) at postmaster.c:3593:8 [03:17:51.820] frame #23: 0x00000001005657c8 postgres`ServerLoop at postmaster.c:1674:6 [03:17:51.820] frame #24: 0x0000000100563410 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [03:17:51.820] frame #25: 0x00000001004b4d30 postgres`main(argc=8, argv=0x0000600001efc2d0) at main.c:197:3 [03:17:51.820] frame #26: 0x00000001a45c3f28 dyld`start + 2236 [03:17:51.820] (lldb) quit [03:17:51.831] -e [03:17:51.831] [03:17:51.831] [03:17:51.951] (lldb) target create --core "/Users/admin/cores/core.17924" [03:18:03.241] Core file '/Users/admin/cores/core.17924' (arm64) was loaded. [03:18:03.241] (lldb) thread backtrace all [03:18:03.927] * thread #1 [03:18:03.927] * frame #0: 0x00000001a48e4764 libsystem_kernel.dylib`__pthread_kill + 8 [03:18:03.927] frame #1: 0x00000001a491bc28 libsystem_pthread.dylib`pthread_kill + 288 [03:18:03.927] frame #2: 0x00000001a4829ae8 libsystem_c.dylib`abort + 180 [03:18:03.927] frame #3: 0x00000001004d311c postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [03:18:03.927] frame #4: 0x000000010020f7bc postgres`ExecFetchSlotHeapTuple(slot=0x000000016fd80250, materialize=, shouldFree=) at execTuples.c:1737:2 [03:18:03.927] frame #5: 0x00000001001de988 postgres`ExecIRDeleteTriggers(estate=0x0000000128044300, relinfo=0x00000001280448b0, slot=0x000000016fd80250) at trigger.c:2841:15 [03:18:03.927] frame #6: 0x000000010022f7e0 postgres`ExecModifyTable at nodeModifyTable.c:3027:11 [03:18:03.927] frame #7: 0x000000010022f3f4 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016fd80270, resultRelInfo=0x00000001280448b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2791:11 [03:18:03.927] frame #8: 0x000000010022f3f4 postgres`ExecModifyTable(pstate=0x00000001280446a0) at nodeModifyTable.c:4112:12 [03:18:03.927] frame #9: 0x000000010020a010 postgres`ExecProcNodeFirst(node=0x00000001280446a0) at execProcnode.c:464:9 [03:18:03.927] frame #10: 0x0000000100203324 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x00000001280446a0) at executor.h:274:9 [03:18:03.927] frame #11: 0x0000000100203308 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x0000000128044300, planstate=0x00000001280446a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x0000000150095710, execute_once=) at execMain.c:1646:10 [03:18:03.927] frame #12: 0x00000001002032dc postgres`standard_ExecutorRun(queryDesc=0x000000012805fa48, direction=, count=0, execute_once=) at execMain.c:363:3 [03:18:03.927] frame #13: 0x0000000100ed0248 pg_stat_statements.dylib`pgss_ExecutorRun(queryDesc=0x000000012805fa48, direction=ForwardScanDirection, count=0, execute_once=true) at pg_stat_statements.c:1032:4 [03:18:03.927] frame #14: 0x00000001002031e4 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:302:3 [03:18:03.927] frame #15: 0x00000001003a613c postgres`ProcessQuery(plan=0x0000000110058ce8, 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=0x0000000150095710, qc=0x000000016fd805d0) at pquery.c:160:2 [03:18:03.927] frame #16: 0x00000001003a57e8 postgres`PortalRunMulti(portal=0x0000000138028700, isTopLevel=true, setHoldSnapshot=true, dest=0x0000000150095710, altdest=0x000000010085d488, qc=0x000000016fd805d0) at pquery.c:0 [03:18:03.927] frame #17: 0x00000001003a53ac postgres`FillPortalStore(portal=0x0000000138028700, isTopLevel=true) at pquery.c:1026:4 [03:18:03.927] frame #18: 0x00000001003a5120 postgres`PortalRun(portal=0x0000000138028700, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000110058e48, altdest=0x0000000110058e48, qc=0x000000016fd807c8) at pquery.c:763:6 [03:18:03.927] frame #19: 0x00000001003a40dc 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 [03:18:03.927] frame #20: 0x00000001003a1e60 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [03:18:03.927] frame #21: 0x000000010039d5cc postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:105:2 [03:18:03.927] frame #22: 0x0000000100305284 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016fd80bc0) at launch_backend.c:265:3 [03:18:03.927] frame #23: 0x00000001003099b0 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016fd80bc0) at postmaster.c:3593:8 [03:18:03.927] frame #24: 0x00000001003097c8 postgres`ServerLoop at postmaster.c:1674:6 [03:18:03.927] frame #25: 0x0000000100307410 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [03:18:03.927] frame #26: 0x0000000100258d30 postgres`main(argc=4, argv=0x0000600000ee91a0) at main.c:197:3 [03:18:03.927] frame #27: 0x00000001a45c3f28 dyld`start + 2236 [03:18:03.927] (lldb) quit