www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18418] New: Access violation when compiling with botan

https://issues.dlang.org/show_bug.cgi?id=18418

          Issue ID: 18418
           Summary: Access violation when compiling with botan
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: oiiu19 yahoo.com

A single line of code:

import botan.block.xtea;

The last few lines of dmd 2.078.2 output with -v, regardless debug or release:

Enhanced memory security is enabled.
import    memutils.securepool  
(..\..\AppData\Roaming\dub\packages\memutils-0.4.10\memutils\source\memutils\securepool.d)
Memory debugger enabled
import    core.bitop    (..\..\src\druntime\import\core\bitop.d)
import    std.typetuple (..\..\src\phobos\std\typetuple.d)
import    core.checkedint       (..\..\src\druntime\import\core\checkedint.d)
import    std.utf       (..\..\src\phobos\std\utf.d)
import    memutils.rbtree      
(..\..\AppData\Roaming\dub\packages\memutils-0.4.10\memutils\source\memutils\rbtree.d)

object.Error (0): Access Violation
----------------
0x0048C2A5
0x0049D2EB
0x004E2ED5
0x004E3518
0x004B2D28
0x004B350A
0x00472293
0x004BF2ED
0x00535FBE
0x00536853

Compiling memutils solely has no problem; only occurs when importing; might
relate to mixins in botan.block.xtea .

--
Feb 11 2018