| Re: idl 6.3 bus error during tv [message #57833 is a reply to message #57832] |
Thu, 03 January 2008 17:32   |
don.woodraska
Messages: 13 Registered: October 2005
|
Junior Member |
|
|
On Jan 3, 11:30 am, David Fanning <da...@dfanning.com> wrote:
>
> Here is where you should start with sorting this well-known problem
> out:
>
> http://www.dfanning.com/tips/maccrash.html
>
> Cheers,
>
> David
Thank you for collecting this information in a nice easy-to-read
format, but unfortunately, this does not fix my problem. The PLOT
command works. XYOUTS works, too. I can create windows with no
problems. It's only the TV procedures that cause a bus error that
rudely dumps me back to my unix shell.
I may be wrong here, but I think that if the DISPLAY variable was not
correct, then I wouldn't be able to create any windows in IDL at all
(but I can). Perhaps I'm mistaken about this.
This problem seems to be isolated to TV and TVSCL commands only. Below
is a snippet from another session that shows the !D structure, a
successful plot command, the device info, and the tv-induced bus
error.
With a new IDL session the TV command does create a new window (#0) so
it seems to successfully connect and send windows to the localhost.
Then IDL pauses, while the CPU usage goes up to 100 % on one CPU, then
finally it dumps me back to the shell.
FYI, I can successfully ssh to my linux box (IDL 6.3) and run the same
commands and send the windows back to my mac just fine.
I guess I have no choice but to upgrade if I want my TVSCL back.
Thanks,
Don
IDL> help,!d,/str
** Structure !DEVICE, 17 tags, length=84, data length=84:
NAME STRING 'X'
X_SIZE LONG 640
Y_SIZE LONG 512
X_VSIZE LONG 640
Y_VSIZE LONG 512
X_CH_SIZE LONG 6
Y_CH_SIZE LONG 9
X_PX_CM FLOAT 40.0000
Y_PX_CM FLOAT 40.0000
N_COLORS LONG 256
TABLE_SIZE LONG 256
FILL_DIST LONG 1
WINDOW LONG -1
UNIT LONG 0
FLAGS LONG 328124
ORIGIN LONG Array[2]
ZOOM LONG Array[2]
IDL> plot,findgen(10)
IDL> help,!d.name
<Expression> STRING = 'X'
IDL> help,/device
Available Graphics Devices: CGM HP LJ NULL PCL PRINTER PS REGIS TEK X
Z
Current graphics device: X
Server: X11.0, The X.Org Foundation, Release 70200000
Display Depth, Size: 24 bits, (1280,1003)
Visual Class: TrueColor (4)
Bits Per RGB: 8 (8/8/8)
Physical Color Map Entries (Emulated / Actual): 256 / 256
Colormap: Shared, 16777216 colors. Translation table: Bypassed
Graphics pixels: Decomposed, Dither Method: Ordered
Write Mask: 16777215 (decimal) ffffff (hex)
Graphics Function: 3 (copy)
Current Font: <default>, Current TrueType Font: <default>
Default Backing Store: Pixmap.
Window Status: ---------------------
id typ( x, y, backing store) id typ( x, y,
backing store)
0: Win( 640, 501, Pixmap)
IDL> xyouts,.5,.5,'Center'
IDL> window,3
IDL> tv,dist(128)
% Compiled module: DIST.
Bus error
|
|
|
|