On 11-04-13 05:03 AM, David Björkevik wrote:
> I'm trying to run Altair's HyperView with vglrun, but it hangs on
> startup. The hang happens right after
>
> [VGL] Shared memory segment ID for vglconfig: 21102608
>
> and an strace shows a hang on a futex system call. My guess is that
> there is some kind of issue with communication between
>
> A trace reveals the following (before the shared memory message above):
>
> [VGL] dlopen
> (filename=/disk/sw/altair/hw10/altair/hw/mw/linux64/mw/lib-amd64_linux_optimized/libadvapi32.so
> flag=258 retval=0x2b556893ea90)
> [VGL] dlopen
> (filename=/disk/sw/altair/hw10/altair/hw/mw/linux64/mw/lib-amd64_linux_optimized/libadvapi32impl.so
> flag=258
> [VGL] dlopen
> (filename=/disk/sw/altair/hw10/altair/hw/mw/linux64/mw/lib-amd64_linux_optimized/libkernel32.so
> flag=258 retval=0x2b5568d61000)
>
> I've tried both running vglrun on the startup script, as well as
> patching the script to have vglrun being executed right before the hw
> binary.
>
> I'm running out of ideas; what else can I test?

Random suggestion: don't hook dlopen?  For new versions of VGL that 
means use -nodl, for some old versions it means upgrade to a newer 
version. :)

If the trace line is completely written it suggests that the hang is 
outside VGL's code, but a debugger might give a slightly better 
perspective (backtrace on hang, at least).

Building a debug VGL isn't hard, roughly:
- unpack libjpeg-turbo tarball
- ./configure --with-jpeg8
- make
- unpack vgl tarball
- # if you didn't install, edit Makerules to know where your 
libturbojpeg.so is
- make DEBUG=yes

-Nathan

------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
_______________________________________________
VirtualGL-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtualgl-users

Reply via email to