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

    Oct 05 2010 | 5:19 pm
    Hi, I'm using the object (jit.gl.text2d passing @blend_mode 6 7 @blend_enable 1 @interp 1 @layer 2 @align 1) I need to show a complete text in a theater scene but just sending a little text the patch crash example: text "All is white. I am blinded by beauty. Ice is frozen water. I can hear my own heart beat. frozen water... frozen water. New sound. There is no water like this water. There is no blue like this blue, no air like this air. I can barely breathe, there is too much oxygen."
    Why is this happening? Thanks for the help David

    • Oct 05 2010 | 5:45 pm
      ok i was wrong and finally found the answer. thanx
    • May 24 2011 | 3:44 pm
      Hi Dalmazzo
      I'm getting a similar, intermittent text2d crash on a current patch, usually when setting a new "long" piece of text (300+ chars) and was just wondering what was the solution to your issue?
      TIA jonny
    • May 27 2011 | 3:36 pm
      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! :)
      p.s. Curiously i can get the same crashes out of the javascript solution posted here when using a long text string: https://cycling74.com/forums/jit-lcd-javascript-possible-yet-ever