[Issue 9449] New: Segmentation fault in main()

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 4 03:51:39 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9449

           Summary: Segmentation fault in main()
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: druntime
        AssignedTo: nobody at puremagic.com
        ReportedBy: tbanelwebmin at free.fr


--- Comment #0 from tbanelwebmin at free.fr 2013-02-04 03:51:35 PST ---
This small code crashs.

----------------------------------
import core.simd;

void main()
{
  ubyte16 table[1];
}
----------------------------------

It crashes in:
void[] *_memset128ii(void[] *p, void[] value, size_t count);

It seems that a wrong "count" is passed in by the _Dmain() function.

Details:
  DMD64 D Compiler v2.061
  Linux Ubuntu
  x86_64
  AMD Phenom II

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list