[Issue 22729] dmd crushed and asked to report a bug

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 1 21:25:47 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=22729

--- Comment #8 from Alexey <animuspexus at protonmail.com> ---
got same bug again. I think this is about some mixture of interface recursion
and mixins. still couldn't triangulate the problem, but it disappears if I
comment out ': ContainerFunctionSetI' text in  source/dtk/interfaces/WidgetI.d
at line 24 . commited code with bug is here :
https://github.com/AnimusPEXUS/dtk/commit/2a415b4b5701dd7d62b3ec916f077b0fe56935cb

terminal bug report message:
-----------------
---
ERROR: This is a compiler bug.
Please report it via https://issues.dlang.org/enter_bug.cgi
with, preferably, a reduced, reproducible example and the information below.
DustMite (https://github.com/CyberShadow/DustMite/wiki) can help with the
reduction.
---
DMD v2.099.0
predefs   SDL_204 BindSDL_Static SDL_Image BindFT_Static
DTK_PLATFORM_SDL_DESKTOP Have_dtk Have_fontconfig Have_bindbc_freetype
Have_bindbc_sdl Have_observable Have_bindbc_loader Have_vibe_core
Have_eventcore Have_stdx_allocator EventcoreEpollDriver Have_taggedalgebraic
DigitalMars LittleEndian D_Version2 all D_SIMD Posix ELFv1 linux CRuntime_Glibc
CppRuntime_Gcc D_InlineAsm_X86_64 X86_64 D_LP64 D_PIC assert D_PreConditions
D_PostConditions D_ModuleInfo D_Exceptions D_TypeInfo D_HardFloat
binary    dmd
version   v2.099.0
config    /home/animus/dlang/d_v2.099.0/dmd/generated/linux/release/64/dmd.conf
DFLAGS   
-I/home/animus/dlang/d_v2.099.0/dmd/generated/linux/release/64/../../../../../druntime/import
-I/home/animus/dlang/d_v2.099.0/dmd/generated/linux/release/64/../../../../../phobos
-L-L/home/animus/dlang/d_v2.099.0/dmd/generated/linux/release/64/../../../../../phobos/generated/linux/release/64
-L--export-dynamic -fPIC
---
core.exception.AssertError@/home/animus/dlang/d_v2.099.0/dmd/src/dmd/root/array.d(310):
Assertion failure
----------------
??:? _d_assertp [0x9280f8]
/home/animus/dlang/d_v2.099.0/dmd/src/dmd/root/array.d:310 inout pure nothrow
@nogc @safe inout(dmd.dsymbol.Dsymbol)[]
dmd.root.array.Array!(dmd.dsymbol.Dsymbol).Array.opSlice(ulong, ulong)
[0x5c9186]
src/dmd/semantic2.d:626 void
dmd.semantic2.Semantic2Visitor.visit(dmd.dclass.ClassDeclaration).checkInterfaceImplementations(dmd.dclass.ClassDeclaration)
[0x786bae]
src/dmd/semantic2.d:668 _ZN16Semantic2Visitor5visitEP16ClassDeclaration
[0x786b0f]
src/dmd/dclass.d:1001 _ZN16ClassDeclaration6acceptEP7Visitor [0x65b045]
src/dmd/semantic2.d:79 _Z9semantic2P7DsymbolP5Scope [0x7855d5]
src/dmd/semantic2.d:337 _ZN16Semantic2Visitor5visitEP6Module [0x7860c0]
src/dmd/dmodule.d:1476 _ZN6Module6acceptEP7Visitor [0x681bd9]
src/dmd/semantic2.d:79 _Z9semantic2P7DsymbolP5Scope [0x7855d5]
src/dmd/semantic2.d:475 _ZN16Semantic2Visitor5visitEP6Import [0x7865fc]
src/dmd/dimport.d:356 _ZN6Import6acceptEP7Visitor [0x6630fe]
src/dmd/semantic2.d:79 _Z9semantic2P7DsymbolP5Scope [0x7855d5]
src/dmd/semantic2.d:337 _ZN16Semantic2Visitor5visitEP6Module [0x7860c0]
src/dmd/dmodule.d:1476 _ZN6Module6acceptEP7Visitor [0x681bd9]
src/dmd/semantic2.d:79 _Z9semantic2P7DsymbolP5Scope [0x7855d5]
src/dmd/semantic2.d:475 _ZN16Semantic2Visitor5visitEP6Import [0x7865fc]
src/dmd/dimport.d:356 _ZN6Import6acceptEP7Visitor [0x6630fe]
src/dmd/semantic2.d:79 _Z9semantic2P7DsymbolP5Scope [0x7855d5]
src/dmd/semantic2.d:337 _ZN16Semantic2Visitor5visitEP6Module [0x7860c0]
src/dmd/dmodule.d:1476 _ZN6Module6acceptEP7Visitor [0x681bd9]
src/dmd/semantic2.d:79 _Z9semantic2P7DsymbolP5Scope [0x7855d5]
src/dmd/semantic2.d:475 _ZN16Semantic2Visitor5visitEP6Import [0x7865fc]
src/dmd/dimport.d:356 _ZN6Import6acceptEP7Visitor [0x6630fe]
src/dmd/semantic2.d:79 _Z9semantic2P7DsymbolP5Scope [0x7855d5]
src/dmd/semantic2.d:337 _ZN16Semantic2Visitor5visitEP6Module [0x7860c0]
src/dmd/dmodule.d:1476 _ZN6Module6acceptEP7Visitor [0x681bd9]
src/dmd/semantic2.d:79 _Z9semantic2P7DsymbolP5Scope [0x7855d5]
src/dmd/semantic2.d:475 _ZN16Semantic2Visitor5visitEP6Import [0x7865fc]
src/dmd/dimport.d:356 _ZN6Import6acceptEP7Visitor [0x6630fe]
src/dmd/semantic2.d:79 _Z9semantic2P7DsymbolP5Scope [0x7855d5]
src/dmd/semantic2.d:337 _ZN16Semantic2Visitor5visitEP6Module [0x7860c0]
src/dmd/dmodule.d:1476 _ZN6Module6acceptEP7Visitor [0x681bd9]
src/dmd/semantic2.d:79 _Z9semantic2P7DsymbolP5Scope [0x7855d5]
src/dmd/semantic2.d:475 _ZN16Semantic2Visitor5visitEP6Import [0x7865fc]
src/dmd/dimport.d:356 _ZN6Import6acceptEP7Visitor [0x6630fe]
src/dmd/semantic2.d:79 _Z9semantic2P7DsymbolP5Scope [0x7855d5]
src/dmd/semantic2.d:337 _ZN16Semantic2Visitor5visitEP6Module [0x7860c0]
src/dmd/dmodule.d:1476 _ZN6Module6acceptEP7Visitor [0x681bd9]
src/dmd/semantic2.d:79 _Z9semantic2P7DsymbolP5Scope [0x7855d5]
src/dmd/semantic2.d:475 _ZN16Semantic2Visitor5visitEP6Import [0x7865fc]
src/dmd/dimport.d:356 _ZN6Import6acceptEP7Visitor [0x6630fe]
src/dmd/semantic2.d:79 _Z9semantic2P7DsymbolP5Scope [0x7855d5]
src/dmd/semantic2.d:337 _ZN16Semantic2Visitor5visitEP6Module [0x7860c0]
src/dmd/dmodule.d:1476 _ZN6Module6acceptEP7Visitor [0x681bd9]
src/dmd/semantic2.d:79 _Z9semantic2P7DsymbolP5Scope [0x7855d5]
src/dmd/semantic2.d:475 _ZN16Semantic2Visitor5visitEP6Import [0x7865fc]
src/dmd/dimport.d:356 _ZN6Import6acceptEP7Visitor [0x6630fe]
src/dmd/semantic2.d:79 _Z9semantic2P7DsymbolP5Scope [0x7855d5]
src/dmd/semantic2.d:337 _ZN16Semantic2Visitor5visitEP6Module [0x7860c0]
src/dmd/dmodule.d:1476 _ZN6Module6acceptEP7Visitor [0x681bd9]
src/dmd/semantic2.d:79 _Z9semantic2P7DsymbolP5Scope [0x7855d5]
src/dmd/semantic2.d:475 _ZN16Semantic2Visitor5visitEP6Import [0x7865fc]
src/dmd/dimport.d:356 _ZN6Import6acceptEP7Visitor [0x6630fe]
src/dmd/semantic2.d:79 _Z9semantic2P7DsymbolP5Scope [0x7855d5]
src/dmd/semantic2.d:337 _ZN16Semantic2Visitor5visitEP6Module [0x7860c0]
src/dmd/dmodule.d:1476 _ZN6Module6acceptEP7Visitor [0x681bd9]
src/dmd/semantic2.d:79 _Z9semantic2P7DsymbolP5Scope [0x7855d5]
src/dmd/mars.d:470 int dmd.mars.tryMain(ulong, const(char)**, ref
dmd.globals.Param) [0x60a16c]
src/dmd/mars.d:1002 _Dmain [0x60bf8d]
dmd failed with exit code 1.

--


More information about the Digitalmars-d-bugs mailing list