Thread overview | ||||||
---|---|---|---|---|---|---|
|
April 08, 2010 [Issue 4073] New: core.cpuid crashes | ||||
---|---|---|---|---|
| ||||
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 --- Comment #0 from biozic <biozic@free.fr> 2010-04-08 06:29:14 PDT --- 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: ------- |
June 09, 2010 [Issue 4073] core.cpuid crashes | ||||
---|---|---|---|---|
| ||||
Posted in reply to biozic | http://d.puremagic.com/issues/show_bug.cgi?id=4073 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clugdbug@yahoo.com.au --- Comment #1 from Don <clugdbug@yahoo.com.au> 2010-06-09 08:01:20 PDT --- 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: ------- |
June 09, 2010 [Issue 4073] core.cpuid crashes | ||||
---|---|---|---|---|
| ||||
Posted in reply to biozic | http://d.puremagic.com/issues/show_bug.cgi?id=4073 Masahiro Nakagawa <repeatedly@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |repeatedly@gmail.com --- Comment #2 from Masahiro Nakagawa <repeatedly@gmail.com> 2010-06-09 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: ------- |
June 09, 2010 [Issue 4073] core.cpuid crashes | ||||
---|---|---|---|---|
| ||||
Posted in reply to biozic | http://d.puremagic.com/issues/show_bug.cgi?id=4073 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Don <clugdbug@yahoo.com.au> 2010-06-09 11:54:26 PDT --- (In reply to comment #2) > I 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: ------- |
Copyright © 1999-2021 by the D Language Foundation