FS#73247 - Julia crahes on Atom when compiled against LLVM 13
Attached to Project:
Community Packages
Opened by Cédric M. Campos (cedricmc) - Monday, 03 January 2022, 20:33 GMT
Last edited by Antonio Rojas (arojas) - Friday, 21 January 2022, 20:32 GMT
Opened by Cédric M. Campos (cedricmc) - Monday, 03 January 2022, 20:33 GMT
Last edited by Antonio Rojas (arojas) - Friday, 21 January 2022, 20:32 GMT
|
Details
Description: Since Julia is being compiled against LLVM 13,
it crashes on Atom.
Additional info: * Packages affected. julia 1.7.1 (1.7.0, 1.6.4), llvm-libs 13.0.0, atom 1.58.0 * Crash log attached. * Workaround. Downgrade to julia 1.6.3 and llvm-libs 12.0.1, or use upstream bundle. Steps to reproduce: 1. Start a Julia instance from Atom. 2. Run a couple of commands. 3. Click back and forth from prompt to editor. I do not know who is to blame, if Julia or LLVM, but Julia is the one that crashes. I believe Atom to be innocent. |
This task depends upon
Closed by Antonio Rojas (arojas)
Friday, 21 January 2022, 20:32 GMT
Reason for closing: Fixed
Additional comments about closing: julia 1.7.1-6
Friday, 21 January 2022, 20:32 GMT
Reason for closing: Fixed
Additional comments about closing: julia 1.7.1-6
1.0 Make sure that the Julia environment is installed (apm install ubjer-juno).
1.1 Start Atom (if the meta package uber-juno was just installed, wait for the IDE to be fully installed and loaded).
1.2 At the REPL tab, press ENTER.
I hope this to be clear enough, if not, let me know.
You can follow the status of the bundled LLVM update at https://github.com/JuliaLang/julia/pull/42602
Excuse my ignorance, but are you sure? ¿Estás seguro?
On my system with atom 1.58.0 (with uber-juno) and **llvm-libs 13.0.0**, the official julia bundle works just fine, while your package crashes. Does the julia official bundle come with its own llvm? If not, I don't get it.
If you are sure, I'll open a report upstream. Just want to make sure you are sure so we are both sure on what I am surely going to surely do.
Regards.
Yes, it does. You can report it now, but I can already tell you what their answer will be: use their official binary instead of distro packages. That's why I told you to wait until the linked PR is merged and this can be reproduced with their bundled LLVM.
Upstream doesn't really support distro packages built against system LLVM. We run the full test suite at build time to make sure all core functionality works properly, but third party packages are not guaranteed to work.
In the meantime, I'd recommend you use julia-bin from AUR if you rely on this functionality.
I'll wait for the PR to be merged. If after that the crash still occurs, I'll report upstream.
Regards.