caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jesper Louis Andersen <jesper.louis.andersen@gmail.com>
To: Anthony Tavener <anthony.tavener@gmail.com>
Cc: "caml-list@inria.fr" <caml-list@inria.fr>
Subject: Re: [Caml-list] Occasional malformed strings; OCaml -> OpenGL, via tgls/ctypes.
Date: Sun, 8 May 2016 23:04:42 +0200	[thread overview]
Message-ID: <CAGrdgiUnEGHmA8uGgH9KQ+kcOB9=0+GONTihMGk9Paj6jZmx2A@mail.gmail.com> (raw)
In-Reply-To: <CAN=ouMTGAY1P9FTL9Mg-foWG1K5bHVW_i3HOp+SySTeK8SsTog@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 535 bytes --]

On Sun, May 8, 2016 at 7:08 PM, Anthony Tavener <anthony.tavener@gmail.com>
wrote:

> TL;DR: Constant string like "fontColor" can (rarely) come out like
> "\220\552\663\1" after foreign call to OpenGL.


It may be flambda-related, as the following problem looks much like it:

https://github.com/LaurentMazare/tensorflow-ocaml/issues/7

I hit that last week with flambda. The problem there is too aggressive
optimization on an ignore statement, but if the OpenGL bindings, or flambda
is to blame is a bit up in the air to me.


-- 
J.

[-- Attachment #2: Type: text/html, Size: 1183 bytes --]

  reply	other threads:[~2016-05-08 21:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-08 17:08 Anthony Tavener
2016-05-08 21:04 ` Jesper Louis Andersen [this message]
2016-05-08 22:52   ` Gabriel Scherer
2016-05-09  4:52 ` Jeremy Yallop
2016-05-09  5:32   ` Anthony Tavener

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='CAGrdgiUnEGHmA8uGgH9KQ+kcOB9=0+GONTihMGk9Paj6jZmx2A@mail.gmail.com' \
    --to=jesper.louis.andersen@gmail.com \
    --cc=anthony.tavener@gmail.com \
    --cc=caml-list@inria.fr \
    /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).