Bug 7200 – Array append causes Access Violation with symbolic debug info
Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2012-01-02T09:48:00Z
Last change time
2013-01-20T13:13:15Z
Keywords
rejects-valid
Assigned to
nobody
Creator
bearophile_hugs
Comments
Comment #0 by bearophile_hugs — 2012-01-02T09:48:54Z
import std.typecons: Tuple;
void main() {
alias Tuple!(int, int) Foo;
Foo[] a;
a ~= Foo(0, 0); // Access Violation
string[] b;
}
Compiling it with DMD 2.058head:
dmd -g test.d
gives an Access Violation at line 5 at runtime.
Comment #1 by lovelydear — 2012-04-19T12:22:51Z
Not reproduced 2.059 under x86-32 / Win32.
Comment #2 by eco — 2012-04-19T12:43:59Z
(In reply to comment #1)
> Not reproduced 2.059 under x86-32 / Win32.
I also couldn't reproduce. Looks like it can be closed.
Comment #3 by andrej.mitrovich — 2013-01-20T13:13:15Z
Can't reproduce in 2.057, 2.058, or 2.061. Could have been a temporary git-head problem.