glibc detected : double free or corruption

1 reply [Last post]
Title: NooBot
Joined: 12/06/2013
BotPoints: 26
User offline. Last seen 8 years 11 weeks ago.

I wasn't entirely sure which forum this should go in, so feel free to move it as necessary. (If you can do that here, I don't know.)

While trying to run a program using the light sensor to turn on, and color sort with the camera, it started giving a lot of errors including "glibc detected : double free or corruption." Googling the problem returned with memory problems (usually in C++ based Linux systems). Later we tried to access the camera, and it crashed. Upon resetting, it hasn't displayed this error again. My assumption is that it was hardware related. Should I be worried; is the memory failing or something?
Any insight is appreciated, thanks.

Title: NooBot
Joined: 11/19/2013
BotPoints: 29
User offline. Last seen 9 years 5 weeks ago.

Make sure nothing else is accessing the camera. Ensure no other program is running at the same time and that you're not viewing the camera (from the Sensors -> Camera section) while running your program.