-
-
Notifications
You must be signed in to change notification settings - Fork 12.1k
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
Segmentation fault when executing xfig on apple silicon #160515
Comments
Another piece of information which seems relevant: The problem seems to be in the library It could very well be that the problem is in the formula for fontconfig. |
This comment has been minimized.
This comment has been minimized.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
The issue is still present. It is quite annoying as I do have to compile xfig by hand. Any idea what is going wrong? |
I concur! Very disappointing that it was closed. |
Yes, please don't close. I'm getting it too (on Intel). |
This is still a problem with the package causing segfaults. The issue is reproducible. Does anybody know how to reopen the issue? |
while this is still a problem, someone mentioned "The problem seems to be in the library fontconfig. If I link the executable xfig to the library in the path /opt/X11/lib then the executable does not crash." how does one link the homebrew-installed xfig executable to the libfontconfig.dylib in /opt/X11/lib ????? |
One has to install it without homebrew. For me the homebrew install does not work. Nor does the bottle. |
@mars0i @peterlittig @adamny @fortranboomer : I did not find a way to reopen the issue. Instead, I opened a new issues/166452. If the problem still persists for you, please make sure to comment on that issue. Otherwise, it might get closed again. |
Many thanks for your answer and for the effort you're making to get this resolved within homebrew. You think the homebrew fig2dev can be used or would one have to compile/install that too outside of homebrew ? By the way, homebrew's xfig used to work fine before the newest updates that were forced on my system when I installed imagemagick via homebrew (that install screwed up my python setup too, had to wipe everything and reinstall). |
For anyone who wants to build xfig on their own, and who aren't used to doing that sort of thing I downloaded the source package here: https://sourceforge.net/projects/mcj/ However, on my system, that version, v. 3.2.9, didn't build--I forget what the errors were-- but I saw that I had an older version, 3.2.8a, and that built and installed without problem. Better to use Homebrew if it works, but I just needed some version of xfig. The simpler instructions, i.e. the three commands to run, are listed at the top of the file named "INSTALL". The only trick is figuring out where the file "app-defaults" lives on your system. On mine it was /opt/X11/share/X11/app-defaults . You need to substitute in the location of app-defaults in the first line between the "<" and ">".
I didn't have to do anything special to link to fontconfig or anything like that. So if you have trouble building the latest version, it might be worth trying one of the older versions, which are available that that mcj sourceforge site. I know that some people reading this know all of the above, but I thought it wouldn't hurt to post it for anyone who's not used to this kind of process. |
Thanks @mars0i : I just wanted to repeat. Please post from now on on issues/166452. This issue is closed and as I can see there is no way to reopen it. |
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputVerification
brew doctor
output" saysYour system is ready to brew.
and am still able to reproduce my issue.brew 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)?
I am crossposting the issue reported by @adamny here. I believe the issue belongs here. The OP has the following issue:
I looked into the issue. It seems that it only appears on apple silicon. This is the backtrace from my process
So it fails while calling the X11 library.
What happened (include all command output)?
Executing xfig a segmentation fault happened.
What did you expect to happen?
The xfig application is supposed to be opened.
Step-by-step reproduction instructions (by running
brew
commands)The text was updated successfully, but these errors were encountered: