gir test fail on ppc64el

Bug #1812223 reported by Dimitri John Ledkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Meson
New
Unknown
gcc-8 (Ubuntu)
Fix Released
Undecided
Unassigned
gobject-introspection (Ubuntu)
Fix Released
Undecided
Unassigned
meson (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-disco/disco/ppc64el/m/meson/20190116_031026_4df33@/log.gz

ninja explain: genmarshal/genmarshalprog is dirty
[1/75] Generating simple-resources_c with a custom command.
[2/75] Generating simple-resources_h with a custom command.
[3/75] Generating res3 with a meson_exe.py custom command.
[4/75] Compiling C object 'resources/41d311a@@simple-resources-test@exe/meson-generated_.._simple-resources.c.o'.
[5/75] Compiling C object 'resources/41d311a@@simple-resources-test@exe/simple-main.c.o'.
[6/75] Generating simple-resources_gresource with a custom command.
[7/75] Generating generated-resources_c with a custom command.
[8/75] Generating generated-resources_h with a custom command.
[9/75] Linking target resources/simple-resources-test.
[10/75] Compiling C object 'resources/41d311a@@generated-resources-test@exe/meson-generated_.._generated-resources.c.o'.
[11/75] Generating build-resources_gresource with a custom command.
[12/75] Compiling C object 'resources/41d311a@@generated-resources-test@exe/generated-main.c.o'.
[13/75] Linking target resources/generated-resources-test.
[14/75] Compiling C object 'gir/dep1/dep2/7cbf35a@@dep2lib@sha/dep2.c.o'.
[15/75] Linking target gir/dep1/dep2/libdep2lib.so.
[16/75] Compiling C object 'gir/dep1/07d7481@@dep1lib@sha/dep1.c.o'.
[17/75] Generating symbol file 'gir/dep1/dep2/7cbf35a@@dep2lib@sha/libdep2lib.so.symbols'.
[18/75] Linking target gir/dep1/libdep1lib.so.
[19/75] Generating symbol file 'gir/dep1/07d7481@@dep1lib@sha/libdep1lib.so.symbols'.
[20/75] Compiling C object 'gir/327a146@@gir_lib2@sha/meson-sample2.c.o'.
[21/75] Linking target gir/libgir_lib2.so.
[22/75] Generating gsettings-compile-schemas with a custom command.
[23/75] Compiling C object 'schemas/fd70ea1@@schemaprog@exe/schemaprog.c.o'.
[24/75] Linking target schemas/schemaprog.
[25/75] Generating generated-gdbus.c with a custom command.
[26/75] Generating generated-gdbus.h with a custom command.
[27/75] Generating generated-gdbus-docbook with a custom command.
[28/75] Compiling C object 'gdbus/8d60afc@@gdbus-test@exe/meson-generated_.._generated-gdbus.c.o'.
[29/75] Compiling C object 'gdbus/8d60afc@@gdbus-test@exe/gdbusprog.c.o'.
[30/75] Generating MesonDep2-1.0.gir with a custom command.
g-ir-scanner: link: cc -o /tmp/tmpbrjz1hlu/tmp-introspect81qm411v/MesonDep2-1.0 /tmp/tmpbrjz1hlu/tmp-introspect81qm411v/MesonDep2-1.0.o -L. -Wl,-rpath,. -Wl,--no-as-needed -L/tmp/tmpbrjz1hlu/gir/dep1/dep2 -Wl,-rpath,/tmp/tmpbrjz1hlu/gir/dep1/dep2 -lasan -ldep2lib -lgobject-2.0 -lglib-2.0 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0
[31/75] Linking target gdbus/gdbus-test.
[32/75] Generating MesonDep2-1.0.typelib with a custom command.
[33/75] Generating enums.h with a meson_exe.py custom command.
[34/75] Generating enums.c with a meson_exe.py custom command.
[35/75] Compiling C object 'mkenums/75bf728@@enumprog1@exe/meson-generated_.._enums.c.o'.
[36/75] Compiling C object 'mkenums/75bf728@@enumprog1@exe/meson-generated_.._main1.c.o'.
[37/75] Linking target mkenums/enumprog1.
[38/75] Generating MesonDep1-1.0.gir with a custom command.
FAILED: gir/dep1/MesonDep1-1.0.gir
/usr/bin/g-ir-scanner -pthread -I/usr/include/gobject-introspection-1.0 -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include --no-libtool --namespace=MesonDep1 --nsversion=1.0 --warn-all --output gir/dep1/MesonDep1-1.0.gir --c-include=dep1.h '-I/tmp/autopkgtest.GpLQfj/build.Rq6/src/test cases/frameworks/7 gnome/gir/dep1' -I/tmp/tmpbrjz1hlu/gir/dep1 --filelist=/tmp/tmpbrjz1hlu/gir/dep1/07d7481@@dep1lib@sha/MesonDep1_1.0_gir_filelist --include=GObject-2.0 --include=MesonDep2-1.0 --symbol-prefix=meson --identifier-prefix=Meson --cflags-begin -DMESON_TEST -fsanitize=address -fno-omit-frame-pointer -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include --cflags-end --add-include-path=/tmp/tmpbrjz1hlu/gir/dep1/dep2 -lasan -L/tmp/tmpbrjz1hlu/gir/dep1/dep2 --extra-library=dep2lib --library dep1lib -L/tmp/tmpbrjz1hlu/gir/dep1 --extra-library=gobject-2.0 --extra-library=glib-2.0
g-ir-scanner: link: cc -o /tmp/tmpbrjz1hlu/tmp-introspectghii58n3/MesonDep1-1.0 /tmp/tmpbrjz1hlu/tmp-introspectghii58n3/MesonDep1-1.0.o -L. -Wl,-rpath,. -Wl,--no-as-needed -L/tmp/tmpbrjz1hlu/gir/dep1/dep2 -Wl,-rpath,/tmp/tmpbrjz1hlu/gir/dep1/dep2 -L/tmp/tmpbrjz1hlu/gir/dep1 -Wl,-rpath,/tmp/tmpbrjz1hlu/gir/dep1 -lasan -ldep1lib -ldep2lib -lgobject-2.0 -lglib-2.0 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0
==26061==Shadow memory range interleaves with an existing memory mapping. ASan cannot proceed correctly. ABORTING.
==26061==ASan shadow was supposed to be located in the [0x01ffffff0000-0x11ffffffffff] range.
==26061==Process memory map follows:
 0x0d5f7dcf0000-0x0d5f7dd00000 /tmp/tmpbrjz1hlu/tmp-introspectghii58n3/MesonDep1-1.0
 0x0d5f7dd00000-0x0d5f7dd10000 /tmp/tmpbrjz1hlu/tmp-introspectghii58n3/MesonDep1-1.0
 0x0d5f7dd10000-0x0d5f7dd20000 /tmp/tmpbrjz1hlu/tmp-introspectghii58n3/MesonDep1-1.0
 0x793d2a040000-0x793d2a080000
 0x793d2a090000-0x793d2a410000
 0x793d2a410000-0x793d2a420000 /lib/powerpc64le-linux-gnu/libuuid.so.1.3.0
 0x793d2a420000-0x793d2a430000 /lib/powerpc64le-linux-gnu/libuuid.so.1.3.0
 0x793d2a430000-0x793d2a440000 /lib/powerpc64le-linux-gnu/libuuid.so.1.3.0
 0x793d2a440000-0x793d2a4b0000 /lib/powerpc64le-linux-gnu/libblkid.so.1.1.0
 0x793d2a4b0000-0x793d2a4c0000 /lib/powerpc64le-linux-gnu/libblkid.so.1.1.0
 0x793d2a4c0000-0x793d2a4d0000 /lib/powerpc64le-linux-gnu/libblkid.so.1.1.0
 0x793d2a4d0000-0x793d2a4e0000 /lib/powerpc64le-linux-gnu/libblkid.so.1.1.0
 0x793d2a4e0000-0x793d2a560000 /lib/powerpc64le-linux-gnu/libmount.so.1.1.0
 0x793d2a560000-0x793d2a570000 /lib/powerpc64le-linux-gnu/libmount.so.1.1.0
 0x793d2a570000-0x793d2a580000 /lib/powerpc64le-linux-gnu/libmount.so.1.1.0
 0x793d2a580000-0x793d2a590000 /lib/powerpc64le-linux-gnu/libmount.so.1.1.0
 0x793d2a590000-0x793d2a5b0000 /lib/powerpc64le-linux-gnu/libresolv-2.28.so
 0x793d2a5b0000-0x793d2a5c0000 /lib/powerpc64le-linux-gnu/libresolv-2.28.so
 0x793d2a5c0000-0x793d2a5d0000 /lib/powerpc64le-linux-gnu/libresolv-2.28.so
 0x793d2a5d0000-0x793d2a610000 /lib/powerpc64le-linux-gnu/libselinux.so.1
 0x793d2a610000-0x793d2a620000 /lib/powerpc64le-linux-gnu/libselinux.so.1
 0x793d2a620000-0x793d2a630000 /lib/powerpc64le-linux-gnu/libselinux.so.1
 0x793d2a630000-0x793d2a660000 /lib/powerpc64le-linux-gnu/libz.so.1.2.11
 0x793d2a660000-0x793d2a670000 /lib/powerpc64le-linux-gnu/libz.so.1.2.11
 0x793d2a670000-0x793d2a680000 /lib/powerpc64le-linux-gnu/libz.so.1.2.11
 0x793d2a680000-0x793d2a710000 /lib/powerpc64le-linux-gnu/libpcre.so.3.13.3
 0x793d2a710000-0x793d2a720000 /lib/powerpc64le-linux-gnu/libpcre.so.3.13.3
 0x793d2a720000-0x793d2a730000 /lib/powerpc64le-linux-gnu/libpcre.so.3.13.3
 0x793d2a730000-0x793d2a740000 /usr/lib/powerpc64le-linux-gnu/libffi.so.6.0.4
 0x793d2a740000-0x793d2a750000 /usr/lib/powerpc64le-linux-gnu/libffi.so.6.0.4
 0x793d2a750000-0x793d2a760000 /usr/lib/powerpc64le-linux-gnu/libffi.so.6.0.4
 0x793d2a760000-0x793d2a780000 /lib/powerpc64le-linux-gnu/libgcc_s.so.1
 0x793d2a780000-0x793d2a790000 /lib/powerpc64le-linux-gnu/libgcc_s.so.1
 0x793d2a790000-0x793d2a7a0000 /lib/powerpc64le-linux-gnu/libgcc_s.so.1
 0x793d2a7a0000-0x793d2a8e0000 /lib/powerpc64le-linux-gnu/libm-2.28.so
 0x793d2a8e0000-0x793d2a8f0000 /lib/powerpc64le-linux-gnu/libm-2.28.so
 0x793d2a8f0000-0x793d2a900000 /lib/powerpc64le-linux-gnu/libm-2.28.so
 0x793d2a900000-0x793d2a910000 /lib/powerpc64le-linux-gnu/librt-2.28.so
 0x793d2a910000-0x793d2a920000 /lib/powerpc64le-linux-gnu/librt-2.28.so
 0x793d2a920000-0x793d2a930000 /lib/powerpc64le-linux-gnu/librt-2.28.so
 0x793d2a930000-0x793d2a940000 /lib/powerpc64le-linux-gnu/libdl-2.28.so
 0x793d2a940000-0x793d2a950000 /lib/powerpc64le-linux-gnu/libdl-2.28.so
 0x793d2a950000-0x793d2a960000 /lib/powerpc64le-linux-gnu/libdl-2.28.so
 0x793d2a960000-0x793d2ab80000 /lib/powerpc64le-linux-gnu/libc-2.28.so
 0x793d2ab80000-0x793d2ab90000 /lib/powerpc64le-linux-gnu/libc-2.28.so
 0x793d2ab90000-0x793d2aba0000 /lib/powerpc64le-linux-gnu/libc-2.28.so
 0x793d2aba0000-0x793d2abb0000 /lib/powerpc64le-linux-gnu/libc-2.28.so
 0x793d2abb0000-0x793d2abe0000 /lib/powerpc64le-linux-gnu/libpthread-2.28.so
 0x793d2abe0000-0x793d2abf0000 /lib/powerpc64le-linux-gnu/libpthread-2.28.so
 0x793d2abf0000-0x793d2ac00000 /lib/powerpc64le-linux-gnu/libpthread-2.28.so
 0x793d2ac00000-0x793d2ac10000 /usr/lib/powerpc64le-linux-gnu/libgmodule-2.0.so.0.5800.1
 0x793d2ac10000-0x793d2ac20000 /usr/lib/powerpc64le-linux-gnu/libgmodule-2.0.so.0.5800.1
 0x793d2ac20000-0x793d2ac30000 /usr/lib/powerpc64le-linux-gnu/libgmodule-2.0.so.0.5800.1
 0x793d2ac30000-0x793d2aea0000 /usr/lib/powerpc64le-linux-gnu/libgio-2.0.so.0.5800.1
 0x793d2aea0000-0x793d2aeb0000 /usr/lib/powerpc64le-linux-gnu/libgio-2.0.so.0.5800.1
 0x793d2aeb0000-0x793d2aec0000 /usr/lib/powerpc64le-linux-gnu/libgio-2.0.so.0.5800.1
 0x793d2aec0000-0x793d2b050000 /usr/lib/powerpc64le-linux-gnu/libglib-2.0.so.0.5800.1
 0x793d2b050000-0x793d2b060000 /usr/lib/powerpc64le-linux-gnu/libglib-2.0.so.0.5800.1
 0x793d2b060000-0x793d2b070000 /usr/lib/powerpc64le-linux-gnu/libglib-2.0.so.0.5800.1
 0x793d2b070000-0x793d2b0e0000 /usr/lib/powerpc64le-linux-gnu/libgobject-2.0.so.0.5800.1
 0x793d2b0e0000-0x793d2b0f0000 /usr/lib/powerpc64le-linux-gnu/libgobject-2.0.so.0.5800.1
 0x793d2b0f0000-0x793d2b100000 /usr/lib/powerpc64le-linux-gnu/libgobject-2.0.so.0.5800.1
 0x793d2b100000-0x793d2b110000 /tmp/tmpbrjz1hlu/gir/dep1/dep2/libdep2lib.so
 0x793d2b110000-0x793d2b120000 /tmp/tmpbrjz1hlu/gir/dep1/dep2/libdep2lib.so
 0x793d2b120000-0x793d2b130000 /tmp/tmpbrjz1hlu/gir/dep1/dep2/libdep2lib.so
 0x793d2b130000-0x793d2b140000 /tmp/tmpbrjz1hlu/gir/dep1/libdep1lib.so
 0x793d2b140000-0x793d2b150000 /tmp/tmpbrjz1hlu/gir/dep1/libdep1lib.so
 0x793d2b150000-0x793d2b160000 /tmp/tmpbrjz1hlu/gir/dep1/libdep1lib.so
 0x793d2b160000-0x793d2b330000 /usr/lib/powerpc64le-linux-gnu/libasan.so.5.0.0
 0x793d2b330000-0x793d2b340000 /usr/lib/powerpc64le-linux-gnu/libasan.so.5.0.0
 0x793d2b340000-0x793d2b350000 /usr/lib/powerpc64le-linux-gnu/libasan.so.5.0.0
 0x793d2b350000-0x793d2bfd0000
 0x793d2bfd0000-0x793d2bff0000 [vdso]
 0x793d2bff0000-0x793d2c030000 /lib/powerpc64le-linux-gnu/ld-2.28.so
 0x793d2c030000-0x793d2c040000 /lib/powerpc64le-linux-gnu/ld-2.28.so
 0x793d2c040000-0x793d2c050000 /lib/powerpc64le-linux-gnu/ld-2.28.so
 0x7fffcd900000-0x7fffcd930000 [stack]
==26061==End of process memory map.
Command '['/tmp/tmpbrjz1hlu/tmp-introspectghii58n3/MesonDep1-1.0', '--introspect-dump=/tmp/tmpbrjz1hlu/tmp-introspectghii58n3/functions.txt,/tmp/tmpbrjz1hlu/tmp-introspectghii58n3/dump.xml']' returned non-zero exit status 1.
[39/75] Generating enums2.h with a meson_exe.py custom command.
ninja: build stopped: subcommand failed.

Tags: ppc64el
tags: added: ppc64el
Changed in meson:
status: Unknown → New
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Maybe related to bug 1812955?

The timing is suspicious and the errors are almost similar.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package meson - 0.49.0-2ubuntu1

---------------
meson (0.49.0-2ubuntu1) disco; urgency=medium

  * Skip test_generate_gir_with_address_sanitizer on ppc64le. LP: #1812223

 -- Dimitri John Ledkov <email address hidden> Thu, 17 Jan 2019 15:36:43 +0000

Changed in meson (Ubuntu):
status: New → Fix Released
Revision history for this message
Evgeny Vereshchagin (evvers) wrote :

Today on GitHub a ppc64el webhook was turned on for the systemd project. The fuzzers (built with ASan) crashed there as soon as they started with something like
```
757/758 fuzz-varlink:oss-fuzz-14708:address FAIL 0.02 s (exit status 1)

--- command ---
/usr/bin/env /tmp/autopkgtest.vdKhS9/build.g6f/systemd/build-deb/fuzz-varlink:address /tmp/autopkgtest.vdKhS9/build.g6f/systemd/test/fuzz/fuzz-varlink/oss-fuzz-14708
--- stderr ---
==24171==Shadow memory range interleaves with an existing memory mapping. ASan cannot proceed correctly. ABORTING.
==24171==ASan shadow was supposed to be located in the [0x01ffffff0000-0x11ffffffffff] range.
==24171==Process memory map follows:
```
https://github.com/systemd/systemd/pull/13568#issuecomment-545426488

I'm not sure what exactly is going on there but I'm wondering if anyone runs anything under ASan on ppc64el on a regular basis. Is it even supported there?

Jeremy Bícha (jbicha)
Changed in gobject-introspection (Ubuntu):
status: New → Fix Released
Changed in gcc-8 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.