[08:21:10.729] src/tools/ci/cores_backtrace.sh macos "${HOME}/cores" [08:21:11.010] (lldb) target create --core "/Users/admin/cores/core.12423" [08:21:22.306] Core file '/Users/admin/cores/core.12423' (arm64) was loaded. [08:21:22.306] (lldb) thread backtrace all [08:21:23.019] * thread #1 [08:21:23.019] * frame #0: 0x000000019ddc0764 libsystem_kernel.dylib`__pthread_kill + 8 [08:21:23.019] frame #1: 0x000000019ddf7c28 libsystem_pthread.dylib`pthread_kill + 288 [08:21:23.019] frame #2: 0x000000019dd05ae8 libsystem_c.dylib`abort + 180 [08:21:23.019] frame #3: 0x000000010448b530 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [08:21:23.019] frame #4: 0x00000001041ceafc postgres`ExecFetchSlotHeapTuple(slot=0x000000016bdbc340, materialize=, shouldFree=) at execTuples.c:1737:2 [08:21:23.019] frame #5: 0x000000010419dfd4 postgres`ExecIRDeleteTriggers(estate=0x0000000157833300, relinfo=0x00000001578338b0, slot=0x000000016bdbc340) at trigger.c:2832:15 [08:21:23.019] frame #6: 0x00000001041eebb0 postgres`ExecModifyTable at nodeModifyTable.c:2976:11 [08:21:23.019] frame #7: 0x00000001041ee7c4 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016bdbc360, resultRelInfo=0x00000001578338b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2738:11 [08:21:23.019] frame #8: 0x00000001041ee7c4 postgres`ExecModifyTable(pstate=0x00000001578336a0) at nodeModifyTable.c:4067:12 [08:21:23.019] frame #9: 0x00000001041c92e4 postgres`ExecProcNodeFirst(node=0x00000001578336a0) at execProcnode.c:464:9 [08:21:23.019] frame #10: 0x00000001041c25f8 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x00000001578336a0) at executor.h:274:9 [08:21:23.019] frame #11: 0x00000001041c25dc postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x0000000157833300, planstate=0x00000001578336a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x0000000146880b10, execute_once=) at execMain.c:1646:10 [08:21:23.019] frame #12: 0x00000001041c25b0 postgres`standard_ExecutorRun(queryDesc=0x00000001568a2a48, direction=, count=0, execute_once=) at execMain.c:363:3 [08:21:23.019] frame #13: 0x00000001041c24c4 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [08:21:23.019] frame #14: 0x000000010435f748 postgres`ProcessQuery(plan=0x000000015806fd88, 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=0x0000000146880b10, qc=0x000000016bdbc580) at pquery.c:160:2 [08:21:23.019] frame #15: 0x000000010435edf4 postgres`PortalRunMulti(portal=0x0000000156849100, isTopLevel=true, setHoldSnapshot=true, dest=0x0000000146880b10, altdest=0x0000000104809470, qc=0x000000016bdbc580) at pquery.c:0 [08:21:23.019] frame #16: 0x000000010435e9b8 postgres`FillPortalStore(portal=0x0000000156849100, isTopLevel=true) at pquery.c:1026:4 [08:21:23.019] frame #17: 0x000000010435e72c postgres`PortalRun(portal=0x0000000156849100, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000015806fee8, altdest=0x000000015806fee8, qc=0x000000016bdbc778) at pquery.c:763:6 [08:21:23.019] frame #18: 0x000000010435d6e8 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:21:23.019] frame #19: 0x000000010435b46c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [08:21:23.019] frame #20: 0x0000000104356e34 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:101:2 [08:21:23.019] frame #21: 0x00000001042c17bc postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016bdbcb70) at launch_backend.c:265:3 [08:21:23.019] frame #22: 0x00000001042c5d08 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016bdbcb70) at postmaster.c:3593:8 [08:21:23.019] frame #23: 0x00000001042c5b20 postgres`ServerLoop at postmaster.c:1674:6 [08:21:23.019] frame #24: 0x00000001042c3768 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [08:21:23.019] frame #25: 0x0000000104217cf8 postgres`main(argc=4, argv=0x0000600001b6d200) at main.c:197:3 [08:21:23.019] frame #26: 0x000000019da9ff28 dyld`start + 2236 [08:21:23.019] (lldb) quit [08:21:23.036] -e [08:21:23.036] [08:21:23.036] [08:21:23.148] (lldb) target create --core "/Users/admin/cores/core.12008" [08:21:34.735] Core file '/Users/admin/cores/core.12008' (arm64) was loaded. [08:21:34.735] (lldb) thread backtrace all [08:21:35.444] * thread #1 [08:21:35.444] * frame #0: 0x000000019ddc0764 libsystem_kernel.dylib`__pthread_kill + 8 [08:21:35.444] frame #1: 0x000000019ddf7c28 libsystem_pthread.dylib`pthread_kill + 288 [08:21:35.444] frame #2: 0x000000019dd05ae8 libsystem_c.dylib`abort + 180 [08:21:35.444] frame #3: 0x00000001012ab530 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [08:21:35.444] frame #4: 0x0000000100feeafc postgres`ExecFetchSlotHeapTuple(slot=0x000000016ef9c350, materialize=, shouldFree=) at execTuples.c:1737:2 [08:21:35.444] frame #5: 0x0000000100fbdfd4 postgres`ExecIRDeleteTriggers(estate=0x00000001118b0300, relinfo=0x00000001118b08b0, slot=0x000000016ef9c350) at trigger.c:2832:15 [08:21:35.444] frame #6: 0x000000010100ebb0 postgres`ExecModifyTable at nodeModifyTable.c:2976:11 [08:21:35.444] frame #7: 0x000000010100e7c4 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016ef9c370, resultRelInfo=0x00000001118b08b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2738:11 [08:21:35.444] frame #8: 0x000000010100e7c4 postgres`ExecModifyTable(pstate=0x00000001118b06a0) at nodeModifyTable.c:4067:12 [08:21:35.444] frame #9: 0x0000000100fe92e4 postgres`ExecProcNodeFirst(node=0x00000001118b06a0) at execProcnode.c:464:9 [08:21:35.444] frame #10: 0x0000000100fe25f8 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x00000001118b06a0) at executor.h:274:9 [08:21:35.444] frame #11: 0x0000000100fe25dc postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x00000001118b0300, planstate=0x00000001118b06a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x0000000111905310, execute_once=) at execMain.c:1646:10 [08:21:35.444] frame #12: 0x0000000100fe25b0 postgres`standard_ExecutorRun(queryDesc=0x0000000121839648, direction=, count=0, execute_once=) at execMain.c:363:3 [08:21:35.444] frame #13: 0x0000000100fe24c4 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [08:21:35.444] frame #14: 0x000000010117f748 postgres`ProcessQuery(plan=0x000000013808fd88, 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=0x0000000111905310, qc=0x000000016ef9c590) at pquery.c:160:2 [08:21:35.444] frame #15: 0x000000010117edf4 postgres`PortalRunMulti(portal=0x000000011182f900, isTopLevel=true, setHoldSnapshot=true, dest=0x0000000111905310, altdest=0x0000000101629470, qc=0x000000016ef9c590) at pquery.c:0 [08:21:35.444] frame #16: 0x000000010117e9b8 postgres`FillPortalStore(portal=0x000000011182f900, isTopLevel=true) at pquery.c:1026:4 [08:21:35.444] frame #17: 0x000000010117e72c postgres`PortalRun(portal=0x000000011182f900, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000013808fee8, altdest=0x000000013808fee8, qc=0x000000016ef9c788) at pquery.c:763:6 [08:21:35.444] frame #18: 0x000000010117d6e8 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:21:35.444] frame #19: 0x000000010117b46c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [08:21:35.444] frame #20: 0x0000000101176e34 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:101:2 [08:21:35.444] frame #21: 0x00000001010e17bc postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016ef9cb80) at launch_backend.c:265:3 [08:21:35.444] frame #22: 0x00000001010e5d08 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016ef9cb80) at postmaster.c:3593:8 [08:21:35.444] frame #23: 0x00000001010e5b20 postgres`ServerLoop at postmaster.c:1674:6 [08:21:35.444] frame #24: 0x00000001010e3768 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [08:21:35.444] frame #25: 0x0000000101037cf8 postgres`main(argc=8, argv=0x0000600002904370) at main.c:197:3 [08:21:35.444] frame #26: 0x000000019da9ff28 dyld`start + 2236 [08:21:35.444] (lldb) quit [08:21:35.454] -e [08:21:35.454] [08:21:35.454] [08:21:35.573] (lldb) target create --core "/Users/admin/cores/core.18820" [08:21:46.059] Core file '/Users/admin/cores/core.18820' (arm64) was loaded. [08:21:46.059] (lldb) thread backtrace all [08:21:46.735] * thread #1 [08:21:46.735] * frame #0: 0x000000019ddc0764 libsystem_kernel.dylib`__pthread_kill + 8 [08:21:46.735] frame #1: 0x000000019ddf7c28 libsystem_pthread.dylib`pthread_kill + 288 [08:21:46.735] frame #2: 0x000000019dd05ae8 libsystem_c.dylib`abort + 180 [08:21:46.735] frame #3: 0x000000010068f530 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [08:21:46.735] frame #4: 0x00000001003d2afc postgres`ExecFetchSlotHeapTuple(slot=0x000000016fbb81e0, materialize=, shouldFree=) at execTuples.c:1737:2 [08:21:46.735] frame #5: 0x00000001003a1fd4 postgres`ExecIRDeleteTriggers(estate=0x0000000137022900, relinfo=0x0000000137022eb0, slot=0x000000016fbb81e0) at trigger.c:2832:15 [08:21:46.735] frame #6: 0x00000001003f2bb0 postgres`ExecModifyTable at nodeModifyTable.c:2976:11 [08:21:46.735] frame #7: 0x00000001003f27c4 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016fbb8200, resultRelInfo=0x0000000137022eb0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2738:11 [08:21:46.735] frame #8: 0x00000001003f27c4 postgres`ExecModifyTable(pstate=0x0000000137022ca0) at nodeModifyTable.c:4067:12 [08:21:46.735] frame #9: 0x00000001003cd2e4 postgres`ExecProcNodeFirst(node=0x0000000137022ca0) at execProcnode.c:464:9 [08:21:46.735] frame #10: 0x00000001003c65f8 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x0000000137022ca0) at executor.h:274:9 [08:21:46.735] frame #11: 0x00000001003c65dc postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x0000000137022900, planstate=0x0000000137022ca0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000013782c510, execute_once=) at execMain.c:1646:10 [08:21:46.735] frame #12: 0x00000001003c65b0 postgres`standard_ExecutorRun(queryDesc=0x000000013781c248, direction=, count=0, execute_once=) at execMain.c:363:3 [08:21:46.735] frame #13: 0x0000000101078248 pg_stat_statements.dylib`pgss_ExecutorRun(queryDesc=0x000000013781c248, direction=ForwardScanDirection, count=0, execute_once=true) at pg_stat_statements.c:1032:4 [08:21:46.735] frame #14: 0x00000001003c64b8 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:302:3 [08:21:46.735] frame #15: 0x0000000100563748 postgres`ProcessQuery(plan=0x0000000118010ce8, 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=0x000000013782c510, qc=0x000000016fbb8560) at pquery.c:160:2 [08:21:46.735] frame #16: 0x0000000100562df4 postgres`PortalRunMulti(portal=0x000000014703f500, isTopLevel=true, setHoldSnapshot=true, dest=0x000000013782c510, altdest=0x0000000100a0d470, qc=0x000000016fbb8560) at pquery.c:0 [08:21:46.735] frame #17: 0x00000001005629b8 postgres`FillPortalStore(portal=0x000000014703f500, isTopLevel=true) at pquery.c:1026:4 [08:21:46.735] frame #18: 0x000000010056272c postgres`PortalRun(portal=0x000000014703f500, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000118010e48, altdest=0x0000000118010e48, qc=0x000000016fbb8758) at pquery.c:763:6 [08:21:46.735] frame #19: 0x00000001005616e8 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:21:46.735] frame #20: 0x000000010055f46c postgres`PostgresMain(dbname=, username=) at postgres.c:0 [08:21:46.735] frame #21: 0x000000010055ae34 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:101:2 [08:21:46.735] frame #22: 0x00000001004c57bc postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016fbb8b50) at launch_backend.c:265:3 [08:21:46.735] frame #23: 0x00000001004c9d08 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016fbb8b50) at postmaster.c:3593:8 [08:21:46.735] frame #24: 0x00000001004c9b20 postgres`ServerLoop at postmaster.c:1674:6 [08:21:46.735] frame #25: 0x00000001004c7768 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [08:21:46.735] frame #26: 0x000000010041bcf8 postgres`main(argc=4, argv=0x0000600002965200) at main.c:197:3 [08:21:46.735] frame #27: 0x000000019da9ff28 dyld`start + 2236 [08:21:46.735] (lldb) quit