Hi all, I have an occasional crash in the following code:
jit_attr_setfloat_array( m_p_render, gensym("erase_color"), 4, draw_bg ? COL_BLACK : bg );
jit_object_method( m_p_render, gensym( "erase" ) );
jit_atom_setsym( &a, gensym( p_str ) );
jit_object_method_typed( m_p_text, gensym( "text"), 1, &a, NULL );
jit_object_method( m_p_render, gensym( "drawclients" ) );
The erase call works fine so the m_p_render object is good at that point. The crash is a SIGSEGV.
Just wondering what can cause the 'drawclients' to crash so I can try and figure out what it is - as said, it's an occasional crash, though can't seem to tie any particular circumstance to it.
Thanks for any insight!