Got compiler crash in Mangler::mangleFuncType

Uranuz via Digitalmars-d digitalmars-d at puremagic.com
Sat Mar 25 00:25:03 PDT 2017


On Saturday, 25 March 2017 at 06:56:40 UTC, Uranuz wrote:
> After changes in my project tried to compile, but compiler 
> failed. Running dmd under GDB gives the following:
> Program received signal SIGSEGV, Segmentation fault.
> 0x00000000005807a0 in Mangler::mangleFuncType(TypeFunction*, 
> TypeFunction*, unsigned char, Type*) ()
>
> Could someone give me adivice how to investigate and maybe fix 
> this problem?

Switched to v2.073.2. Used this built version of compiler and got 
some additional messages from compiler:
src/mkk_site/view_service/access_control.d(25): Deprecation: 
mkk_site.view_service.utils.HTTPContext is not visible from 
module access_control
../ivy/src/ivy/interpreter.d-mixin-670(670): Error: undefined 
identifier '__cmp' in module 'object'
../ivy/src/ivy/interpreter.d-mixin-670(670): Error: undefined 
identifier '__cmp' in module 'object'
../ivy/src/ivy/interpreter.d-mixin-670(670): Error: undefined 
identifier '__cmp' in module 'object'
../ivy/src/ivy/interpreter.d-mixin-670(670): Error: undefined 
identifier '__cmp' in module 'object'
core.exception.AssertError at ddmd/func.d(1641): Assertion failure
----------------
??:? _d_assert [0x71c730]
??:? void ddmd.func.__assert(int) [0x5b52de]
??:? _ZN15FuncDeclaration9semantic3EP5Scope [0x5ab904]
??:? _ZN20AggregateDeclaration9semantic3EP5Scope [0x500a1f]
??:? _ZN16TemplateInstance9semantic3EP5Scope [0x5705fd]
??:? _ZN6Module9semantic3EP5Scope [0x552b19]
??:? int ddmd.mars.tryMain(ulong, const(char)**) [0x5da406]
??:? _Dmain [0x5db2c6]
??:? 
_D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFZv 
[0x71e5d7]
??:? void rt.dmain2._d_run_main(int, char**, extern (C) int 
function(char[][])*).tryExec(scope void delegate()) [0x71e503]
??:? void rt.dmain2._d_run_main(int, char**, extern (C) int 
function(char[][])*).runAll() [0x71e57c]
??:? void rt.dmain2._d_run_main(int, char**, extern (C) int 
function(char[][])*).tryExec(scope void delegate()) [0x71e503]
??:? _d_run_main [0x71e467]
??:? main [0x5dba67]
??:? __libc_start_main [0xcc85082f]


More information about the Digitalmars-d mailing list