On Mar 4, 2013, at 1:29 PM, Nick M <nmgeneric gmail com> wrote: Hello, Please subscribe to the list. Jhbuild isn't very good at reporting errors. The actual problem was in gtk-osx-random.modules. It's fixed now, thanks for the report. It appears from a cursory look that the threading is AFU. One doesn't wrap the gtk_main() call in gtk_threads_enter()/gtk_threads_leave(). That accomplishes nothing. One uses threads_enter()/threads_leave() in callbacks (except callbacks for gtk signals, which have already done that). There's also a compatibility bust baked in: While it's OK to run the eventloop on a secondary thread in Linux, it's not anywhere else. In Quartz only the primary thread is able to receive events, which is probably why it locks up on you. The autorelease issues are probably also caused by the g_main_loop running in the wrong thread. The autoreleasepools are set up by Gdk, but they don't cross thread boundaries so Quartz can't use them. Hence the leaks. This is going to take some work from someone who understands threading and memory management at a fairly deep level, and will require some changes to the module. You'll need to work with the project's developers on that. Regards, John Ralls |