<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/10/03044f84c0dda59b9fcdbcbd5a2c4c90"
  from="Eric Dahlman &lt;edahlman@a...&gt;"
  author="Eric Dahlman"
  date="2003-10-31T19:07:48"
  subject="[Caml-list] 3.07+2 lossage (was:  Segmentation Fault on #load)"
  prev="2003/10/fbe703e603163a7f59b0105d784c2f43"
  next="2003/11/ef16d1e3fc9cfc0de7b75563837e0c7c"
  prev-in-thread="2003/10/8378ed44ffa2ca4411d9e1860613b7ea"
  prev-thread="2003/10/c1b3604e135e1af292dc946e44d238a2"
  next-thread="2003/10/7b2764972588e6c81d3ecd631f1a35da"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="RE: [Caml-list] Segmentation Fault on #load">
<msg 
  url="2003/10/5ebf3a77f0f4aa8b69a3ae8441a03d5c"
  from="Kevin S. Millikin &lt;kmillikin@a...&gt;"
  author="Kevin S. Millikin"
  date="2003-10-28T19:58:44"
  subject="RE: [Caml-list] Segmentation Fault on #load">
<msg 
  url="2003/10/8378ed44ffa2ca4411d9e1860613b7ea"
  from="Eric Dahlman &lt;edahlman@a...&gt;"
  author="Eric Dahlman"
  date="2003-10-28T21:39:34"
  subject="RE: [Caml-list] Segmentation Fault on #load">
</msg>
<msg 
  url="2003/10/03044f84c0dda59b9fcdbcbd5a2c4c90"
  from="Eric Dahlman &lt;edahlman@a...&gt;"
  author="Eric Dahlman"
  date="2003-10-31T19:07:48"
  subject="[Caml-list] 3.07+2 lossage (was:  Segmentation Fault on #load)">
</msg>
</msg>
</thread>

<contents>

Howdy All,

Here is an update on this situation. It looks like there is some sort of
bad interaction with the patches to 3.07 and cygwin.  I installed the
original 3.07 on this machine and it was able to load the file just
fine, while the 3.07+2 version seg faults.  In both of these cases, I
totally cleaned out everything and made a fresh build.  I also tried
3.07+2 under Linux and it did not generate a seg fault so it looks like
cygwin is a necessary component.

I don't know enough at this point to better characterize this bug but I
hope that someone who know what went into the last two patches may have
an idea.

Thanks,
-Eric



&gt; -----Original Message-----
&gt; On Tuesday, October 28, 2003 1:38 PM, Oleg Trott
&gt; [SMTP:oleg_trott@columbia.edu] wrote:
&gt; &gt;  Technically, it's possible for "#load" to cause seg-fault if
&gt; "pretty" uses
&gt; &gt;  FFI and there is a bug somewhere. Otherwise, there may be a problem
&gt; &gt;  with Eric's copy of OCaml.
&gt; 
&gt; "pretty" is the pretty printer from George Necula's CIL.  It does not
&gt; contain foreign code, but does call Obj.magic.
&gt; 
&gt; It appears to work for me (Ocaml 3.07 compiled with cygwin), but not
&gt; for Eric (Ocaml 3.07+2, cygwin).
&gt; 
&gt; ----
&gt; Kevin S. Millikin           Architecture Technology Corporation
&gt; Research Scientist          Specialists in Computer Architecture
&gt; (952)829-5864 x162          http://www.atcorp.com
&gt; 
&gt; 
&gt; 
&gt; -------------------
&gt; To unsubscribe, mail caml-list-request@inria.fr Archives:
&gt; http://caml.inria.fr
&gt; Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ:
&gt; http://caml.inria.fr/FAQ/
&gt; Beginner's list: http://groups.yahoo.com/group/ocaml_beginners

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners

</contents>

</message>

