Welcome to iraf.net Tuesday, May 14 2024 @ 12:48 AM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 ximtool crashing every single time
   
gcardonav
 04/26/2010 10:40PM (Read 4572 times)  
++---
Junior

Status: offline


Registered: 04/26/2010
Posts: 31
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[quote:816bccbddc]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: 6Interval 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-66D0CBED67E7Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000002010085e1
Crashed Thread: 2[/quote:816bccbddc]Any help will be totally appreciated.Gus

 
Profile Email
 Quote
fitz
 04/26/2010 10:40PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Be sure you are running the X11IRAF version described athttps://iraf.net/article.php/20081118030715468This 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[code:1:782d2ffc0e]ximtool -inet_only[/code:1:782d2ffc0e]A pre-2.0 version would fail with a colormap X error even with the above.-Mike

 
Profile Email
 Quote
gcardonav
 04/26/2010 10:40PM  
++---
Junior

Status: offline


Registered: 04/26/2010
Posts: 31
MikeI 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 [code:1:90b359c603]X connection to /tmp/launch-KGeekKCl/org.x:0 broken (explicit kill or server shutdown).[/code:1:90b359c603]Gus

 
Profile Email
 Quote
fitz
 04/26/2010 10:40PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
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

 
Profile Email
 Quote
gcardonav
 04/26/2010 10:40PM  
++---
Junior

Status: offline


Registered: 04/26/2010
Posts: 31
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

 
Profile Email
 Quote
fitz
 04/26/2010 10:40PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Did you try the '-inet_only' flag? Is this the V2.0 version? Does XGtern work?

 
Profile Email
 Quote
gcardonav
 04/26/2010 10:40PM  
++---
Junior

Status: offline


Registered: 04/26/2010
Posts: 31
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 [code:1:2ec9b0b930]Exception Codes: KERN_INVALID_ADDRESS at 0x00000002011085e1[/code:1:2ec9b0b930] 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

 
Profile Email
 Quote
fitz
 04/26/2010 10:40PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
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.

 
Profile Email
 Quote
gcardonav
 04/26/2010 10:40PM  
++---
Junior

Status: offline


Registered: 04/26/2010
Posts: 31
Mike:I reinstalled the new version of X11iraf and set the colors to millions or display and I am getting the following error: [code:1:f81b094c95]v% ximtool -inet_onlyERROR: Detected incorrect X visual: depth=24 class=TrueColorXImtool 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 UnixThe 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.
[/code:1:f81b094c95]I am not sure how to get to check the Xserver and when I launch xinit i get the following message [code:1:f81b094c95]% xinitlaunch_msg("CheckIn") IPC failure: Operation not permitted[/code:1:f81b094c95]Thanks for the help Gus

 
Profile Email
 Quote
fitz
 04/26/2010 10:40PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
That's NOT the v2.0 version I posted earlier, that's the message from the older version.

 
Profile Email
 Quote
gcardonav
 04/26/2010 10:40PM  
++---
Junior

Status: offline


Registered: 04/26/2010
Posts: 31

 
Profile Email
 Quote
fitz
 04/26/2010 10:40PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
It would be the 'macintel' version ....

 
Profile Email
 Quote
gcardonav
 04/26/2010 10:40PM  
++---
Junior

Status: offline


Registered: 04/26/2010
Posts: 31
Mike:I install the X11iraf that you pointed out and I am still getting the same message[quote:c6bf6abec8]ERROR: Detected incorrect X visual: depth=24 class=TrueColor[/quote:c6bf6abec8] when 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

 
Profile Email
 Quote
fitz
 04/26/2010 10:40PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
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:[code:1:14828ba156]
% ximtool -version
Version: X11IRAF V2.0 - DEVELOPMENT VERSION
% which ximtool
/usr/local/bin/ximtool
[/code:1:14828ba156]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.

 
Profile Email
 Quote
gcardonav
 04/26/2010 10:40PM  
++---
Junior

Status: offline


Registered: 04/26/2010
Posts: 31
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[code:1:d92dd309a1]% ximtool -version
Version: X11IRAF V1.3 - EXPORT VERSION% which ximtool
/usr/local/bin/ximtool[/code:1:d92dd309a1]

 
Profile Email
 Quote
fitz
 04/26/2010 10:40PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
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.

 
Profile Email
 Quote
gcardonav
 04/26/2010 10:40PM  
++---
Junior

Status: offline


Registered: 04/26/2010
Posts: 31
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 dayGus

 
Profile Email
 Quote
   
Content generated in: 0.59 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login