Delivered-To: garrigue at math.nagoya-u.ac.jp Delivered-To: lablgtk at yquem.inria.fr From: Yoann Padioleau To: "lablgtk at yquem.inria.fr" Thread-Topic: bus error when use threads and native mode on Mac Thread-Index: AQHLVkcO7+2X2i7Tl0OiVgnv8xKLpA== Date: Fri, 17 Sep 2010 09:02:29 +0000 Message-ID: <2A3284AC-8CF8-40B6-9CD6-6240A2977A73 at facebook.com> Accept-Language: en-US Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: [Lablgtk] bus error when use threads and native mode on Mac Status: U Hi, I am trying to use threads in my lablgtk application but it crashes (I am o= n Mac OS) in native mode with a mysterious "Bus Error". I have linked my program with -thread and use=20 GtkThread.main (); in the main but it does not work. It works nice in bytecode mode though. My program displays some fancy graphics with cairo and then run in the back= ground using a thread some heavy computation that I access on demand from the main thread when th= e user click on certain things.=20 My code also uses GMain.Idle and Gmain.Timeout (don't know if it's relevant= ). _______________________________________________ Lablgtk mailing list Lablgtk@yquem.inria.fr http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk