Commit | Line | Data |
---|---|---|
7f918cf1 CE |
1 | <!DOCTYPE html>\r |
2 | <html lang="en">\r | |
3 | <head>\r | |
4 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\r | |
5 | <meta name="generator" content="AsciiDoc 8.6.9">\r | |
6 | <title>Bugs20070826</title>\r | |
7 | <link rel="stylesheet" href="./asciidoc.css" type="text/css">\r | |
8 | <link rel="stylesheet" href="./pygments.css" type="text/css">\r | |
9 | \r | |
10 | \r | |
11 | <script type="text/javascript" src="./asciidoc.js"></script>\r | |
12 | <script type="text/javascript">\r | |
13 | /*<![CDATA[*/\r | |
14 | asciidoc.install();\r | |
15 | /*]]>*/\r | |
16 | </script>\r | |
17 | <link rel="stylesheet" href="./mlton.css" type="text/css">\r | |
18 | </head>\r | |
19 | <body class="article">\r | |
20 | <div id="banner">\r | |
21 | <div id="banner-home">\r | |
22 | <a href="./Home">MLton 20180207</a>\r | |
23 | </div>\r | |
24 | </div>\r | |
25 | <div id="header">\r | |
26 | <h1>Bugs20070826</h1>\r | |
27 | </div>\r | |
28 | <div id="content">\r | |
29 | <div id="preamble">\r | |
30 | <div class="sectionbody">\r | |
31 | <div class="paragraph"><p>Here are the known bugs in <a href="Release20070826">MLton 20070826</a>, listed\r | |
32 | in reverse chronological order of date reported.</p></div>\r | |
33 | <div class="ulist"><ul>\r | |
34 | <li>\r | |
35 | <p>\r | |
36 | <a id="bug25"></a>\r | |
37 | Bug in the mark-compact garbage collector where the C library’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.\r | |
38 | </p>\r | |
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>\r | |
40 | </li>\r | |
41 | <li>\r | |
42 | <p>\r | |
43 | <a id="bug24"></a>\r | |
44 | Bug in elaboration of <span class="monospaced">datatype</span> declarations with <span class="monospaced">withtype</span> bindings.\r | |
45 | </p>\r | |
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>\r | |
47 | </li>\r | |
48 | <li>\r | |
49 | <p>\r | |
50 | <a id="bug23"></a>\r | |
51 | Performance bug in <a href="RefFlatten">RefFlatten</a> optimization pass.\r | |
52 | </p>\r | |
53 | <div class="paragraph"><p>Thanks to Reactive Systems for the bug report.</p></div>\r | |
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>\r | |
55 | </li>\r | |
56 | <li>\r | |
57 | <p>\r | |
58 | <a id="bug22"></a>\r | |
59 | Performance bug in <a href="SimplifyTypes">SimplifyTypes</a> optimization pass.\r | |
60 | </p>\r | |
61 | <div class="paragraph"><p>Thanks to Reactive Systems for the bug report.</p></div>\r | |
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>\r | |
63 | </li>\r | |
64 | <li>\r | |
65 | <p>\r | |
66 | <a id="bug21"></a>\r | |
67 | Bug in amd64 codegen register allocation of indirect C calls.\r | |
68 | </p>\r | |
69 | <div class="paragraph"><p>Thanks to David Hansel for the bug report.</p></div>\r | |
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>\r | |
71 | </li>\r | |
72 | <li>\r | |
73 | <p>\r | |
74 | <a id="bug20"></a>\r | |
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.\r | |
76 | </p>\r | |
77 | <div class="paragraph"><p>Thanks to David Hansel for the bug report.</p></div>\r | |
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>\r | |
79 | </li>\r | |
80 | <li>\r | |
81 | <p>\r | |
82 | <a id="bug19"></a>\r | |
83 | Bug in <span class="monospaced">IntInf.~>></span> that could cause a <span class="monospaced">glibc</span> assertion.\r | |
84 | </p>\r | |
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>\r | |
86 | </li>\r | |
87 | <li>\r | |
88 | <p>\r | |
89 | <a id="bug18"></a>\r | |
90 | Bug in the return type of <span class="monospaced">MLton.Process.reap</span>.\r | |
91 | </p>\r | |
92 | <div class="paragraph"><p>Thanks to Risto Saarelma for the bug report.</p></div>\r | |
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>\r | |
94 | </li>\r | |
95 | <li>\r | |
96 | <p>\r | |
97 | <a id="bug17"></a>\r | |
98 | Bug in <span class="monospaced">MLton.size</span> and <span class="monospaced">MLton.share</span> when tracing the current stack.\r | |
99 | </p>\r | |
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>\r | |
101 | </li>\r | |
102 | <li>\r | |
103 | <p>\r | |
104 | <a id="bug16"></a>\r | |
105 | Bug in nested <span class="monospaced">_export</span>/<span class="monospaced">_import</span> functions.\r | |
106 | </p>\r | |
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>\r | |
108 | </li>\r | |
109 | <li>\r | |
110 | <p>\r | |
111 | <a id="bug15"></a>\r | |
112 | Bug in the name mangling of <span class="monospaced">_import</span>-ed functions with the <span class="monospaced">stdcall</span> convention.\r | |
113 | </p>\r | |
114 | <div class="paragraph"><p>Thanks to Lars Bergstrom for the bug report.</p></div>\r | |
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>\r | |
116 | </li>\r | |
117 | <li>\r | |
118 | <p>\r | |
119 | <a id="bug14"></a>\r | |
120 | Bug in Windows code to page the heap to disk when unable to grow the heap to a desired size.\r | |
121 | </p>\r | |
122 | <div class="paragraph"><p>Thanks to Sami Evangelista for the bug report.</p></div>\r | |
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>\r | |
124 | </li>\r | |
125 | <li>\r | |
126 | <p>\r | |
127 | <a id="bug13"></a>\r | |
128 | Bug in \*NIX code to page the heap to disk when unable to grow the heap to a desired size.\r | |
129 | </p>\r | |
130 | <div class="paragraph"><p>Thanks to Nicolas Bertolotti for the bug report and patch.</p></div>\r | |
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>\r | |
132 | </li>\r | |
133 | <li>\r | |
134 | <p>\r | |
135 | <a id="bug12"></a>\r | |
136 | Space-safety bug in pass to <a href="RefFlatten"> flatten refs</a> into containing data structure.\r | |
137 | </p>\r | |
138 | <div class="paragraph"><p>Thanks to Daniel Spoonhower for the bug report and initial diagnosis and patch.</p></div>\r | |
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>\r | |
140 | </li>\r | |
141 | <li>\r | |
142 | <p>\r | |
143 | <a id="bug11"></a>\r | |
144 | Bug in the frontend that rejected <span class="monospaced">op longvid</span> patterns and expressions.\r | |
145 | </p>\r | |
146 | <div class="paragraph"><p>Thanks to Florian Weimer for the bug report.</p></div>\r | |
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>\r | |
148 | </li>\r | |
149 | <li>\r | |
150 | <p>\r | |
151 | <a id="bug10"></a>\r | |
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.\r | |
153 | </p>\r | |
154 | <div class="paragraph"><p>Thanks to Ville Laurikari for the bug report.</p></div>\r | |
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>\r | |
156 | </li>\r | |
157 | <li>\r | |
158 | <p>\r | |
159 | <a id="bug09"></a>\r | |
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><N></em>.<=(x, x)</span></a> is <span class="monospaced">false</span> when <span class="monospaced">x</span> is NaN.\r | |
161 | </p>\r | |
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>\r | |
163 | </li>\r | |
164 | <li>\r | |
165 | <p>\r | |
166 | <a id="bug08"></a>\r | |
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.\r | |
168 | </p>\r | |
169 | <div class="paragraph"><p>Thanks to Dave Herman for the bug report.</p></div>\r | |
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>\r | |
171 | </li>\r | |
172 | <li>\r | |
173 | <p>\r | |
174 | <a id="bug07"></a>\r | |
175 | Bug in type inference of flexible records. This would later cause the compiler to raise the <span class="monospaced">TypeError</span> exception.\r | |
176 | </p>\r | |
177 | <div class="paragraph"><p>Thanks to Wesley Terpstra for the bug report.</p></div>\r | |
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>\r | |
179 | </li>\r | |
180 | <li>\r | |
181 | <p>\r | |
182 | <a id="bug06"></a>\r | |
183 | Bug in cross-compilation of <span class="monospaced">gdtoa</span> library.\r | |
184 | </p>\r | |
185 | <div class="paragraph"><p>Thanks to Wesley Terpstra for the bug report and patch.</p></div>\r | |
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>\r | |
187 | </li>\r | |
188 | <li>\r | |
189 | <p>\r | |
190 | <a id="bug05"></a>\r | |
191 | Bug in pass to <a href="RefFlatten"> flatten refs</a> into containing data structure.\r | |
192 | </p>\r | |
193 | <div class="paragraph"><p>Thanks to Ruy Ley-Wild for the bug report.</p></div>\r | |
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>\r | |
195 | </li>\r | |
196 | <li>\r | |
197 | <p>\r | |
198 | <a id="bug04"></a>\r | |
199 | Bug in the handling of weak pointers by the mark-compact garbage collector.\r | |
200 | </p>\r | |
201 | <div class="paragraph"><p>Thanks to Sean McLaughlin for the bug report and Florian Weimer for the initial diagnosis.</p></div>\r | |
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>\r | |
203 | </li>\r | |
204 | <li>\r | |
205 | <p>\r | |
206 | <a id="bug03"></a>\r | |
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.\r | |
208 | </p>\r | |
209 | <div class="paragraph"><p>Thanks to Vesa Karvonen for the bug report.</p></div>\r | |
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>\r | |
211 | </li>\r | |
212 | <li>\r | |
213 | <p>\r | |
214 | <a id="bug02"></a>\r | |
215 | Bug in the interaction of <span class="monospaced">_export</span>-ed functions and signal handlers.\r | |
216 | </p>\r | |
217 | <div class="paragraph"><p>Thanks to Sean McLaughlin for the bug report.</p></div>\r | |
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>\r | |
219 | </li>\r | |
220 | <li>\r | |
221 | <p>\r | |
222 | <a id="bug01"></a>\r | |
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.\r | |
224 | </p>\r | |
225 | <div class="paragraph"><p>Thanks to Katsuhiro Ueno for the bug report.</p></div>\r | |
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>\r | |
227 | </li>\r | |
228 | </ul></div>\r | |
229 | </div>\r | |
230 | </div>\r | |
231 | </div>\r | |
232 | <div id="footnotes"><hr></div>\r | |
233 | <div id="footer">\r | |
234 | <div id="footer-text">\r | |
235 | </div>\r | |
236 | <div id="footer-badges">\r | |
237 | </div>\r | |
238 | </div>\r | |
239 | </body>\r | |
240 | </html>\r |