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