[Issue 9622] New: Range violation in rdmd

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 1 02:27:54 PST 2013


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

           Summary: Range violation in rdmd
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: andrei at erdani.com


--- Comment #0 from Andrei Alexandrescu <andrei at erdani.com> 2013-03-01 02:27:53 PST ---
rdmd invoked with only one file argument crashes with array bounds violation.

    rdmd prog

core.exception.RangeError at rdmd(164): Range violation
----------------
5   rdmd                                0x0000000103acc5be _d_array_bounds + 38
6   rdmd                                0x0000000103a71bc3 D4rdmd7__arrayZ + 23
7   rdmd                                0x0000000103a713f5 _Dmain + 2105
8   rdmd                                0x0000000103acce15 extern (C) int
rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).void
runMain() + 33
9   rdmd                                0x0000000103acc975 extern (C) int
rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).void
tryExec(scope void delegate()) + 45
10  rdmd                                0x0000000103acce5c extern (C) int
rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).void
runAll() + 56
11  rdmd                                0x0000000103acc975 extern (C) int
rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).void
tryExec(scope void delegate()) + 45
12  rdmd                                0x0000000103acc92f _d_run_main + 447
13  rdmd                                0x0000000103acc768 main + 20
14  rdmd                                0x0000000103a70bb4 start + 52
15  ???                                 0x0000000000000002 0x0 + 2
----------------

-- 
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