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 #166452
Comments
The following is a patch that works on my system (both intel as well as apple silicon): It turns off the utf8 feature which is the main change from 3.2.8 to 3.2.9 which leads to the segmentation fault. The issue is either in the Xft or the freetype library which are the new dependencies. |
Copied from what I posted at #160515: 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. |
Sounds like something that should be discussed upstream. Someone reported a similar error with AUR package in https://sourceforge.net/p/mcj/tickets/174/ |
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
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 trying to reopen issues/160515. As I did not see another option, I openened another issue.
For me xfig does not work, neither as bottle nor installed from source in a M1 machine. There were reports in issue/160515 that the formula does not work on intel as well.
Initially, the problem was reported by @adamny here. I believe the issue belongs here. The OP has the following issue:
This is the backtrace from my process
So it fails while calling the X11 library.
What happened (include all command output)?
Just execute
xfig
and the segfault happens. At the moment the formula is not functioning. The test passes as it does not try to open an xwindow.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: