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.8 required=5.0 tests=DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS 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 4F4D0BC0A for ; Mon, 26 Feb 2007 06:01:53 +0100 (CET) Received: from web30515.mail.mud.yahoo.com (web30515.mail.mud.yahoo.com [68.142.201.243]) by discorde.inria.fr (8.13.6/8.13.6) with SMTP id l1Q51q16004540 for ; Mon, 26 Feb 2007 06:01:52 +0100 Received: (qmail 35031 invoked by uid 60001); 26 Feb 2007 05:01:51 -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:MIME-Version:Content-Type:Content-Transfer-Encoding; b=hIZ1BD90jppDotn3/2KfapCiFBs/hYKSTTJ8Md2I73rrB+isWHvQ8zKoGvUi5p25RhfwEpRZgW6GkggUMT+2KDNJ0iWHq60vlLkLzCYXNDXEYJYcZuvh4ZNzH2hfM8+OpDYD1rzlRG0v0xCedLReEP4OVjumDanrVscquAgSNLs= ; Message-ID: <20070226050151.35029.qmail@web30515.mail.mud.yahoo.com> X-YMail-OSG: fle76qoVM1kNXVutHar_JROSjGnqDHXwJM1Q79OK_lkUJmPcoEXb2Q4Pe6yppZ5e1MdMMjxYKP_s4rbWecbCKvwP713hpFOb6C8zSr3a4sZUfurEKqWf37FXvaiKfZ7CZX38KbiLwIuQCcA- Received: from [24.11.208.229] by web30515.mail.mud.yahoo.com via HTTP; Sun, 25 Feb 2007 21:01:51 PST Date: Sun, 25 Feb 2007 21:01:51 -0800 (PST) From: David Thomas Subject: Crashing X.Org with lablgl To: caml-list@yquem.inria.fr MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Miltered: at discorde with ID 45E269C0.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; lablgl:01 ocaml:01 lablgl:01 xfree:01 segfaults:01 xfree:01 ocaml:01 ditch:98 movie:96 library:03 debian:03 debian:03 guess:04 100%:94 problem:05 Working on a 3d plotting program in ocaml, using lablgl. I got it working on my laptop, which is running Debian 3.1, with XFree86. All seemed to run fine. Moved it over to another box, it runs fine for about a minute before the X server segfaults. Duplicated the result on three computers at work, all running X.Org under Debian. Works fine on another computer running XFree86. Unfortunately, others on the project (with more clout) are unwilling to move these systems back to XFree86. While there *is* a 100% correlation between X.Org/XFree86 and crashing/not, it's doubtful that this is the only thing that's different between the systems. I guess I've a few questions. 1) I'm sure that there *shouldn't* be any sequence of calls to lablgl that should outright crash the X server... does anyone know how true this proves in practice? 2) Any thoughts as to how I can pinpoint the problem a bit better? 3) Any suggestions for working around it? Considering writing a simple library implementing the parts of lablgl that I need (which is relatively limited, as it's ultimately line-drawing), but that's not thrilling... Would definately prefer not to have to ditch ocaml on this one, so any suggestions will be greatly appreciated. Thanks in advance! ____________________________________________________________________________________ 8:00? 8:25? 8:40? Find a flick in no time with the Yahoo! Search movie showtime shortcut. http://tools.search.yahoo.com/shortcuts/#news