Closed deviator closed 7 years ago
I have the same issue, but with a different back trace. The fiber might be doing something that glib doesn't like, but i haven't found the problem yet.
I think it happens because size of fiber stack is fixed and staticaly allocated in fiber's ctor (by default 4*PAGESIZE). I tried increase it up to 64Kb and all works fine.
auto f = new Fiber(&ff, 1024*64);
Hello. I write program on gtk-d and it's main loop (
iterationDo(false)
) runs in fiber and I have no problem with this and I thought printing is not a problem, but I was wrong. If run printing in fiber program fails. I think this code can show it.gdb can't correctly detect place where code are failed. In my last reduced example it fails in
gtk_css_style_provider_lookup
, before I get stack trace in hex addressesand in a main program it fails in
_int_malloc
Maybe it's not a gtkd problem, but otherwise I do not know what might be the problem.
gtk-d
3.5.1dub
1.2.0dmd
2.073.2 linux 4.9.6-100 fc24 x86_64 gtk3.x86_64 3.20.10