Thread overview
[Issue 20830] dmd 2.092.0 crashes during compilation.
[Issue 20830] Segfault for multiple duplicate interfaces
May 14, 2020
Dlang Bot
May 23, 2020
Dlang Bot
May 14, 2020
https://issues.dlang.org/show_bug.cgi?id=20830

moonlightsentinel@disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |moonlightsentinel@disroot.o
                   |                            |rg
           Hardware|x86_64                      |All
           Severity|major                       |regression

--- Comment #1 from moonlightsentinel@disroot.org ---
Reduced test case:

=================================
interface T { }
class D : T, T, T { }
=================================

This is a regression from 2.066.0

Up to      2.065.0: Failure with output:
-----
onlineapp.d(2): Error: class onlineapp.D inherits from duplicate interface T
onlineapp.d(2): Error: class onlineapp.D inherits from duplicate interface T
onlineapp.d(2): Error: class onlineapp.D inherits from duplicate interface T
-----

2.066.0 to 2.078.1: Segfault with output: onlineapp.d(2): Error: class
onlineapp.D inherits from duplicate interface T
Since      2.079.1: Segfault with output: onlineapp.d(2): Error: class
`onlineapp.D` inherits from duplicate interface `T`

--
May 14, 2020
https://issues.dlang.org/show_bug.cgi?id=20830

moonlightsentinel@disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|dmd 2.092.0 crashes during  |Segfault for multiple
                   |compilation.                |duplicate interfaces

--
May 14, 2020
https://issues.dlang.org/show_bug.cgi?id=20830

Dlang Bot <dlang-bot@dlang.rocks> changed:

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

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@MoonlightSentinel created dlang/dmd pull request #11142 "Fix Issue 20830 - Segfault for multiple duplicate interfaces" fixing this issue:

- Fix Issue 20830 - Segfault for multiple duplicate interfaces

https://github.com/dlang/dmd/pull/11142

--
May 23, 2020
https://issues.dlang.org/show_bug.cgi?id=20830

Dlang Bot <dlang-bot@dlang.rocks> changed:

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

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/dmd pull request #11142 "Fix Issue 20830 - Segfault for multiple duplicate interfaces" was merged into stable:

- 6e0e5a9eb5e492a2e8fd3bce2ad660339a4f3e39 by MoonlightSentinel:
  Fix Issue 20830 - Segfault for multiple duplicate interfaces

https://github.com/dlang/dmd/pull/11142

--