View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum ↗

iraf-v216 · Code · Issues (50) · Pull requests (81)

iraf.net Issue #131

Background jobs don’t work

closed closed olebole opened this issue on 2018-02-05


olebole commented on 2018-02-05

On many systems, background jobs don’t work well:

cl> bases 233 &  
[1]  
cl> BKG ERROR: new CL installed; logout and try again  

This is independent of the used shell (cl.e/ecl.e/vocl.e).
The reason is that in `pkg/[ve]cl/bg.c, the pointer of the dictionary in the new executable is directly compared with that pointer in the parent (transferred via the background status file).
There is however no guarantee that the pointer to statically allocated memory is the same in two subsequent calls of a program! Specifically with PIE enabled systems (Debian Stretch, newer Ubuntu versions) this is not the case anymore. And a discussion on iraf.net suggests that this is also not the case for newer macos versions.


Fixed in iraf-community/iraf#32


Last updated on 2018-02-05