From: Satheesh Ganapathi Subramanian (gsat++at++evl.uic.edu)
Date: 08/02/2000 10:57:29
Hi
I'm currently working on a program that uses digital media (dmedia)
buffers inside a performer CAVE program. The video initialization seems to
be working without problems (this has been taken from the movietex.c
sample program). But I seem to be having problems getting a valid frame.
I'm getting a frame as follows:
void *video2memory()
{
if(vlDMBufferGetValid(videoServer, videoPath, videoDrain,
&dmImageBuffer) == VLSuccess)
return dmBufferMapData(dmImageBuffer);
return NULL;
}
The dmBufferPool has the following parameter set:
dmParamsSetEnum(dmBufferParameterList, DM_POOL_SHARE,DM_POOL_INTERPROCESS);
When I run the program without the video2memory() portion, it seems to run
fine (but ofcourse without any video), but when I include the
video2memory() code, it gives me the following error:
PF Notice: Caught SIGCHLD. Exiting due to death of child with pid 10947.
when I loaded the core into dbx, I got the following message:
PC value from core file (0x670a860) is not part of the program.
Assuming return register value (0x1050) usable to locate PC.
Core from signal SIGSEGV: Segmentation violation
(dbx) where
> 0 <Unknown>() [< unknown >,0x1050]
Can someone point me to where I might be going wrong? Or whether there are
known problems with using dmedia library calls with multi-pipe performer
programs like the CAVE.
Thanks
Satheesh
This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 10:57:36 PDT