[Issue 2003] New: Absolute path for -odobjdir triggers compiler stack overflow

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Apr 16 21:25:08 PDT 2008


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

           Summary: Absolute path for -odobjdir triggers compiler stack
                    overflow
           Product: D
           Version: 1.028
          Platform: PC
               URL: http://pastebin.com/f7799ca17
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-invalid-code, ice-on-valid-code
          Severity: minor
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: CppCoder at gmail.com


When passing an absolute path to the dmd compiler under Windows XP SP2, dmd.exe
will return "Stack Overflow" with no other information.  It seems at the very
least a valid file has to be passed.  The file can be blank, a valid or invalid
D input file; It does not seem the file even gets parsed, so I'd imagine the
bug is in the argument parsing.

example:
dmd.exe -odobjdirC:\AAAA test.d

test.d being a blank d file.  It seems the file must at least be a d source
file.  If an executable or library is passed for example, it will not trigger a
stack overflow.


-- 



More information about the Digitalmars-d-bugs mailing list