Loading...
Logo
Processing Forum
Hello,
I am using Processing 2.0a5 on Mac OSX Lion. I have tried the Video library example (GettingStartedCapture) but when the program gets to the line "Capture.start()" it throws an error "Invalid memory access of location 0x209a5140 eip=0x209a5140". I see the list of cameras, I can even pull information about the cameras (such as frame rate and size) but once I run "Capture.start()" the system crashes. Any ideas?
Thanks,
Sam R.

Replies(6)

2.0a5 is quite outdated by now. Do you have the same problem with the latest alpha (2.0a8)?
Ok, I upgraded to the newest version but I'm still getting the an error: Invalid memory access of location <some location>. The location changes pretty much every time I test the program. The actual error is:

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000022270140


Thanks,
Sam
This happens with the built-in iSight camera, right? What specific macbook model are you using? (go to About this Mac|More info and get the value in the Model Identifier category)
It doesn't only happen with the iSight camera, I tested it with an external logitech camera (it works on mac, I tested in in photobooth). I am using a 15-inch, Early 2011 Macbook pro with OSX lion 10.7.4. I should add that I also have a AMD Radeon HD 6490M. 

Thanks,
Sam 
I had the same problem with 2.0b3, it started working again when I selected 'run programs in 64-bit mode' in the Processing preferences. Maybe that will help you too. It wasn't really usefull for me though, since the Processing OpenCV library I use doesn't support 64-bit mode.
Wow! That worked! Great, thanks! Time to get working on OpenCV stuff :)

-Sam R.