From: Romaric David (david_at_icps.u-strasbg.fr)
Date: Fri Jun 18 2004 - 02:13:23 CDT

John Stone wrote:
>
> Hi,
> What do you get if you run that VMD from 'strace' like this?
> strace -F vmd -dispdev text
>
> We're interested in the "open" and "select" calls that
> reference the same file handles, so we can figure out why the heck
> VMD would be getting stuck on a select call.
>
> Did you compile this VMD binary yourself, or is it one of our binaries?
>
Hello,

I had to compile VMD myself : I need cave support on Linux and I couldn't find a pre-compiled
binary.

Here is the part of the strace output of vmd_LINUX (the binary) where things start to go wrong :

-- brk(0x8279000) = 0x8279000
open(".vmdrc", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/icps/david/.vmdrc", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/O2/Visualiation/Vmd/lib/vmd/.vmdrc", O_RDONLY) = -1 ENOENT (No such file or directory)
select(0, NULL, NULL, NULL, {0, 1000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 1000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 1000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 1000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 1000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 1000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 1000}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {0, 1000}) = 0 (Timeout)

The strace -F output of the vmd script goes like this :

rt_sigprocmask(SIG_SETMASK, [INT], [INT], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [INT], 8) = 0
fork() = 5855
gettimeofday({1087542582, 35618}, NULL) = 0
rt_sigprocmask(SIG_SETMASK, [INT], [INT CHLD], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [INT], 8) = 0
rt_sigprocmask(SIG_SETMASK, [INT], [INT CHLD], 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [INT], 8) = 0
rt_sigsuspend([INT 34]/home/icps/david/tardists/vmd-1.8.1/LINUX/vmd_LINUX: /home/icps/david/tardists/Mesa-6.0.1/lib/libGL.so.1: no version information
available (required by /home/icps/david/tardists/vmd-1.8.1/LINUX/vmd_LINUX)

and stays stuck here...

I cand send you the entire traces if you fell they would be of any help,

        Romaric

--------------------------------------
  R. David - david_at_icps.u-strasbg.fr
  Tel. : 03 90 24 45 48 (Fax 45 47)
--------------------------------------