Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Crash with collectgarbage() and Wax image picker — Gideros Forum

Crash with collectgarbage() and Wax image picker

bowerandybowerandy Guru
edited March 2013 in Bugs and issues
Hi @atilim,

I have been trying to track down an intermittent crash when using the IOS image picker (using BhWax) and a collectgarbage() occurs during an ENTER_FRAME handler. I suspect the issue is some sort of thread safety issue.

Whilst the problem is intermittent in normal use, I have found that I can force it to fail easily (and almost immediately) by adding an ENTER_FRAME handler that directly calls collectgarbage() while an image picker is on screen. I have a demo program that fails in this way every time.

If you are able to take a look, what would be the best way of getting the test case to you. Basically, I have modified the BhWaxDemo (found here https://github.com/bowerhaus/BhWax). You just need to comment in the ENTER_FRAME listener in BhWaxDemo.lua. The program also needs https://github.com/bowerhaus/BhHelpers too.

Bearing in mind that you would have to build a player with wax in it, is there any easier way for me to get the failing demo code to you?

best regards

Comments

Sign In or Register to comment.