www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.ide
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript
electronics



digitalmars.D.bugs - [Issue 2003] New: Absolute path for -odobjdir triggers compiler stack overflow

↑ ↓ ← d-bugmail puremagic.com writes:
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 digitalmars.com
        ReportedBy: CppCoder 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.


-- 
Apr 16 2008
↑ ↓ → d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2003


bugzilla digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Comment #1 from bugzilla digitalmars.com  2008-04-22 20:47 -------
I can't duplicate a problem. BTW, the correct command line syntax is:

dmd.exe -odC:\AAAA test.d


-- 
Apr 22 2008