ximtool crashing every single time
gcardonav wrote on Apr 26, 2010
Hi Guys:
I am new to iraf. I was able to install it with out any issues. I am able to open packages and run iraf, but when I try to open ximtool, X11 crashes, every single time. I am not sure if is an issue with snow leopard or some configuration I need to my system. This is the error i get from my mac
Any help will be totally appreciated.
Gus
I am new to iraf. I was able to install it with out any issues. I am able to open packages and run iraf, but when I try to open ximtool, X11 crashes, every single time. I am not sure if is an issue with snow leopard or some configuration I need to my system. This is the error i get from my mac
Process: X11.bin [743]
Path: /Applications/Utilities/X11.app/Contents/MacOS/X11.bin
Identifier: org.x.X11
Version: 2.3.5 (2.3.5)
Build Info: X11server-850200~13
Code Type: X86-64 (Native)
Parent Process: launchd [164]
Date/Time: 2010-04-26 18:30:15.339 -0400
OS Version: Mac OS X 10.6.3 (10D573)
Report Version: 6
Interval Since Last Report: 694545 sec
Crashes Since Last Report: 6
Per-App Interval Since Last Report: 43080 sec
Per-App Crashes Since Last Report: 3
Anonymous UUID: EB77A1FF-247F-44CD-9E62-66D0CBED67E7
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000002010085e1
Crashed Thread: 2
Any help will be totally appreciated.
Gus
Mike Fitzpatrick wrote on Apr 26, 2010
Be sure you are running the X11IRAF version described at
http://iraf.net/article.php/20081118030715468
This not only fixes the '24-bit problem', but also works around a known segfault on Mac where the lack of a /dev/imt1 fifo pipe causes the crash. To verify it is the pipe problem, try starting as
A pre-2.0 version would fail with a colormap X error even with the above.
-Mike
http://iraf.net/article.php/20081118030715468
This not only fixes the '24-bit problem', but also works around a known segfault on Mac where the lack of a /dev/imt1 fifo pipe causes the crash. To verify it is the pipe problem, try starting as
ximtool -inet_onlyA pre-2.0 version would fail with a colormap X error even with the above.
-Mike
gcardonav wrote on Apr 26, 2010
Mike
I am still getting the same problem. Would you recommend unstalling my iraf nad trying again from scratch. Also I ran in from Terminal and this is the error message I got
Gus
I am still getting the same problem. Would you recommend unstalling my iraf nad trying again from scratch. Also I ran in from Terminal and this is the error message I got
X connection to /tmp/launch-K8OKCl/org.x:0 broken (explicit kill or server shutdown).Gus
Mike Fitzpatrick wrote on Apr 26, 2010
Its not an IRAF install issue, reinstalling won't help.
If you can't even start an XClock or an XTerm then something's wrong with your X11 setup. You're supposed to be able to start an X command and X11 will start automatically, if that doesn't seem to be working try startiing X11 manually, and then in the XTerm that appears start the ximtool.
-Mike
If you can't even start an XClock or an XTerm then something's wrong with your X11 setup. You're supposed to be able to start an X command and X11 will start automatically, if that doesn't seem to be working try startiing X11 manually, and then in the XTerm that appears start the ximtool.
-Mike
gcardonav wrote on Apr 26, 2010
Mike:
I have no problem when I ran xterm or xclock, from either terminal or X11, but once again when I try ximtool it crashes.
Gus
I have no problem when I ran xterm or xclock, from either terminal or X11, but once again when I try ximtool it crashes.
Gus
Mike Fitzpatrick wrote on Apr 26, 2010
Did you try the '-inet_only' flag? Is this the V2.0 version? Does XGtern work?
gcardonav wrote on Apr 26, 2010
Yes xgterm works. I try also to run agin the -inet_only flag and it still crashes. I still get the same message from my mac
Gustavo
Exception Codes: KERN_INVALID_ADDRESS at 0x00000002011085e1 The only thing I changed was on the preferences was the output colors to 256 colors. It may not matter but I wanted to point it out.Gustavo
Mike Fitzpatrick wrote on Apr 26, 2010
If you had to reset to 256 colors because you're using an old X11IRAF version, the error is probably an inconsistency in the original binary (build for Tiger or earlier).
Use the V2.0 version I mentioned and reset your preferences to 'millions' of colors.
Use the V2.0 version I mentioned and reset your preferences to 'millions' of colors.
gcardonav wrote on Apr 26, 2010
Mike:
I reinstalled the new version of X11iraf and set the colors to millions or display and I am getting the following error:
I am not sure how to get to check the Xserver and when I launch xinit i get the following message
Thanks for the help
Gus
I reinstalled the new version of X11iraf and set the colors to millions or display and I am getting the following error:
v% ximtool -inet_only
ERROR: Detected incorrect X visual: depth=24 class=TrueColor
XImtool currently requires an 8-bit PseudoColor visual in order
to operate properly. Unfortunately the only workaround for this
at present is to start an 8-bit server using commands such as
% startx -- -bpp 8 # XFree86 V3.x
% startx -- -depth 8 # XFree86 V4.x
% Xsun :0 -dev /dev/fb defclass PseudoColor defdepth 8 # Sun
% Xdec -vclass0 PseudoColor # Digital Unix
The actual commands used will vary depending on the platform,
window manager/desktop used, and in some cases video hardware.
See the Xserver(1) and xinit(1) man page for details. Users should
also contact IRAF site support (iraf@noao.edu) with any questions
or problems.
I am not sure how to get to check the Xserver and when I launch xinit i get the following message
% xinit
launch_msg("CheckIn") IPC failure: Operation not permittedThanks for the help
Gus
Mike Fitzpatrick wrote on Apr 26, 2010
That's NOT the v2.0 version I posted earlier, that's the message from the older version.
gcardonav wrote on Apr 26, 2010
Mike:
I wanted to make sure which one I should download. I have Snow leopard on my mac so should I download http://iraf.noao.edu/x11iraf/x11iraf-v2.0BETA-bin.macosx.tar.gz
or http://iraf.noao.edu/x11iraf/x11iraf-v2.0BETA-bin.macintel.tar.gz
or http://iraf.noao.edu/x11iraf/x11iraf-v2.0BETA-src.tar.gz.
Gus
I wanted to make sure which one I should download. I have Snow leopard on my mac so should I download http://iraf.noao.edu/x11iraf/x11iraf-v2.0BETA-bin.macosx.tar.gz
or http://iraf.noao.edu/x11iraf/x11iraf-v2.0BETA-bin.macintel.tar.gz
or http://iraf.noao.edu/x11iraf/x11iraf-v2.0BETA-src.tar.gz.
Gus
Mike Fitzpatrick wrote on Apr 26, 2010
It would be the 'macintel' version ....
gcardonav wrote on Apr 26, 2010
Mike:
I install the X11iraf that you pointed out and I am still getting the same message
Gus
I install the X11iraf that you pointed out and I am still getting the same message
ERROR: Detected incorrect X visual: depth=24 class=TrueColorwhen I try it with Millions but when I try the 256 colors it crashes. What I am not sure if when I install the x11iraf and I try opening ximtool the code is pointing to some other version. Also what are the differences between ximtool, ximtool-alt, and ximtool-old.
Gus
Mike Fitzpatrick wrote on Apr 26, 2010
What could be happening is that you have multiple versions installed, but your path is picking up the old version before the new one. Try:
If the '-version' flag isn't recognized or prints any other string, its the old version and the 'which' command will tell you where it is. Be sure the new version overwrites the old, or if you're using something like scisoft that the setup path isn't getting ou the old one.
% ximtool -version
Version: X11IRAF V2.0 - DEVELOPMENT VERSION
% which ximtool
/usr/local/bin/ximtool
If the '-version' flag isn't recognized or prints any other string, its the old version and the 'which' command will tell you where it is. Be sure the new version overwrites the old, or if you're using something like scisoft that the setup path isn't getting ou the old one.
gcardonav wrote on Apr 26, 2010
Yes you are right, it's pointing towards the all version. How can I get the it to point out to the correct version in the sci folder.
Gus
Gus
% ximtool -version
Version: X11IRAF V1.3 - EXPORT VERSION
% which ximtool
/usr/local/bin/ximtool
Mike Fitzpatrick wrote on Apr 26, 2010
Either copy the proper version to /usr/local/bin, remove the /usr/local/bin version and is the 'sci' directory isn't in your path make it a link, or alias the 'ximtool' command to be the full path to the proper version.
gcardonav wrote on Apr 26, 2010
Mike:
Thank you so much for your help :lol: I was able to run it. Now I need to figure it out how can I display the pictures when I connect remotely to the server. Have a nice day
Gus
Thank you so much for your help :lol: I was able to run it. Now I need to figure it out how can I display the pictures when I connect remotely to the server. Have a nice day
Gus
Last post on Apr 26, 2010