caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Richard Jones <rich@annexia.org>
To: Jon Harrop <jon@ffconsultancy.com>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Floating exception
Date: Tue, 27 Nov 2007 15:35:53 +0000	[thread overview]
Message-ID: <20071127153553.GA20004@furbychan.cocan.org> (raw)
In-Reply-To: <200711271119.26078.jon@ffconsultancy.com>

On Tue, Nov 27, 2007 at 11:19:25AM +0000, Jon Harrop wrote:
> There isn't really anything more that I can add. We wrote the OCaml the 
> obvious way (no unsafe code) and used the conventional bindings (LablGL) and 
> distributed the binary, only to find that too many people had reliability 
> problems for it to be a viable product so we pulled it.

It does sound like the bindings or GL implementations are to blame.
virt-top is used by an indeterminate number of people, as a binary,
and I've not had any reports like this.  It does plenty of floating
point, it's native code, and compiled in the usual way.

> Now we're trying to give it away in bytecode form and even that is a major 
> PITA because we need to install and compile against (including dependencies) 
> several different minor-minor versions of OCaml just to garner enough 
> interest to find out (from the only person who has given us feedback having 
> managed to compile it out of 75 downloads so far this month) that even these 
> trivial demos don't work.

In Fedora I instituted a system of rigorous dependencies so that
binary RPMs can't be installed if they were built against the wrong
OCaml.  Doesn't help you though :-(

# rpm -q --requires ocaml-csv
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(VersionedDependencies) <= 3.0.3-1
libc.so.6()(64bit)  
libc.so.6(GLIBC_2.2.5)(64bit)  
libc.so.6(GLIBC_2.3)(64bit)  
libc.so.6(GLIBC_2.3.4)(64bit)  
libc.so.6(GLIBC_2.4)(64bit)  
libdl.so.2()(64bit)  
libdl.so.2(GLIBC_2.2.5)(64bit)  
libm.so.6()(64bit)  
libm.so.6(GLIBC_2.2.5)(64bit)  
ocaml(Array) = aa8e3cd5824f9bb40b93fcd38d0c95b5
ocaml(Buffer) = f6cef633ea14963b84b79c4095c63dc3
ocaml(Enum) = c16e527384c2b6d71d8b19582503f5f1
ocaml(ExtList) = f0f729e9c5635a8010fc862a9c31fed4
ocaml(Obj) = 5cfae708052c692ea39d23ed930fd64d
ocaml(Pervasives) = 8ba3d1faa24d659525c9025f41fd0c57
ocaml(Printf) = 5dbbf45a03b54e6dbfcf39178d0d6341
ocaml(String) = 2c162ab314b2f0a2cfd22d471b2e21ab
ocaml(runtime) = 3.10.0

> My guess is that the glut libraries installed on these computers are causing 
> the problems. Perhaps we should write bindings to GLX or use LablGTK2 to 
> evade glut and see what happens but, of course, we cannot reproduce the 
> problem here and there are a huge number of variations we could try without 
> having any real idea of what is going wrong.

Do you remember if the crashes happened at predictable places (for
your customers) or were they random each time the program ran?

Rich.

-- 
Richard Jones
Red Hat


  parent reply	other threads:[~2007-11-27 15:35 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-23 18:08 Sebastien Ferre
2007-11-23 22:36 ` [Caml-list] " Jon Harrop
2007-11-24  8:23   ` Vu Ngoc San
     [not found]     ` <200711242236.24433.jon@ffconsultancy.com>
2007-11-25  8:26       ` Vu Ngoc San
2007-11-25 15:35         ` [Caml-list] Smoke on 3.09.2 Jon Harrop
2007-11-25 18:26           ` Jon Harrop
2007-11-25 20:12             ` Vu Ngoc San
2007-11-25 20:48               ` Jon Harrop
2007-11-25 21:20                 ` Vu Ngoc San
2007-11-25 21:22                   ` Jon Harrop
2007-11-27 10:24   ` [Caml-list] Floating exception Jean-Marc EBER
2007-11-27 11:19     ` Jon Harrop
2007-11-27 13:53       ` Jean-Marc EBER
2007-11-27 15:35       ` Richard Jones [this message]
2007-11-27 18:13         ` Jon Harrop
2007-11-28 10:47       ` Vu Ngoc San
2007-11-28 14:48         ` Jon Harrop
2007-11-29 14:39         ` Vu Ngoc San
     [not found] ` <1195900308.7242.19.camel@localhost>
2007-11-26 17:25   ` Sebastien Ferre
2007-11-26 17:56     ` Dmitry Bely
2007-11-27  0:01     ` Richard Jones
2007-11-27  6:56       ` Sebastien Ferre

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071127153553.GA20004@furbychan.cocan.org \
    --to=rich@annexia.org \
    --cc=caml-list@yquem.inria.fr \
    --cc=jon@ffconsultancy.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).