Closed pudelkoM closed 7 years ago
Now, this is super weird. If you replace 'stk' in the test case above by, say, 'p' is suddenly works OK.
Oh, I can reproduce that.
Maybe that's some funky interaction with GCC's statement expressions, the exact name stk
is also used inside the go_mem() macro.
Not really a bug then, but would it be wise to change the variable names to something which is less likely to clash, e.g. stk_
?
Or dill_stk ...
When using the
go_mem()
function to start coroutines, it consistently fails with a segmentation fault after the 2nd time:Output:
GDB:
Plattfom: Linux, x86_64, static libdill build (git 5e736e5), debug enabled