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

Home » Public Forums » archive » Re: seg fault with simple tv or tvrd()
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
Re: seg fault with simple tv or tvrd() [message #55470] Tue, 21 August 2007 15:50 Go to next message
George N. White III is currently offline  George N. White III
Messages: 56
Registered: September 2000
Member
On Tue, 21 Aug 2007, David Fanning wrote:

>
>
> kirt writes:
>
>> I'm trying to resurrect IDL on a ubuntu box and am struggling with a
>> basic tv (or tvrd) seg fault.
>> I feel like an idiot asking this, but I can't perform a simple tv or
>> tvrd() without a segmentation fault.
>
> Here you go:
>
> http://www.dfanning.com/misc_tips/segfault.html

Or update to IDL 6.4 (in which case you may get to consult
a different techtip for yet another workaround -- 4228)

Some of the information techtip 4177 is no longer useful. For Fedora Core
6 it recommends installing an older version of libX11, but this is no
longer available in repositories. One option is to recompile the library,
after editing the SPEC file to omit the patch.

--
George N. White III <aa056@chebucto.ns.ca>
Re: seg fault with simple tv or tvrd() [message #55473 is a reply to message #55470] Tue, 21 August 2007 09:46 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
kirt writes:

> I'm trying to resurrect IDL on a ubuntu box and am struggling with a
> basic tv (or tvrd) seg fault.
> I feel like an idiot asking this, but I can't perform a simple tv or
> tvrd() without a segmentation fault.

Here you go:

http://www.dfanning.com/misc_tips/segfault.html

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: seg fault with simple tv or tvrd() [message #55536 is a reply to message #55473] Mon, 27 August 2007 09:02 Go to previous message
Foldy Lajos is currently offline  Foldy Lajos
Messages: 268
Registered: October 2001
Senior Member
On Tue, 21 Aug 2007, David Fanning wrote:

> kirt writes:
>
>> I'm trying to resurrect IDL on a ubuntu box and am struggling with a
>> basic tv (or tvrd) seg fault.
>> I feel like an idiot asking this, but I can't perform a simple tv or
>> tvrd() without a segmentation fault.
>
> Here you go:
>
> http://www.dfanning.com/misc_tips/segfault.html
>
> 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.")
>

Hi,

I have found a workaround, which does not require deprecating the system
X11 library.

1. find a copy of the old "working" libX11.so.6 file and copy it
somewhere, eg. /my/private/lib/libX11.so.6

2. bash: export LD_PRELOAD_PATH=/my/private/lib
tcsh: setenv LD_PRELOAD_PATH /my/private/lib

3. run IDL

Now IDL will use /my/private/lib/libX11.so.6 instead of the system library
and it will work correctly.

regards,
lajos
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: How to read ASTER in ENVI?
Next Topic: Natural size of explicitly-sized widget

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

Current Time: Fri Oct 10 11:31:09 PDT 2025

Total time taken to generate the page: 0.43012 seconds