From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 26C78BC0A for ; Mon, 26 Feb 2007 09:04:11 +0100 (CET) Received: from pih-relay06.plus.net (pih-relay06.plus.net [212.159.14.133]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l1Q84ACc013463 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 26 Feb 2007 09:04:10 +0100 Received: from [80.229.56.224] (helo=beast.local) by pih-relay06.plus.net with esmtp (Exim) id 1HLaqA-000204-5n for caml-list@yquem.inria.fr; Mon, 26 Feb 2007 08:04:10 +0000 From: Jon Harrop Organization: Flying Frog Consultancy Ltd. To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Crashing X.Org with lablgl Date: Mon, 26 Feb 2007 07:29:28 +0000 User-Agent: KMail/1.9.5 References: <20070226050151.35029.qmail@web30515.mail.mud.yahoo.com> <65D985D2-E7EF-42F7-B356-5F8EC2170F17@epfl.ch> In-Reply-To: <65D985D2-E7EF-42F7-B356-5F8EC2170F17@epfl.ch> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200702260729.29257.jon@ffconsultancy.com> X-Miltered: at discorde with ID 45E2947A.002 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; lablgl:01 bunzli:01 osx:01 segfaults:01 ocaml:01 ocaml:01 presenta:98 frog:98 wrote:01 binaries:01 caml-list:01 opengl:02 opengl:02 crashes:03 raise:03 On Monday 26 February 2007 05:51, Daniel B=FCnzli wrote: > There are things that are off-limits to lablgl's type safety, for > example on osx a call to any opengl function before a rendering > context has been created just crashes the program. Did you try to > call Gl.raise_error in your rendering loop to be sure you are not > doing something wrong with opengl ? The order of initialisation calls can cause segfaults on some machines. I did some fairly extensive testing before we released Presenta. Around 10%= of=20 machines crashed OpenGL binaries that were moved onto them. If you want portable (between machines) 3D then try F#, .NET and managed=20 DirectX. =2D-=20 Dr Jon D Harrop, Flying Frog Consultancy Ltd. OCaml for Scientists http://www.ffconsultancy.com/products/ocaml_for_scientists