Thread overview
[Issue 4054] New: ICE(eh.c) line 49
Apr 03, 2010
Robert Clipsham
Apr 03, 2010
Robert Clipsham
Apr 03, 2010
Don
May 18, 2010
Don
May 30, 2010
Walter Bright
Jun 28, 2012
Artem Tarasov
Jul 23, 2012
Brad Roberts
April 03, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4054

           Summary: ICE(eh.c) line 49
           Product: D
           Version: 2.041
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: robert@octarineparrot.com


--- Comment #0 from Robert Clipsham <robert@octarineparrot.com> 2010-04-03 03:57:49 BST ---
The following test case:
----
import core.stdc.stdlib : alloca;
class A { }
void b()
{
        scope a = new A;
        int l;
        alloca(l);
        goto L1;
L1:
        ;
}
----

Causes dmd to ICE with the following error:
Internal error: eh.c 49

Slight changes to the test case cause the error to go away. Looking at dmd/eh.c:
----
    // BUG: alloca() changes the stack size, which is not reflected
    // in the fixed eh tables.
    assert(!usedalloca);
----
So it seems I've triggered one of these cases.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 03, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4054



--- Comment #1 from Robert Clipsham <robert@octarineparrot.com> 2010-04-03 04:49:17 BST ---
I should note that this is blocking a linux port of ddmd.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 03, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4054


Don <clugdbug@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug@yahoo.com.au


--- Comment #2 from Don <clugdbug@yahoo.com.au> 2010-04-02 22:35:29 PDT ---
See also bug 3753, which also triggers the same ICE.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 18, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4054


Don <clugdbug@yahoo.com.au> changed:

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


--- Comment #3 from Don <clugdbug@yahoo.com.au> 2010-05-18 00:18:41 PDT ---
Test case moved to bug 3753, which is clearly the same bug.

*** This issue has been marked as a duplicate of issue 3753 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 30, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4054


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com


--- Comment #4 from Walter Bright <bugzilla@digitalmars.com> 2010-05-30 16:30:59 PDT ---
http://www.dsource.org/projects/dmd/changeset/507

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
June 28, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=4054


Artem Tarasov <lomereiter@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |lomereiter@gmail.com
         Resolution|DUPLICATE                   |


--- Comment #5 from Artem Tarasov <lomereiter@gmail.com> 2012-06-28 03:05:24 PDT ---
The test case causes ICE on my x86_64 Arch Linux machine:


Internal error: eh.c 55

shell returned 1

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 23, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=4054


Brad Roberts <braddr@puremagic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
                 CC|                            |braddr@puremagic.com
         Resolution|                            |DUPLICATE


--- Comment #6 from Brad Roberts <braddr@puremagic.com> 2012-07-22 20:00:50 PDT ---
Re-marking as a duplicate.  If you have further comments, please put them in the other bug report.

*** This issue has been marked as a duplicate of issue 3753 ***

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