[JdeRobot] [SOLVED] Re: Random core dump on glade set stock icon
Oscar Garcia
oscar.robotica at linaresdigital.com
Sat Mar 28 23:40:59 CET 2015
El 27/03/15 a las 06:29, Oscar Garcia escribió:
> I have a problem that I lose sleep, literally. I'm working on it
> severals hours ago and I have come to a dead end.
> Application randomly crashes with a core dump when this function is
> called in this line:
> gtk_image_in_->set(Gtk::Stock::MISSING_IMAGE, Gtk::ICON_SIZE_DIALOG);
> Error message: Violación de segmento (`core' generado)
Solved.
After refactoring code, clean loops, unused variables, redundant
cv::Mat's, and always clone source image and not copying it (I thing
that it was the point), the code has not been core dumped again.
I'll upload a video and post a new entry in my jderobot wiki and
personal blog :)
Regards,
More information about the Jde-developers
mailing list