digitalmars.D - bug in std.array.insertInPlace ?
- Ruslan Mullakhmetov (9/9) Nov 08 2011 Hi,
- Jonathan M Davis (3/15) Nov 09 2011 It might by related to http://d.puremagic.com/issues/show_bug.cgi?id=687...
- Ruslan Mullakhmetov (4/21) Nov 09 2011 thakns. so i won't submit an issue.
Hi, I found some strange behavior of std.array.insertInPlace leading to segfault. The example below works for int, it is failed for reference type with array becoming of length bigger 1024 on windows (x64) and 512 on linux (x64). code: http://cloud.theambient.org/0O360r1d2t1g09171F1m Is it my bug or compiler? -- BR, Ruslan Mullakhmetov
Nov 08 2011
On Tuesday, November 08, 2011 23:55 Ruslan Mullakhmetov wrote:Hi, I found some strange behavior of std.array.insertInPlace leading to segfault. The example below works for int, it is failed for reference type with array becoming of length bigger 1024 on windows (x64) and 512 on linux (x64). code: http://cloud.theambient.org/0O360r1d2t1g09171F1m Is it my bug or compiler?It might by related to http://d.puremagic.com/issues/show_bug.cgi?id=6874 - Jonathan M Davis
Nov 09 2011
On 2011-11-09 22:14:25 +0400, Jonathan M Davis said:On Tuesday, November 08, 2011 23:55 Ruslan Mullakhmetov wrote:thakns. so i won't submit an issue. -- BR, Ruslan MullakhmetovHi, I found some strange behavior of std.array.insertInPlace leading to segfault. The example below works for int, it is failed for reference type with array becoming of length bigger 1024 on windows (x64) and 512 on linux (x64). code: http://cloud.theambient.org/0O360r1d2t1g09171F1m Is it my bug or compiler?It might by related to http://d.puremagic.com/issues/show_bug.cgi?id=6874 - Jonathan M Davis
Nov 09 2011