| Thread overview | |||||||||
|---|---|---|---|---|---|---|---|---|---|
|
October 16, 2016 [Issue 16618] Segmentation fault: 11 | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16618 --- Comment #1 from changlon <changlon@gmail.com> --- for v2.072.0-b2 ```sh struct embed(T) { T embed_instance ; @property payload() { return embed_instance ; } } class Bufferz { alias owner this ; Buffer* _owner ; auto owner() { return _owner ; } } struct Buffer { alias range this ; embed!Bufferz _range ; auto range() { return _range.payload ; } ref slice() { Slice; } pragma(inline) { } } ``` -- | ||||
October 16, 2016 [Issue 16618] Segmentation fault: 11 | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16618 ag0aep6g@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice CC| |ag0aep6g@gmail.com Severity|regression |normal --- Comment #2 from ag0aep6g@gmail.com --- (In reply to changlon from comment #1) Reduced/simplified further: ---- class Bufferz { alias owner this; Buffer owner() { return Buffer.init; } } struct Buffer { alias range this; Bufferz range() { return Bufferz.init; } void slice() { error; } } ---- You marked this as a regression, but you didn't specify which previous version of dmd doesn't have the problem. For a bug to be a regression, the code must have worked at some point. Downgrading to "normal". -- | ||||
October 16, 2016 [Issue 16618] Segmentation fault: 11 | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16618 Ketmar Dark <ketmar@ketmar.no-ip.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ketmar@ketmar.no-ip.org -- | ||||
July 21, 2017 [Issue 16618] [REG2.055] Segmentation fault in DMD with cyclic alias this and unknown identifier | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16618 Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Hardware|x86 |All Summary|Segmentation fault: 11 |[REG2.055] Segmentation | |fault in DMD with cyclic | |alias this and unknown | |identifier -- | ||||
October 25, 2018 [Issue 16618] [REG2.055] Segmentation fault in DMD with cyclic alias this and unknown identifier | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16618 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |razvan.nitu1305@gmail.com Resolution|--- |FIXED --- Comment #3 from RazvanN <razvan.nitu1305@gmail.com> --- Compiling this with dmd 2.081 issues: Error: undefined identifier embed_instance and no seg fault. Closing as fixed -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply