[Bug 1620681] [NEW] ICE when building appstream-generator

Iain Lane iain at orangesquash.org.uk
Tue Sep 6 15:34:47 UTC 2016


Public bug reported:

When building appstream-generator incrementally (i.e. with meson, see
attached script which you can run in a chroot), gdc-6 crashes

FAILED: appstream-generator at exe/source_backends_archlinux_alpkg.d.o 
gdc-6  '-Iappstream-generator at exe' '-fdiagnostics-color=always' '-I..' '-I.' '-Isource/' '-I../source/' '-Isource/bindings/auto' '-I../source/bindings/auto' '-I/usr/include/d/mustache-d/src' '-I/usr/include/d/mustache-d/src' '-Wall' '-Wdeprecated' '-Wl,--push-state,-no-as-needed -lcurl -Wl,--pop-state' '-g' '-O0' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/AppStream' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/cairo' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/pixman-1' '-I/usr/include/freetype2' '-I/usr/include/libpng16' '-pthread' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng16' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/librsvg-2.0' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng16' '-I/usr/include/cairo' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/pixman-1' '-I/usr/include/freetype2' '-I/usr/include/libpng16' '-I/usr/include/freetype2'  -o 'appstream-generator at exe/source_backends_archlinux_alpkg.d.o' -c ../source/backends/archlinux/alpkg.d
cc1d: ../../src/gcc/d/dfrontend/mangle.c:384: void Mangler::mangleFunc(FuncDeclaration*, bool): Assertion `0' failed.
[/usr/lib/gcc/x86_64-linux-gnu/6/include/d/std/range/package.d:795:6] chain (ByCodeUnitImpl _param_0, OnlyResult!(char, 1LU) _param_1, ByCodeUnitImpl _param_2)
../source/backends/archlinux/alpkg.d:28:8: internal compiler error: Aborted
 import backends.interfaces;
        ^
0xad169f crash_signal
	../../src/gcc/toplev.c:333
0x6af86e Mangler::mangleFunc(FuncDeclaration*, bool)
	../../src/gcc/d/dfrontend/mangle.c:384
0x6ae518 mangleExact(FuncDeclaration*)
	../../src/gcc/d/dfrontend/mangle.c:877
0x71ea95 FuncDeclaration::toSymbol()
	../../src/gcc/d/d-decls.cc:304
0x71feeb d_decl_context(Dsymbol*)
	../../src/gcc/d/d-codegen.cc:313
0x74dc90 TypeVisitor::visit(TypeStruct*)
	../../src/gcc/d/types.cc:275
0x74d95d build_ctype(Type*)
	../../src/gcc/d/types.cc:503
0x71f432 AggregateDeclaration::toInitializer()
	../../src/gcc/d/d-decls.cc:720
0x65ac7c CallExp::semantic(Scope*)
	../../src/gcc/d/dfrontend/expression.c:8462
0x6f4e4f ReturnStatement::semantic(Scope*)
	../../src/gcc/d/dfrontend/statement.c:3900
0x6f25d1 CompoundStatement::semantic(Scope*)
	../../src/gcc/d/dfrontend/statement.c:1165
0x677b74 FuncDeclaration::semantic3(Scope*)
	../../src/gcc/d/dfrontend/func.c:1559
0x6ffc83 TemplateInstance::semantic3(Scope*)
	../../src/gcc/d/dfrontend/template.c:7618
0x7063b2 TemplateInstance::trySemantic3(Scope*)
	../../src/gcc/d/dfrontend/template.c:5811
0x70c8ce TemplateInstance::semantic(Scope*, Array<Expression*>*)
	../../src/gcc/d/dfrontend/template.c:6213
0x70cd09 functionResolve(Match*, Dsymbol*, Loc, Scope*, Array<RootObject*>*, Type*, Array<Expression*>*)
	../../src/gcc/d/dfrontend/template.c:2578
0x671329 resolveFuncCall(Loc, Scope*, Dsymbol*, Array<RootObject*>*, Type*, Array<Expression*>*, int)
	../../src/gcc/d/dfrontend/func.c:3320
0x658512 CallExp::semantic(Scope*)
	../../src/gcc/d/dfrontend/expression.c:8853
0x6f4e4f ReturnStatement::semantic(Scope*)
	../../src/gcc/d/dfrontend/statement.c:3900
0x6f25d1 CompoundStatement::semantic(Scope*)
	../../src/gcc/d/dfrontend/statement.c:1165
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
[27/698] gdc-6  '-Iappstream-generator at exe' '-fdiagnostics-color=always' '-I..' '-I.' '-Isource/' '-I../source/' '-Isource/bindings/auto' '-I../source/bindings/auto' '-I/usr/include/d/mustache-d/src' '-I/usr/include/d/mustache-d/src' '-Wall' '-Wdeprecated' '-Wl,--push-state,-no-as-needed -lcurl -Wl,--pop-state' '-g' '-O0' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/AppStream' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/cairo' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/pixman-1' '-I/usr/include/freetype2' '-I/usr/include/libpng16' '-pthread' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng16' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/librsvg-2.0' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng16' '-I/usr/include/cairo' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/pixman-1' '-I/usr/include/freetype2' '-I/usr/include/libpng16' '-I/usr/include/freetype2'  -o 'appstream-generator at exe/source_image.d.o' -c ../source/image.d
[28/698] gdc-6  '-Iappstream-generator at exe' '-fdiagnostics-color=always' '-I..' '-I.' '-Isource/' '-I../source/' '-Isource/bindings/auto' '-I../source/bindings/auto' '-I/usr/include/d/mustache-d/src' '-I/usr/include/d/mustache-d/src' '-Wall' '-Wdeprecated' '-Wl,--push-state,-no-as-needed -lcurl -Wl,--pop-state' '-g' '-O0' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/AppStream' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/cairo' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/pixman-1' '-I/usr/include/freetype2' '-I/usr/include/libpng16' '-pthread' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng16' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/librsvg-2.0' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng16' '-I/usr/include/cairo' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/pixman-1' '-I/usr/include/freetype2' '-I/usr/include/libpng16' '-I/usr/include/freetype2'  -o 'appstream-generator at exe/source_handlers_desktopparser.d.o' -c ../source/handlers/desktopparser.d
[29/698] gdc-6  '-Iappstream-generator at exe' '-fdiagnostics-color=always' '-I..' '-I.' '-Isource/' '-I../source/' '-Isource/bindings/auto' '-I../source/bindings/auto' '-I/usr/include/d/mustache-d/src' '-I/usr/include/d/mustache-d/src' '-Wall' '-Wdeprecated' '-Wl,--push-state,-no-as-needed -lcurl -Wl,--pop-state' '-g' '-O0' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/AppStream' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/cairo' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/pixman-1' '-I/usr/include/freetype2' '-I/usr/include/libpng16' '-pthread' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng16' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/librsvg-2.0' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng16' '-I/usr/include/cairo' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/pixman-1' '-I/usr/include/freetype2' '-I/usr/include/libpng16' '-I/usr/include/freetype2'  -o 'appstream-generator at exe/source_backends_debian_package.d.o' -c ../source/backends/debian/package.d
[30/698] gdc-6  '-Iappstream-generator at exe' '-fdiagnostics-color=always' '-I..' '-I.' '-Isource/' '-I../source/' '-Isource/bindings/auto' '-I../source/bindings/auto' '-I/usr/include/d/mustache-d/src' '-I/usr/include/d/mustache-d/src' '-Wall' '-Wdeprecated' '-Wl,--push-state,-no-as-needed -lcurl -Wl,--pop-state' '-g' '-O0' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/AppStream' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/cairo' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/pixman-1' '-I/usr/include/freetype2' '-I/usr/include/libpng16' '-pthread' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng16' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/librsvg-2.0' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng16' '-I/usr/include/cairo' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/pixman-1' '-I/usr/include/freetype2' '-I/usr/include/libpng16' '-I/usr/include/freetype2'  -o 'appstream-generator at exe/source_backends_dummy_dummypkg.d.o' -c ../source/backends/dummy/dummypkg.d
[31/698] gdc-6  '-Iappstream-generator at exe' '-fdiagnostics-color=always' '-I..' '-I.' '-Isource/' '-I../source/' '-Isource/bindings/auto' '-I../source/bindings/auto' '-I/usr/include/d/mustache-d/src' '-I/usr/include/d/mustache-d/src' '-Wall' '-Wdeprecated' '-Wl,--push-state,-no-as-needed -lcurl -Wl,--pop-state' '-g' '-O0' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/AppStream' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/cairo' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/pixman-1' '-I/usr/include/freetype2' '-I/usr/include/libpng16' '-pthread' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng16' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/librsvg-2.0' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng16' '-I/usr/include/cairo' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/pixman-1' '-I/usr/include/freetype2' '-I/usr/include/libpng16' '-I/usr/include/freetype2'  -o 'appstream-generator at exe/source_backends_debian_debpkg.d.o' -c ../source/backends/debian/debpkg.d
FAILED: appstream-generator at exe/source_backends_debian_debpkg.d.o 
gdc-6  '-Iappstream-generator at exe' '-fdiagnostics-color=always' '-I..' '-I.' '-Isource/' '-I../source/' '-Isource/bindings/auto' '-I../source/bindings/auto' '-I/usr/include/d/mustache-d/src' '-I/usr/include/d/mustache-d/src' '-Wall' '-Wdeprecated' '-Wl,--push-state,-no-as-needed -lcurl -Wl,--pop-state' '-g' '-O0' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/AppStream' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/cairo' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/pixman-1' '-I/usr/include/freetype2' '-I/usr/include/libpng16' '-pthread' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng16' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/librsvg-2.0' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng16' '-I/usr/include/cairo' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/pixman-1' '-I/usr/include/freetype2' '-I/usr/include/libpng16' '-I/usr/include/freetype2'  -o 'appstream-generator at exe/source_backends_debian_debpkg.d.o' -c ../source/backends/debian/debpkg.d
cc1d: ../../src/gcc/d/dfrontend/mangle.c:384: void Mangler::mangleFunc(FuncDeclaration*, bool): Assertion `0' failed.
[/usr/lib/gcc/x86_64-linux-gnu/6/include/d/std/range/package.d:795:6] chain (ByCodeUnitImpl _param_0, OnlyResult!(char, 1LU) _param_1, ByCodeUnitImpl _param_2)
../source/backends/debian/debpkg.d:97:22: internal compiler error: Aborted
         desc[locale] = text;
                      ^
0xad169f crash_signal
	../../src/gcc/toplev.c:333
0x6af86e Mangler::mangleFunc(FuncDeclaration*, bool)
	../../src/gcc/d/dfrontend/mangle.c:384
0x6ae518 mangleExact(FuncDeclaration*)
	../../src/gcc/d/dfrontend/mangle.c:877
0x71ea95 FuncDeclaration::toSymbol()
	../../src/gcc/d/d-decls.cc:304
0x71feeb d_decl_context(Dsymbol*)
	../../src/gcc/d/d-codegen.cc:313
0x74dc90 TypeVisitor::visit(TypeStruct*)
	../../src/gcc/d/types.cc:275
0x74d95d build_ctype(Type*)
	../../src/gcc/d/types.cc:503
0x71f432 AggregateDeclaration::toInitializer()
	../../src/gcc/d/d-decls.cc:720
0x65ac7c CallExp::semantic(Scope*)
	../../src/gcc/d/dfrontend/expression.c:8462
0x6f4e4f ReturnStatement::semantic(Scope*)
	../../src/gcc/d/dfrontend/statement.c:3900
0x6f25d1 CompoundStatement::semantic(Scope*)
	../../src/gcc/d/dfrontend/statement.c:1165
0x677b74 FuncDeclaration::semantic3(Scope*)
	../../src/gcc/d/dfrontend/func.c:1559
0x6ffc83 TemplateInstance::semantic3(Scope*)
	../../src/gcc/d/dfrontend/template.c:7618
0x7063b2 TemplateInstance::trySemantic3(Scope*)
	../../src/gcc/d/dfrontend/template.c:5811
0x70c8ce TemplateInstance::semantic(Scope*, Array<Expression*>*)
	../../src/gcc/d/dfrontend/template.c:6213
0x70cd09 functionResolve(Match*, Dsymbol*, Loc, Scope*, Array<RootObject*>*, Type*, Array<Expression*>*)
	../../src/gcc/d/dfrontend/template.c:2578
0x671329 resolveFuncCall(Loc, Scope*, Dsymbol*, Array<RootObject*>*, Type*, Array<Expression*>*, int)
	../../src/gcc/d/dfrontend/func.c:3320
0x658512 CallExp::semantic(Scope*)
	../../src/gcc/d/dfrontend/expression.c:8853
0x6f4e4f ReturnStatement::semantic(Scope*)
	../../src/gcc/d/dfrontend/statement.c:3900
0x6f25d1 CompoundStatement::semantic(Scope*)
	../../src/gcc/d/dfrontend/statement.c:1165
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: gdc-6 6.2.0-3ubuntu11
ProcVersionSignature: Ubuntu 4.4.0-9136.55-generic 4.4.16
Uname: Linux 4.4.0-9136-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.3-0ubuntu7
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Sep  6 16:29:51 2016
InstallationDate: Installed on 2015-06-05 (459 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150605)
SourcePackage: gcc-6
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gcc-6 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug yakkety

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-6 in Ubuntu.
https://bugs.launchpad.net/bugs/1620681

Title:
  ICE when building appstream-generator

Status in gcc-6 package in Ubuntu:
  New

Bug description:
  When building appstream-generator incrementally (i.e. with meson, see
  attached script which you can run in a chroot), gdc-6 crashes

  FAILED: appstream-generator at exe/source_backends_archlinux_alpkg.d.o 
  gdc-6  '-Iappstream-generator at exe' '-fdiagnostics-color=always' '-I..' '-I.' '-Isource/' '-I../source/' '-Isource/bindings/auto' '-I../source/bindings/auto' '-I/usr/include/d/mustache-d/src' '-I/usr/include/d/mustache-d/src' '-Wall' '-Wdeprecated' '-Wl,--push-state,-no-as-needed -lcurl -Wl,--pop-state' '-g' '-O0' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/AppStream' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/cairo' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/pixman-1' '-I/usr/include/freetype2' '-I/usr/include/libpng16' '-pthread' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng16' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/librsvg-2.0' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng16' '-I/usr/include/cairo' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/pixman-1' '-I/usr/include/freetype2' '-I/usr/include/libpng16' '-I/usr/include/freetype2'  -o 'appstream-generator at exe/source_backends_archlinux_alpkg.d.o' -c ../source/backends/archlinux/alpkg.d
  cc1d: ../../src/gcc/d/dfrontend/mangle.c:384: void Mangler::mangleFunc(FuncDeclaration*, bool): Assertion `0' failed.
  [/usr/lib/gcc/x86_64-linux-gnu/6/include/d/std/range/package.d:795:6] chain (ByCodeUnitImpl _param_0, OnlyResult!(char, 1LU) _param_1, ByCodeUnitImpl _param_2)
  ../source/backends/archlinux/alpkg.d:28:8: internal compiler error: Aborted
   import backends.interfaces;
          ^
  0xad169f crash_signal
  	../../src/gcc/toplev.c:333
  0x6af86e Mangler::mangleFunc(FuncDeclaration*, bool)
  	../../src/gcc/d/dfrontend/mangle.c:384
  0x6ae518 mangleExact(FuncDeclaration*)
  	../../src/gcc/d/dfrontend/mangle.c:877
  0x71ea95 FuncDeclaration::toSymbol()
  	../../src/gcc/d/d-decls.cc:304
  0x71feeb d_decl_context(Dsymbol*)
  	../../src/gcc/d/d-codegen.cc:313
  0x74dc90 TypeVisitor::visit(TypeStruct*)
  	../../src/gcc/d/types.cc:275
  0x74d95d build_ctype(Type*)
  	../../src/gcc/d/types.cc:503
  0x71f432 AggregateDeclaration::toInitializer()
  	../../src/gcc/d/d-decls.cc:720
  0x65ac7c CallExp::semantic(Scope*)
  	../../src/gcc/d/dfrontend/expression.c:8462
  0x6f4e4f ReturnStatement::semantic(Scope*)
  	../../src/gcc/d/dfrontend/statement.c:3900
  0x6f25d1 CompoundStatement::semantic(Scope*)
  	../../src/gcc/d/dfrontend/statement.c:1165
  0x677b74 FuncDeclaration::semantic3(Scope*)
  	../../src/gcc/d/dfrontend/func.c:1559
  0x6ffc83 TemplateInstance::semantic3(Scope*)
  	../../src/gcc/d/dfrontend/template.c:7618
  0x7063b2 TemplateInstance::trySemantic3(Scope*)
  	../../src/gcc/d/dfrontend/template.c:5811
  0x70c8ce TemplateInstance::semantic(Scope*, Array<Expression*>*)
  	../../src/gcc/d/dfrontend/template.c:6213
  0x70cd09 functionResolve(Match*, Dsymbol*, Loc, Scope*, Array<RootObject*>*, Type*, Array<Expression*>*)
  	../../src/gcc/d/dfrontend/template.c:2578
  0x671329 resolveFuncCall(Loc, Scope*, Dsymbol*, Array<RootObject*>*, Type*, Array<Expression*>*, int)
  	../../src/gcc/d/dfrontend/func.c:3320
  0x658512 CallExp::semantic(Scope*)
  	../../src/gcc/d/dfrontend/expression.c:8853
  0x6f4e4f ReturnStatement::semantic(Scope*)
  	../../src/gcc/d/dfrontend/statement.c:3900
  0x6f25d1 CompoundStatement::semantic(Scope*)
  	../../src/gcc/d/dfrontend/statement.c:1165
  Please submit a full bug report,
  with preprocessed source if appropriate.
  Please include the complete backtrace with any bug report.
  See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
  [27/698] gdc-6  '-Iappstream-generator at exe' '-fdiagnostics-color=always' '-I..' '-I.' '-Isource/' '-I../source/' '-Isource/bindings/auto' '-I../source/bindings/auto' '-I/usr/include/d/mustache-d/src' '-I/usr/include/d/mustache-d/src' '-Wall' '-Wdeprecated' '-Wl,--push-state,-no-as-needed -lcurl -Wl,--pop-state' '-g' '-O0' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/AppStream' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/cairo' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/pixman-1' '-I/usr/include/freetype2' '-I/usr/include/libpng16' '-pthread' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng16' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/librsvg-2.0' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng16' '-I/usr/include/cairo' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/pixman-1' '-I/usr/include/freetype2' '-I/usr/include/libpng16' '-I/usr/include/freetype2'  -o 'appstream-generator at exe/source_image.d.o' -c ../source/image.d
  [28/698] gdc-6  '-Iappstream-generator at exe' '-fdiagnostics-color=always' '-I..' '-I.' '-Isource/' '-I../source/' '-Isource/bindings/auto' '-I../source/bindings/auto' '-I/usr/include/d/mustache-d/src' '-I/usr/include/d/mustache-d/src' '-Wall' '-Wdeprecated' '-Wl,--push-state,-no-as-needed -lcurl -Wl,--pop-state' '-g' '-O0' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/AppStream' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/cairo' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/pixman-1' '-I/usr/include/freetype2' '-I/usr/include/libpng16' '-pthread' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng16' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/librsvg-2.0' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng16' '-I/usr/include/cairo' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/pixman-1' '-I/usr/include/freetype2' '-I/usr/include/libpng16' '-I/usr/include/freetype2'  -o 'appstream-generator at exe/source_handlers_desktopparser.d.o' -c ../source/handlers/desktopparser.d
  [29/698] gdc-6  '-Iappstream-generator at exe' '-fdiagnostics-color=always' '-I..' '-I.' '-Isource/' '-I../source/' '-Isource/bindings/auto' '-I../source/bindings/auto' '-I/usr/include/d/mustache-d/src' '-I/usr/include/d/mustache-d/src' '-Wall' '-Wdeprecated' '-Wl,--push-state,-no-as-needed -lcurl -Wl,--pop-state' '-g' '-O0' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/AppStream' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/cairo' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/pixman-1' '-I/usr/include/freetype2' '-I/usr/include/libpng16' '-pthread' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng16' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/librsvg-2.0' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng16' '-I/usr/include/cairo' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/pixman-1' '-I/usr/include/freetype2' '-I/usr/include/libpng16' '-I/usr/include/freetype2'  -o 'appstream-generator at exe/source_backends_debian_package.d.o' -c ../source/backends/debian/package.d
  [30/698] gdc-6  '-Iappstream-generator at exe' '-fdiagnostics-color=always' '-I..' '-I.' '-Isource/' '-I../source/' '-Isource/bindings/auto' '-I../source/bindings/auto' '-I/usr/include/d/mustache-d/src' '-I/usr/include/d/mustache-d/src' '-Wall' '-Wdeprecated' '-Wl,--push-state,-no-as-needed -lcurl -Wl,--pop-state' '-g' '-O0' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/AppStream' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/cairo' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/pixman-1' '-I/usr/include/freetype2' '-I/usr/include/libpng16' '-pthread' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng16' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/librsvg-2.0' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng16' '-I/usr/include/cairo' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/pixman-1' '-I/usr/include/freetype2' '-I/usr/include/libpng16' '-I/usr/include/freetype2'  -o 'appstream-generator at exe/source_backends_dummy_dummypkg.d.o' -c ../source/backends/dummy/dummypkg.d
  [31/698] gdc-6  '-Iappstream-generator at exe' '-fdiagnostics-color=always' '-I..' '-I.' '-Isource/' '-I../source/' '-Isource/bindings/auto' '-I../source/bindings/auto' '-I/usr/include/d/mustache-d/src' '-I/usr/include/d/mustache-d/src' '-Wall' '-Wdeprecated' '-Wl,--push-state,-no-as-needed -lcurl -Wl,--pop-state' '-g' '-O0' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/AppStream' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/cairo' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/pixman-1' '-I/usr/include/freetype2' '-I/usr/include/libpng16' '-pthread' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng16' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/librsvg-2.0' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng16' '-I/usr/include/cairo' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/pixman-1' '-I/usr/include/freetype2' '-I/usr/include/libpng16' '-I/usr/include/freetype2'  -o 'appstream-generator at exe/source_backends_debian_debpkg.d.o' -c ../source/backends/debian/debpkg.d
  FAILED: appstream-generator at exe/source_backends_debian_debpkg.d.o 
  gdc-6  '-Iappstream-generator at exe' '-fdiagnostics-color=always' '-I..' '-I.' '-Isource/' '-I../source/' '-Isource/bindings/auto' '-I../source/bindings/auto' '-I/usr/include/d/mustache-d/src' '-I/usr/include/d/mustache-d/src' '-Wall' '-Wdeprecated' '-Wl,--push-state,-no-as-needed -lcurl -Wl,--pop-state' '-g' '-O0' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/AppStream' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/cairo' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/pixman-1' '-I/usr/include/freetype2' '-I/usr/include/libpng16' '-pthread' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng16' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-pthread' '-I/usr/include/librsvg-2.0' '-I/usr/include/gdk-pixbuf-2.0' '-I/usr/include/libpng16' '-I/usr/include/cairo' '-I/usr/include/glib-2.0' '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include' '-I/usr/include/pixman-1' '-I/usr/include/freetype2' '-I/usr/include/libpng16' '-I/usr/include/freetype2'  -o 'appstream-generator at exe/source_backends_debian_debpkg.d.o' -c ../source/backends/debian/debpkg.d
  cc1d: ../../src/gcc/d/dfrontend/mangle.c:384: void Mangler::mangleFunc(FuncDeclaration*, bool): Assertion `0' failed.
  [/usr/lib/gcc/x86_64-linux-gnu/6/include/d/std/range/package.d:795:6] chain (ByCodeUnitImpl _param_0, OnlyResult!(char, 1LU) _param_1, ByCodeUnitImpl _param_2)
  ../source/backends/debian/debpkg.d:97:22: internal compiler error: Aborted
           desc[locale] = text;
                        ^
  0xad169f crash_signal
  	../../src/gcc/toplev.c:333
  0x6af86e Mangler::mangleFunc(FuncDeclaration*, bool)
  	../../src/gcc/d/dfrontend/mangle.c:384
  0x6ae518 mangleExact(FuncDeclaration*)
  	../../src/gcc/d/dfrontend/mangle.c:877
  0x71ea95 FuncDeclaration::toSymbol()
  	../../src/gcc/d/d-decls.cc:304
  0x71feeb d_decl_context(Dsymbol*)
  	../../src/gcc/d/d-codegen.cc:313
  0x74dc90 TypeVisitor::visit(TypeStruct*)
  	../../src/gcc/d/types.cc:275
  0x74d95d build_ctype(Type*)
  	../../src/gcc/d/types.cc:503
  0x71f432 AggregateDeclaration::toInitializer()
  	../../src/gcc/d/d-decls.cc:720
  0x65ac7c CallExp::semantic(Scope*)
  	../../src/gcc/d/dfrontend/expression.c:8462
  0x6f4e4f ReturnStatement::semantic(Scope*)
  	../../src/gcc/d/dfrontend/statement.c:3900
  0x6f25d1 CompoundStatement::semantic(Scope*)
  	../../src/gcc/d/dfrontend/statement.c:1165
  0x677b74 FuncDeclaration::semantic3(Scope*)
  	../../src/gcc/d/dfrontend/func.c:1559
  0x6ffc83 TemplateInstance::semantic3(Scope*)
  	../../src/gcc/d/dfrontend/template.c:7618
  0x7063b2 TemplateInstance::trySemantic3(Scope*)
  	../../src/gcc/d/dfrontend/template.c:5811
  0x70c8ce TemplateInstance::semantic(Scope*, Array<Expression*>*)
  	../../src/gcc/d/dfrontend/template.c:6213
  0x70cd09 functionResolve(Match*, Dsymbol*, Loc, Scope*, Array<RootObject*>*, Type*, Array<Expression*>*)
  	../../src/gcc/d/dfrontend/template.c:2578
  0x671329 resolveFuncCall(Loc, Scope*, Dsymbol*, Array<RootObject*>*, Type*, Array<Expression*>*, int)
  	../../src/gcc/d/dfrontend/func.c:3320
  0x658512 CallExp::semantic(Scope*)
  	../../src/gcc/d/dfrontend/expression.c:8853
  0x6f4e4f ReturnStatement::semantic(Scope*)
  	../../src/gcc/d/dfrontend/statement.c:3900
  0x6f25d1 CompoundStatement::semantic(Scope*)
  	../../src/gcc/d/dfrontend/statement.c:1165
  Please submit a full bug report,
  with preprocessed source if appropriate.
  Please include the complete backtrace with any bug report.
  See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.10
  Package: gdc-6 6.2.0-3ubuntu11
  ProcVersionSignature: Ubuntu 4.4.0-9136.55-generic 4.4.16
  Uname: Linux 4.4.0-9136-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.20.3-0ubuntu7
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Tue Sep  6 16:29:51 2016
  InstallationDate: Installed on 2015-06-05 (459 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150605)
  SourcePackage: gcc-6
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-6/+bug/1620681/+subscriptions



More information about the foundations-bugs mailing list