Hi everybody, I have a strange bug only on Linux. When I create a t_symbol with @ inside it and try to add it to a binbuf PD crashes .
dummy code that crashes:
t_gotfn mpreset = zgetfn(&y->g_pd, s_preset); SETSYMBOL(av, gensym("@zaza")); binbuf_add(b, 1, av); mpreset(y, b); (it seems to crash here)
dummy code that works:
t_gotfn mpreset = zgetfn(&y->g_pd, s_preset); SETSYMBOL(av, gensym("zaza")); binbuf_add(b, 1, av); mpreset(y, b);
I don't know if it's a linking problem or if I do something wrong in the code. Any help will be welcome !
Here the link of the full project : https://github.com/CICM/CicmWrapper In the CreamLibrary folder, you can use the codeblock project "c.library" if you want to try it. And the bug is in the function "preset_store" of the file "c.preset.cpp" in the chocolate subfolder.
Cheers