[05:24:38.552] src/tools/ci/cores_backtrace.sh macos "${HOME}/cores" [05:24:38.911] (lldb) target create --core "/Users/admin/cores/core.14307" [05:24:51.689] Core file '/Users/admin/cores/core.14307' (arm64) was loaded. [05:24:51.689] (lldb) thread backtrace all [05:24:52.420] * thread #1 [05:24:52.420] * frame #0: 0x0000000187f68744 libsystem_kernel.dylib`__pthread_kill + 8 [05:24:52.420] frame #1: 0x0000000187f9fc28 libsystem_pthread.dylib`pthread_kill + 288 [05:24:52.420] frame #2: 0x0000000187eadae8 libsystem_c.dylib`abort + 180 [05:24:52.420] frame #3: 0x0000000101258480 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [05:24:52.420] frame #4: 0x0000000100f94eb4 postgres`ExecFetchSlotHeapTuple(slot=0x000000016effc250, materialize=, shouldFree=) at execTuples.c:1737:2 [05:24:52.420] frame #5: 0x0000000100f64094 postgres`ExecIRDeleteTriggers(estate=0x0000000107031300, relinfo=0x00000001070318b0, slot=0x000000016effc250) at trigger.c:2841:15 [05:24:52.420] frame #6: 0x0000000100fb4ed8 postgres`ExecModifyTable at nodeModifyTable.c:3027:11 [05:24:52.420] frame #7: 0x0000000100fb4aec postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016effc270, resultRelInfo=0x00000001070318b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2791:11 [05:24:52.420] frame #8: 0x0000000100fb4aec postgres`ExecModifyTable(pstate=0x00000001070316a0) at nodeModifyTable.c:4112:12 [05:24:52.420] frame #9: 0x0000000100f8f708 postgres`ExecProcNodeFirst(node=0x00000001070316a0) at execProcnode.c:464:9 [05:24:52.420] frame #10: 0x0000000100f88a1c postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x00000001070316a0) at executor.h:274:9 [05:24:52.420] frame #11: 0x0000000100f88a00 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x0000000107031300, planstate=0x00000001070316a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x0000000127901910, execute_once=) at execMain.c:1646:10 [05:24:52.420] frame #12: 0x0000000100f889d4 postgres`standard_ExecutorRun(queryDesc=0x0000000127016848, direction=, count=0, execute_once=) at execMain.c:363:3 [05:24:52.420] frame #13: 0x0000000101c54248 pg_stat_statements.dylib`pgss_ExecutorRun(queryDesc=0x0000000127016848, direction=ForwardScanDirection, count=0, execute_once=true) at pg_stat_statements.c:1032:4 [05:24:52.420] frame #14: 0x0000000100f888dc postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:302:3 [05:24:52.420] frame #15: 0x000000010112b514 postgres`ProcessQuery(plan=0x0000000128070ce8, 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=0x0000000127901910, qc=0x000000016effc5d0) at pquery.c:160:2 [05:24:52.420] frame #16: 0x000000010112abc0 postgres`PortalRunMulti(portal=0x000000012783f700, isTopLevel=true, setHoldSnapshot=true, dest=0x0000000127901910, altdest=0x00000001015e1480, qc=0x000000016effc5d0) at pquery.c:0 [05:24:52.420] frame #17: 0x000000010112a784 postgres`FillPortalStore(portal=0x000000012783f700, isTopLevel=true) at pquery.c:1026:4 [05:24:52.420] frame #18: 0x000000010112a4f8 postgres`PortalRun(portal=0x000000012783f700, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000128070e48, altdest=0x0000000128070e48, qc=0x000000016effc7c8) at pquery.c:763:6 [05:24:52.420] frame #19: 0x00000001011294b4 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 [05:24:52.420] frame #20: 0x0000000101127238 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [05:24:52.420] frame #21: 0x00000001011229a4 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:105:2 [05:24:52.420] frame #22: 0x000000010108a748 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016effcbc0) at launch_backend.c:265:3 [05:24:52.420] frame #23: 0x000000010108ee74 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016effcbc0) at postmaster.c:3593:8 [05:24:52.420] frame #24: 0x000000010108ec8c postgres`ServerLoop at postmaster.c:1674:6 [05:24:52.420] frame #25: 0x000000010108c8d4 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [05:24:52.420] frame #26: 0x0000000100fde428 postgres`main(argc=4, argv=0x00006000021711d0) at main.c:197:3 [05:24:52.420] frame #27: 0x0000000187c47f28 dyld`start + 2236 [05:24:52.420] (lldb) quit [05:24:52.496] -e [05:24:52.496] [05:24:52.496] [05:24:52.652] (lldb) target create --core "/Users/admin/cores/core.15955" [05:25:03.650] Core file '/Users/admin/cores/core.15955' (arm64) was loaded. [05:25:03.650] (lldb) thread backtrace all [05:25:03.654] * thread #1 [05:25:03.654] * frame #0: 0x0000000187c61e4c dyld`dyld4::Loader::hasExportedSymbol(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::ExportedSymbolMode, dyld4::Loader::ResolvedSymbol*, dyld3::Array*) const + 628 [05:25:03.654] frame #1: 0x0000000187c61e90 dyld`dyld4::Loader::hasExportedSymbol(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::ExportedSymbolMode, dyld4::Loader::ResolvedSymbol*, dyld3::Array*) const + 696 [05:25:03.654] frame #2: 0x0000000187c6188c dyld`dyld4::Loader::resolveSymbol(Diagnostics&, dyld4::RuntimeState&, int, char const*, bool, bool, void (unsigned int, unsigned int, dyld4::Loader::ResolvedSymbol const&) block_pointer, bool) const + 868 [05:25:03.654] frame #3: 0x0000000187c66dd8 dyld`invocation function for block in dyld4::JustInTimeLoader::forEachBindTarget(Diagnostics&, dyld4::RuntimeState&, void (unsigned int, unsigned int, dyld4::Loader::ResolvedSymbol const&) block_pointer, bool, void (dyld4::Loader::ResolvedSymbol const&, bool&) block_pointer, void (dyld4::Loader::ResolvedSymbol const&, bool&) block_pointer) const + 108 [05:25:03.654] frame #4: 0x0000000187c9f240 dyld`invocation function for block in mach_o::Fixups::forEachBindTarget_ChainedFixups(Diagnostics&, void (mach_o::Fixups::BindTargetInfo const&, bool&) block_pointer) const + 72 [05:25:03.654] frame #5: 0x0000000187c99cf4 dyld`dyld3::MachOFile::forEachChainedFixupTarget(Diagnostics&, dyld_chained_fixups_header const*, linkedit_data_command const*, void (int, char const*, unsigned long long, bool, bool&) block_pointer) + 256 [05:25:03.654] frame #6: 0x0000000187c9ef10 dyld`mach_o::Fixups::forEachBindTarget_ChainedFixups(Diagnostics&, void (mach_o::Fixups::BindTargetInfo const&, bool&) block_pointer) const + 144 [05:25:03.654] frame #7: 0x0000000187c66d40 dyld`invocation function for block in dyld4::JustInTimeLoader::forEachBindTarget(Diagnostics&, dyld4::RuntimeState&, void (unsigned int, unsigned int, dyld4::Loader::ResolvedSymbol const&) block_pointer, bool, void (dyld4::Loader::ResolvedSymbol const&, bool&) block_pointer, void (dyld4::Loader::ResolvedSymbol const&, bool&) block_pointer) const + 268 [05:25:03.654] frame #8: 0x0000000187ca2518 dyld`dyld3::MachOAnalyzer::withVMLayout(Diagnostics&, void (mach_o::Layout const&) block_pointer) const + 668 [05:25:03.654] frame #9: 0x0000000187c65f70 dyld`dyld4::JustInTimeLoader::applyFixups(Diagnostics&, dyld4::RuntimeState&, dyld4::DyldCacheDataConstLazyScopedWriter&, bool) const + 620 [05:25:03.654] frame #10: 0x0000000187c48dd8 dyld`dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 2208 [05:25:03.654] frame #11: 0x0000000187c47e18 dyld`start + 1964 [05:25:03.654] (lldb) quit [05:25:03.662] -e [05:25:03.662] [05:25:03.662] [05:25:03.776] (lldb) target create --core "/Users/admin/cores/core.9050" [05:25:16.325] Core file '/Users/admin/cores/core.9050' (arm64) was loaded. [05:25:16.325] (lldb) thread backtrace all [05:25:17.040] * thread #1 [05:25:17.040] * frame #0: 0x0000000187f68744 libsystem_kernel.dylib`__pthread_kill + 8 [05:25:17.040] frame #1: 0x0000000187f9fc28 libsystem_pthread.dylib`pthread_kill + 288 [05:25:17.040] frame #2: 0x0000000187eadae8 libsystem_c.dylib`abort + 180 [05:25:17.040] frame #3: 0x0000000104fe0480 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [05:25:17.040] frame #4: 0x0000000104d1ceb4 postgres`ExecFetchSlotHeapTuple(slot=0x000000016b2743b0, materialize=, shouldFree=) at execTuples.c:1737:2 [05:25:17.040] frame #5: 0x0000000104cec094 postgres`ExecIRDeleteTriggers(estate=0x00000001318abb00, relinfo=0x00000001318ac0b0, slot=0x000000016b2743b0) at trigger.c:2841:15 [05:25:17.040] frame #6: 0x0000000104d3ced8 postgres`ExecModifyTable at nodeModifyTable.c:3027:11 [05:25:17.040] frame #7: 0x0000000104d3caec postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016b2743d0, resultRelInfo=0x00000001318ac0b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2791:11 [05:25:17.040] frame #8: 0x0000000104d3caec postgres`ExecModifyTable(pstate=0x00000001318abea0) at nodeModifyTable.c:4112:12 [05:25:17.040] frame #9: 0x0000000104d17708 postgres`ExecProcNodeFirst(node=0x00000001318abea0) at execProcnode.c:464:9 [05:25:17.040] frame #10: 0x0000000104d10a1c postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x00000001318abea0) at executor.h:274:9 [05:25:17.040] frame #11: 0x0000000104d10a00 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x00000001318abb00, planstate=0x00000001318abea0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x0000000131089d10, execute_once=) at execMain.c:1646:10 [05:25:17.040] frame #12: 0x0000000104d109d4 postgres`standard_ExecutorRun(queryDesc=0x000000014185bc48, direction=, count=0, execute_once=) at execMain.c:363:3 [05:25:17.040] frame #13: 0x0000000104d108e8 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [05:25:17.040] frame #14: 0x0000000104eb3514 postgres`ProcessQuery(plan=0x000000011800fd88, 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=0x0000000131089d10, qc=0x000000016b2745f0) at pquery.c:160:2 [05:25:17.040] frame #15: 0x0000000104eb2bc0 postgres`PortalRunMulti(portal=0x000000013182f500, isTopLevel=true, setHoldSnapshot=true, dest=0x0000000131089d10, altdest=0x0000000105369480, qc=0x000000016b2745f0) at pquery.c:0 [05:25:17.040] frame #16: 0x0000000104eb2784 postgres`FillPortalStore(portal=0x000000013182f500, isTopLevel=true) at pquery.c:1026:4 [05:25:17.040] frame #17: 0x0000000104eb24f8 postgres`PortalRun(portal=0x000000013182f500, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000011800fee8, altdest=0x000000011800fee8, qc=0x000000016b2747e8) at pquery.c:763:6 [05:25:17.040] frame #18: 0x0000000104eb14b4 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 [05:25:17.040] frame #19: 0x0000000104eaf238 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [05:25:17.040] frame #20: 0x0000000104eaa9a4 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:105:2 [05:25:17.040] frame #21: 0x0000000104e12748 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016b274be0) at launch_backend.c:265:3 [05:25:17.040] frame #22: 0x0000000104e16e74 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016b274be0) at postmaster.c:3593:8 [05:25:17.040] frame #23: 0x0000000104e16c8c postgres`ServerLoop at postmaster.c:1674:6 [05:25:17.040] frame #24: 0x0000000104e148d4 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [05:25:17.040] frame #25: 0x0000000104d66428 postgres`main(argc=4, argv=0x00006000029a91d0) at main.c:197:3 [05:25:17.040] frame #26: 0x0000000187c47f28 dyld`start + 2236 [05:25:17.040] (lldb) quit [05:25:17.051] -e [05:25:17.051] [05:25:17.051] [05:25:17.166] (lldb) target create --core "/Users/admin/cores/core.8815" [05:25:29.662] Core file '/Users/admin/cores/core.8815' (arm64) was loaded. [05:25:29.662] (lldb) thread backtrace all [05:25:30.339] * thread #1 [05:25:30.339] * frame #0: 0x0000000187f68744 libsystem_kernel.dylib`__pthread_kill + 8 [05:25:30.339] frame #1: 0x0000000187f9fc28 libsystem_pthread.dylib`pthread_kill + 288 [05:25:30.339] frame #2: 0x0000000187eadae8 libsystem_c.dylib`abort + 180 [05:25:30.339] frame #3: 0x0000000102cdc480 postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [05:25:30.339] frame #4: 0x0000000102a18eb4 postgres`ExecFetchSlotHeapTuple(slot=0x000000016d5783c0, materialize=, shouldFree=) at execTuples.c:1737:2 [05:25:30.339] frame #5: 0x00000001029e8094 postgres`ExecIRDeleteTriggers(estate=0x000000014104d100, relinfo=0x000000014104d6b0, slot=0x000000016d5783c0) at trigger.c:2841:15 [05:25:30.339] frame #6: 0x0000000102a38ed8 postgres`ExecModifyTable at nodeModifyTable.c:3027:11 [05:25:30.339] frame #7: 0x0000000102a38aec postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016d5783e0, resultRelInfo=0x000000014104d6b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2791:11 [05:25:30.339] frame #8: 0x0000000102a38aec postgres`ExecModifyTable(pstate=0x000000014104d4a0) at nodeModifyTable.c:4112:12 [05:25:30.339] frame #9: 0x0000000102a13708 postgres`ExecProcNodeFirst(node=0x000000014104d4a0) at execProcnode.c:464:9 [05:25:30.339] frame #10: 0x0000000102a0ca1c postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000014104d4a0) at executor.h:274:9 [05:25:30.339] frame #11: 0x0000000102a0ca00 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000014104d100, planstate=0x000000014104d4a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x0000000141094910, execute_once=) at execMain.c:1646:10 [05:25:30.339] frame #12: 0x0000000102a0c9d4 postgres`standard_ExecutorRun(queryDesc=0x000000014189a448, direction=, count=0, execute_once=) at execMain.c:363:3 [05:25:30.339] frame #13: 0x0000000102a0c8e8 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [05:25:30.339] frame #14: 0x0000000102baf514 postgres`ProcessQuery(plan=0x000000012801fdd8, 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=0x0000000141094910, qc=0x000000016d578600) at pquery.c:160:2 [05:25:30.339] frame #15: 0x0000000102baebc0 postgres`PortalRunMulti(portal=0x000000014182f500, isTopLevel=true, setHoldSnapshot=true, dest=0x0000000141094910, altdest=0x0000000103065480, qc=0x000000016d578600) at pquery.c:0 [05:25:30.339] frame #16: 0x0000000102bae784 postgres`FillPortalStore(portal=0x000000014182f500, isTopLevel=true) at pquery.c:1026:4 [05:25:30.339] frame #17: 0x0000000102bae4f8 postgres`PortalRun(portal=0x000000014182f500, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000012801ff38, altdest=0x000000012801ff38, qc=0x000000016d5787f8) at pquery.c:763:6 [05:25:30.339] frame #18: 0x0000000102bad4b4 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 [05:25:30.339] frame #19: 0x0000000102bab238 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [05:25:30.339] frame #20: 0x0000000102ba69a4 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:105:2 [05:25:30.339] frame #21: 0x0000000102b0e748 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016d578bf0) at launch_backend.c:265:3 [05:25:30.339] frame #22: 0x0000000102b12e74 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016d578bf0) at postmaster.c:3593:8 [05:25:30.339] frame #23: 0x0000000102b12c8c postgres`ServerLoop at postmaster.c:1674:6 [05:25:30.339] frame #24: 0x0000000102b108d4 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [05:25:30.339] frame #25: 0x0000000102a62428 postgres`main(argc=8, argv=0x0000600003013a70) at main.c:197:3 [05:25:30.339] frame #26: 0x0000000187c47f28 dyld`start + 2236 [05:25:30.339] (lldb) quit