Re: Weird bugs in DMD 2.81.0

2018-07-14 Thread solidstate1991 via Digitalmars-d
Well, it seems I fixed the AA issue by removing a totally unrelated thing (an undoable event chain system, that got "deprecated"), but now I got another weird issue. Sometimes setting a dynamic array's length causes an access violation. Still only on WindowMaker, and nothing in

Re: Weird bugs in DMD 2.81.0

2018-07-14 Thread solidstate1991 via Digitalmars-d
On Saturday, 14 July 2018 at 07:01:59 UTC, Seb wrote: Any chance you can make a minimal, reproducible example of this? Would be great because then it can be put on bugzilla and other people can have a look at it too. I might try, but first I'll look at the functions to see if I can fix some

Re: Weird bugs in DMD 2.81.0

2018-07-14 Thread Seb via Digitalmars-d
On Saturday, 14 July 2018 at 01:27:03 UTC, solidstate1991 wrote: On Saturday, 14 July 2018 at 00:58:08 UTC, solidstate1991 wrote: I found a temporary workaround. Basically I just save the content of the AA, then reapply it after the application's constructor finished, before that it always

Re: Weird bugs in DMD 2.81.0

2018-07-13 Thread solidstate1991 via Digitalmars-d
On Saturday, 14 July 2018 at 00:58:08 UTC, solidstate1991 wrote: I found a temporary workaround. Basically I just save the content of the AA, then reapply it after the application's constructor finished, before that it always generated an exception when I tried to check its content e.g. via

Re: Weird bugs in DMD 2.81.0

2018-07-13 Thread solidstate1991 via Digitalmars-d
On Saturday, 7 July 2018 at 02:21:31 UTC, solidstate1991 wrote: I'll upload code tomorrow, but here's the premise: Sometimes elements disappear from associative arrays, causing all sorts of errors down the line, mostly access violations. My engine (PixelPerfectEngine) has a style sheet for

Re: Weird bugs in DMD 2.81.0

2018-07-09 Thread Nathan S. via Digitalmars-d
On Monday, 9 July 2018 at 19:31:52 UTC, Steven Schveighoffer wrote: FYI there have been a lot of recent changes on druntime that have to do with hashing. It's possible something changed that affects you. None of the recent changes ought to affect `ushort[string]` since it hashes its keys

Re: Weird bugs in DMD 2.81.0

2018-07-09 Thread Steven Schveighoffer via Digitalmars-d
On 7/6/18 10:21 PM, solidstate1991 wrote: I'll upload code tomorrow, but here's the premise: Sometimes elements disappear from associative arrays, causing all sorts of errors down the line, mostly access violations. My engine (PixelPerfectEngine) has a style sheet for its GUI, which

Re: Weird bugs in DMD 2.81.0

2018-07-07 Thread Seb via Digitalmars-d
On Saturday, 7 July 2018 at 17:07:42 UTC, solidstate1991 wrote: On Saturday, 7 July 2018 at 07:31:29 UTC, Seb wrote: I'm sorry but without code there's not much we can do for you. However, one thing we can try is to get your project on the project tester once this regression is fixed.

Re: Weird bugs in DMD 2.81.0

2018-07-07 Thread solidstate1991 via Digitalmars-d
On Saturday, 7 July 2018 at 07:31:29 UTC, Seb wrote: I'm sorry but without code there's not much we can do for you. However, one thing we can try is to get your project on the project tester once this regression is fixed. https://github.com/ZILtoid1991/pixelperfectengine Just did a commit

Re: Weird bugs in DMD 2.81.0

2018-07-07 Thread Basile B. via Digitalmars-d
On Saturday, 7 July 2018 at 02:21:31 UTC, solidstate1991 wrote: I'll upload code tomorrow, but here's the premise: Sometimes elements disappear from associative arrays, causing all sorts of errors down the line, mostly access violations. Hello, what you describe makes me think to what

Re: Weird bugs in DMD 2.81.0

2018-07-07 Thread Seb via Digitalmars-d
On Saturday, 7 July 2018 at 02:21:31 UTC, solidstate1991 wrote: I'll upload code tomorrow, but here's the premise: Sometimes elements disappear from associative arrays, causing all sorts of errors down the line, mostly access violations. [...] I'm sorry but without code there's not much we

Weird bugs in DMD 2.81.0

2018-07-06 Thread solidstate1991 via Digitalmars-d
I'll upload code tomorrow, but here's the premise: Sometimes elements disappear from associative arrays, causing all sorts of errors down the line, mostly access violations. My engine (PixelPerfectEngine) has a style sheet for its GUI, which generates basic values upon construction. This