Bug#839397: libwebkit2gtk-4.0-37: gobject-introspection on package build with webkit2gtk fails without active X session

Paul Gevers elbrus at debian.org
Sat Oct 1 12:42:55 UTC 2016


Package: libwebkit2gtk-4.0-37
Version: 2.14.0-1
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi webkit2 maintainers,

While I was trying to build the RC1 of liferea¹, I struggled long on a FTBFS in
my pbuilder environment. This FTBFS happens during the automatic calls that
finaly call g-ir-scanner. g-ir-scanner, in turn call the just generated binary
with the --introspect-dump option. This fails. When run with gdb I get the
stacktrace that you can find below, which hints towards webkit2 (also because
this version of liferea is freshly ported to webkit2), but please tell me if I
am wrong.

In a last attempt to figure out what was going on, I build the package in my
normal (stretch) environment, where the build fails latter on something
else. This leads me to think that apperently a working X session is
required. (I may be wrong).

Do you need more info?

Paul

¹ https://github.com/lwindolf/liferea/releases

(pbuild28213) testavoira src # gdb liferea
GNU gdb (Debian 7.11.1-2) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from liferea...done.
(gdb) run --introspect-dump=/tmp/tmp-introspectfmugknzu/functions.txt,/tmp/bala
Starting program: /build/liferea-1.12~rc1/src/liferea --introspect-dump=/tmp/tmp-introspectfmugknzu/functions.txt,/tmp/bala
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe105d700 (LWP 17991)]

Thread 1 "liferea" received signal SIGSEGV, Segmentation fault.
0x00007fffea8980ad in XQueryExtension () from /usr/lib/x86_64-linux-gnu/libX11.so.6
(gdb) bt
#0  0x00007fffea8980ad in XQueryExtension () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#1  0x00007fffea88be92 in XInitExtension () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#2  0x00007fffea65cfe0 in XCompositeFindDisplay () from /usr/lib/x86_64-linux-gnu/libXcomposite.so.1
#3  0x00007fffea65d141 in XCompositeQueryExtension () from /usr/lib/x86_64-linux-gnu/libXcomposite.so.1
#4  0x00007ffff63e7033 in ?? () from /usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
#5  0x00007ffff55b373d in ?? () from /usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
#6  0x00007ffff53b7532 in ?? () from /usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
#7  0x00007ffff5570913 in ?? () from /usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
#8  0x00007ffff2c8b34b in g_type_create_instance () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9  0x00007ffff2c6d1fb in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007ffff2c6ec0d in g_object_newv () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007ffff2c6f3c4 in g_object_new () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#12 0x0000000000453798 in liferea_webkit_impl_init (self=0x6c9390) at webkit.c:345
#13 0x00007ffff2c8b34b in g_type_create_instance () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#14 0x00007ffff2c6d1fb in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007ffff2c6ec0d in g_object_newv () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007ffff2c6f3c4 in g_object_new () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x0000000000454131 in liferea_webkit_impl_new () at webkit.c:107
#18 liferea_webkit_init () at webkit.c:421
#19 0x00000000004449d4 in liferea_htmlview_class_init (klass=0x6c8200) at liferea_htmlview.c:203
#20 liferea_htmlview_class_intern_init (klass=0x6c8200) at liferea_htmlview.c:144
#21 0x00007ffff2c884d7 in g_type_class_ref () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007ffff2eb2885 in ?? () from /usr/lib/x86_64-linux-gnu/libgirepository-1.0.so.1
#23 0x00007ffff2eb34fd in g_irepository_dump () from /usr/lib/x86_64-linux-gnu/libgirepository-1.0.so.1
#24 0x00007ffff2eb9447 in ?? () from /usr/lib/x86_64-linux-gnu/libgirepository-1.0.so.1
#25 0x00007ffff299a014 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007ffff299a47f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007ffff299c022 in g_option_context_parse () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x000000000041aba1 in main (argc=<optimized out>, argv=<optimized out>) at main.c:209

(pbuild28213) testavoira src # cat /tmp/tmp-introspectfmugknzu/functions.txt 
get-type:liferea_htmlview_get_type

- -- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libwebkit2gtk-4.0-37 depends on:
ii  libatk1.0-0                             2.21.90-2
ii  libc6                                   2.23-5
ii  libcairo2                               1.14.6-1+b1
ii  libegl1-mesa [libegl1-x11]              12.0.3-1
ii  libenchant1c2a                          1.6.0-11+b1
ii  libfontconfig1                          2.11.0-6.7
ii  libfreetype6                            2.6.3-3+b1
ii  libgcc1                                 1:6.1.1-11
ii  libgdk-pixbuf2.0-0                      2.34.0-1
ii  libgl1-mesa-glx [libgl1]                12.0.3-1
ii  libglib2.0-0                            2.49.6-1
ii  libgnutls30                             3.5.4-2
ii  libgstreamer-plugins-base1.0-0          1.8.3-1
ii  libgstreamer1.0-0                       1.8.3-1
ii  libgtk-3-0                              3.21.5-3
ii  libharfbuzz-icu0                        1.2.7-1+b1
ii  libharfbuzz0b                           1.2.7-1+b1
ii  libhyphen0                              2.8.8-4
ii  libicu57                                57.1-4
ii  libjavascriptcoregtk-4.0-18             2.14.0-1
ii  libjpeg62-turbo                         1:1.5.0-1
ii  libnotify4                              0.7.6-2
ii  libpango-1.0-0                          1.40.2-1
ii  libpng16-16                             1.6.24-2
ii  libsecret-1-0                           0.18.5-2
ii  libsoup2.4-1                            2.56.0-1
ii  libsqlite3-0                            3.14.2-1
ii  libstdc++6                              6.1.1-11
ii  libwayland-client0                      1.11.0-2
ii  libwayland-egl1-mesa [libwayland-egl1]  12.0.3-1
ii  libwayland-server0                      1.11.0-2
ii  libwebp6                                0.5.1-2
ii  libx11-6                                2:1.6.3-1
ii  libxcomposite1                          1:0.4.4-1
ii  libxdamage1                             1:1.1.4-2+b1
ii  libxml2                                 2.9.4+dfsg1-2
ii  libxslt1.1                              1.1.29-1
ii  zlib1g                                  1:1.2.8.dfsg-2+b1

Versions of packages libwebkit2gtk-4.0-37 recommends:
ii  gstreamer1.0-plugins-base  1.8.3-1
ii  gstreamer1.0-plugins-good  1.8.3-1+b1
ii  libwebkit2gtk-4.0-37-gtk2  2.14.0-1

libwebkit2gtk-4.0-37 suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCAAGBQJX769JAAoJEJxcmesFvXUK5uQH/Av+CHZfhalV82cNX/GThp0I
tdj6YDNTwFxteYdz3n3JdBxytdsNsAvtl8Zj2WCTkI5FAx69wCNQAeFGOuxGm1uA
hnOtJ6V98wXmsrCHbChPmBJBI06ofSA53suT0lCnID05E84hnkbskOuSbt8rwq9D
HmTQi1+yygD67Yg+padcOWGtIKgmk/pMJJ/ixyMA+WS3YMfecsOY0GJWscDvidhO
8OhONGhCNvwIH+8I0O8LqKt00ztX6B/bTAiNEgZSYNuCPyeS5ssMtUPFPil5a+bX
lajrf9dcpaJhLLHCDyw3uHhkTh5VsHhS/aUbVh2NGGulmV5MAOcQnjh7GLHS79E=
=ci60
-----END PGP SIGNATURE-----



More information about the Pkg-webkit-maintainers mailing list