@dcb wrote:
Hi,
I started implementing the examples of Leon Fedden's ofxMaxim tutorial series in oF 0.9.3. The code for the first two examples is in my ofxMaxim-examples repository.
In both examples I'm getting occasional runtime errors like this:
Thread 1: EXC_BAD_ACCESS (code=EXC_i386_GPFLT)
orThread 1: EXC_BAD_INSTRUCTION (code=EXC_i386_INVOP, subcode 0x0)
. In almost all cases these errors occur in theofAppGLFWWindow::update()
method when this line is executed:glfwShowWindow(windowP);
.Since both errors seem to relate to the access of released objects, I'm assuming I'm doing something fundamentally wrong. On the other hand, these errors do not occur every time, though pretty often, when I run the examples, which makes me think this could also be either a bug in the addon or a bug related to my system – I'm running Mac OS X 10.10.5 on a Mid2010 MacBook Pro.
Any ideas how to fix this?
Thanks.
David
Posts: 1
Participants: 1