Re: Jitter crash with a long text using jit.gl.text2d

Hi

I’m regularly getting fatal errors when putting too much text into a text2d connected with a matrix which i’m doing to find the length of the text (using findbounds) on Mac OS, latest versions of everything afaik. I’m pretty sure the crashes i’m getting shouldn’t be happening, at least an out of memory message or something for when the text is too long would be preferable.

Small demo patch and the crash log are attached but the key stack trace seems to be:

Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 com.cycling74.jit.gl.text2d 0x1b0f3b07 jit_gl_text2d_doappend + 350
1 ??? 0x776f6820 0 + 2003789856

Hope someone clever is looking, thanks in advance! :)

jonny

p.s. Curiously i can get the same crashes out of the javascript solution posted here when using a long text string: http://cycling74.com/forums/topic.php?id=20460

Attachments:
  1. text2dcrashlog.txt
May 27, 2011 at 3:36pm #189166