[Issue 11777] [ICE] Compiler segfault in `callfunc` in `e2ir.c`

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 24 04:35:09 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11777



--- Comment #5 from Denis Shelomovskij <verylonglogin.reg at gmail.com> 2013-12-24 16:35:06 MSK ---
The more precise issue trace:
1. There is a `Scope` with `fieldinit == enclosing->fieldinit`
2. This scope's `pop` `free`-s `fieldinit`.
3. `free`-d memory is reused for different purpose.
5. `pop` on another scope with same `enclosing` corrupts reused memory.
6. Same bad end.

Also in my case "another scope" is initially nested in the first scope (3-level
child, if we call 1-level a direct child).

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


More information about the Digitalmars-d-bugs mailing list