Debian Codegraph @

doc/guide/src/Bugs20070826.adoc

raw
1 = Bugs20070826
2
3 Here are the known bugs in <<Release20070826#,MLton 20070826>>, listed
4 in reverse chronological order of date reported.
5
6 * [[bug25]]
7 Bug in the mark-compact garbage collector where the C library's `memcpy` 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 `memcpy` do not overlap.
8 +
9 Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r7461&type=commits[`r7461`].
10
11 * [[bug24]]
12 Bug in elaboration of `datatype` declarations with `withtype` bindings.
13 +
14 Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r7434&type=commits[`r7434`].
15
16 * [[bug23]]
17 Performance bug in <<RefFlatten#>> optimization pass.
18 +
19 Thanks to Reactive Systems for the bug report.
20 +
21 Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r7379&type=commits[`r7379`].
22
23 * [[bug22]]
24 Performance bug in <<SimplifyTypes#>> optimization pass.
25 +
26 Thanks to Reactive Systems for the bug report.
27 +
28 Fixed by revisions https://github.com/MLton/mlton/search?q=SVN`r7377&type=commits[`r7377`] and https://github.com/MLton/mlton/search?q=SVN`r7378&type=commits[`r7378`].
29
30 * [[bug21]]
31 Bug in amd64 codegen register allocation of indirect C calls.
32 +
33 Thanks to David Hansel for the bug report.
34 +
35 Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r7368&type=commits[`r7368`].
36
37 * [[bug20]]
38 Bug in `IntInf.scan` and `IntInf.fromString` where leading spaces were only accepted if the stream had an explicit sign character.
39 +
40 Thanks to David Hansel for the bug report.
41 +
42 Fixed by revisions https://github.com/MLton/mlton/search?q=SVN`r7227&type=commits[`r7227`] and https://github.com/MLton/mlton/search?q=SVN`r7230&type=commits[`r7230`].
43
44 * [[bug19]]
45 Bug in `IntInf.~>>` that could cause a `glibc` assertion.
46 +
47 Fixed by revisions https://github.com/MLton/mlton/search?q=SVN`r7083&type=commits[`r7083`], https://github.com/MLton/mlton/search?q=SVN`r7084&type=commits[`r7084`], and https://github.com/MLton/mlton/search?q=SVN+r7085&type=commits[`r7085`].
48
49 * [[bug18]]
50 Bug in the return type of `MLton.Process.reap`.
51 +
52 Thanks to Risto Saarelma for the bug report.
53 +
54 Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r7029&type=commits[`r7029`].
55
56 * [[bug17]]
57 Bug in `MLton.size` and `MLton.share` when tracing the current stack.
58 +
59 Fixed by revisions https://github.com/MLton/mlton/search?q=SVN`r6978&type=commits[`r6978`], https://github.com/MLton/mlton/search?q=SVN`r6981&type=commits[`r6981`], https://github.com/MLton/mlton/search?q=SVN`r6988&type=commits[`r6988`], https://github.com/MLton/mlton/search?q=SVN`r6989&type=commits[`r6989`], and https://github.com/MLton/mlton/search?q=SVN+r6990&type=commits[`r6990`].
60
61 * [[bug16]]
62 Bug in nested `_export`/`_import` functions.
63 +
64 Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r6919&type=commits[`r6919`].
65
66 * [[bug15]]
67 Bug in the name mangling of `_import`-ed functions with the `stdcall` convention.
68 +
69 Thanks to Lars Bergstrom for the bug report.
70 +
71 Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r6672&type=commits[`r6672`].
72
73 * [[bug14]]
74 Bug in Windows code to page the heap to disk when unable to grow the heap to a desired size.
75 +
76 Thanks to Sami Evangelista for the bug report.
77 +
78 Fixed by revisions https://github.com/MLton/mlton/search?q=SVN`r6600&type=commits[`r6600`] and https://github.com/MLton/mlton/search?q=SVN`r6624&type=commits[`r6624`].
79
80 * [[bug13]]
81 Bug in \*NIX code to page the heap to disk when unable to grow the heap to a desired size.
82 +
83 Thanks to Nicolas Bertolotti for the bug report and patch.
84 +
85 Fixed by revisions https://github.com/MLton/mlton/search?q=SVN`r6596&type=commits[`r6596`] and https://github.com/MLton/mlton/search?q=SVN`r6600&type=commits[`r6600`].
86
87 * [[bug12]]
88 Space-safety bug in pass to <<RefFlatten#,flatten refs>> into containing data structure.
89 +
90 Thanks to Daniel Spoonhower for the bug report and initial diagnosis and patch.
91 +
92 Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r6395&type=commits[`r6395`].
93
94 * [[bug11]]
95 Bug in the frontend that rejected `op longvid` patterns and expressions.
96 +
97 Thanks to Florian Weimer for the bug report.
98 +
99 Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r6347&type=commits[`r6347`].
100
101 * [[bug10]]
102 Bug in the https://smlfamily.github.io/Basis/imperative-io.html#SIG:IMPERATIVE_IO.canInput:VAL[`IMPERATIVE_IO.canInput`] function of the <<BasisLibrary#,Basis Library>> implementation.
103 +
104 Thanks to Ville Laurikari for the bug report.
105 +
106 Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r6261&type=commits[`r6261`].
107
108 * [[bug09]]
109 Bug in algebraic simplification of real primitives. https://smlfamily.github.io/Basis/real.html#SIG:REAL.\|@LTE\|:VAL[" ``Real__<N>__.\<=(x, x)``"] is `false` when `x` is NaN.
110 +
111 Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r6242&type=commits[`r6242`].
112
113 * [[bug08]]
114 Bug in the FFI visible representation of `Int16.int ref` (and references of other primitive types smaller than 32-bits) on big-endian platforms.
115 +
116 Thanks to Dave Herman for the bug report.
117 +
118 Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r6267&type=commits[`r6267`].
119
120 * [[bug07]]
121 Bug in type inference of flexible records. This would later cause the compiler to raise the `TypeError` exception.
122 +
123 Thanks to Wesley Terpstra for the bug report.
124 +
125 Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r6229&type=commits[`r6229`].
126
127 * [[bug06]]
128 Bug in cross-compilation of `gdtoa` library.
129 +
130 Thanks to Wesley Terpstra for the bug report and patch.
131 +
132 Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r6620&type=commits[`r6620`].
133
134 * [[bug05]]
135 Bug in pass to <<RefFlatten#,flatten refs>> into containing data structure.
136 +
137 Thanks to Ruy Ley-Wild for the bug report.
138 +
139 Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r6191&type=commits[`r6191`].
140
141 * [[bug04]]
142 Bug in the handling of weak pointers by the mark-compact garbage collector.
143 +
144 Thanks to Sean McLaughlin for the bug report and Florian Weimer for the initial diagnosis.
145 +
146 Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r6183&type=commits[`r6183`].
147
148 * [[bug03]]
149 Bug in the elaboration of structures with signature constraints. This would later cause the compiler to raise the `TypeError` exception.
150 +
151 Thanks to Vesa Karvonen for the bug report.
152 +
153 Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r6046&type=commits[`r6046`].
154
155 * [[bug02]]
156 Bug in the interaction of `_export`-ed functions and signal handlers.
157 +
158 Thanks to Sean McLaughlin for the bug report.
159 +
160 Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r6013&type=commits[`r6013`].
161
162 * [[bug01]]
163 Bug in the implementation of `_export`-ed functions using the `char` type, leading to a linker error.
164 +
165 Thanks to Katsuhiro Ueno for the bug report.
166 +
167 Fixed by revision https://github.com/MLton/mlton/search?q=SVN+r5999&type=commits[`r5999`].