[15:43:58.491] src/tools/ci/cores_backtrace.sh macos "${HOME}/cores" [15:43:58.910] (lldb) target create --core "/Users/admin/cores/core.11867" [15:44:21.429] Core file '/Users/admin/cores/core.11867' (arm64) was loaded. [15:44:21.429] (lldb) thread backtrace all [15:44:22.506] * thread #1 [15:44:22.506] * frame #0: 0x00000001ac60c764 libsystem_kernel.dylib`__pthread_kill + 8 [15:44:22.506] frame #1: 0x00000001ac643c28 libsystem_pthread.dylib`pthread_kill + 288 [15:44:22.506] frame #2: 0x00000001ac551ae8 libsystem_c.dylib`abort + 180 [15:44:22.506] frame #3: 0x0000000100b94184 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [15:44:22.506] frame #4: 0x00000001008d8868 postgres`ExecFetchSlotHeapTuple(slot=0x000000016f6b03b0, materialize=, shouldFree=) at execTuples.c:1737:2 [15:44:22.506] frame #5: 0x00000001008a7c08 postgres`ExecIRDeleteTriggers(estate=0x000000012d0ba900, relinfo=0x000000012d0baeb0, slot=0x000000016f6b03b0) at trigger.c:2832:15 [15:44:22.506] frame #6: 0x00000001008f8b8c postgres`ExecMerge at nodeModifyTable.c:2938:11 [15:44:22.506] frame #7: 0x00000001008f883c postgres`ExecMerge(context=, resultRelInfo=0x000000012d0baeb0, tupleid=0x0000000000000000, oldtuple=, canSetTag=true) at nodeModifyTable.c:2717:11 [15:44:22.506] frame #8: 0x00000001008f82d0 postgres`ExecModifyTable(pstate=0x000000012d0baca0) at nodeModifyTable.c:3981:12 [15:44:22.506] frame #9: 0x00000001008d3064 postgres`ExecProcNodeFirst(node=0x000000012d0baca0) at execProcnode.c:464:9 [15:44:22.506] frame #10: 0x00000001008cc39c postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000012d0baca0) at executor.h:274:9 [15:44:22.506] frame #11: 0x00000001008cc380 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000012d0ba900, planstate=0x000000012d0baca0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000012d0f7b10, execute_once=) at execMain.c:1644:10 [15:44:22.506] frame #12: 0x00000001008cc354 postgres`standard_ExecutorRun(queryDesc=0x000000012c80fc48, direction=, count=0, execute_once=) at execMain.c:363:3 [15:44:22.506] frame #13: 0x00000001008cc268 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [15:44:22.506] frame #14: 0x0000000100a68d40 postgres`ProcessQuery(plan=0x0000000130047720, 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=0x000000012d0f7b10, qc=0x000000016f6b05d0) at pquery.c:160:2 [15:44:22.506] frame #15: 0x0000000100a683ec postgres`PortalRunMulti(portal=0x000000012d030700, isTopLevel=true, setHoldSnapshot=true, dest=0x000000012d0f7b10, altdest=0x0000000100f11468, qc=0x000000016f6b05d0) at pquery.c:0 [15:44:22.506] frame #16: 0x0000000100a67fb0 postgres`FillPortalStore(portal=0x000000012d030700, isTopLevel=true) at pquery.c:1026:4 [15:44:22.506] frame #17: 0x0000000100a67d24 postgres`PortalRun(portal=0x000000012d030700, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000130047880, altdest=0x0000000130047880, qc=0x000000016f6b07c8) at pquery.c:763:6 [15:44:22.506] frame #18: 0x0000000100a66ce0 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 [15:44:22.506] frame #19: 0x0000000100a64a64 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [15:44:22.506] frame #20: 0x0000000100a6042c postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:101:2 [15:44:22.506] frame #21: 0x00000001009cae58 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016f6b0bc0) at launch_backend.c:265:3 [15:44:22.506] frame #22: 0x00000001009cf3a4 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016f6b0bc0) at postmaster.c:3593:8 [15:44:22.506] frame #23: 0x00000001009cf1bc postgres`ServerLoop at postmaster.c:1674:6 [15:44:22.506] frame #24: 0x00000001009cce04 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [15:44:22.506] frame #25: 0x00000001009217ec postgres`main(argc=4, argv=0x0000600002049200) at main.c:197:3 [15:44:22.506] frame #26: 0x00000001ac2ebf28 dyld`start + 2236 [15:44:22.506] (lldb) quit [15:44:22.552] -e [15:44:22.552] [15:44:22.552] [15:44:22.729] (lldb) target create --core "/Users/admin/cores/core.11672" [15:44:54.537] Core file '/Users/admin/cores/core.11672' (arm64) was loaded. [15:44:54.537] (lldb) thread backtrace all [15:44:55.965] * thread #1 [15:44:55.965] * frame #0: 0x00000001ac60c764 libsystem_kernel.dylib`__pthread_kill + 8 [15:44:55.965] frame #1: 0x00000001ac643c28 libsystem_pthread.dylib`pthread_kill + 288 [15:44:55.965] frame #2: 0x00000001ac551ae8 libsystem_c.dylib`abort + 180 [15:44:55.965] frame #3: 0x0000000104a78184 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [15:44:55.965] frame #4: 0x00000001047bc868 postgres`ExecFetchSlotHeapTuple(slot=0x000000016b7cc3c0, materialize=, shouldFree=) at execTuples.c:1737:2 [15:44:55.965] frame #5: 0x000000010478bc08 postgres`ExecIRDeleteTriggers(estate=0x00000001370c2500, relinfo=0x00000001370c2ab0, slot=0x000000016b7cc3c0) at trigger.c:2832:15 [15:44:55.965] frame #6: 0x00000001047dcb8c postgres`ExecMerge at nodeModifyTable.c:2938:11 [15:44:55.965] frame #7: 0x00000001047dc83c postgres`ExecMerge(context=, resultRelInfo=0x00000001370c2ab0, tupleid=0x0000000000000000, oldtuple=, canSetTag=true) at nodeModifyTable.c:2717:11 [15:44:55.965] frame #8: 0x00000001047dc2d0 postgres`ExecModifyTable(pstate=0x00000001370c28a0) at nodeModifyTable.c:3981:12 [15:44:55.965] frame #9: 0x00000001047b7064 postgres`ExecProcNodeFirst(node=0x00000001370c28a0) at execProcnode.c:464:9 [15:44:55.965] frame #10: 0x00000001047b039c postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x00000001370c28a0) at executor.h:274:9 [15:44:55.965] frame #11: 0x00000001047b0380 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x00000001370c2500, planstate=0x00000001370c28a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x0000000137105b10, execute_once=) at execMain.c:1644:10 [15:44:55.965] frame #12: 0x00000001047b0354 postgres`standard_ExecutorRun(queryDesc=0x00000001368b3648, direction=, count=0, execute_once=) at execMain.c:363:3 [15:44:55.965] frame #13: 0x00000001047b0268 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [15:44:55.965] frame #14: 0x000000010494cd40 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=0x0000000137105b10, qc=0x000000016b7cc5e0) at pquery.c:160:2 [15:44:55.965] frame #15: 0x000000010494c3ec postgres`PortalRunMulti(portal=0x000000013703cb00, isTopLevel=true, setHoldSnapshot=true, dest=0x0000000137105b10, altdest=0x0000000104df5468, qc=0x000000016b7cc5e0) at pquery.c:0 [15:44:55.965] frame #16: 0x000000010494bfb0 postgres`FillPortalStore(portal=0x000000013703cb00, isTopLevel=true) at pquery.c:1026:4 [15:44:55.965] frame #17: 0x000000010494bd24 postgres`PortalRun(portal=0x000000013703cb00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000011800f820, altdest=0x000000011800f820, qc=0x000000016b7cc7d8) at pquery.c:763:6 [15:44:55.965] frame #18: 0x000000010494ace0 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 [15:44:55.965] frame #19: 0x0000000104948a64 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [15:44:55.965] frame #20: 0x000000010494442c postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:101:2 [15:44:55.965] frame #21: 0x00000001048aee58 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016b7ccbd0) at launch_backend.c:265:3 [15:44:55.965] frame #22: 0x00000001048b33a4 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016b7ccbd0) at postmaster.c:3593:8 [15:44:55.965] frame #23: 0x00000001048b31bc postgres`ServerLoop at postmaster.c:1674:6 [15:44:55.965] frame #24: 0x00000001048b0e04 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [15:44:55.965] frame #25: 0x00000001048057ec postgres`main(argc=8, argv=0x0000600001e58370) at main.c:197:3 [15:44:55.965] frame #26: 0x00000001ac2ebf28 dyld`start + 2236 [15:44:55.965] (lldb) quit [15:44:55.981] -e [15:44:55.981] [15:44:55.981] [15:44:56.178] (lldb) target create --core "/Users/admin/cores/core.18651" [15:45:25.847] Core file '/Users/admin/cores/core.18651' (arm64) was loaded. [15:45:25.847] (lldb) thread backtrace all [15:45:27.716] * thread #1 [15:45:27.716] * frame #0: 0x00000001ac60c764 libsystem_kernel.dylib`__pthread_kill + 8 [15:45:27.716] frame #1: 0x00000001ac643c28 libsystem_pthread.dylib`pthread_kill + 288 [15:45:27.716] frame #2: 0x00000001ac551ae8 libsystem_c.dylib`abort + 180 [15:45:27.716] frame #3: 0x00000001028e8184 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [15:45:27.716] frame #4: 0x000000010262c868 postgres`ExecFetchSlotHeapTuple(slot=0x000000016d95c250, materialize=, shouldFree=) at execTuples.c:1737:2 [15:45:27.716] frame #5: 0x00000001025fbc08 postgres`ExecIRDeleteTriggers(estate=0x000000010f840d00, relinfo=0x000000010f8412b0, slot=0x000000016d95c250) at trigger.c:2832:15 [15:45:27.716] frame #6: 0x000000010264cb8c postgres`ExecMerge at nodeModifyTable.c:2938:11 [15:45:27.716] frame #7: 0x000000010264c83c postgres`ExecMerge(context=, resultRelInfo=0x000000010f8412b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=true) at nodeModifyTable.c:2717:11 [15:45:27.716] frame #8: 0x000000010264c2d0 postgres`ExecModifyTable(pstate=0x000000010f8410a0) at nodeModifyTable.c:3981:12 [15:45:27.716] frame #9: 0x0000000102627064 postgres`ExecProcNodeFirst(node=0x000000010f8410a0) at execProcnode.c:464:9 [15:45:27.716] frame #10: 0x000000010262039c postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000010f8410a0) at executor.h:274:9 [15:45:27.716] frame #11: 0x0000000102620380 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000010f840d00, planstate=0x000000010f8410a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000012f882d10, execute_once=) at execMain.c:1644:10 [15:45:27.716] frame #12: 0x0000000102620354 postgres`standard_ExecutorRun(queryDesc=0x0000000130053248, direction=, count=0, execute_once=) at execMain.c:363:3 [15:45:27.716] frame #13: 0x00000001032cc248 pg_stat_statements.dylib`pgss_ExecutorRun(queryDesc=0x0000000130053248, direction=ForwardScanDirection, count=0, execute_once=true) at pg_stat_statements.c:1032:4 [15:45:27.716] frame #14: 0x000000010262025c postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:302:3 [15:45:27.716] frame #15: 0x00000001027bcd40 postgres`ProcessQuery(plan=0x0000000120060630, 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=0x000000012f882d10, qc=0x000000016d95c5b0) at pquery.c:160:2 [15:45:27.716] frame #16: 0x00000001027bc3ec postgres`PortalRunMulti(portal=0x000000012f835500, isTopLevel=true, setHoldSnapshot=true, dest=0x000000012f882d10, altdest=0x0000000102c65468, qc=0x000000016d95c5b0) at pquery.c:0 [15:45:27.716] frame #17: 0x00000001027bbfb0 postgres`FillPortalStore(portal=0x000000012f835500, isTopLevel=true) at pquery.c:1026:4 [15:45:27.716] frame #18: 0x00000001027bbd24 postgres`PortalRun(portal=0x000000012f835500, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000120060790, altdest=0x0000000120060790, qc=0x000000016d95c7a8) at pquery.c:763:6 [15:45:27.716] frame #19: 0x00000001027bace0 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 [15:45:27.716] frame #20: 0x00000001027b8a64 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [15:45:27.716] frame #21: 0x00000001027b442c postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:101:2 [15:45:27.716] frame #22: 0x000000010271ee58 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016d95cba0) at launch_backend.c:265:3 [15:45:27.716] frame #23: 0x00000001027233a4 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016d95cba0) at postmaster.c:3593:8 [15:45:27.716] frame #24: 0x00000001027231bc postgres`ServerLoop at postmaster.c:1674:6 [15:45:27.716] frame #25: 0x0000000102720e04 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [15:45:27.716] frame #26: 0x00000001026757ec postgres`main(argc=4, argv=0x0000600003ef1200) at main.c:197:3 [15:45:27.716] frame #27: 0x00000001ac2ebf28 dyld`start + 2236 [15:45:27.716] (lldb) quit