Re: Bus Error on Mac when TVRD() is called in IDL 6.4 [message #67758] |
Fri, 21 August 2009 13:43 |
Michael Galloy
Messages: 1114 Registered: April 2006
|
Senior Member |
|
|
Ed wrote:
> I've been getting bus errors when I call TVRD() or TVREAD() on my Mac.
> I'm running IDL 6.4 under OS 10.4.11 on a Mac G4. All plot commands
> that I can think of execute successfully, and my DISPLAY environment
> variable is properly set (:0.0), since I'm in a single user
> environment.
>
> This seems to be a different animal than the similar problem discussed
> by David
> Fanning in 2006 for IDL 6.3 on a Mac (http://www.dfanning.com/tips/
> maccrash.html).
> He includes a link to the thread,
> http://groups.google.com/group/comp.lang.idl-pvwave/browse_f rm/thread/90f0e0e47b99f2c1/7e3421b4f6a1273d?hl=en#7e3421b4f6 a1273d
>
> Mike Galloy pointed out there that under 6.3 the command "help,
> device" also caused a crash, but "help,/device" works fine for me.
>
> 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 XFree86 Project, Inc, Release 40400000
> Display Depth, Size: 24 bits, (1280,800)
> Visual Class: TrueColor (4)
> Bits Per RGB: 8 (8/8/8)
> Physical Color Map Entries (Emulated / Actual): 256 / 256
> Colormap: Private, 16777216 colors. Translation table: Enabled
> Graphics pixels: Combined, Dither Method: Ordered
> Write Mask: 16777215 (decimal) ffffff (hex)
> Graphics Function: 3 (copy)
> Current Font: <default>, Current TrueType Font: <default>
> Default Backing Store: Req from Server.
>
> If my memory is correct, calls to TVRD used to work fine on this
> system several months ago. Could Mac's upgrades have caused this
> problem? Or should I upgrade X11?
Any manual updates to X11 that you have done are wiped out by the
software updates to the system. Since I've been getting updates from the
XQuartz project (and re-applying after I do any software updates),
things have been fine for me. Get the updates here:
http://xquartz.macosforge.org/trac/wiki
By the way, you can receive an email when new X11 versions come out if
you register on the site and then hit the "Watch page" link in the upper
right of this page:
http://xquartz.macosforge.org/trac/wiki/Releases
Mike
--
www.michaelgalloy.com
Associate Research Scientist
Tech-X Corporation
|
|
|
Re: Bus Error on Mac when TVRD() is called in IDL 6.4 [message #67760 is a reply to message #67758] |
Fri, 21 August 2009 13:33  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Ed writes:
> Could Mac's upgrades have caused this
> problem? Or should I upgrade X11?
Given the Mac's recent track record, I've got $25
I'm willing to put on a Mac upgrade causing the problem!
Cheers,
David
P.S. The Mac guys will have to recommend some other
flavor of X11. I always forget the name, sorry.
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|