<div dir="ltr"><div>Hi,</div><div>I created a issue on the libPd repository (<a href="https://github.com/libpd/libpd/issues/196">https://github.com/libpd/libpd/issues/196</a>) but perhaps it's more related to Pd itself. </div><div><br></div><div>When I load a patch with [text define], it crashes (x_text.c line 280) because x->x_scalar is NULL (because in scalar_new(), the function template_findbyname(templatesym) returns NULL). So it seems that the function can't find a template linked with the symbol "pd-text". </div><div><br></div><div>I can't figure out why it works in Pd but not in libPd. Perhaps, libPd don't call a method to bind a template to this symbol at startup? Or perhaps it's related to the fact that I use PDINSTANCE and PDTHREADS? I can't figure out the solution so any idea is welcomed!</div><div><br></div><div>Cheers,</div><div>Pierre</div></div>