[08:10:50.897] src/tools/ci/cores_backtrace.sh macos "${HOME}/cores" [08:10:51.193] (lldb) target create --core "/Users/admin/cores/core.12564" [08:11:00.920] Core file '/Users/admin/cores/core.12564' (arm64) was loaded. [08:11:00.920] (lldb) thread backtrace all [08:11:01.705] * thread #1 [08:11:01.705] * frame #0: 0x00000001a7364764 libsystem_kernel.dylib`__pthread_kill + 8 [08:11:01.705] frame #1: 0x00000001a739bc28 libsystem_pthread.dylib`pthread_kill + 288 [08:11:01.705] frame #2: 0x00000001a72a9ae8 libsystem_c.dylib`abort + 180 [08:11:01.705] frame #3: 0x0000000105436f1c postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [08:11:01.705] frame #4: 0x00000001051734e0 postgres`ExecFetchSlotHeapTuple(slot=0x000000016ae1c3a0, materialize=, shouldFree=) at execTuples.c:1737:2 [08:11:01.705] frame #5: 0x00000001051426ac postgres`ExecIRDeleteTriggers(estate=0x000000014c837d00, relinfo=0x000000014c8382b0, slot=0x000000016ae1c3a0) at trigger.c:2841:15 [08:11:01.705] frame #6: 0x0000000105193504 postgres`ExecModifyTable at nodeModifyTable.c:3027:11 [08:11:01.705] frame #7: 0x0000000105193118 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016ae1c3c0, resultRelInfo=0x000000014c8382b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2791:11 [08:11:01.705] frame #8: 0x0000000105193118 postgres`ExecModifyTable(pstate=0x000000014c8380a0) at nodeModifyTable.c:4112:12 [08:11:01.705] frame #9: 0x000000010516dd34 postgres`ExecProcNodeFirst(node=0x000000014c8380a0) at execProcnode.c:464:9 [08:11:01.705] frame #10: 0x0000000105167048 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000014c8380a0) at executor.h:274:9 [08:11:01.705] frame #11: 0x000000010516702c postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000014c837d00, planstate=0x000000014c8380a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000014c09a310, execute_once=) at execMain.c:1646:10 [08:11:01.705] frame #12: 0x0000000105167000 postgres`standard_ExecutorRun(queryDesc=0x000000013c036048, direction=, count=0, execute_once=) at execMain.c:363:3 [08:11:01.705] frame #13: 0x0000000105166f14 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [08:11:01.705] frame #14: 0x0000000105309f1c postgres`ProcessQuery(plan=0x000000013001fd88, 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=0x000000014c09a310, qc=0x000000016ae1c5e0) at pquery.c:160:2 [08:11:01.705] frame #15: 0x00000001053095c8 postgres`PortalRunMulti(portal=0x000000014c02eb00, isTopLevel=true, setHoldSnapshot=true, dest=0x000000014c09a310, altdest=0x00000001057c1488, qc=0x000000016ae1c5e0) at pquery.c:0 [08:11:01.705] frame #16: 0x000000010530918c postgres`FillPortalStore(portal=0x000000014c02eb00, isTopLevel=true) at pquery.c:1026:4 [08:11:01.705] frame #17: 0x0000000105308f00 postgres`PortalRun(portal=0x000000014c02eb00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000013001fee8, altdest=0x000000013001fee8, qc=0x000000016ae1c7d8) at pquery.c:763:6 [08:11:01.705] frame #18: 0x0000000105307ebc 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 [08:11:01.705] frame #19: 0x0000000105305c40 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [08:11:01.705] frame #20: 0x00000001053013a8 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:105:2 [08:11:01.705] frame #21: 0x0000000105268f60 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016ae1cbd0) at launch_backend.c:265:3 [08:11:01.705] frame #22: 0x000000010526d68c postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016ae1cbd0) at postmaster.c:3593:8 [08:11:01.705] frame #23: 0x000000010526d4a4 postgres`ServerLoop at postmaster.c:1674:6 [08:11:01.705] frame #24: 0x000000010526b0ec postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [08:11:01.705] frame #25: 0x00000001051bca0c postgres`main(argc=4, argv=0x00006000005e91a0) at main.c:197:3 [08:11:01.705] frame #26: 0x00000001a7043f28 dyld`start + 2236 [08:11:01.705] (lldb) quit [08:11:01.723] -e [08:11:01.723] [08:11:01.723] [08:11:01.846] (lldb) target create --core "/Users/admin/cores/core.23284" [08:11:12.583] Core file '/Users/admin/cores/core.23284' (arm64) was loaded. [08:11:12.583] (lldb) thread backtrace all [08:11:12.583] * thread #1 [08:11:12.583] * frame #0: 0x0000000104ca8a40 dyld`_dyld_start [08:11:12.583] (lldb) quit [08:11:12.590] -e [08:11:12.590] [08:11:12.590] [08:11:12.708] (lldb) target create --core "/Users/admin/cores/core.12178" [08:11:24.258] Core file '/Users/admin/cores/core.12178' (arm64) was loaded. [08:11:24.258] (lldb) thread backtrace all [08:11:24.912] * thread #1 [08:11:24.912] * frame #0: 0x00000001a7364764 libsystem_kernel.dylib`__pthread_kill + 8 [08:11:24.912] frame #1: 0x00000001a739bc28 libsystem_pthread.dylib`pthread_kill + 288 [08:11:24.912] frame #2: 0x00000001a72a9ae8 libsystem_c.dylib`abort + 180 [08:11:24.912] frame #3: 0x00000001012def1c postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [08:11:24.912] frame #4: 0x000000010101b4e0 postgres`ExecFetchSlotHeapTuple(slot=0x000000016ef743c0, materialize=, shouldFree=) at execTuples.c:1737:2 [08:11:24.912] frame #5: 0x0000000100fea6ac postgres`ExecIRDeleteTriggers(estate=0x000000015002fd00, relinfo=0x00000001500302b0, slot=0x000000016ef743c0) at trigger.c:2841:15 [08:11:24.912] frame #6: 0x000000010103b504 postgres`ExecModifyTable at nodeModifyTable.c:3027:11 [08:11:24.912] frame #7: 0x000000010103b118 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016ef743e0, resultRelInfo=0x00000001500302b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2791:11 [08:11:24.912] frame #8: 0x000000010103b118 postgres`ExecModifyTable(pstate=0x00000001500300a0) at nodeModifyTable.c:4112:12 [08:11:24.912] frame #9: 0x0000000101015d34 postgres`ExecProcNodeFirst(node=0x00000001500300a0) at execProcnode.c:464:9 [08:11:24.912] frame #10: 0x000000010100f048 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x00000001500300a0) at executor.h:274:9 [08:11:24.912] frame #11: 0x000000010100f02c postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000015002fd00, planstate=0x00000001500300a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x0000000150893310, execute_once=) at execMain.c:1646:10 [08:11:24.912] frame #12: 0x000000010100f000 postgres`standard_ExecutorRun(queryDesc=0x000000014001fa48, direction=, count=0, execute_once=) at execMain.c:363:3 [08:11:24.912] frame #13: 0x000000010100ef14 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [08:11:24.912] frame #14: 0x00000001011b1f1c postgres`ProcessQuery(plan=0x000000011804ffe0, 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=0x0000000150893310, qc=0x000000016ef74600) at pquery.c:160:2 [08:11:24.912] frame #15: 0x00000001011b15c8 postgres`PortalRunMulti(portal=0x000000015083e300, isTopLevel=true, setHoldSnapshot=true, dest=0x0000000150893310, altdest=0x0000000101669488, qc=0x000000016ef74600) at pquery.c:0 [08:11:24.912] frame #16: 0x00000001011b118c postgres`FillPortalStore(portal=0x000000015083e300, isTopLevel=true) at pquery.c:1026:4 [08:11:24.912] frame #17: 0x00000001011b0f00 postgres`PortalRun(portal=0x000000015083e300, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000118050140, altdest=0x0000000118050140, qc=0x000000016ef747f8) at pquery.c:763:6 [08:11:24.912] frame #18: 0x00000001011afebc 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 [08:11:24.912] frame #19: 0x00000001011adc40 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [08:11:24.912] frame #20: 0x00000001011a93a8 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:105:2 [08:11:24.912] frame #21: 0x0000000101110f60 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016ef74bf0) at launch_backend.c:265:3 [08:11:24.912] frame #22: 0x000000010111568c postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016ef74bf0) at postmaster.c:3593:8 [08:11:24.912] frame #23: 0x00000001011154a4 postgres`ServerLoop at postmaster.c:1674:6 [08:11:24.912] frame #24: 0x00000001011130ec postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [08:11:24.912] frame #25: 0x0000000101064a0c postgres`main(argc=8, argv=0x0000600000223a70) at main.c:197:3 [08:11:24.912] frame #26: 0x00000001a7043f28 dyld`start + 2236 [08:11:24.912] (lldb) quit [08:11:24.923] -e [08:11:24.923] [08:11:24.923] [08:11:25.045] (lldb) target create --core "/Users/admin/cores/core.18673" [08:11:35.634] Core file '/Users/admin/cores/core.18673' (arm64) was loaded. [08:11:35.634] (lldb) thread backtrace all [08:11:36.321] * thread #1 [08:11:36.321] * frame #0: 0x00000001a7364764 libsystem_kernel.dylib`__pthread_kill + 8 [08:11:36.321] frame #1: 0x00000001a739bc28 libsystem_pthread.dylib`pthread_kill + 288 [08:11:36.321] frame #2: 0x00000001a72a9ae8 libsystem_c.dylib`abort + 180 [08:11:36.321] frame #3: 0x0000000102daaf1c postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [08:11:36.321] frame #4: 0x0000000102ae74e0 postgres`ExecFetchSlotHeapTuple(slot=0x000000016d4a8250, materialize=, shouldFree=) at execTuples.c:1737:2 [08:11:36.321] frame #5: 0x0000000102ab66ac postgres`ExecIRDeleteTriggers(estate=0x000000014d86b700, relinfo=0x000000014d86bcb0, slot=0x000000016d4a8250) at trigger.c:2841:15 [08:11:36.321] frame #6: 0x0000000102b07504 postgres`ExecModifyTable at nodeModifyTable.c:3027:11 [08:11:36.321] frame #7: 0x0000000102b07118 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016d4a8270, resultRelInfo=0x000000014d86bcb0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2791:11 [08:11:36.321] frame #8: 0x0000000102b07118 postgres`ExecModifyTable(pstate=0x000000014d86baa0) at nodeModifyTable.c:4112:12 [08:11:36.321] frame #9: 0x0000000102ae1d34 postgres`ExecProcNodeFirst(node=0x000000014d86baa0) at execProcnode.c:464:9 [08:11:36.321] frame #10: 0x0000000102adb048 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000014d86baa0) at executor.h:274:9 [08:11:36.321] frame #11: 0x0000000102adb02c postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000014d86b700, planstate=0x000000014d86baa0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000014e01d310, execute_once=) at execMain.c:1646:10 [08:11:36.321] frame #12: 0x0000000102adb000 postgres`standard_ExecutorRun(queryDesc=0x000000013d8ac048, direction=, count=0, execute_once=) at execMain.c:363:3 [08:11:36.321] frame #13: 0x00000001037ac248 pg_stat_statements.dylib`pgss_ExecutorRun(queryDesc=0x000000013d8ac048, direction=ForwardScanDirection, count=0, execute_once=true) at pg_stat_statements.c:1032:4 [08:11:36.321] frame #14: 0x0000000102adaf08 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:302:3 [08:11:36.321] frame #15: 0x0000000102c7df1c postgres`ProcessQuery(plan=0x0000000130020ce8, 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=0x000000014e01d310, qc=0x000000016d4a85d0) at pquery.c:160:2 [08:11:36.321] frame #16: 0x0000000102c7d5c8 postgres`PortalRunMulti(portal=0x000000013d829b00, isTopLevel=true, setHoldSnapshot=true, dest=0x000000014e01d310, altdest=0x0000000103135488, qc=0x000000016d4a85d0) at pquery.c:0 [08:11:36.321] frame #17: 0x0000000102c7d18c postgres`FillPortalStore(portal=0x000000013d829b00, isTopLevel=true) at pquery.c:1026:4 [08:11:36.321] frame #18: 0x0000000102c7cf00 postgres`PortalRun(portal=0x000000013d829b00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000130020e48, altdest=0x0000000130020e48, qc=0x000000016d4a87c8) at pquery.c:763:6 [08:11:36.321] frame #19: 0x0000000102c7bebc 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 [08:11:36.321] frame #20: 0x0000000102c79c40 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [08:11:36.321] frame #21: 0x0000000102c753a8 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:105:2 [08:11:36.321] frame #22: 0x0000000102bdcf60 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016d4a8bc0) at launch_backend.c:265:3 [08:11:36.321] frame #23: 0x0000000102be168c postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016d4a8bc0) at postmaster.c:3593:8 [08:11:36.321] frame #24: 0x0000000102be14a4 postgres`ServerLoop at postmaster.c:1674:6 [08:11:36.321] frame #25: 0x0000000102bdf0ec postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [08:11:36.321] frame #26: 0x0000000102b30a0c postgres`main(argc=4, argv=0x0000600003a651a0) at main.c:197:3 [08:11:36.321] frame #27: 0x00000001a7043f28 dyld`start + 2236 [08:11:36.321] (lldb) quit