Bug 11776 – [ICE] Assertion failure: 'tf->next == NULL' on line 119 in file 'mangle.c'

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-12-19T09:06:00Z
Last change time
2014-01-15T09:44:35Z
Keywords
ice, pull
Assigned to
nobody
Creator
verylonglogin.reg

Comments

Comment #0 by verylonglogin.reg — 2013-12-19T09:06:50Z
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
Comment #1 by yebblies — 2013-12-21T05:17:16Z
You know we're going to need more than that. Have you tried dustmite on the segfaulting program? Do you have a stack trace?
Comment #2 by k.hara.pg — 2013-12-21T05:35:38Z
We're not ESPers. Without test case, we cannot recognize the issue you argue. I change status to 'RESOLVED LATER'.
Comment #3 by verylonglogin.reg — 2013-12-22T00:28:47Z
(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' ---
Comment #4 by k.hara.pg — 2013-12-22T04:53:57Z
> 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
Comment #5 by github-bugzilla — 2013-12-22T05:39:26Z
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'
Comment #6 by github-bugzilla — 2013-12-22T16:17:07Z
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'
Comment #7 by github-bugzilla — 2014-01-15T09:44:35Z