digitalmars.D.bugs - [Issue 2952] New: Segfault on exit when using array ops with arrays of doubles larger than 8 elements
- d-bugmail puremagic.com (27/27) May 07 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2952
- d-bugmail puremagic.com (12/12) May 25 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2952
- d-bugmail puremagic.com (7/7) May 25 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2952
- Brad Roberts (3/8) May 25 2009 In an earlier thread on one of the newsgroups, Sean expressed a preferen...
- d-bugmail puremagic.com (6/6) Jun 02 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2952
- d-bugmail puremagic.com (12/12) Jul 09 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2952
http://d.puremagic.com/issues/show_bug.cgi?id=2952
Summary: Segfault on exit when using array ops with arrays of
doubles larger than 8 elements
Product: D
Version: 2.029
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla digitalmars.com
ReportedBy: lmb stackedboxes.org
This program causes a segmentation fault when exiting:
void main()
{
double[9] array;
array[] *= 2;
}
Curious things:
1. The program seems to actually execute correctly. I mean, adding more code to
the program, including other array operations and printing the contents of
'array' results in the expected behavior -- but it keeps segfaulting on exit.
2. Replacing 'double' with 'float', 'real', 'int' (and possibly others) makes
the program work correctly.
3. Using an array with less than 9 elements makes the program work correctly.
--
May 07 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2952
Don <clugdbug yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |clugdbug yahoo.com.au
Version|2.029 |1.044
OS/Version|Linux |All
This applies also to Windows, and to D1.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 25 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2952 I have fixed this but can't post it to the runtime source since dsource is down. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
May 25 2009
d-bugmail puremagic.com wrote:http://d.puremagic.com/issues/show_bug.cgi?id=2952 I have fixed this but can't post it to the runtime source since dsource is down.In an earlier thread on one of the newsgroups, Sean expressed a preference to bugzilla based bug reports for druntime.
May 25 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2952 I've fixed this in SVN for both D1 and D2. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 02 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2952
Walter Bright <bugzilla digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |bugzilla digitalmars.com
Resolution| |FIXED
02:49:45 PDT ---
Fixed dmd 1.046 and 2.031
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 09 2009









d-bugmail puremagic.com 