Repeating macOS linking errors
See original GitHub issueBefore closing this issue
- Disable developer mode on mac-imac3-ky
- Revoke dev access to mac-imac3-ky
We keep seeing these errors in public builds on macOS arm64 and x64 for a while. Rebuilds succeed.
FAILED: libVkLayer_khronos_validation.dylib libVkLayer_khronos_validation.dylib.TOC libVkLayer_khronos_validation.dylib.dSYM/Contents/Info.plist libVkLayer_khronos_validation.dylib.dSYM/Contents/Resources/DWARF/libVkLayer_khronos_validation.dylib
- https://ci.brave.com/job/brave-browser-build-macos-arm64/1405/execution/node/99/log/#25464037600f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-arm64/1390/execution/node/99/log/#169556329800f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5308/execution/node/99/log/#-149808239600f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5343/execution/node/99/log/#52059106400f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-arm64/1440/execution/node/99/log/#194845814000f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5393/execution/node/99/log/#2416395500f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5423/execution/node/99/log/#177802716300f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5446/execution/node/99/log/#89342021100f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-arm64/1467/execution/node/99/log/#-76909367700f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5453/execution/node/99/log/#180061076100f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-arm64/1483/execution/node/99/log/#-74222764500f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5493/execution/node/99/log/#2368762300f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5506/execution/node/99/log/#149317887400f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-arm64/1500/execution/node/99/log/#173186212700f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-arm64/1508/execution/node/99/log/#151236600800f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5554/execution/node/99/log/#213822913300f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5379/execution/node/103/log/#146488591000f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5409/execution/node/103/log/#-29146747100f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5445/execution/node/103/log/#80382241700f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-arm64/1471/execution/node/103/log/#-5857472000f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-arm64/1485/execution/node/103/log/#38483341000f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-arm64/1499/execution/node/103/log/#-174100407300f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5528/execution/node/103/log/#51911557200f97e22-c981-4d1e-8d5b-6c0b7408d959
FAILED: libGLESv2.dylib libGLESv2.dylib.TOC libGLESv2.dylib.dSYM/Contents/Info.plist libGLESv2.dylib.dSYM/Contents/Resources/DWARF/libGLESv2.dylib
- https://ci.brave.com/job/brave-browser-build-macos-arm64/1407/execution/node/99/log/#-23551579000f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-arm64/1383/execution/node/99/log/#-14477871600f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5269/execution/node/99/log/#173456399400f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5430/execution/node/99/log/#5246927600f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5476/execution/node/99/log/#-155832209700f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5513/execution/node/99/log/#123993018300f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-arm64/1456/execution/node/103/log/#-33526383000f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-arm64/1463/execution/node/103/log/#-156497690000f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-arm64/1473/execution/node/103/log/#-154653554000f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5504/execution/node/103/log/#-203845141600f97e22-c981-4d1e-8d5b-6c0b7408d959
FAILED: character_data_generator character_data_generator.dSYM/Contents/Info.plist character_data_generator.dSYM/Contents/Resources/DWARF/character_data_generator
- https://ci.brave.com/job/brave-browser-build-macos-x64/5358/execution/node/99/log/#51573461500f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5421/execution/node/99/log/#-65775129800f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5427/execution/node/99/log/#120149241000f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5428/execution/node/103/log/#-202714644000f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5443/execution/node/103/log/#-129605828700f97e22-c981-4d1e-8d5b-6c0b7408d959
FAILED: v8_context_snapshot_generator v8_context_snapshot_generator.dSYM/Contents/Info.plist v8_context_snapshot_generator.dSYM/Contents/Resources/DWARF/v8_context_snapshot_generator
- https://ci.brave.com/job/brave-browser-build-macos-x64/5469/execution/node/248/log/#-37314722800f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5549/execution/node/169/log/#58546812600f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-arm64/1528/execution/node/103/log/#178563663500f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5412/execution/node/260/log/#213182237700f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5516/execution/node/103/log/#-110229518600f97e22-c981-4d1e-8d5b-6c0b7408d959
FAILED: chrome_crashpad_handler chrome_crashpad_handler.dSYM/Contents/Info.plist chrome_crashpad_handler.dSYM/Contents/Resources/DWARF/chrome_crashpad_handler
- https://ci.brave.com/job/brave-browser-build-macos-arm64/1398/execution/node/99/log/#169397695300f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-arm64/1519/execution/node/99/log/#-72345007000f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5474/execution/node/260/log/#-38372483800f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5507/execution/node/103/log/#157709224000f97e22-c981-4d1e-8d5b-6c0b7408d959
FAILED: torque torque.dSYM/Contents/Info.plist torque.dSYM/Contents/Resources/DWARF/torque
- https://ci.brave.com/job/brave-browser-build-macos-x64/5285/execution/node/99/log/#24803611500f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5385/execution/node/103/log/#150998953200f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5455/execution/node/102/log/#44075743800f97e22-c981-4d1e-8d5b-6c0b7408d959
FAILED: obj/chrome/chrome_framework_shared_library/Brave Browser Nightly Framework obj/chrome/chrome_framework_shared_library/Brave Browser Nightly Framework.TOC Brave Browser Nightly Framework.dSYM/Contents/Info.plist Brave Browser Nightly Framework.dSYM/Contents/Resources/DWARF/Brave Browser Nightly Framework
- https://ci.brave.com/job/brave-browser-build-macos-x64/5449/execution/node/260/log/#-77298725200f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5453/execution/node/103/log/#1222023100f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5457/execution/node/103/log/#-73787192300f97e22-c981-4d1e-8d5b-6c0b7408d959
FAILED: mksnapshot mksnapshot.dSYM/Contents/Info.plist mksnapshot.dSYM/Contents/Resources/DWARF/mksnapshot
or
FAILED: clang_x64_v8_arm64/mksnapshot clang_x64_v8_arm64/mksnapshot.dSYM/Contents/Info.plist clang_x64_v8_arm64/mksnapshot.dSYM/Contents/Resources/DWARF/mksnapshot
- https://ci.brave.com/job/brave-browser-build-macos-x64/5320/execution/node/99/log/#211489624800f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-arm64/1506/execution/node/99/log/#189837154400f97e22-c981-4d1e-8d5b-6c0b7408d959
FAILED: protoc protoc.dSYM/Contents/Info.plist protoc.dSYM/Contents/Resources/DWARF/protoc
- https://ci.brave.com/job/brave-browser-build-macos-x64/5406/execution/node/99/log/#75340927400f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5496/execution/node/103/log/#-76132386600f97e22-c981-4d1e-8d5b-6c0b7408d959
FAILED: generate_colors_info generate_colors_info.dSYM/Contents/Info.plist generate_colors_info.dSYM/Contents/Resources/DWARF/generate_colors_info
- https://ci.brave.com/job/brave-browser-build-macos-arm64/1445/execution/node/103/log/#-81843527300f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-x64/5503/execution/node/103/log/#-5863764000f97e22-c981-4d1e-8d5b-6c0b7408d959
FAILED: libvk_swiftshader.dylib libvk_swiftshader.dylib.TOC libvk_swiftshader.dylib.dSYM/Contents/Info.plist libvk_swiftshader.dylib.dSYM/Contents/Resources/DWARF/libvk_swiftshader.dylib
- https://ci.brave.com/job/brave-browser-build-macos-arm64/1482/execution/node/103/log/#-205538469300f97e22-c981-4d1e-8d5b-6c0b7408d959
- https://ci.brave.com/job/brave-browser-build-macos-arm64/1512/execution/node/103/log/#-187351054200f97e22-c981-4d1e-8d5b-6c0b7408d959
FAILED: app_mode_loader app_mode_loader.dSYM/Contents/Info.plist app_mode_loader.dSYM/Contents/Resources/DWARF/app_mode_loader
FAILED: ipc_plugin ipc_plugin.dSYM/Contents/Info.plist ipc_plugin.dSYM/Contents/Resources/DWARF/ipc_plugin
Issue Analytics
- State:
- Created a year ago
- Comments:22 (21 by maintainers)
Top Results From Across the Web
Duplicate Errors in Linking | Apple Developer Forums
When you manually create the NSManagedObject subclasses or copy them from another project, you end up with duplicate classes. The solution is to...
Read more >Endlessly repeating "There was a problem connecting..." error
This error typically comes up when OSX is trying to access a file or folder on a remote server, but it cannot connect...
Read more >Simple dynamic link library linker error on mac OSX
I compiled the dynamic link library named 'NewProject.dylib' from this source code. // // source.hpp // NewProject - Dynamic Library ...
Read more >Stack build causing linker error on Mac OSX Sierra #3487
Stack build causing linker error on Mac OSX Sierra #3487 ... It seems there are some name-duplicate executables behave differently between ...
Read more >Issues with publish workflows - Adobe Support
To resolve the issue, click New Link when you reshare the design. If you have issues updating links in Adobe XD, you get...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Some info after experiments on
mac-imac3-ky
.lld
crash is pretty rare (around 1 in ~100 links) and only happens inlld
Release/RelWithDebInfo
configurations.lld
with ASan hides the crash, i.e. no sanitizer errors and no crash. Rebuildinglld
in Debug configuration also hides the crash.lld
with UBSan revealed some unaligned memory access errors because of reinterpret_casts, but fixing them hasn’t solve the issue.lld
with TSan didn’t show any issues.Properly symbolized crashes look like this:
The crash happens on exit from
LDVImpl::computeIntervals()
inLexicalScopes::~LexicalScopes
destructor: someunordered_map
items fail to deallocate.Chromium has hit a similar bug recently on Windows, but it doesn’t look like our case - they’ve got a stable reproducible
assert()
.I did debug the failed lld instance in
lldb
, but at the point of failure it’s absolutely unclear what exactly and at what point has failed. The code needs to be profiled carefully to pinpoint the exact place when things go downhill, it requires a lot of time.Next steps
linker_driver.py
once in a case of failure when lto-enabled link is detected.The process of building llvm with sanitizers
src/tools/clang/scripts/build.py
to enable sanitizer:./build.py --bootstrap --without-android --without-fuchsia
@wknapik
https://downloadmoreram.com/
Let’s download and add some more RAM.