Re: [Gc] child process goes to crash when the program invok es gtk_init
Ivan Maidanski <ivmai-JGs/[email protected]> Thu, 06 Aug 2015 00:55:14 +0300
| Newsgroups | gmane.comp.programming.garbage-collection.boehmgc |
|---|---|
| Message-ID | <[email protected]> |
Hi, And call GC_set_handle_fork(1) before GC_INIT(). I assume you use bdwgc master >Среда, 5 августа 2015, 18:11 +02:00 от Kjetil Matheussen <[email protected]>: > >> >>gtk is gtk+-2.24.28. >>I have fears in using boehm-gc together with gtk+-2.0. Does anyone give me comments/advices ? >>Thanks in advance. > >Hi, > >I've used gtk with boehm-gc in a quite large program before without problems, but not in cygwin, only mingw/osx/linux. >And I didn't fork either. I don't know how forking works in cygwin (think I remember reading something about fork >being impossible to emulate in Windows, but maybe that is not true anymore), and I also don't know if there >is anything (in general) to look out for when forking in a bdwgc program. > >But maybe your program works if you just call GC_INIT() right after main? > > >_______________________________________________ >bdwgc mailing list >[email protected] >https://lists.opendylan.org/mailman/listinfo/bdwgc _______________________________________________ bdwgc mailing list [email protected] https://lists.opendylan.org/mailman/listinfo/bdwgc