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=2.1 required=5.0 tests=AWL,DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS autolearn=disabled version=3.1.3 Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id D64B8BC0A for ; Mon, 26 Feb 2007 17:36:13 +0100 (CET) Received: from web30510.mail.mud.yahoo.com (web30510.mail.mud.yahoo.com [68.142.200.123]) by discorde.inria.fr (8.13.6/8.13.6) with SMTP id l1QGaCRg001046 for ; Mon, 26 Feb 2007 17:36:13 +0100 Received: (qmail 43049 invoked by uid 60001); 26 Feb 2007 16:36:11 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=vqRcd7xj1KORA+2gu6A1IBuNsivTCjUCD+CcQImm3TvDZ4LLc2iOuALAiVWvKTz9rTv6A5gCOYfjBrJ6rzOaMlB+woNsa53bX7az30q4CbvHYfarmgXRa56JhV7VYm/p7jwaVihqBbl2aOVcWb6dlke/EZ67/694L3JDaiuoyrg= ; Message-ID: <20070226163611.43047.qmail@web30510.mail.mud.yahoo.com> X-YMail-OSG: YTUMToUVM1mt_3pT9MbPW0bdxkLcdNzgDkGJfkaxqGQPeh50o8WsVIMMJP_Pqu1Jn5ulkfNc6netaSLAXBHeMy1fL85D8.WlMy2XAhmWBwx7472Lll01IrECmqVnyPcQPnnO.fjTe4_NI00- Received: from [24.11.208.229] by web30510.mail.mud.yahoo.com via HTTP; Mon, 26 Feb 2007 08:36:11 PST Date: Mon, 26 Feb 2007 08:36:11 -0800 (PST) From: David Thomas Subject: Re: [Caml-list] Crashing X.Org with lablgl To: caml-list@yquem.inria.fr In-Reply-To: <200702260729.29257.jon@ffconsultancy.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Miltered: at discorde with ID 45E30C7C.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; lablgl:01 bunzli:01 osx:01 segfaults:01 segfaults:01 presenta:98 wrote:01 wrote:01 binaries:01 caml-list:01 opengl:02 opengl:02 crashes:03 raise:03 crashed:04 --- Jon Harrop wrote: > On Monday 26 February 2007 05:51, Daniel Bünzli > 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. Segfaults in the application, or segfaults in the X server? > I did some fairly extensive testing before we > released Presenta. Around 10% of machines crashed > OpenGL binaries that were moved onto them. > > If you want portable (between machines) 3D then try > F#, .NET and managed > DirectX. These were built on the machines running them. ____________________________________________________________________________________ Any questions? Get answers on any topic at www.Answers.yahoo.com. Try it now.