[Issue 24436] a array be overwritten when other array be written

2024-04-23 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24436 --- Comment #13 from Dlang Bot --- dlang/dmd pull request #16406 "Merge stable" was merged into master: - a9c8648f17d05296a0a071502cd0c9963feeba01 by FeepingCreature: Fix Bugzilla 24436: array-of-array-of-NOSCAN falsely marked as NOSCAN.

[Issue 24436] a array be overwritten when other array be written

2024-04-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24436 Dlang Bot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 24436] a array be overwritten when other array be written

2024-04-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24436 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #11 from Dlang Bot ---

[Issue 24436] a array be overwritten when other array be written

2024-04-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24436 --- Comment #10 from FeepingCreature --- Great repro! Yeah that makes it pretty obvious what's happening. I'm on it. --

[Issue 24436] a array be overwritten when other array be written

2024-04-13 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24436 --- Comment #9 from Tim --- Here is a more direct test: ``` import core.memory; void main() { int[][] array1 = new int[][](2,2); assert(!(GC.getAttr(array1.ptr) & GC.BlkAttr.NO_SCAN)); // fails now

[Issue 24436] a array be overwritten when other array be written

2024-04-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24436 Tim changed: What|Removed |Added Severity|normal |regression --- Comment #8 from Tim --- Unfortunately

[Issue 24436] a array be overwritten when other array be written

2024-04-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24436 --- Comment #7 from Tim --- The first bad commit seems to be https://github.com/dlang/dmd/commit/055accfbe6afe5f72c77617d54f737e71e29f5a3 The problem does not happen any more since this commit:

[Issue 24436] a array be overwritten when other array be written

2024-04-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24436 --- Comment #6 from Tim --- Correction: It does not happen with DMD 2.108, but DMD 2.107. I previously made a mistake while updating. The problem happens with DMD 2.107 under Arch Linux with both the package and the tar archive from dlang.org. --

[Issue 24436] a array be overwritten when other array be written

2024-04-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24436 Tim changed: What|Removed |Added CC||tim.dl...@t-online.de --- Comment #5 from Tim --- I

[Issue 24436] a array be overwritten when other array be written

2024-04-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24436 --- Comment #4 from FeepingCreature --- Huh. With the same build once, or with rebuild once? And how long until it happened? I had the code running in a loop and didn't see it, though I changed the writefln for an assert so maybe that changed it

[Issue 24436] a array be overwritten when other array be written

2024-04-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24436 --- Comment #3 from Adam D. Ruppe --- I had it happen on linux once... --

[Issue 24436] a array be overwritten when other array be written

2024-04-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24436 FeepingCreature changed: What|Removed |Added CC||default_357-l...@yahoo.de --- Comment #2

[Issue 24436] a array be overwritten when other array be written

2024-03-11 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=24436 Adam D. Ruppe changed: What|Removed |Added CC||destructiona...@gmail.com --- Comment #1