digitalmars.D.bugs - [Issue 4073] New: core.cpuid crashes
- d-bugmail puremagic.com (32/32) Apr 08 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4073
- d-bugmail puremagic.com (14/14) Jun 09 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4073
- d-bugmail puremagic.com (22/22) Jun 09 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4073
- d-bugmail puremagic.com (13/15) Jun 09 2010 http://d.puremagic.com/issues/show_bug.cgi?id=4073
http://d.puremagic.com/issues/show_bug.cgi?id=4073 Summary: core.cpuid crashes Product: D Version: 2.041 Platform: Other OS/Version: Mac OS X Status: NEW Severity: normal Priority: P2 Component: druntime AssignedTo: sean invisibleduck.org ReportedBy: biozic free.fr The following code crashes at runtime on Mac OS X, when executing --- import core.cpuid; void main() {} --- Trace: 0x00003405 D4core5cpuid8cpuidX86FZv + 37 0x00002a11 D4core5cpuid18_sharedStaticCtor1FZv + 29 0x000029af _D4core5cpuid15__modsharedctorFZv + 11 0x0000c1c2 D6object12_moduleCtor2FAPS6object10ModuleInfoiZv + 306 0x0000c236 D6object12_moduleCtor2FAPS6object10ModuleInfoiZv + 422 0x0000c02a _moduleCtor + 114 0x0000df7e D2rt6dmain24mainUiPPaZi6runAllMFZv + 26 0x0000dcde D2rt6dmain24mainUiPPaZi7tryExecMFMDFZvZv + 42 0x0000dc6c main + 168 0x0000248d start + 53 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 08 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4073 Don <clugdbug yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clugdbug yahoo.com.au I believe I have fixed this in druntime svn 313, but I don't have access to a mac. Could someone please check this, so that it can be mentioned in the changelog for the next release, if it is fixed? (If it is genuinely fixed, then bug 4189 and bug 3658 are probably fixed as well). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 09 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4073 Masahiro Nakagawa <repeatedly gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |repeatedly gmail.com 08:40:51 PDT --- I tested following code using trunk on Mac OSX 10.6.3. ----- import std.stdio, core.cpuid; // from issue 4189 void main() { auto vec = new double[10]; foreach(i, ref x; vec) { x = cast(double) i; } vec[] *= 0.5; writeln(vec); } ----- It works! writeln prints "0 0.5 1 1.5 2 2.5 3 3.5 4 4.5". -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 09 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4073 Don <clugdbug yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXEDI tested following code using trunk on Mac OSX 10.6.3. It works! writeln prints "0 0.5 1 1.5 2 2.5 3 3.5 4 4.5".Thanks! Fixed druntime svn 313. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 09 2010