Segmentation fault for kvis
Moderator: Mark.Wieringa
Segmentation fault for kvis
Hi all,
I am running OSX El Capitan v10.11.5 on a Mac Pro.
Yesterday kvis was working for me, but today I upgraded XQuartz to 2.7.9 (xorg-server 1.17.4) and now get the following fault:
snake: > kvis
Port allocated: 1915
Segmentation fault (core dumped)
This fault occurs both in an xterm (within XQuartz) but also within OSX Terminal, version 2.6.1 (361.1).
When I roll back to XQuartz 2.7.8, kvis works fine again, both in an xterm and within Terminal
Does anyone know how to fix this, other than sticking with the old version of XQuartz?
regards
Bryan
I am running OSX El Capitan v10.11.5 on a Mac Pro.
Yesterday kvis was working for me, but today I upgraded XQuartz to 2.7.9 (xorg-server 1.17.4) and now get the following fault:
snake: > kvis
Port allocated: 1915
Segmentation fault (core dumped)
This fault occurs both in an xterm (within XQuartz) but also within OSX Terminal, version 2.6.1 (361.1).
When I roll back to XQuartz 2.7.8, kvis works fine again, both in an xterm and within Terminal
Does anyone know how to fix this, other than sticking with the old version of XQuartz?
regards
Bryan
-
- ATCA Expert
- Posts: 297
- Joined: Mon Feb 08, 2010 1:37 pm
Re: Segmentation fault for kvis
Hi Bryan,
yes, we noticed this a couple of weeks back when the new XQuartz version came out.
It seems that the XQuartz developer is unlikely to fix this (see https://bugs.freedesktop.org/show_bug.cgi?id=96292),
instead requiring people to rebuild their software (xdvi was one of the other casualties).
We're looking into that for kvis, but until we manage that, sticking with the old XQuartz 2.7.8 is the solution to keep kvis alive.
Cheers,
Mark
yes, we noticed this a couple of weeks back when the new XQuartz version came out.
It seems that the XQuartz developer is unlikely to fix this (see https://bugs.freedesktop.org/show_bug.cgi?id=96292),
instead requiring people to rebuild their software (xdvi was one of the other casualties).
We're looking into that for kvis, but until we manage that, sticking with the old XQuartz 2.7.8 is the solution to keep kvis alive.
Cheers,
Mark
Re: Segmentation fault for kvis
I had the same problem and had to revert back to the previous version of XQuartz and then everything worked fine again.
Cheers,
Emil.
Cheers,
Emil.
-
- ATCA Expert
- Posts: 297
- Joined: Mon Feb 08, 2010 1:37 pm
Re: Segmentation fault for kvis
I've just put a new OSX build of kvis on the ftp server, it should fix the XQuartz 2.7.9 issue, at least for El Capitan.
Let me know if it doesn't.
ftp://ftp.atnf.csiro.au/pub/software/karma/README
ftp://ftp.atnf.csiro.au/pub/software/ka ... n-15.5.tgz
Cheers,
Mark
Let me know if it doesn't.
ftp://ftp.atnf.csiro.au/pub/software/karma/README
ftp://ftp.atnf.csiro.au/pub/software/ka ... n-15.5.tgz
Cheers,
Mark
Re: Segmentation fault for kvis
Hi Mark,
That worked fine on El Capitan (well, once I remembered to update the symbolic link to the new binary).
Cheers,
Emil.
That worked fine on El Capitan (well, once I remembered to update the symbolic link to the new binary).
Cheers,
Emil.
Re: Segmentation fault for kvis
This worked a treat for me, except I can't overlay any axis labels, with just the message
error opening font file: "/usr/local/karma/share/fonts.dat"
any ideas?
Steve
error opening font file: "/usr/local/karma/share/fonts.dat"
any ideas?
Steve
-
- Site Admin
- Posts: 220
- Joined: Thu Feb 04, 2010 3:27 pm
- Location: Paul Wild Observatory Narrabri NSW
Re: Segmentation fault for kvis
Hi Steve,
In which directory is your karma installed?
In which directory is your karma installed?
cheers
Jamie Stevens
ATCA Senior System Scientist
Jamie Stevens
ATCA Senior System Scientist
Re: Segmentation fault for kvis
Hi Jamie
/usr/local/karma
and I've already done
sudo ln -s /usr/local/karma-1.7.20/x86_64_Darwin-15.5/ /usr/local/karma
Cheers
Steve
/usr/local/karma
and I've already done
sudo ln -s /usr/local/karma-1.7.20/x86_64_Darwin-15.5/ /usr/local/karma
Cheers
Steve
-
- Site Admin
- Posts: 220
- Joined: Thu Feb 04, 2010 3:27 pm
- Location: Paul Wild Observatory Narrabri NSW
Re: Segmentation fault for kvis
Hi Steve,
I think that's probably where you went awry slightly.
You see, in the x86_64_Darwin-15.5 directory, there is a symbolic link "share" which points to "../share". But since you actually want it to go to "/usr/local/karma-1.7.20/share" where the file is, the fonts.dat can't be found.
You should instead "ln -s /usr/local/karma-1.7.20 /usr/local/karma", and then set the environment variable KARMABASE to "/usr/local/karma/x86_64_Darwin-15.5".
I think that's probably where you went awry slightly.
You see, in the x86_64_Darwin-15.5 directory, there is a symbolic link "share" which points to "../share". But since you actually want it to go to "/usr/local/karma-1.7.20/share" where the file is, the fonts.dat can't be found.
You should instead "ln -s /usr/local/karma-1.7.20 /usr/local/karma", and then set the environment variable KARMABASE to "/usr/local/karma/x86_64_Darwin-15.5".
cheers
Jamie Stevens
ATCA Senior System Scientist
Jamie Stevens
ATCA Senior System Scientist
-
- ATCA Expert
- Posts: 297
- Joined: Mon Feb 08, 2010 1:37 pm
Re: Segmentation fault for kvis
Hi Steve,
To add to Jamie's explanations:
Did you download and extract karma-1.7.20-common.tgz as well?
The two tar files overlap, the x86_64_Darwin-15.5 dir should be a subdirectory in the previously extracted karma-1.7.20 directory.
Basically the path /usr/local/karma/share should exist and be one level above the bin directory with the kvis executable.
With your original ln -s statement and 'source /usr/local/karma-1.70.20/.karmarc' it should also work.
I agree it is a bit of a mess which I might try to sort out next time I need to make a change.
Cheers,
Mark
To add to Jamie's explanations:
Did you download and extract karma-1.7.20-common.tgz as well?
The two tar files overlap, the x86_64_Darwin-15.5 dir should be a subdirectory in the previously extracted karma-1.7.20 directory.
Basically the path /usr/local/karma/share should exist and be one level above the bin directory with the kvis executable.
With your original ln -s statement and 'source /usr/local/karma-1.70.20/.karmarc' it should also work.
I agree it is a bit of a mess which I might try to sort out next time I need to make a change.
Cheers,
Mark