www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1959] New: Internal error: eh.c 41

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1959

           Summary: Internal error: eh.c 41
           Product: D
           Version: 1.028
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: sergey redin.info


// file bad.d:
import std.process;
void main(char[][] argv) {
        bool cond = false;
        while( cond ) try { } catch { }
        execvp( argv[0], argv );
}
// end of file

Compilation error:

sergey:/tmp/eh$ dmd |head -1
Digital Mars D Compiler v1.028
sergey:/tmp/eh$ dmd -release -inline -c bad.d
Internal error: eh.c 41
sergey:/tmp/eh$


threads or memory allocation. This code is useless but I hit the bug with much
more code, this is just the minimal version that still triggers compilation
error.


-- 
Mar 30 2008
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1959






Hello, is there anybody here? :)


-- 
Apr 06 2008
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1959






Yes. What do you want someone to say? You found a bug, reported it with an
example. About the only constructive thing to be said is, "fixed" and that's
not going to happen for a few days at the least (more likely it will be a few
releases). No comments means nobody has anything constructive to say, not that
you are being ignored.


-- 
Apr 07 2008
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1959






OK, thanks.


-- 
Apr 07 2008
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1959


smjg iname.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg iname.com
           Keywords|                            |ice-on-valid-code





WFM DMD 1.036 Windows.  Can you still reproduce under Linux?


-- 
Nov 20 2008
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1959






Ran into this on Linux with DMD 2.20.  I'm working on isolating the piece of
code that's the problem, but it's definitely still a problem.


-- 
Nov 25 2008
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1959


Don <clugdbug yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE(eh.c 41) No test case.  |ICE(eh.c 41) alloca and
                   |                            |Linux exception handling,
                   |                            |no test case





Line eh.c (41) states:

#if TARGET_LINUX || TARGET_OSX || TARGET_FREEBSD || TARGET_SOLARIS
:
    // BUG: alloca() changes the stack size, which is not reflected
    // in the fixed eh tables.
    assert(!usedalloca);

So this is a known bug.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 10 2009
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1959


Don <clugdbug yahoo.com.au> changed:

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



I'm closing this because the original bug has been fixed, and all known test
cases pass. Create a new bug if a new test case is discovered. It'll be a
different bug, even if it ICEs at the same location.

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