On Thursday, August 9, 2012, Alex Wu wrote: > Hi, > This patch fix the bug http://trac.enlightenment.org/e/ticket/1308 > > The root cause of this bug is that when closing the window, > the glview widget need to invoke eng_gl_make_current() before calling > it's del_func. In eng_gl_make_current(), the re->win->egl_display > make the segfualt. It is because re->win has been nullized by > evas_object_hide()<--evas_object_del()<--evas_object_unref()<-- > _elm_win_frame_cb_close() which is triggered by clicking the "close" > button. > > I think it is resonable to destroy the re->win of a elm_win after > all smart data deleted.
Although the patch does not look problematic per se, it fixes an egl bug in a generic code? That do not seem right. Why don't you hande this condition in egl engine? > > Patch attached. > > > -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: [email protected] Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
