That is a known issue caused by a bug in the 180 series nVidia drivers.
 VirtualGL 2.1.3 is able to work around the bug in most cases, but the
bug is still there, and doing 'vglrun /bin/hostname' reveals it.  The
nVidia version of libGL.so.1 is overriding dlopen() and dlsym() for some
reason, and their version of dlsym() is buggy.  The act of preloading
librrfaker.so into an executable causes libGL.so.1 to be loaded ahead of
libdl.so.2, which overrides the native version of dlsym() with the buggy
one.

In most cases, you won't need to run 'vglrun /bin/hostname', unless
'/bin/hostname' is in a script that is used to launch a 3D app.  In that
case, use the technique described in Ch. 12 of the VirtualGL User's
Guide to save the value of LD_PRELOAD within the script and recall it
right before the 3D application is actually launched.

Thus far, it seems like the workaround in VGL 2.1.3 is working.  If you
do encounter a problem with launching an actual 3D app, though, please
post it here.  I suspect that any 3D app which tried to use
dlsym(RTLD_NEXT, ...) would encounter problems, but fortunately, we
haven't encountered such an app yet.  For those apps, assuming they
exist, a further workaround would be to downgrade to the nVidia 170
series drivers.

See:
http://www.nvnews.net/vbulletin/showthread.php?t=132259

for a description of the bug.

I've also submitted this using the nVidia support E-Mail alias, but they
have completely ignored me.

DRC

James Pearson wrote:
>> My vacation starts today so I'm not really able to test this. However, I
>> did actually "solve" the problem: Instead of launching "vglrun
>> googleearth", I inserted vglrun into the googleearth script, where it
>> executes googleearth-bin. I have no idea why this helps. The strange thing
>> is that I'll get a segfault when running vglrun against *any* script:
>>
>> w...@stl1:~/Desktop> cat > foo.sh
>> echo hello world
>> w...@stl1:~/Desktop>
>> w...@stl1:~/Desktop> chmod +x foo.sh
>> w...@stl1:~/Desktop> ./foo.sh
>> hello world
>> w...@stl1:~/Desktop> vglrun ./foo.sh
>> Segmentation fault
>>
>> My guess is that this is a SLED11 specific problem. I've noticied similar
>> "unstableness" with SLED10 in the past. For example, once, the system
>> could not execute binaries at all from a shell, unless nscd was started.
>> Otherwise, the binary crashed during init.
>>
>> I guess we need to take a look at this.
> 
> I get a similar problem running 'hostname' through vglrun on CentOS4 i.e.
> 
> % vglrun /bin/hostname
> Segmentation fault
> 
> Running this through gdb gives:
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 182933527360 (LWP 16237)]
> 0x0000002a963ba267 in ?? () from /usr/lib64/libGL.so.1
> (gdb) where
> #0  0x0000002a963ba267 in ?? () from /usr/lib64/libGL.so.1
> #1  0x0000002a963c02e2 in ?? () from /usr/lib64/libGL.so.1
> #2  0x0000002a963c12e9 in ?? () from /usr/lib64/libGL.so.1
> #3  0x0000002a9556114f in _dl_init_internal () from 
> /lib64/ld-linux-x86-64.so.2
> #4  0x0000002a95556abb in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
> #5  0x0000000000000001 in ?? ()
> #6  0x0000007fbfffde70 in ?? ()
> #7  0x0000000000000000 in ?? ()
> 
> This is using VirtualGL v2.1.3 with the Nvidia driver v185.18.14 on a 
> Quadro FX 570
> 
> James Pearson
> 
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> VirtualGL-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/virtualgl-users

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
VirtualGL-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtualgl-users

Reply via email to