[18:42:58.185] src/tools/ci/cores_backtrace.sh macos "${HOME}/cores" [18:42:59.893] (lldb) target create --core "/Users/admin/cores/core.16417" [18:43:25.819] Core file '/Users/admin/cores/core.16417' (arm64) was loaded. [18:43:25.819] (lldb) thread backtrace all [18:43:26.654] * thread #1 [18:43:26.654] * frame #0: 0x0000000180ab15f0 libsystem_kernel.dylib`__pthread_kill + 8 [18:43:26.654] frame #1: 0x0000000180ae9c20 libsystem_pthread.dylib`pthread_kill + 288 [18:43:26.654] frame #2: 0x00000001809f6a30 libsystem_c.dylib`abort + 180 [18:43:26.654] frame #3: 0x00000001044f287c postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [18:43:26.654] frame #4: 0x000000010423187c postgres`ExecFetchSlotHeapTuple(slot=0x000000016bd5c0c0, materialize=, shouldFree=) at execTuples.c:1737:2 [18:43:26.654] frame #5: 0x00000001041ff93c postgres`ExecIRDeleteTriggers(estate=0x000000012f041100, relinfo=0x000000012f0416b0, slot=0x000000016bd5c0c0) at trigger.c:2841:15 [18:43:26.654] frame #6: 0x0000000104251bc0 postgres`ExecModifyTable at nodeModifyTable.c:3043:11 [18:43:26.654] frame #7: 0x000000010425184c postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016bd5c0e0, resultRelInfo=0x000000012f0416b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2804:11 [18:43:26.654] frame #8: 0x000000010425184c postgres`ExecModifyTable(pstate=0x000000012f0414a0) at nodeModifyTable.c:4133:12 [18:43:26.654] frame #9: 0x00000001042251dc postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000012f0414a0) at executor.h:278:9 [18:43:26.654] frame #10: 0x00000001042251c0 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000012f041100, planstate=0x000000012f0414a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000013f07e910, execute_once=) at execMain.c:1641:10 [18:43:26.654] frame #11: 0x0000000104225194 postgres`standard_ExecutorRun(queryDesc=0x000000011f020248, direction=, count=0, execute_once=) at execMain.c:358:3 [18:43:26.654] frame #12: 0x0000000104c1fe38 pg_stat_statements.dylib`pgss_ExecutorRun(queryDesc=0x000000011f020248, direction=ForwardScanDirection, count=0, execute_once=true) at pg_stat_statements.c:1031:4 [18:43:26.654] frame #13: 0x00000001043c4f44 postgres`ProcessQuery(plan=0x0000000110090de8, 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=0x000000013f07e910, qc=0x000000016bd5c410) at pquery.c:160:2 [18:43:26.654] frame #14: 0x00000001043c45ec postgres`PortalRunMulti(portal=0x000000013f835d00, isTopLevel=true, setHoldSnapshot=true, dest=0x000000013f07e910, altdest=0x00000001048797c0, qc=0x000000016bd5c410) at pquery.c:0 [18:43:26.654] frame #15: 0x00000001043c41b0 postgres`FillPortalStore(portal=0x000000013f835d00, isTopLevel=true) at pquery.c:1026:4 [18:43:26.654] frame #16: 0x00000001043c3f24 postgres`PortalRun(portal=0x000000013f835d00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000110090f48, altdest=0x0000000110090f48, qc=0x000000016bd5c608) at pquery.c:763:6 [18:43:26.654] frame #17: 0x00000001043c2ee4 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 [18:43:26.654] frame #18: 0x00000001043c0c60 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [18:43:26.654] frame #19: 0x00000001043bbf48 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [18:43:26.654] frame #20: 0x00000001043237a4 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016bd5ca10) at launch_backend.c:274:3 [18:43:26.654] frame #21: 0x00000001043278f8 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016bd5ca10) at postmaster.c:3414:8 [18:43:26.654] frame #22: 0x0000000104327770 postgres`ServerLoop at postmaster.c:1648:6 [18:43:26.654] frame #23: 0x00000001043258d4 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [18:43:26.654] frame #24: 0x000000010427ac64 postgres`main(argc=4, argv=0x0000600002d8cb70) at main.c:197:3 [18:43:26.654] frame #25: 0x000000018075f154 dyld`start + 2476 [18:43:26.654] (lldb) quit [18:43:26.668] -e [18:43:26.668] [18:43:26.668] [18:43:26.858] (lldb) target create --core "/Users/admin/cores/core.9518" [18:43:52.294] Core file '/Users/admin/cores/core.9518' (arm64) was loaded. [18:43:52.294] (lldb) thread backtrace all [18:43:53.134] * thread #1 [18:43:53.134] * frame #0: 0x0000000180ab15f0 libsystem_kernel.dylib`__pthread_kill + 8 [18:43:53.134] frame #1: 0x0000000180ae9c20 libsystem_pthread.dylib`pthread_kill + 288 [18:43:53.134] frame #2: 0x00000001809f6a30 libsystem_c.dylib`abort + 180 [18:43:53.134] frame #3: 0x000000010517e87c postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [18:43:53.134] frame #4: 0x0000000104ebd87c postgres`ExecFetchSlotHeapTuple(slot=0x000000016b0d0220, materialize=, shouldFree=) at execTuples.c:1737:2 [18:43:53.134] frame #5: 0x0000000104e8b93c postgres`ExecIRDeleteTriggers(estate=0x0000000112836b00, relinfo=0x00000001128370b0, slot=0x000000016b0d0220) at trigger.c:2841:15 [18:43:53.134] frame #6: 0x0000000104eddbc0 postgres`ExecModifyTable at nodeModifyTable.c:3043:11 [18:43:53.134] frame #7: 0x0000000104edd84c postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016b0d0240, resultRelInfo=0x00000001128370b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2804:11 [18:43:53.134] frame #8: 0x0000000104edd84c postgres`ExecModifyTable(pstate=0x0000000112836ea0) at nodeModifyTable.c:4133:12 [18:43:53.134] frame #9: 0x0000000104eb11dc postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x0000000112836ea0) at executor.h:278:9 [18:43:53.134] frame #10: 0x0000000104eb11c0 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x0000000112836b00, planstate=0x0000000112836ea0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x00000001130cff10, execute_once=) at execMain.c:1641:10 [18:43:53.134] frame #11: 0x0000000104eb1194 postgres`standard_ExecutorRun(queryDesc=0x00000001130c9848, direction=, count=0, execute_once=) at execMain.c:358:3 [18:43:53.134] frame #12: 0x0000000104eb10b0 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:299:3 [artificial] [18:43:53.134] frame #13: 0x0000000105050f44 postgres`ProcessQuery(plan=0x000000011800fe88, 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=0x00000001130cff10, qc=0x000000016b0d0430) at pquery.c:160:2 [18:43:53.134] frame #14: 0x00000001050505ec postgres`PortalRunMulti(portal=0x000000011302bb00, isTopLevel=true, setHoldSnapshot=true, dest=0x00000001130cff10, altdest=0x00000001055057c0, qc=0x000000016b0d0430) at pquery.c:0 [18:43:53.134] frame #15: 0x00000001050501b0 postgres`FillPortalStore(portal=0x000000011302bb00, isTopLevel=true) at pquery.c:1026:4 [18:43:53.134] frame #16: 0x000000010504ff24 postgres`PortalRun(portal=0x000000011302bb00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000011800ffe8, altdest=0x000000011800ffe8, qc=0x000000016b0d0628) at pquery.c:763:6 [18:43:53.134] frame #17: 0x000000010504eee4 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 [18:43:53.134] frame #18: 0x000000010504cc60 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [18:43:53.134] frame #19: 0x0000000105047f48 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [18:43:53.134] frame #20: 0x0000000104faf7a4 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016b0d0a30) at launch_backend.c:274:3 [18:43:53.134] frame #21: 0x0000000104fb38f8 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016b0d0a30) at postmaster.c:3414:8 [18:43:53.134] frame #22: 0x0000000104fb3770 postgres`ServerLoop at postmaster.c:1648:6 [18:43:53.134] frame #23: 0x0000000104fb18d4 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [18:43:53.134] frame #24: 0x0000000104f06c64 postgres`main(argc=4, argv=0x0000600002aec870) at main.c:197:3 [18:43:53.134] frame #25: 0x000000018075f154 dyld`start + 2476 [18:43:53.134] (lldb) quit [18:43:53.147] -e [18:43:53.147] [18:43:53.147] [18:43:53.346] (lldb) target create --core "/Users/admin/cores/core.9281" [18:44:40.355] Core file '/Users/admin/cores/core.9281' (arm64) was loaded. [18:44:40.355] (lldb) thread backtrace all [18:44:41.913] * thread #1 [18:44:41.913] * frame #0: 0x0000000180ab15f0 libsystem_kernel.dylib`__pthread_kill + 8 [18:44:41.913] frame #1: 0x0000000180ae9c20 libsystem_pthread.dylib`pthread_kill + 288 [18:44:41.913] frame #2: 0x00000001809f6a30 libsystem_c.dylib`abort + 180 [18:44:41.913] frame #3: 0x0000000100ada87c postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [18:44:41.913] frame #4: 0x000000010081987c postgres`ExecFetchSlotHeapTuple(slot=0x000000016f774230, materialize=, shouldFree=) at execTuples.c:1737:2 [18:44:41.913] frame #5: 0x00000001007e793c postgres`ExecIRDeleteTriggers(estate=0x0000000151820900, relinfo=0x0000000151820eb0, slot=0x000000016f774230) at trigger.c:2841:15 [18:44:41.913] frame #6: 0x0000000100839bc0 postgres`ExecModifyTable at nodeModifyTable.c:3043:11 [18:44:41.913] frame #7: 0x000000010083984c postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016f774250, resultRelInfo=0x0000000151820eb0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2804:11 [18:44:41.913] frame #8: 0x000000010083984c postgres`ExecModifyTable(pstate=0x0000000151820ca0) at nodeModifyTable.c:4133:12 [18:44:41.913] frame #9: 0x000000010080d1dc postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x0000000151820ca0) at executor.h:278:9 [18:44:41.913] frame #10: 0x000000010080d1c0 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x0000000151820900, planstate=0x0000000151820ca0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x0000000152899b10, execute_once=) at execMain.c:1641:10 [18:44:41.913] frame #11: 0x000000010080d194 postgres`standard_ExecutorRun(queryDesc=0x000000015285a848, direction=, count=0, execute_once=) at execMain.c:358:3 [18:44:41.913] frame #12: 0x000000010080d0b0 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:299:3 [artificial] [18:44:41.913] frame #13: 0x00000001009acf44 postgres`ProcessQuery(plan=0x000000014801fe88, 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=0x0000000152899b10, qc=0x000000016f774440) at pquery.c:160:2 [18:44:41.913] frame #14: 0x00000001009ac5ec postgres`PortalRunMulti(portal=0x0000000152832100, isTopLevel=true, setHoldSnapshot=true, dest=0x0000000152899b10, altdest=0x0000000100e617c0, qc=0x000000016f774440) at pquery.c:0 [18:44:41.913] frame #15: 0x00000001009ac1b0 postgres`FillPortalStore(portal=0x0000000152832100, isTopLevel=true) at pquery.c:1026:4 [18:44:41.913] frame #16: 0x00000001009abf24 postgres`PortalRun(portal=0x0000000152832100, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000014801ffe8, altdest=0x000000014801ffe8, qc=0x000000016f774638) at pquery.c:763:6 [18:44:41.913] frame #17: 0x00000001009aaee4 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 [18:44:41.913] frame #18: 0x00000001009a8c60 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [18:44:41.913] frame #19: 0x00000001009a3f48 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [18:44:41.913] frame #20: 0x000000010090b7a4 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016f774a40) at launch_backend.c:274:3 [18:44:41.913] frame #21: 0x000000010090f8f8 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016f774a40) at postmaster.c:3414:8 [18:44:41.913] frame #22: 0x000000010090f770 postgres`ServerLoop at postmaster.c:1648:6 [18:44:41.913] frame #23: 0x000000010090d8d4 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [18:44:41.913] frame #24: 0x0000000100862c64 postgres`main(argc=8, argv=0x0000600002864370) at main.c:197:3 [18:44:41.913] frame #25: 0x000000018075f154 dyld`start + 2476 [18:44:41.913] (lldb) quit