Hi,
trying to get ARToolkit with VRML and DV support to work I ran into a
problem - probably this might be helpful for others:
The example simpleTestDV (VRML4ATK2.11 + ARTK2.65) crashed on my system
with a segmentation error. When debugging video.c (in the VideoLinuxDV
directory) I figured that in function ar2VideoOpen() the variable
vid->buffer->init is not initialized. That variable should be
initialized to "0" before calling ar2VideoBufferInit(). If it's not, it
might represent a random value and no framebuffer would be created,
causing the crash.
Cheers
Tobias Laubach
|