CARenderer in ofxAVFVideoRecorderer error
Hi, i'm on osx 10.7.5 and i'm trying to run the video player example using the ofxAVFVideoPlayer addon, and i cannot have it running.
The debug place the memory error in this block:
--> [_layerRenderer beginFrameAtTime:CACurrentMediaTime() timeStamp:NULL]; [_layerRenderer addUpdateRect:_layerRenderer.layer.bounds]; [_layerRenderer render]; [_layerRenderer endFrame];
inside the render function of the ofxAVFVideoRecorderer class
the error thread is the com.apple.main-thread and this is the output:
libobjc.A.dylib`objc_msgSend: 0x7fff93779e80: testq %rdi, %rdi 0x7fff93779e83: je 0x7fff93779eb0 ; objc_msgSend + 48 0x7fff93779e85: testb $1, %dil 0x7fff93779e89: jne 0x7fff93779ec7 ; objc_msgSend + 71 0x7fff93779e8c: movq (%rdi), %r11 0x7fff93779e8f: pushq %rax ----> error here -----> 0x7fff93779e90: movq 16(%r11), %r10 0x7fff93779e94: movl %esi, %eax 0x7fff93779e96: andl (%r10), %eax
anyone with the same issue?
thanks in advance, and amazing work of course, moving OF to 64 bit, THANKS
Hi, I have the same issue. This happens for me only when frequently starting the playback of a lot of different movies simultaneously (say starting 6 or more 720p movies every 5 seconds, this is on a fast computer with an SSD). There is some memory corruption going on. For me the crash doesn't always occur in the main thread, it also results in a malloc_errors in the coreimage videomentor threads.
If anyone happens to know more (anything helps!), I would be interested to hear from you!