[16:05:49.485] src/tools/ci/cores_backtrace.sh macos "${HOME}/cores" [16:05:52.132] (lldb) target create --core "/Users/admin/cores/core.10001" [16:06:10.652] Core file '/Users/admin/cores/core.10001' (arm64) was loaded. [16:06:10.652] (lldb) thread backtrace all [16:06:11.420] * thread #1 [16:06:11.420] * frame #0: 0x00000001838b55f0 libsystem_kernel.dylib`__pthread_kill + 8 [16:06:11.420] frame #1: 0x00000001838edc20 libsystem_pthread.dylib`pthread_kill + 288 [16:06:11.420] frame #2: 0x00000001837faa30 libsystem_c.dylib`abort + 180 [16:06:11.420] frame #3: 0x00000001013a289c postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [16:06:11.420] frame #4: 0x00000001010e191c postgres`ExecFetchSlotHeapTuple(slot=0x000000016eeac220, materialize=, shouldFree=) at execTuples.c:1737:2 [16:06:11.420] frame #5: 0x00000001010af9dc postgres`ExecIRDeleteTriggers(estate=0x0000000140044100, relinfo=0x00000001400446b0, slot=0x000000016eeac220) at trigger.c:2841:15 [16:06:11.420] frame #6: 0x0000000101101c60 postgres`ExecModifyTable at nodeModifyTable.c:3043:11 [16:06:11.420] frame #7: 0x00000001011018ec postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016eeac240, resultRelInfo=0x00000001400446b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2804:11 [16:06:11.420] frame #8: 0x00000001011018ec postgres`ExecModifyTable(pstate=0x00000001400444a0) at nodeModifyTable.c:4133:12 [16:06:11.420] frame #9: 0x00000001010d527c postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x00000001400444a0) at executor.h:278:9 [16:06:11.420] frame #10: 0x00000001010d5260 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x0000000140044100, planstate=0x00000001400444a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000014009e510, execute_once=) at execMain.c:1641:10 [16:06:11.420] frame #11: 0x00000001010d5234 postgres`standard_ExecutorRun(queryDesc=0x000000015001cc48, direction=, count=0, execute_once=) at execMain.c:358:3 [16:06:11.420] frame #12: 0x00000001010d5150 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:299:3 [artificial] [16:06:11.420] frame #13: 0x0000000101274f64 postgres`ProcessQuery(plan=0x0000000138027e88, 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=0x000000014009e510, qc=0x000000016eeac430) at pquery.c:160:2 [16:06:11.420] frame #14: 0x000000010127460c postgres`PortalRunMulti(portal=0x0000000150047b00, isTopLevel=true, setHoldSnapshot=true, dest=0x000000014009e510, altdest=0x00000001017297c0, qc=0x000000016eeac430) at pquery.c:0 [16:06:11.420] frame #15: 0x00000001012741d0 postgres`FillPortalStore(portal=0x0000000150047b00, isTopLevel=true) at pquery.c:1026:4 [16:06:11.420] frame #16: 0x0000000101273f44 postgres`PortalRun(portal=0x0000000150047b00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000138027fe8, altdest=0x0000000138027fe8, qc=0x000000016eeac628) at pquery.c:763:6 [16:06:11.420] frame #17: 0x0000000101272f04 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 [16:06:11.420] frame #18: 0x0000000101270c80 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [16:06:11.420] frame #19: 0x000000010126bf68 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [16:06:11.420] frame #20: 0x00000001011d3844 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016eeaca30) at launch_backend.c:274:3 [16:06:11.420] frame #21: 0x00000001011d7998 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016eeaca30) at postmaster.c:3414:8 [16:06:11.420] frame #22: 0x00000001011d7810 postgres`ServerLoop at postmaster.c:1648:6 [16:06:11.420] frame #23: 0x00000001011d5974 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [16:06:11.420] frame #24: 0x000000010112ad04 postgres`main(argc=4, argv=0x0000600003a84b70) at main.c:197:3 [16:06:11.420] frame #25: 0x0000000183563154 dyld`start + 2476 [16:06:11.420] (lldb) quit [16:06:11.431] -e [16:06:11.431] [16:06:11.431] [16:06:11.616] (lldb) target create --core "/Users/admin/cores/core.9681" [16:06:34.649] Core file '/Users/admin/cores/core.9681' (arm64) was loaded. [16:06:34.649] (lldb) thread backtrace all [16:06:35.370] * thread #1 [16:06:35.370] * frame #0: 0x00000001838b55f0 libsystem_kernel.dylib`__pthread_kill + 8 [16:06:35.370] frame #1: 0x00000001838edc20 libsystem_pthread.dylib`pthread_kill + 288 [16:06:35.370] frame #2: 0x00000001837faa30 libsystem_c.dylib`abort + 180 [16:06:35.370] frame #3: 0x000000010475e89c postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [16:06:35.370] frame #4: 0x000000010449d91c postgres`ExecFetchSlotHeapTuple(slot=0x000000016baf0230, materialize=, shouldFree=) at execTuples.c:1737:2 [16:06:35.370] frame #5: 0x000000010446b9dc postgres`ExecIRDeleteTriggers(estate=0x000000012b0ac700, relinfo=0x000000012b0accb0, slot=0x000000016baf0230) at trigger.c:2841:15 [16:06:35.370] frame #6: 0x00000001044bdc60 postgres`ExecModifyTable at nodeModifyTable.c:3043:11 [16:06:35.370] frame #7: 0x00000001044bd8ec postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016baf0250, resultRelInfo=0x000000012b0accb0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2804:11 [16:06:35.370] frame #8: 0x00000001044bd8ec postgres`ExecModifyTable(pstate=0x000000012b0acaa0) at nodeModifyTable.c:4133:12 [16:06:35.370] frame #9: 0x000000010449127c postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000012b0acaa0) at executor.h:278:9 [16:06:35.370] frame #10: 0x0000000104491260 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000012b0ac700, planstate=0x000000012b0acaa0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000012b0bd710, execute_once=) at execMain.c:1641:10 [16:06:35.370] frame #11: 0x0000000104491234 postgres`standard_ExecutorRun(queryDesc=0x000000012a0f0e48, direction=, count=0, execute_once=) at execMain.c:358:3 [16:06:35.370] frame #12: 0x0000000104491150 postgres`ExecutorRun(queryDesc=, direction=, count=, execute_once=) at execMain.c:299:3 [artificial] [16:06:35.370] frame #13: 0x0000000104630f64 postgres`ProcessQuery(plan=0x0000000130067ed8, 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=0x000000012b0bd710, qc=0x000000016baf0440) at pquery.c:160:2 [16:06:35.370] frame #14: 0x000000010463060c postgres`PortalRunMulti(portal=0x000000012b030f00, isTopLevel=true, setHoldSnapshot=true, dest=0x000000012b0bd710, altdest=0x0000000104ae57c0, qc=0x000000016baf0440) at pquery.c:0 [16:06:35.370] frame #15: 0x00000001046301d0 postgres`FillPortalStore(portal=0x000000012b030f00, isTopLevel=true) at pquery.c:1026:4 [16:06:35.370] frame #16: 0x000000010462ff44 postgres`PortalRun(portal=0x000000012b030f00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000130068038, altdest=0x0000000130068038, qc=0x000000016baf0638) at pquery.c:763:6 [16:06:35.370] frame #17: 0x000000010462ef04 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 [16:06:35.370] frame #18: 0x000000010462cc80 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [16:06:35.370] frame #19: 0x0000000104627f68 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [16:06:35.370] frame #20: 0x000000010458f844 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016baf0a40) at launch_backend.c:274:3 [16:06:35.370] frame #21: 0x0000000104593998 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016baf0a40) at postmaster.c:3414:8 [16:06:35.370] frame #22: 0x0000000104593810 postgres`ServerLoop at postmaster.c:1648:6 [16:06:35.370] frame #23: 0x0000000104591974 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [16:06:35.370] frame #24: 0x00000001044e6d04 postgres`main(argc=8, argv=0x0000600001f74460) at main.c:197:3 [16:06:35.370] frame #25: 0x0000000183563154 dyld`start + 2476 [16:06:35.370] (lldb) quit [16:06:35.380] -e [16:06:35.380] [16:06:35.380] [16:06:35.542] (lldb) target create --core "/Users/admin/cores/core.17771" [16:06:55.832] Core file '/Users/admin/cores/core.17771' (arm64) was loaded. [16:06:55.832] (lldb) thread backtrace all [16:06:56.538] * thread #1 [16:06:56.538] * frame #0: 0x00000001838b55f0 libsystem_kernel.dylib`__pthread_kill + 8 [16:06:56.538] frame #1: 0x00000001838edc20 libsystem_pthread.dylib`pthread_kill + 288 [16:06:56.538] frame #2: 0x00000001837faa30 libsystem_c.dylib`abort + 180 [16:06:56.538] frame #3: 0x000000010520a89c postgres`ExceptionalCondition(conditionName=, fileName=, lineNumber=1737) at assert.c:66:2 [16:06:56.538] frame #4: 0x0000000104f4991c postgres`ExecFetchSlotHeapTuple(slot=0x000000016b0440c0, materialize=, shouldFree=) at execTuples.c:1737:2 [16:06:56.538] frame #5: 0x0000000104f179dc postgres`ExecIRDeleteTriggers(estate=0x000000013484e100, relinfo=0x000000013484e6b0, slot=0x000000016b0440c0) at trigger.c:2841:15 [16:06:56.538] frame #6: 0x0000000104f69c60 postgres`ExecModifyTable at nodeModifyTable.c:3043:11 [16:06:56.538] frame #7: 0x0000000104f698ec postgres`ExecModifyTable [inlined] ExecMerge(context=0x000000016b0440e0, resultRelInfo=0x000000013484e6b0, tupleid=0x0000000000000000, oldtuple=, canSetTag=) at nodeModifyTable.c:2804:11 [16:06:56.538] frame #8: 0x0000000104f698ec postgres`ExecModifyTable(pstate=0x000000013484e4a0) at nodeModifyTable.c:4133:12 [16:06:56.538] frame #9: 0x0000000104f3d27c postgres`standard_ExecutorRun [inlined] ExecProcNode(node=0x000000013484e4a0) at executor.h:278:9 [16:06:56.538] frame #10: 0x0000000104f3d260 postgres`standard_ExecutorRun [inlined] ExecutePlan(estate=0x000000013484e100, planstate=0x000000013484e4a0, use_parallel_mode=, operation=CMD_MERGE, sendTuples=true, numberTuples=0, direction=, dest=0x000000013400f910, execute_once=) at execMain.c:1641:10 [16:06:56.538] frame #11: 0x0000000104f3d234 postgres`standard_ExecutorRun(queryDesc=0x0000000154084c48, direction=, count=0, execute_once=) at execMain.c:358:3 [16:06:56.538] frame #12: 0x0000000105937e38 pg_stat_statements.dylib`pgss_ExecutorRun(queryDesc=0x0000000154084c48, direction=ForwardScanDirection, count=0, execute_once=true) at pg_stat_statements.c:1031:4 [16:06:56.538] frame #13: 0x00000001050dcf64 postgres`ProcessQuery(plan=0x0000000158040de8, 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=0x000000013400f910, qc=0x000000016b044410) at pquery.c:160:2 [16:06:56.538] frame #14: 0x00000001050dc60c postgres`PortalRunMulti(portal=0x0000000154033b00, isTopLevel=true, setHoldSnapshot=true, dest=0x000000013400f910, altdest=0x00000001055917c0, qc=0x000000016b044410) at pquery.c:0 [16:06:56.538] frame #15: 0x00000001050dc1d0 postgres`FillPortalStore(portal=0x0000000154033b00, isTopLevel=true) at pquery.c:1026:4 [16:06:56.538] frame #16: 0x00000001050dbf44 postgres`PortalRun(portal=0x0000000154033b00, count=9223372036854775807, isTopLevel=true, run_once=, dest=0x0000000158040f48, altdest=0x0000000158040f48, qc=0x000000016b044608) at pquery.c:763:6 [16:06:56.538] frame #17: 0x00000001050daf04 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 [16:06:56.538] frame #18: 0x00000001050d8c80 postgres`PostgresMain(dbname=, username=) at postgres.c:0 [16:06:56.538] frame #19: 0x00000001050d3f68 postgres`BackendMain(startup_data=, startup_data_len=) at backend_startup.c:107:2 [16:06:56.538] frame #20: 0x000000010503b844 postgres`postmaster_child_launch(child_type=B_BACKEND, startup_data="", startup_data_len=4, client_sock=0x000000016b044a10) at launch_backend.c:274:3 [16:06:56.538] frame #21: 0x000000010503f998 postgres`ServerLoop [inlined] BackendStartup(client_sock=0x000000016b044a10) at postmaster.c:3414:8 [16:06:56.538] frame #22: 0x000000010503f810 postgres`ServerLoop at postmaster.c:1648:6 [16:06:56.538] frame #23: 0x000000010503d974 postgres`PostmasterMain(argc=, argv=) at postmaster.c:1346:11 [16:06:56.538] frame #24: 0x0000000104f92d04 postgres`main(argc=4, argv=0x0000600000908b70) at main.c:197:3 [16:06:56.538] frame #25: 0x0000000183563154 dyld`start + 2476 [16:06:56.538] (lldb) quit [16:06:56.549] -e [16:06:56.549] [16:06:56.549] [16:06:56.690] (lldb) target create --core "/Users/admin/cores/core.13778" [16:07:10.478] Core file '/Users/admin/cores/core.13778' (arm64) was loaded. [16:07:10.478] (lldb) thread backtrace all [16:07:10.482] * thread #1, stop reason = ESR_EC_DABORT_EL0 (fault address: 0x0) [16:07:10.482] * frame #0: 0x00000001835b161c dyld`dyld3::MachOFile::trieWalk(Diagnostics&, unsigned char const*, unsigned char const*, char const*) + 316 [16:07:10.482] frame #1: 0x000000018357c088 dyld`dyld4::Loader::hasExportedSymbol(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::ExportedSymbolMode, dyld4::Loader::ResolverMode, dyld4::Loader::ResolvedSymbol*, dyld3::Array*) const + 396 [16:07:10.482] frame #2: 0x000000018357c33c dyld`dyld4::Loader::hasExportedSymbol(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::ExportedSymbolMode, dyld4::Loader::ResolverMode, dyld4::Loader::ResolvedSymbol*, dyld3::Array*) const + 1088 [16:07:10.482] frame #3: 0x000000018357b3c0 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 + 876 [16:07:10.482] frame #4: 0x000000018357afec dyld`invocation function for block in dyld4::Loader::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 [16:07:10.482] frame #5: 0x00000001835b5ff0 dyld`invocation function for block in mach_o::Fixups::forEachBindTarget_ChainedFixups(Diagnostics&, void (mach_o::Fixups::BindTargetInfo const&, bool&) block_pointer) const + 72 [16:07:10.482] frame #6: 0x00000001835b628c dyld`mach_o::Fixups::parseOrgArm64eChainedFixups(Diagnostics&, void (unsigned int, bool&) block_pointer, void (bool, unsigned int, int, unsigned char, char const*, unsigned long long, bool, bool&) block_pointer, void (unsigned int, bool, unsigned long long, unsigned short, bool&) block_pointer) const + 520 [16:07:10.482] frame #7: 0x00000001835b5f68 dyld`mach_o::Fixups::forEachChainedFixupTarget(Diagnostics&, void (int, char const*, unsigned long long, bool, bool&) block_pointer) const + 124 [16:07:10.482] frame #8: 0x00000001835b5cc0 dyld`mach_o::Fixups::forEachBindTarget_ChainedFixups(Diagnostics&, void (mach_o::Fixups::BindTargetInfo const&, bool&) block_pointer) const + 144 [16:07:10.482] frame #9: 0x000000018357af54 dyld`invocation function for block in dyld4::Loader::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 [16:07:10.482] frame #10: 0x00000001835b9414 dyld`dyld3::MachOAnalyzer::withVMLayout(Diagnostics&, void (mach_o::Layout const&) block_pointer) const + 668 [16:07:10.482] frame #11: 0x000000018357ae3c dyld`dyld4::Loader::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 [16:07:10.482] frame #12: 0x000000018358038c dyld`dyld4::JustInTimeLoader::applyFixups(Diagnostics&, dyld4::RuntimeState&, dyld4::DyldCacheDataConstLazyScopedWriter&, bool) const + 560 [16:07:10.482] frame #13: 0x0000000183563c48 dyld`dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 2188 [16:07:10.482] frame #14: 0x0000000183562ef4 dyld`start + 1868 [16:07:10.482] (lldb) quit