digitalmars.D.bugs - [Issue 23155] New: 'dub run wayland:list_registry' leads to
- d-bugmail puremagic.com (175/175) Jun 03 2022 https://issues.dlang.org/show_bug.cgi?id=23155
https://issues.dlang.org/show_bug.cgi?id=23155 Issue ID: 23155 Summary: 'dub run wayland:list_registry' leads to 'core.exception.AssertError src/dmd/toctype.d(275): Assertion failure' Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: animuspexus protonmail.com running `dub run wayland:list_registry` leads to `core.exception.AssertError src/dmd/toctype.d(275): Assertion failure` complete terminal output: -------------------------------------- ``` [animus animus hello]$ dub run wayland:list_registry Building package wayland:list_registry in /home/animus/.dub/packages/wayland-0.2.0/wayland/examples/list_registry/ Warning: Sub package wayland:client, referenced by wayland:list_registry 0.2.0 must be referenced using the path to its base package Fetching derelict-util 2.0.6 (getting selected version)... Running pre-generate commands for wayland:client... Building package wayland:scanner in /home/animus/.dub/packages/wayland-0.2.0/wayland/scanner/ Performing "release" build using dmd for x86_64. wayland:scanner 0.2.0: building configuration "application"... scanner/source/arsd/characterencodings.d(184,1): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(87,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(102,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(197,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(211,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(231,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(272,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(287,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(311,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(335,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(355,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(377,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(389,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(781,1): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(1260,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(1457,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(1473,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(1499,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(1528,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(1556,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(1607,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(1634,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(1669,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(1795,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(1828,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(1868,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(1887,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(3244,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(4441,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(4449,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(4521,2): Deprecation: Usage of the `body` keyword is deprecated. Use `do` instead. scanner/source/arsd/dom.d(3281,3): Deprecation: foreach: loop index implicitly converted from `size_t` to `int` Linking... Running scanner/wayland_scanner -c client -m wayland.client.protocol -i /home/animus/.dub/packages/wayland-0.2.0/wayland/client/../protocol/wayland.xml -o /home/animus/.dub/packages/wayland-0.2.0/wayland/client/source/wayland/client/protocol.d Performing "debug" build using dmd for x86_64. wayland:client 0.2.0: building configuration "static"... --- 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.100.0 predefs WlStatic Have_wayland_client Have_wayland 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_Invariants D_ModuleInfo D_Exceptions D_TypeInfo D_HardFloat binary dmd version v2.100.0 config /home/animus/dlang/d_v2.100.0/dmd/generated/linux/release/64/dmd.conf DFLAGS -I/home/animus/dlang/d_v2.100.0/dmd/generated/linux/release/64/../../../../../druntime/import -I/home/animus/dlang/d_v2.100.0/dmd/generated/linux/release/64/../../../../../phobos -L-L/home/animus/dlang/d_v2.100.0/dmd/generated/linux/release/64/../../../../../phobos/generated/linux/release/64 -L--export-dynamic -fPIC --- core.exception.AssertError src/dmd/toctype.d(275): Assertion failure ---------------- ??:? _d_assertp [0x9388f4] src/dmd/toctype.d:275 dmd.backend.type.TYPE* dmd.toctype.Type_toCtype(dmd.mtype.Type).visitClass(dmd.mtype.TypeClass) [0x8115ce] src/dmd/toctype.d:305 _Z12Type_toCtypeP4Type [0x810b04] src/dmd/toctype.d:286 dmd.backend.type.TYPE* dmd.toctype.Type_toCtype(dmd.mtype.Type).visitClass(dmd.mtype.TypeClass) [0x811622] src/dmd/toctype.d:305 _Z12Type_toCtypeP4Type [0x810b04] src/dmd/toctype.d:140 dmd.backend.type.TYPE* dmd.toctype.Type_toCtype(dmd.mtype.Type).visitFunction(dmd.mtype.TypeFunction) [0x810e1d] src/dmd/toctype.d:301 _Z12Type_toCtypeP4Type [0x810aa8] src/dmd/tocsym.d:362 _ZN8toSymbol8ToSymbol5visitEP15FuncDeclaration [0x80fab4] src/dmd/parsetimevisitor.d:58 _ZN16ParseTimeVisitorI10ASTCodegenE5visitEP15CtorDeclaration [0x791cdd] src/dmd/func.d:3856 _ZN15CtorDeclaration6acceptEP7Visitor [0x72be59] src/dmd/tocsym.d:469 _Z8toSymbolP7Dsymbol [0x80f00e] src/dmd/glue.d:738 _Z25FuncDeclaration_toObjFileP15FuncDeclarationb [0x8027f0] src/dmd/toobj.d:314 _ZN9toObjFile9ToObjFile5visitEP15FuncDeclaration [0x819011] src/dmd/parsetimevisitor.d:58 _ZN16ParseTimeVisitorI10ASTCodegenE5visitEP15CtorDeclaration [0x791cdd] src/dmd/func.d:3856 _ZN15CtorDeclaration6acceptEP7Visitor [0x72be59] src/dmd/toobj.d:349 void dmd.toobj.toObjFile(dmd.dsymbol.Dsymbol, bool).ToObjFile.visit(dmd.dclass.ClassDeclaration).__lambda3!(dmd.dsymbol.Dsymbol).__lambda3(dmd.dsymbol.Dsymbol) [0x819429] src/dmd/dsymbol.d:105 void dmd.dsymbol.foreachDsymbol(dmd.root.array.Array!(dmd.dsymbol.Dsymbol).Array*, void delegate(dmd.dsymbol.Dsymbol)) [0x6a6693] src/dmd/toobj.d:349 _ZN9toObjFile9ToObjFile5visitEP16ClassDeclaration [0x819114] src/dmd/dclass.d:1001 _ZN16ClassDeclaration6acceptEP7Visitor [0x667bcd] src/dmd/toobj.d:1015 _Z9toObjFileP7Dsymbolb [0x818f78] src/dmd/glue.d:522 _Z10genObjFileP6Moduleb [0x801e13] src/dmd/glue.d:244 void dmd.glue.obj_write_deferred(ref dmd.common.outbuffer.OutBuffer, dmd.lib.Library, ref dmd.root.array.Array!(dmd.dsymbol.Dsymbol).Array) [0x801346] src/dmd/glue.d:139 void dmd.glue.generateCodeAndWrite(dmd.dmodule.Module[], const(char)*[], const(char)[], const(char)[], bool, bool, bool, bool, bool) [0x80083a] src/dmd/mars.d:576 int dmd.mars.tryMain(ulong, const(char)**, ref dmd.globals.Param) [0x6170d2] src/dmd/mars.d:958 _Dmain [0x618621] dmd failed with exit code 1. [animus animus hello]$ ``` -------------------------------------- --
Jun 03 2022