Joined: 23 Aug 2007 Posts: 13 Location: Rhodes College
Posted: Wed Feb 02, 2011 11:13 pm Post subject: FITSUTIL task gives segmentation fault
Hello,
I have installed the new 2.15.1 release, which solved some other issues I was having with the initial 2.15 release. However, it has not solved a "segmentation fault" I keep getting when I try to run FXHEADER on the following image:
I can reproduce the problem on 32-bit maosx systems, it appears to be a side-effect of cross-compiling on a 64-bit system. I'll post a solution shortly.
First, thanks for the report. From what I've been able to tell, some binaries for the 'macosx' architecture were built using the 64-bit compiler tools, meaning that some macros to dereference pointers were wrong in the final compiled code. This probably happened when I set the environment manually rather than by sourcing an env file.
Since there is no reliable way to determine which binaries might have this problem, and since you say it happened with the original v2.15 as well, I rebuilt all of the macosx binaries for the core system and external packages just to be sure.
To fix the external packages, simply go to the $iraf/extern directory and do a "make update" and you'll update all installed packages. If you notice similar problems in core system tasks, download and reapply the patch1.macx.uni.gz file by untarring in the iraf root directory with a command such as:
Code:
cd $iraf ; tar zxf /path/patch1.macx.uni.gz
Again, this ONLY applies to the 'macosx' architecture. If you still hav e problems or notice other issues, please let me know.
Joined: 23 Aug 2007 Posts: 13 Location: Rhodes College
Posted: Thu Feb 03, 2011 9:09 pm Post subject:
Mike, thanks. That seems to have fixed the problem. My machine is in principle capable of 64-bit, but I haven't switched kernels yet, hence the "macosx" architecture.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum