Closed gnmerritt closed 1 year ago
Okay, I'm able to resolve this error for real for https://github.com/rust-lang/atom-ide-rust with the following:
ppm uninstall ide-rust
ppm install ide-rust
cd ~/.pulsar/packages/ide-rust/node_modules/zadeh/
node-gyp rebuild
When I do the same process for https://github.com/atom-community/atom-ide-outline I still get an editor crash:
2023-06-08 11:02:43.722 Electron[45495:171807] +[CATransaction synchronize] called within transaction
dyld[45498]: missing symbol called
Renderer process crashed - see https://www.electronjs.org/docs/tutorial/application-debugging for potential debugging information.
full macOs crash file here: https://www.dropbox.com/s/4lwl4dzxdfir0cs/zadeh-crash%20-%20Electron%20Helper%20%28Renderer%29-2023-06-08-110254.ips?dl=0
Shouldn't something similar to me issuing node-gyp rebuild
happen automatically on package install? I'm still not sure I understand why all this worked fine with Atom + identical sources but isn't working for me now with Pulsar.
I've also filed an issue on zadeh itself to try and see if I can get the missing prebuilds added: https://github.com/atom-community/zadeh/issues/103
ahh ok, so my Atom version is 1.60.0 intel x64
. I've confirmed that using an intel build of Pulsar on my M1 mac fixes this issue, so I think that resolves this being Pulsar's problem to try and work around rather than the extensions themselves.
Thanks in advance for your bug report!
What happened?
The package atom-ide-rust is broken, trying and failing to find a native prebuild for
zadeh
. I'm reporting this here because it looks likezadeh
is widely used so it may be affecting many more packages for folks ondarwin-arm64
. This all worked fine with identical packages versions under Atom, so I think there may be a Pulsar specific bug or at least a recent regression.I was able to get past the initial package load failure (stack trace attached below) and cause a different editor crash with the following:
The ide-rust package loads with the above (prompts me to update my rustc version, installs its dependencies, etc) but when I open a rust file I get an "editor has crashed" dialog and these in the console:
So I'm guessing it's something like the following:
There's no prebuild for
darwin-arm64
shipped withzadeh
Something about the build/install process (likely at least fetching the node headers) is silently failing The package then fails to load When I build the zadeh out-of-band and copy in the prebuild I probably got a version wrong or something, so my prebuild doesn't work either.Pulsar version
1.105.0 arm64
Which OS does this happen on?
🍎 macOS
OS details
macOS 13.4
Which CPU architecture are you running this on?
Apple M1/M2
What steps are needed to reproduce this?
ide-rust
enabledide-rust
will crash failing to loadzadeh
Additional Information:
Stack Trace
Failed to load the ide-rust package