Cygwin: imexam and DS9
Andrew Farrow wrote on Feb 16, 2009
Good Day,
I am running IRAF on Cygwin, and am getting a Seg Fault when ever I use imexam.
I run in this order:
ecl>!ds9&
ecl>imexam TEST12
- In ds9, over a point I use a keyboard command like j, r etc. and ds9 catches a Seg Fault.
- A new window with the result of imexam keyboard command
I need a resolution to this because many of the astronomers at my site use imexam to help on seeing/focus.
Seg Fault dump:
ds9.stackdump
Exception: STATUS_ACCESS_VIOLATION at eip=00990E3C
eax=00000010 ebx=0000019E ecx=00000000 edx=0000018C esi=0022AD30 edi=00400000
ebp=001C5C48 esp=001C5C48 program=C:\cygwin\usr\local\bin\ds9, pid 2424, thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame Function Args
001C5C48 00990E3C (00000010, 001C5FBC, 001C5C50, 00000000)
001C5C78 00967C5C (00FC6448, 00000000, 00000010, 00000000)
001C5CB8 00885D5F (00FC6448, 00000000, 00000010, 00000000)
001C5D68 0042D660 (014922D0, 00000000, 00000800, 610B1F64)
0022AAB8 004CB522 (014922D0, 0022AC20, 00000000, 0022AAF0)
0022AB28 00438B1E (014922D0, 0022AC20, 0022AE68, 0022AEA8)
0022AD08 0041529C (014922D0, 00FA1150, 00000005, 0022AD30)
0022AD98 00A1D2B6 (012F56A0, 00FA1150, 00000005, 00FA14AC)
0022ADF8 00A1E737 (00FA1150, 00000005, 00FA14AC, 00000000)
0022B078 00A5B88A (00FA1150, 014B9690, 00230000, 00AC3CFF)
0022B0B8 00A5AD4B (00FA1150, 01133BC8, 00FA1360, 00000001)
0022B3F8 00A594EC (0114E840, 00FA1150, 00000002, 0022B4B0)
0022B458 00A1E737 (00FA1150, 00000002, 0022B4B0, 0156483C)
0022B698 00A1F289 (00FA1150, 0156483C, 00000012, 00000000)
0022B6B8 00A1F7A3 (00FA1150, 0156483C, 0022B808, 0088484D)
0022B6C8 0087DBFE (7FE70008, 0156483C, 00000000, 00000000)
End of stack trace (more stack frames may be present)
I am running IRAF on Cygwin, and am getting a Seg Fault when ever I use imexam.
I run in this order:
ecl>!ds9&
ecl>imexam TEST12
- In ds9, over a point I use a keyboard command like j, r etc. and ds9 catches a Seg Fault.
- A new window with the result of imexam keyboard command
I need a resolution to this because many of the astronomers at my site use imexam to help on seeing/focus.
Seg Fault dump:
ds9.stackdump
Exception: STATUS_ACCESS_VIOLATION at eip=00990E3C
eax=00000010 ebx=0000019E ecx=00000000 edx=0000018C esi=0022AD30 edi=00400000
ebp=001C5C48 esp=001C5C48 program=C:\cygwin\usr\local\bin\ds9, pid 2424, thread main
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame Function Args
001C5C48 00990E3C (00000010, 001C5FBC, 001C5C50, 00000000)
001C5C78 00967C5C (00FC6448, 00000000, 00000010, 00000000)
001C5CB8 00885D5F (00FC6448, 00000000, 00000010, 00000000)
001C5D68 0042D660 (014922D0, 00000000, 00000800, 610B1F64)
0022AAB8 004CB522 (014922D0, 0022AC20, 00000000, 0022AAF0)
0022AB28 00438B1E (014922D0, 0022AC20, 0022AE68, 0022AEA8)
0022AD08 0041529C (014922D0, 00FA1150, 00000005, 0022AD30)
0022AD98 00A1D2B6 (012F56A0, 00FA1150, 00000005, 00FA14AC)
0022ADF8 00A1E737 (00FA1150, 00000005, 00FA14AC, 00000000)
0022B078 00A5B88A (00FA1150, 014B9690, 00230000, 00AC3CFF)
0022B0B8 00A5AD4B (00FA1150, 01133BC8, 00FA1360, 00000001)
0022B3F8 00A594EC (0114E840, 00FA1150, 00000002, 0022B4B0)
0022B458 00A1E737 (00FA1150, 00000002, 0022B4B0, 0156483C)
0022B698 00A1F289 (00FA1150, 0156483C, 00000012, 00000000)
0022B6B8 00A1F7A3 (00FA1150, 0156483C, 0022B808, 0088484D)
0022B6C8 0087DBFE (7FE70008, 0156483C, 00000000, 00000000)
End of stack trace (more stack frames may be present)
Mike Fitzpatrick wrote on Feb 16, 2009
This is a crash in DS9 itself and not specifically an IRAF problem. The first thing to do is to be sure you are using the latest version available from http://hea-www.harvard.edu/RD/ds9/ If you still have problems you should report them to saord @ cfa.harvard.edu
Presumably the TEST12 image in your example was loaded from DS9 directly and not thru IRAF? Does it make a difference if you load from IRAF using the DISPLAY task prior to IMEXAM?
-Mike
Presumably the TEST12 image in your example was loaded from DS9 directly and not thru IRAF? Does it make a difference if you load from IRAF using the DISPLAY task prior to IMEXAM?
-Mike
Andrew Farrow wrote on Feb 16, 2009
I loaded the image via IRAF. And it didn't matter which command I sent. What it was, was an old version of ds9 I had. The problem has been corrected with the update. Had Version 4.0b11.1. Will spread the updates to the rest of my machines.
Thank you for the help.
Thank you for the help.
Last post on Feb 16, 2009