Import Upstream version 20180207
[hcoop/debian/mlton.git] / doc / guide / src / Bugs20070826.adoc
CommitLineData
7f918cf1
CE
1Bugs20070826
2============
3
4Here are the known bugs in <:Release20070826:MLton 20070826>, listed
5in reverse chronological order of date reported.
6
7* <!Anchor(bug25)>
8Bug 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.
9+
10Fixed by revision <!ViewSVNRev(7461)>.
11
12* <!Anchor(bug24)>
13Bug in elaboration of `datatype` declarations with `withtype` bindings.
14+
15Fixed by revision <!ViewSVNRev(7434)>.
16
17* <!Anchor(bug23)>
18Performance bug in <:RefFlatten:> optimization pass.
19+
20Thanks to Reactive Systems for the bug report.
21+
22Fixed by revision <!ViewSVNRev(7379)>.
23
24* <!Anchor(bug22)>
25Performance bug in <:SimplifyTypes:> optimization pass.
26+
27Thanks to Reactive Systems for the bug report.
28+
29Fixed by revisions <!ViewSVNRev(7377)> and <!ViewSVNRev(7378)>.
30
31* <!Anchor(bug21)>
32Bug in amd64 codegen register allocation of indirect C calls.
33+
34Thanks to David Hansel for the bug report.
35+
36Fixed by revision <!ViewSVNRev(7368)>.
37
38* <!Anchor(bug20)>
39Bug in `IntInf.scan` and `IntInf.fromString` where leading spaces were only accepted if the stream had an explicit sign character.
40+
41Thanks to David Hansel for the bug report.
42+
43Fixed by revisions <!ViewSVNRev(7227)> and <!ViewSVNRev(7230)>.
44
45* <!Anchor(bug19)>
46Bug in `IntInf.~>>` that could cause a `glibc` assertion.
47+
48Fixed by revisions <!ViewSVNRev(7083)>, <!ViewSVNRev(7084)>, and <!ViewSVNRev(7085)>.
49
50* <!Anchor(bug18)>
51Bug in the return type of `MLton.Process.reap`.
52+
53Thanks to Risto Saarelma for the bug report.
54+
55Fixed by revision <!ViewSVNRev(7029)>.
56
57* <!Anchor(bug17)>
58Bug in `MLton.size` and `MLton.share` when tracing the current stack.
59+
60Fixed by revisions <!ViewSVNRev(6978)>, <!ViewSVNRev(6981)>, <!ViewSVNRev(6988)>, <!ViewSVNRev(6989)>, and <!ViewSVNRev(6990)>.
61
62* <!Anchor(bug16)>
63Bug in nested `_export`/`_import` functions.
64+
65Fixed by revision <!ViewSVNRev(6919)>.
66
67* <!Anchor(bug15)>
68Bug in the name mangling of `_import`-ed functions with the `stdcall` convention.
69+
70Thanks to Lars Bergstrom for the bug report.
71+
72Fixed by revision <!ViewSVNRev(6672)>.
73
74* <!Anchor(bug14)>
75Bug in Windows code to page the heap to disk when unable to grow the heap to a desired size.
76+
77Thanks to Sami Evangelista for the bug report.
78+
79Fixed by revisions <!ViewSVNRev(6600)> and <!ViewSVNRev(6624)>.
80
81* <!Anchor(bug13)>
82Bug in \*NIX code to page the heap to disk when unable to grow the heap to a desired size.
83+
84Thanks to Nicolas Bertolotti for the bug report and patch.
85+
86Fixed by revisions <!ViewSVNRev(6596)> and <!ViewSVNRev(6600)>.
87
88* <!Anchor(bug12)>
89Space-safety bug in pass to <:RefFlatten: flatten refs> into containing data structure.
90+
91Thanks to Daniel Spoonhower for the bug report and initial diagnosis and patch.
92+
93Fixed by revision <!ViewSVNRev(6395)>.
94
95* <!Anchor(bug11)>
96Bug in the frontend that rejected `op longvid` patterns and expressions.
97+
98Thanks to Florian Weimer for the bug report.
99+
100Fixed by revision <!ViewSVNRev(6347)>.
101
102* <!Anchor(bug10)>
103Bug in the http://www.standardml.org/Basis/imperative-io.html#SIG:IMPERATIVE_IO.canInput:VAL[`IMPERATIVE_IO.canInput`] function of the <:BasisLibrary:Basis Library> implementation.
104+
105Thanks to Ville Laurikari for the bug report.
106+
107Fixed by revision <!ViewSVNRev(6261)>.
108
109* <!Anchor(bug09)>
110Bug in algebraic simplification of real primitives. http://www.standardml.org/Basis/real.html#SIG:REAL.\|@LTE\|:VAL[++REAL__<N>__.\<=(x, x)++] is `false` when `x` is NaN.
111+
112Fixed by revision <!ViewSVNRev(6242)>.
113
114* <!Anchor(bug08)>
115Bug in the FFI visible representation of `Int16.int ref` (and references of other primitive types smaller than 32-bits) on big-endian platforms.
116+
117Thanks to Dave Herman for the bug report.
118+
119Fixed by revision <!ViewSVNRev(6267)>.
120
121* <!Anchor(bug07)>
122Bug in type inference of flexible records. This would later cause the compiler to raise the `TypeError` exception.
123+
124Thanks to Wesley Terpstra for the bug report.
125+
126Fixed by revision <!ViewSVNRev(6229)>.
127
128* <!Anchor(bug06)>
129Bug in cross-compilation of `gdtoa` library.
130+
131Thanks to Wesley Terpstra for the bug report and patch.
132+
133Fixed by revision <!ViewSVNRev(6620)>.
134
135* <!Anchor(bug05)>
136Bug in pass to <:RefFlatten: flatten refs> into containing data structure.
137+
138Thanks to Ruy Ley-Wild for the bug report.
139+
140Fixed by revision <!ViewSVNRev(6191)>.
141
142* <!Anchor(bug04)>
143Bug in the handling of weak pointers by the mark-compact garbage collector.
144+
145Thanks to Sean McLaughlin for the bug report and Florian Weimer for the initial diagnosis.
146+
147Fixed by revision <!ViewSVNRev(6183)>.
148
149* <!Anchor(bug03)>
150Bug in the elaboration of structures with signature constraints. This would later cause the compiler to raise the `TypeError` exception.
151+
152Thanks to Vesa Karvonen for the bug report.
153+
154Fixed by revision <!ViewSVNRev(6046)>.
155
156* <!Anchor(bug02)>
157Bug in the interaction of `_export`-ed functions and signal handlers.
158+
159Thanks to Sean McLaughlin for the bug report.
160+
161Fixed by revision <!ViewSVNRev(6013)>.
162
163* <!Anchor(bug01)>
164Bug in the implementation of `_export`-ed functions using the `char` type, leading to a linker error.
165+
166Thanks to Katsuhiro Ueno for the bug report.
167+
168Fixed by revision <!ViewSVNRev(5999)>.