IDL crashing on call of TV [message #54902] |
Thu, 19 July 2007 07:57  |
Ingo von Borstel
Messages: 54 Registered: September 2006
|
Member |
|
|
Hi there,
just trying to display an array quick and dirty, IDL crashed on me with
a memory access violation repeatedly. Anyone having that (or similar)
problem as well? Is there a solution?
ingo> idl
IDL Version 6.1 (linux x86 m32). (c) 2004, Research Systems, Inc.
Installation number: xxxxx.
Licensed for use by: TU Braunschweig, IGM
****************NOTE FOR RedHat Enterprise USERS********************
Some functionality in this IDL release requires the libstdc++
compatiblity libraries to be installed. To check if the libraries
are already installed, execute 'rpm -qa | grep compat', and look for
"compat-libstdc++-<version_number>". If this is not listed, install
the appropriate RPM for your distribution (from your install CD's).
**********************************************************
IDL> image = bytarr(200,200)
IDL> image[2:10,2:20] = 200
IDL> tvscl, image
Speicherzugriffsfehler
ingo> cat /proc/version
Linux version 2.6.13-15-default (geeko@buildhost) (gcc version 4.0.2
20050901 (prerelease) (SUSE Linux)) #1 Tue Sep 13 14:56:15 UTC 2005
ingo> rpm -qa | grep compat
compat-libstdc++-5.0.7-6
Best regards,
Ingo
--
Ingo von Borstel <newsgroups@planetmaker.de>
Public Key: http://www.planetmaker.de/ingo.asc
If you need an urgent reply, replace newsgroups by vgap.
|
|
|
|
|
Re: IDL crashing on call of TV [message #91602 is a reply to message #91601] |
Tue, 04 August 2015 23:35   |
Helder Marchetto
Messages: 520 Registered: November 2011
|
Senior Member |
|
|
Hi,
can't help you with the crashes, but the syntax errors are to be expected. IDL is very backwards compatible, but "unfortunately" not forward compatible. Your v8.0 code is for sure using functions/procedure calls that are not allowed in 6.3. The only way around (as far as I see), is to go through the code an fix those errors. It should not be too hard if you go in debugging mode...
Good luck and hope that you code is not in the 10^6 lines range :-)
Helder
On Wednesday, August 5, 2015 at 7:52:03 AM UTC+2, Induja Shaji wrote:
> Hi..
> I have a similar question.
> I had been using idl 8.0 in my desktop pc with CENTOS 6 operating system. Now I want shift to laptop(Fedora 22 OS 64bit) in which I have idl 6.3 version installed.While compiling the previously written codes(which are working fine in idl 8.0), it shows syntax errors. Also, while trying to plot an image with tv 0r plot_image etc., it shows 'Segmentation fault (core dumped)' and idl crashes. What can be done for this?
>
>
> -------
> Induja
|
|
|
Re: IDL crashing on call of TV [message #91605 is a reply to message #91602] |
Wed, 05 August 2015 00:28  |
Induja Shaji
Messages: 6 Registered: June 2015
|
Junior Member |
|
|
On Wednesday, August 5, 2015 at 12:05:24 PM UTC+5:30, Helder wrote:
> Hi,
> can't help you with the crashes, but the syntax errors are to be expected. IDL is very backwards compatible, but "unfortunately" not forward compatible. Your v8.0 code is for sure using functions/procedure calls that are not allowed in 6.3. The only way around (as far as I see), is to go through the code an fix those errors. It should not be too hard if you go in debugging mode...
> Good luck and hope that you code is not in the 10^6 lines range :-)
> Helder
>
>
> On Wednesday, August 5, 2015 at 7:52:03 AM UTC+2, Induja Shaji wrote:
>> Hi..
>> I have a similar question.
>> I had been using idl 8.0 in my desktop pc with CENTOS 6 operating system. Now I want shift to laptop(Fedora 22 OS 64bit) in which I have idl 6.3 version installed.While compiling the previously written codes(which are working fine in idl 8.0), it shows syntax errors. Also, while trying to plot an image with tv 0r plot_image etc., it shows 'Segmentation fault (core dumped)' and idl crashes. What can be done for this?
>>
>>
>> -------
>> Induja
Thank you very much for the information. I would be helpful if somebody could give an idea to resolve the idl crash while plotting images. hope it will work if I revert the xserver to older version(the problem is while plotting images but simlple line plots are working). Can i get some idea to revert it.
|
|
|