digitalmars.D.bugs - [Issue 7503] New: "File[string]" associative array cause "Internal error: ../ztc/cgcs.c 162"
- d-bugmail puremagic.com (54/54) Feb 14 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7503
- d-bugmail puremagic.com (11/11) Apr 20 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7503
- d-bugmail puremagic.com (13/13) Aug 15 2013 http://d.puremagic.com/issues/show_bug.cgi?id=7503
- d-bugmail puremagic.com (13/19) Sep 07 2013 http://d.puremagic.com/issues/show_bug.cgi?id=7503
http://d.puremagic.com/issues/show_bug.cgi?id=7503 Summary: "File[string]" associative array cause "Internal error: ../ztc/cgcs.c 162" Product: D Version: D2 Platform: x86_64 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: canidae exent.net --- Comment #0 from Vidar Wahlberg <canidae exent.net> 2012-02-14 09:37:40 PST --- naushika:~/tmp> dmd | head -1 DMD64 D Compiler v2.057 naushika:~/tmp> cat foo.d import std.stdio; File[string] files; void main() { files["test"] = File("test", "w"); files["test"].writeln("bar"); } naushika:~/tmp> dmd foo.d Internal error: ../ztc/cgcs.c 162 naushika:~/tmp> dmd foo.d -O naushika:~/tmp> ./foo object.Exception std/stdio.d(1131): Enforcement failed ---------------- ./foo(pure safe bool std.exception.enforce!(bool, "std/stdio.d", 1131).enforce(bool, lazy const(char)[])+0x45) [0x44e619] ./foo(std.stdio.File.LockingTextWriter std.stdio.File.LockingTextWriter.__ctor(ref std.stdio.File)+0x38) [0x44d9a8] ./foo( property std.stdio.File.LockingTextWriter std.stdio.File.lockingTextWriter()+0x29) [0x44dad5] ./foo(void std.stdio.File.write!(immutable(char)[], char).write(immutable(char)[], char)+0x4e) [0x44752e] ./foo(void std.stdio.File.writeln!(immutable(char)[]).writeln(immutable(char)[])+0x47) [0x447453] ./foo(_Dmain+0x103) [0x4473ff] ./foo(extern (C) int rt.dmain2.main(int, char**).void runMain()+0x17) [0x44b4df] ./foo(extern (C) int rt.dmain2.main(int, char**).void tryExec(scope void delegate())+0x2a) [0x44b086] ./foo(extern (C) int rt.dmain2.main(int, char**).void runAll()+0x42) [0x44b532] ./foo(extern (C) int rt.dmain2.main(int, char**).void tryExec(scope void delegate())+0x2a) [0x44b086] ./foo(main+0xd3) [0x44b017] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7f52232cbead] ---------------- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 14 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7503 SomeDude <lovelydear mailmetrash.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lovelydear mailmetrash.com --- Comment #1 from SomeDude <lovelydear mailmetrash.com> 2012-04-20 00:24:11 PDT --- This one compiles on 2.059 Win32, but crashes with "Access violation" at runtime. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 20 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7503 hsteoh quickfur.ath.cx changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|ice |wrong-code --- Comment #2 from hsteoh quickfur.ath.cx 2013-08-15 10:16:10 PDT --- Checked on git HEAD: the ICE no longer happens, but now a runtime exception is thrown: object.Exception std/stdio.d(1442): Enforcement failed Looks like some kind of bad interaction with AA's and struct dtors. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 15 2013
http://d.puremagic.com/issues/show_bug.cgi?id=7503 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #3 from Kenji Hara <k.hara.pg gmail.com> 2013-09-07 10:06:57 PDT --- (In reply to comment #2)Checked on git HEAD: the ICE no longer happens, but now a runtime exception is thrown: object.Exception std/stdio.d(1442): Enforcement failed Looks like some kind of bad interaction with AA's and struct dtors.The runtime exception is the dup of bug 6178. *** This issue has been marked as a duplicate of issue 6178 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 07 2013