<div dir="ltr"><div>Hello,</div><div><br></div><div>There is a crash on Linux version of Camomile when an attempt to read a file that doesn't exist with the [textfile] or [text define] objects (<a href="https://github.com/pierreguillot/Camomile/issues/239">https://github.com/pierreguillot/Camomile/issues/239</a>). <br></div><div><br></div><div>After some investigation, it seems that the call of the error() function from <span class="gmail-pl-en">the binbuf_read_via_canvas() function generates the crash (<a href="https://github.com/pure-data/pure-data/blob/eeef4ba9130d3182146927c37fa57d61bbff0f0b/src/m_binbuf.c#L878">https://github.com/pure-data/pure-data/blob/eeef4ba9130d3182146927c37fa57d61bbff0f0b/src/m_binbuf.c#L878</a>) - if I remove this line, the problem is fixed. <br></span></div><div><span class="gmail-pl-en"><br></span></div><div><span class="gmail-pl-en">I tried to find the problem with this error() function and I realised that this Pd error() function might not be used in fact (because if I remove all the content of this error() function and so it doesn't do anything, the program still crashes). I can even remove the definition of the function (<a href="https://github.com/pure-data/pure-data/blob/eeef4ba9130d3182146927c37fa57d61bbff0f0b/src/s_print.c#L199-L212">https://github.com/pure-data/pure-data/blob/eeef4ba9130d3182146927c37fa57d61bbff0f0b/src/s_print.c#L199-L212</a>), the plugin still compiles! <br></span></div><div><span class="gmail-pl-en"><br></span></div><div><span class="gmail-pl-en">So I think that there is confusion and another function is used instead of the Pd one from s_print.c. t could be this function (<a href="https://man7.org/linux/man-pages/man3/error.3.html">https://man7.org/linux/man-pages/man3/error.3.html</a>) from error.h but I can't find where this header could be included. <br></span></div><div><span class="gmail-pl-en"><br></span></div>First of all, is my assumption (the confusion between two functions with the same name) plausible? If so, do you think it could be the one from error.h? And can I fix this? <br><br>If you want to test, I suggest you use the dev/cmake-support branch of Camomile that is pretty easy and straightforward to compile and the VST3 plugin. Thank you for your assistance!<br><br>All the best,<br>Pierre</div>