[Issue 17088] New: Access Violation on membership test with shared AA
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Jan 13 19:37:04 PST 2017
https://issues.dlang.org/show_bug.cgi?id=17088
Issue ID: 17088
Summary: Access Violation on membership test with shared AA
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: major
Priority: P1
Component: druntime
Assignee: nobody at puremagic.com
Reporter: m.bierlee at lostmoment.com
Consider the following code:
void main() {
shared int[int] ints = [6: 8];
auto bla = (6 in ints);
}
The following console output is returned when running this code in release
mode:
$ dub run --build=release
Performing "release" build using dmd for x86.
assocbug ~master: building configuration "application"...
Linking...
Running .\assocbug.exe
object.Error@(0): Access Violation
----------------
0x0040249A
0x004023B3
0x004022B4
0x004020A8
0x76C962C4 in BaseThreadInitThunk
0x77520FD9 in RtlSubscribeWnfStateChangeNotification
0x77520FA4 in RtlSubscribeWnfStateChangeNotification
Program exited with code 1
This seems to only happen in release builds and not debug builds. Furthermore
as far I could test, it seems to only happen on Windows.
Details:
DMD32 D Compiler v2.072.2
Windows 10 x86_64
DUB version 1.1.2
--
More information about the Digitalmars-d-bugs
mailing list