Adrian Veith a écrit :
Hi,

when calling neko functions via the CFFI I get randomly C stack overflow
exceptions. I am using neko 1.8. The application is multi threaded and
since the exceptions do not follow a n obvious pattern, I believe that it is a "thread issue". Are there any known issues ? ( I read in the
release notes of neko 1.6: use a smarter way to prevent C stack overflow)

Thanks,

Adrian.

There was a fix in Neko 1.7.0 related to C stack overflows with threads, so I guess there should be no more of these. You can try to recompile Neko and check what's occuring in vm/callback.c line 59.

The vm->c_stack_max is initialized in vm/interp.c line 113.

Also, do you use the same VM with different threads ? This might be the issue.

Nicolas

--
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to