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

Home » Public Forums » archive » IDL X11 forwarding segmentation fault
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 X11 forwarding segmentation fault [message #85780] Fri, 06 September 2013 09:37 Go to next message
schonfsj is currently offline  schonfsj
Messages: 3
Registered: September 2013
Junior Member
Hello Everyone,

I'm having a very unusual and system specific problem which is likely beyond the scope of this forum, but I've been unable to find a solution and thought it couldn't hurt to ask if someone might know what's going on.

I use IDL (8.0.1) on my school's network and often do so remotely with an SSH connection (with X11 forwarding enabled). Since a hardware and software upgrade to the system, any attempt to access the IDL X device while SSH'd from my laptop causes a 'Segmentation Fault (Core dump)'. This is unique to my laptop (remote access with other laptops running the same Ubuntu distribution (12.04) have no problems) and to the new computers, I don't have this problem on older network computers. Clearly this is a very system specific problem, but what is most unusual is that, as far as I can tell, all other X forwarding works perfectly with the same connection; it is only IDL that fails. One final detail is that I run Ubuntu as a virtual machine inside VirtualBox (Version 4.2.16 r86992) which could be causing the problems, but prior to the system upgrade everything worked normally.

So, to me, the question seems to be, what can cause IDL X11 forwarding to fail when all other X11 forwarding requests are successful? Does IDL handle X11 forwarding in some unique way? And finally, is there anyway to fix this?

Thank you for your time, and any help you can give would be greatly appreciated,
-Sam Schonfeld-
Re: IDL X11 forwarding segmentation fault [message #85846 is a reply to message #85780] Fri, 13 September 2013 14:40 Go to previous messageGo to next message
Chip Helms is currently offline  Chip Helms
Messages: 24
Registered: November 2012
Junior Member
Just a stab in the dark, but I've found if you use "ssh -XY name@host" it can sometimes solve issues with X11 forwarding. (-Y enables trusted X11 forwarding)

Cheers,
Chip
Re: IDL X11 forwarding segmentation fault [message #85861 is a reply to message #85846] Sat, 14 September 2013 14:37 Go to previous messageGo to next message
schonfsj is currently offline  schonfsj
Messages: 3
Registered: September 2013
Junior Member
On Friday, September 13, 2013 3:40:04 PM UTC-6, Chip Helms wrote:
> Just a stab in the dark, but I've found if you use "ssh -XY name@host" it can sometimes solve issues with X11 forwarding. (-Y enables trusted X11 forwarding)
>
>
>
> Cheers,
>
> Chip

Hi Chip,

Thanks for the thought, but I had actually already tried ssh-ing with -XY (as well as just -Y). If it was a general problem with SSH I don't think I would be able to see any X-windows while SSH'd, but I can still open any X-window (xclock for example) as long as long as it's not through IDL.

Do you have any other ideas?
-Sam-
Re: IDL X11 forwarding segmentation fault [message #85901 is a reply to message #85780] Mon, 16 September 2013 13:04 Go to previous messageGo to next message
Kenneth Bowman is currently offline  Kenneth Bowman
Messages: 86
Registered: November 2006
Member
On 2013-09-06 16:37:44 +0000, schonfsj@gmail.com said:

> Hello Everyone,
>
> I'm having a very unusual and system specific problem which is likely
> beyond the scope of this forum, but I've been unable to find a solution
> and thought it couldn't hurt to ask if someone might know what's going
> on.
>
> I use IDL (8.0.1) on my school's network and often do so remotely with
> an SSH connection (with X11 forwarding enabled). Since a hardware and
> software upgrade to the system, any attempt to access the IDL X device
> while SSH'd from my laptop causes a 'Segmentation Fault (Core dump)'.
> This is unique to my laptop (remote access with other laptops running
> the same Ubuntu distribution (12.04) have no problems) and to the new
> computers, I don't have this problem on older network computers.
> Clearly this is a very system specific problem, but what is most
> unusual is that, as far as I can tell, all other X forwarding works
> perfectly with the same connection; it is only IDL that fails. One
> final detail is that I run Ubuntu as a virtual machine inside
> VirtualBox (Version 4.2.16 r86992) which could be causing the problems,
> but prior to the system upgrade everything worked normally.
>
> So, to me, the question seems to be, what can cause IDL X11 forwarding
> to fail when all other X11 forwarding requests are successful? Does
> IDL handle X11 forwarding in some unique way? And finally, is there
> anyway to fix this?
>
> Thank you for your time, and any help you can give would be greatly
> appreciated,
> -Sam Schonfeld-

It could be a graphics driver problem. Try moving or renaming the
following files

For IDL 8.0 and 8.1
/Applications/itt/idl/idl80/bin/bin.darwin.x86_64/gl_driver. so
/Applications/itt/idl/idl80/bin/bin.darwin.i386/gl_driver.so
For IDL 8.2
/Applications/exelis/idl802/bin/bin.darwin.x86_64/gl_driver. so


Ken Bowman
Re: IDL X11 forwarding segmentation fault [message #85910 is a reply to message #85780] Tue, 17 September 2013 11:19 Go to previous messageGo to next message
schonfsj is currently offline  schonfsj
Messages: 3
Registered: September 2013
Junior Member
On Friday, September 6, 2013 10:37:44 AM UTC-6, scho...@gmail.com wrote:
> Hello Everyone,
>
>
>
> I'm having a very unusual and system specific problem which is likely beyond the scope of this forum, but I've been unable to find a solution and thought it couldn't hurt to ask if someone might know what's going on.
>
>
>
> I use IDL (8.0.1) on my school's network and often do so remotely with an SSH connection (with X11 forwarding enabled). Since a hardware and software upgrade to the system, any attempt to access the IDL X device while SSH'd from my laptop causes a 'Segmentation Fault (Core dump)'. This is unique to my laptop (remote access with other laptops running the same Ubuntu distribution (12.04) have no problems) and to the new computers, I don't have this problem on older network computers. Clearly this is a very system specific problem, but what is most unusual is that, as far as I can tell, all other X forwarding works perfectly with the same connection; it is only IDL that fails. One final detail is that I run Ubuntu as a virtual machine inside VirtualBox (Version 4.2.16 r86992) which could be causing the problems, but prior to the system upgrade everything worked normally.
>
>
>
> So, to me, the question seems to be, what can cause IDL X11 forwarding to fail when all other X11 forwarding requests are successful? Does IDL handle X11 forwarding in some unique way? And finally, is there anyway to fix this?
>
>
>
> Thank you for your time, and any help you can give would be greatly appreciated,
>
> -Sam Schonfeld-

Ken, that worked perfectly. I convinced my system administrator to rename gl_driver.so and everything is now working as expected.

I do have one further question, although for the moment this is simply curiosity rather than need. From what google revealed, gl_driver.so controls hardware acceleration, so why doesn't setting the preference IDL_GR_X_REFERENCE=1 (software, which I tried) also fix the problem?

Thanks again,
-Sam-
Re: IDL X11 forwarding segmentation fault [message #85911 is a reply to message #85910] Tue, 17 September 2013 11:23 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
schonfsj@gmail.com writes:

> I do have one further question, although for the moment this is simply
curiosity rather than need. From what google revealed, gl_driver.so
controls hardware acceleration, so why doesn't setting the preference
IDL_GR_X_REFERENCE=1 (software, which I tried) also fix the problem?

Ah, this is the test question for this year's IEPA applicants!

http://www.idlcoyote.com/misc_tips/iepa_test.html

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: chisq value
Next Topic: Merits of different ways of 'extending' arrays

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

Current Time: Wed Oct 08 11:32:38 PDT 2025

Total time taken to generate the page: 0.00652 seconds