hi,
Michal Seta wrote: ...
100 qlist_next next;
...
I think this means that you are trying to use qlist recursively, and (have not checked it though) qlist_donext() is not reentrant.
Remember that in Pd there is no 'message queue' or 'message dispacher' of any sort -- messages are being sent immediately, ie. sending a message simply means calling a method (if target exists).
Thus if processing one 'next' request involves sending another 'next' request then this second request is handled through recursive invocation of the very same code that still has not finished handling the first request (and probably has not yet pulled out the final semicolon from current line -- just a guess).
Krzysztof