www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11776] New: [ICE] Assertion failure: 'tf->next == NULL' on line 119 in file 'mangle.c'

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

           Summary: [ICE] Assertion failure: 'tf->next == NULL' on line
                    119 in file 'mangle.c'
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: verylonglogin.reg gmail.com


--- Comment #0 from Denis Shelomovskij <verylonglogin.reg gmail.com> 2013-12-19
21:06:50 MSK ---
The issue is caused by dmd pull 2953 [1] which fixed issue 11718.

Sorry, the testcase is big and proprietary and can be only obtained directly
from the issue author by e-mailing him.

[1] https://github.com/D-Programming-Language/dmd/pull/2953

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 19 2013
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11776


yebblies <yebblies gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yebblies gmail.com


--- Comment #1 from yebblies <yebblies gmail.com> 2013-12-22 00:17:16 EST ---
You know we're going to need more than that.  Have you tried dustmite on the
segfaulting program?  Do you have a stack trace?

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 21 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11776


Kenji Hara <k.hara.pg gmail.com> changed:

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


--- Comment #2 from Kenji Hara <k.hara.pg gmail.com> 2013-12-21 05:35:38 PST ---
We're not ESPers. Without test case, we cannot recognize the issue you argue.

I change status to 'RESOLVED LATER'.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 21 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11776


Denis Shelomovskij <verylonglogin.reg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|LATER                       |


--- Comment #3 from Denis Shelomovskij <verylonglogin.reg gmail.com> 2013-12-22
12:28:47 MSK ---
(In reply to comment #1)
 You know we're going to need more than that.  Have you tried dustmite on the
 segfaulting program?  Do you have a stack trace?

(In reply to comment #2)
 We're not ESPers. Without test case, we cannot recognize the issue you argue.
 
 I change status to 'RESOLVED LATER'.

You are free to get testcase by e-mail as I wrote. Also there is e.g. TeamViewer to easily debug on remote PC without the need to set up the envirenment. Anyway, it's my bad to not reduce it. Sorry, I had some time today so here is it: This code should compile: --- struct S(alias fun) { } void f() { auto g = () { if(1) return; if(1) auto s = S!(a => 1)(); }; } --- Assertion failure: 'tf->next == NULL' on line 119 in file 'mangle.c' --- -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 22 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11776


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull


--- Comment #4 from Kenji Hara <k.hara.pg gmail.com> 2013-12-22 04:53:57 PST ---
 Anyway, it's my bad to not reduce it. Sorry, I had some time today so here is
 it:
 
 
 This code should compile:
 ---
 struct S(alias fun) { }
 
 void f()
 {
     auto g = ()
     {
         if(1) return;
         if(1) auto s = S!(a => 1)();
     };
 }
 ---
 Assertion failure: 'tf->next == NULL' on line 119 in file 'mangle.c'
 ---

Thank you. https://github.com/D-Programming-Language/dmd/pull/3008 -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Dec 22 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11776



--- Comment #5 from github-bugzilla puremagic.com 2013-12-22 05:39:26 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/f9989f349357f46a8ebe7f3b41b1b2fa1e0a0d3d
fix Issue 11776 - [ICE] Assertion failure: 'tf->next == NULL' on line 119 in
file 'mangle.c'

https://github.com/D-Programming-Language/dmd/commit/b1a58649add59bc76ffeb1aed7a391a6aa2dd31e
Merge pull request #3008 from 9rnsr/fix11776

[REG2.065a] Issue 11776 - [ICE] Assertion failure: 'tf->next == NULL' on line
119 in file 'mangle.c'

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 22 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11776


yebblies <yebblies gmail.com> changed:

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


-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 22 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11776



--- Comment #6 from github-bugzilla puremagic.com 2013-12-22 16:17:07 PST ---
Commit pushed to 2.065 at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/e47a19435612d70e82cf7f04dfce00cd2218e4bf
Merge pull request #3008 from 9rnsr/fix11776

[REG2.065a] Issue 11776 - [ICE] Assertion failure: 'tf->next == NULL' on line
119 in file 'mangle.c'

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 22 2013
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11776



--- Comment #7 from github-bugzilla puremagic.com 2014-01-15 09:44:35 PST ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/e47a19435612d70e82cf7f04dfce00cd2218e4bf
Merge pull request #3008 from 9rnsr/fix11776

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