New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nicotine-plus crashes on launch, potentially due to a libffi change breaking pygobject3 #84905
Comments
BTW, I apologize for checking the "I have resolved all warnings from brew doctor and that did not fix my problem." checkbox despite not doing this. If resolving the warnings really is required, please remove this issue and I will put my energy into working around the problem myself instead. Thanks for taking a look in any case. |
Oh, actually, it looks like that issue was introduced in libffi 3.4, whereas homebrew has libffi 3.3. So I'm not sure why the exact same crash is happening here. |
Does rebuilding nicotine-plus with this flag fix the issue you're seeing?
Asking upstream this might help. |
I configured/installed libffi with that flag (by editing the formula and doing
Done: https://gitlab.gnome.org/GNOME/pygobject/-/issues/455#note_1266038 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputbrew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
run the
nicotine-plus
package like this:brew install nicotine-plus && nicotine
What happened (include all command output)?
The command segfaults:
zsh: segmentation fault nicotine
Here is the full crash log: Python_2021-09-08-220734_Ians-MacBook-Air.crash.txt
Adding
import faulthandler; faulthandler.enable()
to a local checkout of thenicotine
repository prints the following backtrace:From searching the web for the crashing address, I found this bug report in pygobject: https://gitlab.gnome.org/GNOME/pygobject/-/issues/455 -- apparently the crash was caused by a change in libffi. The libffi project posted a workaround here libffi/libffi#647. It seems possible that this issue could be resolved by passing
--disable-exec-static-tramp
toconfigure
for the libffi formula.What did you expect to happen?
The program to launch successfully.
Step-by-step reproduction instructions (by running
brew
commands)Run `brew install nicotine-plus && nicotine`.
The text was updated successfully, but these errors were encountered: