[08:06:52.926] src/tools/ci/cores_backtrace.sh macos "${HOME}/cores" [08:06:53.347] (lldb) target create --core "/Users/admin/cores/core.12360" [08:07:06.398] Core file '/Users/admin/cores/core.12360' (arm64) was loaded. [08:07:06.398] (lldb) thread backtrace all [08:07:07.150] * thread #1 [08:07:07.150] * frame #0: 0x00000001a00b0744 libsystem_kernel.dylib`__pthread_kill + 8 [08:07:07.150] frame #1: 0x00000001a00e7c28 libsystem_pthread.dylib`pthread_kill + 288 [08:07:07.150] frame #2: 0x000000019fff5ae8 libsystem_c.dylib`abort + 180 [08:07:07.150] frame #3: 0x00000001008dbf7c postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [08:07:07.150] frame #4: 0x0000000100618038 postgres`ExecFetchSlotHeapTuple(slot=0x000000016f9783c0, materialize=, shouldFree=) at execTuples.c:1737:2 [08:07:07.150] frame #5: 0x00000001005e6afc postgres`ExecIRDeleteTriggers(estate=0x0000000157040d00, relinfo=0x00000001570412b0, slot=0x000000016f9783c0) at trigger.c:2832:15 [08:07:07.150] frame #6: 0x0000000100638080 postgres`ExecModifyTable at nodeModifyTable.c:2976:11 [08:07:07.150] frame #7: 0x0000000100637c94 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016f9783e0, resultRelInfo=0x00000001570412b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2738:11 [08:07:07.150] frame #8: 0x0000000100637c94 postgres`ExecModifyTable(pstate=0x00000001570410a0) at nodeModifyTable.c:4067:12 [08:07:07.150] frame #9: 0x0000000100612820 postgres`ExecProcNodeFirst(node=0x00000001570410a0) at execProcnode.c:464:9 [08:07:07.150] frame #10: 0x000000010060bb34 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x00000001570410a0) at executor.h:274:9 [08:07:07.150] frame #11: 0x000000010060bb18 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x0000000157040d00, planstate=0x00000001570410a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x0000000156078310, execute_once=) at execMain.c:1646:10 [08:07:07.150] frame #12: 0x000000010060baec postgres`standard_ExecutorRun(queryDesc=0x00000001600e0c48, direction=, count=0, execute_once=) at execMain.c:363:3 [08:07:07.150] frame #13: 0x000000010060ba00 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [08:07:07.150] frame #14: 0x00000001007aef4c postgres`ProcessQuery(plan=0x000000014801fdd8, 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=0x0000000156078310, qc=0x000000016f978600) at pquery.c:160:2 [08:07:07.150] frame #15: 0x00000001007ae5f8 postgres`PortalRunMulti(portal=0x0000000160033100, isTopLevel=true, setHoldSnapshot=true, dest=0x0000000156078310, altdest=0x0000000100c69490, qc=0x000000016f978600) at pquery.c:0 [08:07:07.150] frame #16: 0x00000001007ae1bc postgres`FillPortalStore(portal=0x0000000160033100, isTopLevel=true) at pquery.c:1026:4 [08:07:07.150] frame #17: 0x00000001007adf30 postgres`PortalRun(portal=0x0000000160033100, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000014801ff38, altdest=0x000000014801ff38, qc=0x000000016f9787f8) at pquery.c:763:6 [08:07:07.150] frame #18: 0x00000001007aceec 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:07:07.150] frame #19: 0x00000001007aac70 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [08:07:07.150] frame #20: 0x00000001007a63dc postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:105:2 [08:07:07.150] frame #21: 0x000000010070e014 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016f978bf0) at launch_backend.c:265:3 [08:07:07.150] frame #22: 0x0000000100712744 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016f978bf0) at postmaster.c:3593:8 [08:07:07.150] frame #23: 0x000000010071255c postgres`ServerLoop at postmaster.c:1674:6 [08:07:07.150] frame #24: 0x00000001007101a4 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [08:07:07.150] frame #25: 0x000000010066162c postgres`main(argc=8, argv=0x00006000033583c0) at main.c:197:3 [08:07:07.150] frame #26: 0x000000019fd8ff28 dyld`start + 2236 [08:07:07.150] (lldb) quit [08:07:07.166] -e [08:07:07.166] [08:07:07.166] [08:07:07.286] (lldb) target create --core "/Users/admin/cores/core.17056" [08:07:20.377] Core file '/Users/admin/cores/core.17056' (arm64) was loaded. [08:07:20.377] (lldb) thread backtrace all [08:07:21.135] * thread #1 [08:07:21.135] * frame #0: 0x00000001a00b0744 libsystem_kernel.dylib`__pthread_kill + 8 [08:07:21.135] frame #1: 0x00000001a00e7c28 libsystem_pthread.dylib`pthread_kill + 288 [08:07:21.135] frame #2: 0x000000019fff5ae8 libsystem_c.dylib`abort + 180 [08:07:21.135] frame #3: 0x0000000100f27f7c postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [08:07:21.135] frame #4: 0x0000000100c64038 postgres`ExecFetchSlotHeapTuple(slot=0x000000016f32c250, materialize=, shouldFree=) at execTuples.c:1737:2 [08:07:21.135] frame #5: 0x0000000100c32afc postgres`ExecIRDeleteTriggers(estate=0x0000000134099500, relinfo=0x0000000134099ab0, slot=0x000000016f32c250) at trigger.c:2832:15 [08:07:21.135] frame #6: 0x0000000100c84080 postgres`ExecModifyTable at nodeModifyTable.c:2976:11 [08:07:21.135] frame #7: 0x0000000100c83c94 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016f32c270, resultRelInfo=0x0000000134099ab0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2738:11 [08:07:21.135] frame #8: 0x0000000100c83c94 postgres`ExecModifyTable(pstate=0x00000001340998a0) at nodeModifyTable.c:4067:12 [08:07:21.135] frame #9: 0x0000000100c5e820 postgres`ExecProcNodeFirst(node=0x00000001340998a0) at execProcnode.c:464:9 [08:07:21.135] frame #10: 0x0000000100c57b34 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x00000001340998a0) at executor.h:274:9 [08:07:21.135] frame #11: 0x0000000100c57b18 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x0000000134099500, planstate=0x00000001340998a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x0000000135044510, execute_once=) at execMain.c:1646:10 [08:07:21.135] frame #12: 0x0000000100c57aec postgres`standard_ExecutorRun(queryDesc=0x00000001340a4c48, direction=, count=0, execute_once=) at execMain.c:363:3 [08:07:21.135] frame #13: 0x0000000101930248 pg_stat_statements.dylib`pgss_ExecutorRun(queryDesc=0x00000001340a4c48, direction=ForwardScanDirection, count=0, execute_once=true) at pg_stat_statements.c:1032:4 [08:07:21.135] frame #14: 0x0000000100c579f4 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:302:3 [08:07:21.135] frame #15: 0x0000000100dfaf4c postgres`ProcessQuery(plan=0x0000000108020ce8, 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=0x0000000135044510, qc=0x000000016f32c5d0) at pquery.c:160:2 [08:07:21.135] frame #16: 0x0000000100dfa5f8 postgres`PortalRunMulti(portal=0x0000000134030b00, isTopLevel=true, setHoldSnapshot=true, dest=0x0000000135044510, altdest=0x00000001012b5490, qc=0x000000016f32c5d0) at pquery.c:0 [08:07:21.135] frame #17: 0x0000000100dfa1bc postgres`FillPortalStore(portal=0x0000000134030b00, isTopLevel=true) at pquery.c:1026:4 [08:07:21.135] frame #18: 0x0000000100df9f30 postgres`PortalRun(portal=0x0000000134030b00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000108020e48, altdest=0x0000000108020e48, qc=0x000000016f32c7c8) at pquery.c:763:6 [08:07:21.135] frame #19: 0x0000000100df8eec 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:07:21.135] frame #20: 0x0000000100df6c70 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [08:07:21.135] frame #21: 0x0000000100df23dc postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:105:2 [08:07:21.135] frame #22: 0x0000000100d5a014 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016f32cbc0) at launch_backend.c:265:3 [08:07:21.135] frame #23: 0x0000000100d5e744 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016f32cbc0) at postmaster.c:3593:8 [08:07:21.135] frame #24: 0x0000000100d5e55c postgres`ServerLoop at postmaster.c:1674:6 [08:07:21.135] frame #25: 0x0000000100d5c1a4 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [08:07:21.135] frame #26: 0x0000000100cad62c postgres`main(argc=4, argv=0x0000600002624a80) at main.c:197:3 [08:07:21.135] frame #27: 0x000000019fd8ff28 dyld`start + 2236 [08:07:21.135] (lldb) quit [08:07:21.145] -e [08:07:21.145] [08:07:21.145] [08:07:21.261] (lldb) target create --core "/Users/admin/cores/core.12497" [08:07:34.864] Core file '/Users/admin/cores/core.12497' (arm64) was loaded. [08:07:34.864] (lldb) thread backtrace all [08:07:35.615] * thread #1 [08:07:35.615] * frame #0: 0x00000001a00b0744 libsystem_kernel.dylib`__pthread_kill + 8 [08:07:35.615] frame #1: 0x00000001a00e7c28 libsystem_pthread.dylib`pthread_kill + 288 [08:07:35.615] frame #2: 0x000000019fff5ae8 libsystem_c.dylib`abort + 180 [08:07:35.615] frame #3: 0x000000010518ff7c postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [08:07:35.615] frame #4: 0x0000000104ecc038 postgres`ExecFetchSlotHeapTuple(slot=0x000000016b0c43b0, materialize=, shouldFree=) at execTuples.c:1737:2 [08:07:35.615] frame #5: 0x0000000104e9aafc postgres`ExecIRDeleteTriggers(estate=0x000000013002c100, relinfo=0x000000013002c6b0, slot=0x000000016b0c43b0) at trigger.c:2832:15 [08:07:35.615] frame #6: 0x0000000104eec080 postgres`ExecModifyTable at nodeModifyTable.c:2976:11 [08:07:35.615] frame #7: 0x0000000104eebc94 postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016b0c43d0, resultRelInfo=0x000000013002c6b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2738:11 [08:07:35.615] frame #8: 0x0000000104eebc94 postgres`ExecModifyTable(pstate=0x000000013002c4a0) at nodeModifyTable.c:4067:12 [08:07:35.615] frame #9: 0x0000000104ec6820 postgres`ExecProcNodeFirst(node=0x000000013002c4a0) at execProcnode.c:464:9 [08:07:35.615] frame #10: 0x0000000104ebfb34 postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000013002c4a0) at executor.h:274:9 [08:07:35.615] frame #11: 0x0000000104ebfb18 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000013002c100, planstate=0x000000013002c4a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x0000000130876710, execute_once=) at execMain.c:1646:10 [08:07:35.615] frame #12: 0x0000000104ebfaec postgres`standard_ExecutorRun(queryDesc=0x00000001140c3a48, direction=, count=0, execute_once=) at execMain.c:363:3 [08:07:35.615] frame #13: 0x0000000104ebfa00 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:304:3 [08:07:35.615] frame #14: 0x0000000105062f4c postgres`ProcessQuery(plan=0x000000013809fdd8, 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=0x0000000130876710, qc=0x000000016b0c45f0) at pquery.c:160:2 [08:07:35.615] frame #15: 0x00000001050625f8 postgres`PortalRunMulti(portal=0x000000011402c100, isTopLevel=true, setHoldSnapshot=true, dest=0x0000000130876710, altdest=0x000000010551d490, qc=0x000000016b0c45f0) at pquery.c:0 [08:07:35.615] frame #16: 0x00000001050621bc postgres`FillPortalStore(portal=0x000000011402c100, isTopLevel=true) at pquery.c:1026:4 [08:07:35.615] frame #17: 0x0000000105061f30 postgres`PortalRun(portal=0x000000011402c100, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x000000013809ff38, altdest=0x000000013809ff38, qc=0x000000016b0c47e8) at pquery.c:763:6 [08:07:35.615] frame #18: 0x0000000105060eec 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:07:35.615] frame #19: 0x000000010505ec70 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [08:07:35.615] frame #20: 0x000000010505a3dc postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:105:2 [08:07:35.615] frame #21: 0x0000000104fc2014 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016b0c4be0) at launch_backend.c:265:3 [08:07:35.615] frame #22: 0x0000000104fc6744 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016b0c4be0) at postmaster.c:3593:8 [08:07:35.615] frame #23: 0x0000000104fc655c postgres`ServerLoop at postmaster.c:1674:6 [08:07:35.615] frame #24: 0x0000000104fc41a4 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1372:11 [08:07:35.615] frame #25: 0x0000000104f1562c postgres`main(argc=4, argv=0x0000600003298ed0) at main.c:197:3 [08:07:35.615] frame #26: 0x000000019fd8ff28 dyld`start + 2236 [08:07:35.615] (lldb) quit [08:07:35.625] -e [08:07:35.625] [08:07:35.625] [08:07:35.758] (lldb) target create --core "/Users/admin/cores/core.23180" [08:07:47.466] Core file '/Users/admin/cores/core.23180' (arm64) was loaded. [08:07:47.466] (lldb) thread backtrace all [08:07:47.469] * thread #1 [08:07:47.469] * frame #0: 0x000000019fde2410 dyld`dyld3::MachOFile::trieWalk(Diagnostics&, unsigned char const*, unsigned char const*, char const*) + 352 [08:07:47.469] frame #1: 0x000000019fda9d48 dyld`dyld4::Loader::hasExportedSymbol(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::ExportedSymbolMode, dyld4::Loader::ResolvedSymbol*, dyld3::Array*) const + 368 [08:07:47.469] frame #2: 0x000000019fda9e90 dyld`dyld4::Loader::hasExportedSymbol(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::ExportedSymbolMode, dyld4::Loader::ResolvedSymbol*, dyld3::Array*) const + 696 [08:07:47.469] frame #3: 0x000000019fda988c 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 [08:07:47.469] frame #4: 0x000000019fdaedd8 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 [08:07:47.469] frame #5: 0x000000019fde7240 dyld`invocation function for block in mach_o::Fixups::forEachBindTarget_ChainedFixups(Diagnostics&, void (mach_o::Fixups::BindTargetInfo const&, bool&) block_pointer) const + 72 [08:07:47.469] frame #6: 0x000000019fde1cf4 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 [08:07:47.469] frame #7: 0x000000019fde6f10 dyld`mach_o::Fixups::forEachBindTarget_ChainedFixups(Diagnostics&, void (mach_o::Fixups::BindTargetInfo const&, bool&) block_pointer) const + 144 [08:07:47.469] frame #8: 0x000000019fdaed40 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 [08:07:47.469] frame #9: 0x000000019fdea518 dyld`dyld3::MachOAnalyzer::withVMLayout(Diagnostics&, void (mach_o::Layout const&) block_pointer) const + 668 [08:07:47.469] frame #10: 0x000000019fdadf70 dyld`dyld4::JustInTimeLoader::applyFixups(Diagnostics&, dyld4::RuntimeState&, dyld4::DyldCacheDataConstLazyScopedWriter&, bool) const + 620 [08:07:47.469] frame #11: 0x000000019fd90dd8 dyld`dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 2208 [08:07:47.469] frame #12: 0x000000019fd8fe18 dyld`start + 1964 [08:07:47.469] (lldb) quit