comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » idl 6.3 bus error during tv
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
idl 6.3 bus error during tv [message #57840] Thu, 03 January 2008 10:26 Go to next message
don.woodraska is currently offline  don.woodraska
Messages: 13
Registered: October 2005
Junior Member
I have very recently "upgraded" from an old mac G4 (OS-X 10.3.9) to an
old hand-me-down dual mac G5 with OS-X 10.5.1 (Leopard Darwin kernel
version 9.1.0). Now the tv command causes IDL to bus error. I'm still
running the same old IDL version 6.3 and have no problems using plot
or window commands, so the DISPLAY environment appears to be set
properly. I even ran the idlbridge_demo which creates object graphics,
spawns child processes, uses widgets and it works just fine. I'm
thinking there is some kind of direct graphics gremlin with tv in IDL
version 6.3. One of my coworkers has the exact same mac hardware I do,
but she has the older IDL version 6.2 and tv works fine there.

Does anyone have any ideas regarding cause? Looks like I have to
upgrade IDL to fix this.

Below is a screen dump of my session.

Thanks,
Don

% idl
IDL Version 6.3, Mac OS X (darwin ppc m32). (c) 2006, Research
Systems, Inc.
Installation number: xxx-xxx.
Licensed for use by: xxxxxxxx xx xxxxxx

IDL> help,!version,/str
** Structure !VERSION, 8 tags, length=76, data length=76:
ARCH STRING 'ppc'
OS STRING 'darwin'
OS_FAMILY STRING 'unix'
OS_NAME STRING 'Mac OS X'
RELEASE STRING '6.3'
BUILD_DATE STRING 'Jun 27 2006'
MEMORY_BITS INT 32
FILE_OFFSET_BITS
INT 64
IDL> tv,dist(512)
% Compiled module: DIST.
Bus error
Re: idl 6.3 bus error during tv [message #57933 is a reply to message #57840] Sun, 06 January 2008 10:00 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
don.woodraska@gmail.com writes:

> My problem still persists. If I start a new session and execute TV, it
> creates the empty window (filled with black nothingness), then it
> hangs up and gives the bus error.
>
> Mike, thank you for the advice on updating IDL versions and providing
> the X11 updates link. These seem to be the only thing left to try. I'm
> a command line dinosaur, so I have to first overcome my (irrational
> and unfounded) fear of eclipse.

I wouldn't be too quick to update, unless you want to
for other reasons. This doesn't sound like an IDL
problem to me.

Have you upgraded your graphics driver to its most
recent revision?

Cheers,

David

--
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.")
Re: idl 6.3 bus error during tv [message #57946 is a reply to message #57840] Fri, 04 January 2008 13:19 Go to previous messageGo to next message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On Jan 4, 11:06 am, don.woodra...@gmail.com wrote:
> My problem still persists. If I start a new session and execute TV, it
> creates the empty window (filled with black nothingness), then it
> hangs up and gives the bus error.

I'm not sure what the problem is at all, or even why as much works for
you as it does.

> Mike, thank you for the advice on updating IDL versions and providing
> the X11 updates link. These seem to be the only thing left to try. I'm
> a command line dinosaur, so I have to first overcome my (irrational
> and unfounded) fear of eclipse.

That link for the X11 updates does not have anything to do with
Eclipse, but will affect the behavior of graphics/widgets in IDL (and
anything else you run that uses X).

Mike
--
www.michaelgalloy.com
Tech-X Corporation
Software Developer II
Re: idl 6.3 bus error during tv [message #58509 is a reply to message #57840] Wed, 30 January 2008 06:35 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Paul van Delst writes:

>> With the exception of losing graphics windows,
>
> ?? Forgive me if I've lost the story in all the various idl7 threads, but what does that mean?

WSHOW doesn't work with the IDL Workbench, so you can't easily
bring your graphics windows forward on your display. You
have to click them. Then, when you go back to the Workbench,
they disappear again.

> I got idl7 installed yesterday. Being a command line only type of
> guy, it seems no different to me -- although I haven't had time to
> push it. (To say nothing of being mortally a-feared to even *start*
> that workbench thingy, let alone learn to use it. :o)

If you are a command line type of guy IDL 7.0 is *absolutely*
no different from IDL 6.4. Just try not to think of the money
you spent on the upgrade. :-)

> As an aside, is it possible to implement one's editor of
> choice in eclipse and, by extension, the IDL workbench?

Sure, why not? The world's an oyster! (But, uh, I guess the
directions are missing.) If you like a particular editor, I think
I'd just stay with it and use the command line thingy. Works
for most of us. I know I'd be in a lot of trouble without the
IDL 6.4 On-Line Help. ;-)

Cheers,

David

--
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.")
Re: idl 6.3 bus error during tv [message #58510 is a reply to message #57840] Wed, 30 January 2008 06:10 Go to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
David Fanning wrote:
> don.woodraska@gmail.com writes:
>
>> No matter what "features" version 7 has, I am
>> prepared to gladly embrace them (or at least happily work around
>> them).
>
> "When you have no choice, you must embrace the inevitable."
>
> I think I read that in A Madman Dreams of Turing Machines,
> a wonderful book, although I can't find the quote at the moment.
> Sounds like something Alan Turing would say. :-)

Or Richard Dawkins maybe? :o)

> With the exception of losing graphics windows,

?? Forgive me if I've lost the story in all the various idl7 threads, but what does that mean?

> I would
> have to say that by and large I am pretty happy with IDL 7.
> Of course, I've stripped the damn thing down and configured
> the hell out of it so that it looks and acts like IDL 6.4,
> but, still...

I got idl7 installed yesterday. Being a command line only type of guy, it seems no
different to me -- although I haven't had time to push it. (To say nothing of being
mortally a-feared to even *start* that workbench thingy, let alone learn to use it. :o)

> The only thing I am really missing is that wonderful ability
> to edit by columns. That was neat. :-)

nedit (and others) will do it. As an aside, is it possible to implement one's editor of
choice in eclipse and, by extension, the IDL workbench?

cheers,

paulv
Re: idl 6.3 bus error during tv [message #58514 is a reply to message #57840] Tue, 29 January 2008 19:39 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
don.woodraska@gmail.com writes:

> No matter what "features" version 7 has, I am
> prepared to gladly embrace them (or at least happily work around
> them).

"When you have no choice, you must embrace the inevitable."

I think I read that in A Madman Dreams of Turing Machines,
a wonderful book, although I can't find the quote at the moment.
Sounds like something Alan Turing would say. :-)

With the exception of losing graphics windows, I would
have to say that by and large I am pretty happy with IDL 7.
Of course, I've stripped the damn thing down and configured
the hell out of it so that it looks and acts like IDL 6.4,
but, still...

The only thing I am really missing is that wonderful ability
to edit by columns. That was neat. :-)

Cheers,

David
--
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.")
Re: idl 6.3 bus error during tv [message #58515 is a reply to message #57933] Tue, 29 January 2008 18:12 Go to previous message
don.woodraska is currently offline  don.woodraska
Messages: 13
Registered: October 2005
Junior Member
I just thought I'd try to close the loop on this problem. This is a
working answer to my specific problem (bus errors induced by TVSCL in
IDL 6.3 on OS X Leopard).

I upgraded to IDL 7.0. Now everything WORKS again! I have information
from a reliable 3rd party that 6.4.1 would not fix this bug, so I
jumped right to 7.0. No matter what "features" version 7 has, I am
prepared to gladly embrace them (or at least happily work around
them).

Cheers,
Don

IDL> help,!version,/str
** Structure !VERSION, 8 tags, length=76, data length=76:
ARCH STRING 'ppc'
OS STRING 'darwin'
OS_FAMILY STRING 'unix'
OS_NAME STRING 'Mac OS X'
RELEASE STRING '7.0'
BUILD_DATE STRING 'Oct 25 2007'
MEMORY_BITS INT 32
FILE_OFFSET_BITS
INT 64
IDL> tv,dist(256)
% Compiled module: DIST.
IDL>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: XMP metadata in JPEG & PNG images?
Next Topic: Moving Axes

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:56:07 PDT 2025

Total time taken to generate the page: 0.00741 seconds