rezaali / ofxUI

[DEPRECATED] UI Addon for openFrameworks
http://www.syedrezaali.com/#/ofxui-project-showcase/
518 stars 202 forks source link

mouseReleased segmentation fault #227

Open genekogan opened 9 years ago

genekogan commented 9 years ago

I am having an issue in multiple places which causes a segmentation fault on mouseReleased for an ofxUICanvas. This occurs unpredictably after clicking on a gui element, especially one which attempts to delete another canvas. Not sure what I am doing incorrectly, but I can't figure out why it should ever enter the loop in the picture after deleting the gui, since the widgets should all be cleared at that point... Has anyone encountered this? Am I deleting the gui incorrectly?

screen shot 2014-12-15 at 2 02 23 pm

vjacob commented 9 years ago

Hello Gene, I'm having the same issue without knowing what is going wrong. I'm deleting contents of a ofxUIDropdownList and refilling it with new items. Doing this, the program sometimes crashes at the exact same point as you point out. I'm not deleting separate canvasses, since I'm only using one in my app. Investigating further...

rezaali commented 9 years ago

thanks!