Re: IDL or OpenLook "feature"? [message #1275] |
Tue, 17 August 1993 09:25 |
offenbrg
Messages: 31 Registered: August 1993
|
Member |
|
|
jdlb@kukui.ifa.hawaii.edu (J-F Pitot de La Beaujardiere) writes:
> I described an IDL crash following the message
> OPEN LOOK Toolkit Error in application "idl": Can't allocate gray pixel
> offenbrg@trifle.gsfc.nasa.gov (Joel Offenberg) writes:
>> Add this to your .Xdefaults file (or .Xdefaults.opn or whatever you call it):
>> Idl*colors: -5
> I already have that.
Hm. That fixed it when I ws having the same problem.
Another potential problem arises if you have multiple IDL sessions running
at one time on the same console, especially if they are coming from different
hosts. I have no idea if that is your problem, however, but it is the only
suggestion I have left.
Joel
--
Joel D. Offenberg |
Hughes STX / UIT Science Team | I get paid to stare into space.
offenbrg@fondue.gsfc.nasa.gov |
Don't hold anyone responsible for what I say. I'm on my coffee break.
|
|
|
Re: IDL or OpenLook "feature"? [message #1279 is a reply to message #1275] |
Mon, 16 August 1993 15:05  |
jdlb
Messages: 11 Registered: July 1992
|
Junior Member |
|
|
I described an IDL crash following the message
OPEN LOOK Toolkit Error in application "idl": Can't allocate gray pixel
offenbrg@trifle.gsfc.nasa.gov (Joel Offenberg) writes:
> Add this to your .Xdefaults file (or .Xdefaults.opn or whatever you call it):
> Idl*colors: -5
I already have that.
> Please note that this change doesn't take effect until you logout and
> log back on again :)
Unless you do 'xrdb -merge .xdefaults' :-)
hatay@spot.Colorado.EDU (Ferhat F. Hatay) writes:
> I suggest reading openwin3.doc in idl/notes directory. It has some recipes
> for fixing some titsy bitsy yet annoying behaviors under Sun OpenWindows
> similar to yours.
This document also suggests the Idl*colors business.
I thank Messieurs Offenberg and Hatay for their suggestions. I have changed
Idl*colors to -10 for now, which will hopefully reduce crashes due to color
table problems. I am more concerned about the mysterious segmentation faults
and bus errors which occur now and then. Unfortunately, I can't reproduce
these crashes at will. I can't even be sure my own machine isn't at fault.
Sometimes I have IDL sessions going for days, with many variables added and
deleted, which may complicate memory management issues. Also, I am not using
OpenWindows directly--I'm using twm with X11R5 (and IDL 3.0.0).
--Jeff
|
|
|
Re: IDL or OpenLook "feature"? [message #1285 is a reply to message #1279] |
Fri, 13 August 1993 08:15  |
offenbrg
Messages: 31 Registered: August 1993
|
Member |
|
|
jdlb@kukui.ifa.hawaii.edu (J-F Pitot de La Beaujardiere) writes:
> I just lost my IDL session for the nth time. Sometimes when I use a widget
> application, IDL crashes with a bus error, segmentation fault, or other
> error. This time, I got an error from Open Look:
> IDL> xloadct
> % Compiled module: XLOADCT.
> % Compiled module: XREGISTERED.
> OPEN LOOK Toolkit Error in application "idl": Can't allocate gray pixel
Add this to your .Xdefaults file (or .Xdefaults.opn or whatever you call it):
Idl*colors: -5
This tells IDL when it starts up that it should not hog all of the colortable
(which is what it does by default), but leave 5 colors free. That way, when
you try and create a widget, there are still colors left in the colortable.
Please note that this change doesn't take effect until you logout and
log back on again :)
Joel
--
Joel D. Offenberg |
Hughes STX / UIT Science Team | I get paid to stare into space.
offenbrg@fondue.gsfc.nasa.gov |
Don't hold anyone responsible for what I say. I'm on my coffee break.
|
|
|
Re: IDL or OpenLook "feature"? [message #1287 is a reply to message #1285] |
Thu, 12 August 1993 23:01  |
hatay
Messages: 11 Registered: June 1992
|
Junior Member |
|
|
In article <JDLB.93Aug12174948@kukui.ifa.hawaii.edu> jdlb@ifa.hawaii.edu writes:
>
> I just lost my IDL session for the nth time. Sometimes when I use a widget
> application, IDL crashes with a bus error, segmentation fault, or other
> error. This time, I got an error from Open Look:
>
> IDL> xloadct
> % Compiled module: XLOADCT.
> % Compiled module: XREGISTERED.
> OPEN LOOK Toolkit Error in application "idl": Can't allocate gray pixel
>
> Is OpenLook forcing IDL to exit? Or is IDL responding poorly to life's
> vicissitudes? Has anybody else had widget problems?
>
> --Jeff
I suggest reading openwin3.doc in idl/notes directory. It has some recipes
for fixing some titsy bitsy yet annoying behaviors under Sun OpenWindows
similar to yours.
|
|
|