It looks like you're new here. If you want to get involved, click one of these buttons!
Yeah, very verbose, but it was useful trash However I see: 10-23 17:26:08.464 447-447/? E/lowmemorykiller: Error writing /proc/16745/oom_score_adj; errno=22I suspect your device is running about of memory while running gideros.Please send me the full log in PM as a zip, I'll have a deeper look.
Just had a closer look at what went wrong: it seems you tried to open more then 20 file descriptors (font file is opened each time you call TTFont.new and there are three preallocated file descriptors: stdin, stdout and stderr).Doing this you forced gideros to reallocate more file descriptors and this is were it crashed. I don't see anything wrong in the code, but what you tried is rather unusual to me!
I think I've found something: libgvfs seems to use 4 bytes alignment for new structures, while it should be 8 on 64 bit systems. See here: https://github.com/gideros/gideros/blob/master/libgvfs/defines.h#L67. I'll try to build a new player with fix and send it you.
Well I've no problem with your coding style, Gideros shouldn't crash anyway, but yes what you're doing isn't very efficient, it would be better if you could share your TTFont across multiple TextField, because otherwise the font will be created and rendered multiples times in memory, wasting memory and performance.
Can you try to build a 32 bit player (just export an empty project selecting 'player (no asset)) and try again ?
Doing this you forced gideros to reallocate more file descriptors and this is were it crashed. I don't see anything wrong in the code, but what you tried is rather unusual to me!
Why I do this, is simple - im generating buttons on fly, end each button constructor creates text field with custom font inside of button class. (Assume my own button class), as a parameter i put not TTF class, but just a path string to font, so my code invokes TTF font several times. I can to try refactor this if you tell this not gideros error, but my coding style problem. What do you say on this, whats ur opinion or advice ?
Been happy to be a kind of tester
will it effect app on mobile devices?