[Issue 10970] Segfault in a simple test compiled without -g.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Sep 5 20:14:48 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10970



--- Comment #5 from Zhouxuan <pycerl at qq.com> 2013-09-05 20:14:47 PDT ---
(In reply to comment #4)
> (In reply to comment #3)
> > I think this is a 64-bit only bug. Could you try compiling with -m32 to
> > confirm?
> 
> Ok nevermind, I was testing your
> http://d.puremagic.com/issues/show_bug.cgi?id=10970#c1 instead of the dpaste
> one (try not to use dpaste for short examples).
> 
> Your test-case:
> 
> -----
> import std.stdio;
> import std.container;
> import std.process;
> 
> class A
> {
>     this(string name)
>     {
>         m[name] = make!Arr;
>     }
> 
>     alias Array!A Arr;
>     Arr[string] m;
> }
> 
> int main()
> {
>     A a = new A("test");
>     return 0;
> }
> -----
> 
> Crashes on win32 as well.

Hope it helps and the issue be fixed asap, thank you!

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list