www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15513] New: Memory Corruption with thread local objects


          Issue ID: 15513
           Summary: Memory Corruption with thread local objects
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: puneet coverify.org

Created attachment 1570
  --> https://issues.dlang.org/attachment.cgi?id=1570&action=edit
Tarred C and D files

This is a strange memory corruption issue with thread local objects. I am able
to recreate the issue only when I link in D code from inside C. There are 2 C
files and 1 D file involved. I have also attached a makefile to assist with
compilation process.

Jan 04 2016