Backport from sid to buster
[hcoop/debian/mlton.git] / doc / guide / localhost / Bugs20070826
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <meta name="generator" content="AsciiDoc 8.6.9">
6 <title>Bugs20070826</title>
7 <link rel="stylesheet" href="./asciidoc.css" type="text/css">
8 <link rel="stylesheet" href="./pygments.css" type="text/css">
9
10
11 <script type="text/javascript" src="./asciidoc.js"></script>
12 <script type="text/javascript">
13 /*<![CDATA[*/
14 asciidoc.install();
15 /*]]>*/
16 </script>
17 <link rel="stylesheet" href="./mlton.css" type="text/css">
18 </head>
19 <body class="article">
20 <div id="banner">
21 <div id="banner-home">
22 <a href="./Home">MLton 20180207</a>
23 </div>
24 </div>
25 <div id="header">
26 <h1>Bugs20070826</h1>
27 </div>
28 <div id="content">
29 <div id="preamble">
30 <div class="sectionbody">
31 <div class="paragraph"><p>Here are the known bugs in <a href="Release20070826">MLton 20070826</a>, listed
32 in reverse chronological order of date reported.</p></div>
33 <div class="ulist"><ul>
34 <li>
35 <p>
36 <a id="bug25"></a>
37 Bug in the mark-compact garbage collector where the C library&#8217;s <span class="monospaced">memcpy</span> was used to move objects during the compaction phase; this could lead to heap corruption and segmentation faults with newer versions of gcc and/or glibc, which assume that src and dst in a <span class="monospaced">memcpy</span> do not overlap.
38 </p>
39 <div class="paragraph"><p>Fixed by revision <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r7461"><span class="monospaced">r7461</span></a>.</p></div>
40 </li>
41 <li>
42 <p>
43 <a id="bug24"></a>
44 Bug in elaboration of <span class="monospaced">datatype</span> declarations with <span class="monospaced">withtype</span> bindings.
45 </p>
46 <div class="paragraph"><p>Fixed by revision <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r7434"><span class="monospaced">r7434</span></a>.</p></div>
47 </li>
48 <li>
49 <p>
50 <a id="bug23"></a>
51 Performance bug in <a href="RefFlatten">RefFlatten</a> optimization pass.
52 </p>
53 <div class="paragraph"><p>Thanks to Reactive Systems for the bug report.</p></div>
54 <div class="paragraph"><p>Fixed by revision <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r7379"><span class="monospaced">r7379</span></a>.</p></div>
55 </li>
56 <li>
57 <p>
58 <a id="bug22"></a>
59 Performance bug in <a href="SimplifyTypes">SimplifyTypes</a> optimization pass.
60 </p>
61 <div class="paragraph"><p>Thanks to Reactive Systems for the bug report.</p></div>
62 <div class="paragraph"><p>Fixed by revisions <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r7377"><span class="monospaced">r7377</span></a> and <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r7378"><span class="monospaced">r7378</span></a>.</p></div>
63 </li>
64 <li>
65 <p>
66 <a id="bug21"></a>
67 Bug in amd64 codegen register allocation of indirect C calls.
68 </p>
69 <div class="paragraph"><p>Thanks to David Hansel for the bug report.</p></div>
70 <div class="paragraph"><p>Fixed by revision <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r7368"><span class="monospaced">r7368</span></a>.</p></div>
71 </li>
72 <li>
73 <p>
74 <a id="bug20"></a>
75 Bug in <span class="monospaced">IntInf.scan</span> and <span class="monospaced">IntInf.fromString</span> where leading spaces were only accepted if the stream had an explicit sign character.
76 </p>
77 <div class="paragraph"><p>Thanks to David Hansel for the bug report.</p></div>
78 <div class="paragraph"><p>Fixed by revisions <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r7227"><span class="monospaced">r7227</span></a> and <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r7230"><span class="monospaced">r7230</span></a>.</p></div>
79 </li>
80 <li>
81 <p>
82 <a id="bug19"></a>
83 Bug in <span class="monospaced">IntInf.~&gt;&gt;</span> that could cause a <span class="monospaced">glibc</span> assertion.
84 </p>
85 <div class="paragraph"><p>Fixed by revisions <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r7083"><span class="monospaced">r7083</span></a>, <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r7084"><span class="monospaced">r7084</span></a>, and <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r7085"><span class="monospaced">r7085</span></a>.</p></div>
86 </li>
87 <li>
88 <p>
89 <a id="bug18"></a>
90 Bug in the return type of <span class="monospaced">MLton.Process.reap</span>.
91 </p>
92 <div class="paragraph"><p>Thanks to Risto Saarelma for the bug report.</p></div>
93 <div class="paragraph"><p>Fixed by revision <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r7029"><span class="monospaced">r7029</span></a>.</p></div>
94 </li>
95 <li>
96 <p>
97 <a id="bug17"></a>
98 Bug in <span class="monospaced">MLton.size</span> and <span class="monospaced">MLton.share</span> when tracing the current stack.
99 </p>
100 <div class="paragraph"><p>Fixed by revisions <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r6978"><span class="monospaced">r6978</span></a>, <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r6981"><span class="monospaced">r6981</span></a>, <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r6988"><span class="monospaced">r6988</span></a>, <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r6989"><span class="monospaced">r6989</span></a>, and <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r6990"><span class="monospaced">r6990</span></a>.</p></div>
101 </li>
102 <li>
103 <p>
104 <a id="bug16"></a>
105 Bug in nested <span class="monospaced">_export</span>/<span class="monospaced">_import</span> functions.
106 </p>
107 <div class="paragraph"><p>Fixed by revision <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r6919"><span class="monospaced">r6919</span></a>.</p></div>
108 </li>
109 <li>
110 <p>
111 <a id="bug15"></a>
112 Bug in the name mangling of <span class="monospaced">_import</span>-ed functions with the <span class="monospaced">stdcall</span> convention.
113 </p>
114 <div class="paragraph"><p>Thanks to Lars Bergstrom for the bug report.</p></div>
115 <div class="paragraph"><p>Fixed by revision <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r6672"><span class="monospaced">r6672</span></a>.</p></div>
116 </li>
117 <li>
118 <p>
119 <a id="bug14"></a>
120 Bug in Windows code to page the heap to disk when unable to grow the heap to a desired size.
121 </p>
122 <div class="paragraph"><p>Thanks to Sami Evangelista for the bug report.</p></div>
123 <div class="paragraph"><p>Fixed by revisions <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r6600"><span class="monospaced">r6600</span></a> and <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r6624"><span class="monospaced">r6624</span></a>.</p></div>
124 </li>
125 <li>
126 <p>
127 <a id="bug13"></a>
128 Bug in \*NIX code to page the heap to disk when unable to grow the heap to a desired size.
129 </p>
130 <div class="paragraph"><p>Thanks to Nicolas Bertolotti for the bug report and patch.</p></div>
131 <div class="paragraph"><p>Fixed by revisions <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r6596"><span class="monospaced">r6596</span></a> and <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r6600"><span class="monospaced">r6600</span></a>.</p></div>
132 </li>
133 <li>
134 <p>
135 <a id="bug12"></a>
136 Space-safety bug in pass to <a href="RefFlatten"> flatten refs</a> into containing data structure.
137 </p>
138 <div class="paragraph"><p>Thanks to Daniel Spoonhower for the bug report and initial diagnosis and patch.</p></div>
139 <div class="paragraph"><p>Fixed by revision <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r6395"><span class="monospaced">r6395</span></a>.</p></div>
140 </li>
141 <li>
142 <p>
143 <a id="bug11"></a>
144 Bug in the frontend that rejected <span class="monospaced">op longvid</span> patterns and expressions.
145 </p>
146 <div class="paragraph"><p>Thanks to Florian Weimer for the bug report.</p></div>
147 <div class="paragraph"><p>Fixed by revision <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r6347"><span class="monospaced">r6347</span></a>.</p></div>
148 </li>
149 <li>
150 <p>
151 <a id="bug10"></a>
152 Bug in the <a href="http://www.standardml.org/Basis/imperative-io.html#SIG:IMPERATIVE_IO.canInput:VAL"><span class="monospaced">IMPERATIVE_IO.canInput</span></a> function of the <a href="BasisLibrary">Basis Library</a> implementation.
153 </p>
154 <div class="paragraph"><p>Thanks to Ville Laurikari for the bug report.</p></div>
155 <div class="paragraph"><p>Fixed by revision <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r6261"><span class="monospaced">r6261</span></a>.</p></div>
156 </li>
157 <li>
158 <p>
159 <a id="bug09"></a>
160 Bug in algebraic simplification of real primitives. <a href="http://www.standardml.org/Basis/real.html#SIG:REAL.\|@LTE\|:VAL"><span class="monospaced">REAL<em>&lt;N&gt;</em>.&lt;=(x, x)</span></a> is <span class="monospaced">false</span> when <span class="monospaced">x</span> is NaN.
161 </p>
162 <div class="paragraph"><p>Fixed by revision <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r6242"><span class="monospaced">r6242</span></a>.</p></div>
163 </li>
164 <li>
165 <p>
166 <a id="bug08"></a>
167 Bug in the FFI visible representation of <span class="monospaced">Int16.int ref</span> (and references of other primitive types smaller than 32-bits) on big-endian platforms.
168 </p>
169 <div class="paragraph"><p>Thanks to Dave Herman for the bug report.</p></div>
170 <div class="paragraph"><p>Fixed by revision <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r6267"><span class="monospaced">r6267</span></a>.</p></div>
171 </li>
172 <li>
173 <p>
174 <a id="bug07"></a>
175 Bug in type inference of flexible records. This would later cause the compiler to raise the <span class="monospaced">TypeError</span> exception.
176 </p>
177 <div class="paragraph"><p>Thanks to Wesley Terpstra for the bug report.</p></div>
178 <div class="paragraph"><p>Fixed by revision <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r6229"><span class="monospaced">r6229</span></a>.</p></div>
179 </li>
180 <li>
181 <p>
182 <a id="bug06"></a>
183 Bug in cross-compilation of <span class="monospaced">gdtoa</span> library.
184 </p>
185 <div class="paragraph"><p>Thanks to Wesley Terpstra for the bug report and patch.</p></div>
186 <div class="paragraph"><p>Fixed by revision <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r6620"><span class="monospaced">r6620</span></a>.</p></div>
187 </li>
188 <li>
189 <p>
190 <a id="bug05"></a>
191 Bug in pass to <a href="RefFlatten"> flatten refs</a> into containing data structure.
192 </p>
193 <div class="paragraph"><p>Thanks to Ruy Ley-Wild for the bug report.</p></div>
194 <div class="paragraph"><p>Fixed by revision <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r6191"><span class="monospaced">r6191</span></a>.</p></div>
195 </li>
196 <li>
197 <p>
198 <a id="bug04"></a>
199 Bug in the handling of weak pointers by the mark-compact garbage collector.
200 </p>
201 <div class="paragraph"><p>Thanks to Sean McLaughlin for the bug report and Florian Weimer for the initial diagnosis.</p></div>
202 <div class="paragraph"><p>Fixed by revision <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r6183"><span class="monospaced">r6183</span></a>.</p></div>
203 </li>
204 <li>
205 <p>
206 <a id="bug03"></a>
207 Bug in the elaboration of structures with signature constraints. This would later cause the compiler to raise the <span class="monospaced">TypeError</span> exception.
208 </p>
209 <div class="paragraph"><p>Thanks to Vesa Karvonen for the bug report.</p></div>
210 <div class="paragraph"><p>Fixed by revision <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r6046"><span class="monospaced">r6046</span></a>.</p></div>
211 </li>
212 <li>
213 <p>
214 <a id="bug02"></a>
215 Bug in the interaction of <span class="monospaced">_export</span>-ed functions and signal handlers.
216 </p>
217 <div class="paragraph"><p>Thanks to Sean McLaughlin for the bug report.</p></div>
218 <div class="paragraph"><p>Fixed by revision <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r6013"><span class="monospaced">r6013</span></a>.</p></div>
219 </li>
220 <li>
221 <p>
222 <a id="bug01"></a>
223 Bug in the implementation of <span class="monospaced">_export</span>-ed functions using the <span class="monospaced">char</span> type, leading to a linker error.
224 </p>
225 <div class="paragraph"><p>Thanks to Katsuhiro Ueno for the bug report.</p></div>
226 <div class="paragraph"><p>Fixed by revision <a href="https://github.com/MLton/mlton/commit/%3A%2FSVN%20r5999"><span class="monospaced">r5999</span></a>.</p></div>
227 </li>
228 </ul></div>
229 </div>
230 </div>
231 </div>
232 <div id="footnotes"><hr></div>
233 <div id="footer">
234 <div id="footer-text">
235 </div>
236 <div id="footer-badges">
237 </div>
238 </div>
239 </body>
240 </html>