Bug#839397: libwebkit2gtk-4.0-37: gobject-introspection on package build with webkit2gtk fails without active X session
Paul Gevers
elbrus at debian.org
Sun Oct 2 17:53:06 UTC 2016
On Sat, 01 Oct 2016 14:42:55 +0200 Paul Gevers <elbrus at debian.org> wrote:
> Do you need more info?
I dug into this a little bit more. In a jessie pbuilder, the build
succeeds. I added sid to the /etc/apt/sources.conf and then started to
add packages that are required for "apt install libwebkit2gtk-4.0-dev"
except for the src:webkit2gtk packages. The build still succeeds, while
updating src:webkit2gtk packages causes liferea to FTBFS. I then started
bisecting which version of webkit2gtk was the first one to fail with the
aid of snapshot.d.o.
Upto 2.13.4-1+b2 succeeded, while with 2.13.91-1 it FTBFS.
The packages that were upgrade from 2.13.4-1+b2 to 2.13.91-1 were:
gir1.2-javascriptcoregtk-4.0
gir1.2-webkit2-4.0
libjavascriptcoregtk-4.0-18
libjavascriptcoregtk-4.0-dev
libwebkit2gtk-4.0-37
libwebkit2gtk-4.0-dev
Hope this helps. At least I now confirm that the issue lies with the
webkit2gtk source package.
I also added the debug section of the archive to improve the stack trace
(state of today). Please find that attached.
Paul
-------------- next part --------------
(pbuild4862) testavoira liferea-1.12~rc1 # gdb src/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 src/liferea...done.
(gdb) run --introspect-dump=/tmp/xx,/tmp/yy
Starting program: /build/liferea-1.12~rc1/src/liferea --introspect-dump=/tmp/xx,/tmp/yy
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe105d700 (LWP 20629)]
Thread 1 "liferea" received signal SIGSEGV, Segmentation fault.
XQueryExtension (dpy=dpy at entry=0x0,
name=name at entry=0x7fffea65d721 <XCompositeExtensionName> "Composite",
major_opcode=major_opcode at entry=0x7fffffffcbc4, first_event=first_event at entry=0x7fffffffcbc8,
first_error=first_error at entry=0x7fffffffcbcc) at ../../src/QuExt.c:43
43 ../../src/QuExt.c: No such file or directory.
(gdb) bt
#0 0x00007fffea8980ad in XQueryExtension (dpy=dpy at entry=0x0, name=name at entry=0x7fffea65d721 <XCompositeExtensionName> "Composite", major_opcode=major_opcode at entry=0x7fffffffcbc4, first_event=first_event at entry=0x7fffffffcbc8, first_error=first_error at entry=0x7fffffffcbcc) at ../../src/QuExt.c:43
#1 0x00007fffea88be92 in XInitExtension (dpy=dpy at entry=0x0, name=name at entry=0x7fffea65d721 <XCompositeExtensionName> "Composite") at ../../src/InitExt.c:47
#2 0x00007fffea65cfe0 in XCompositeFindDisplay (extinfo=0x7fffea85e090 <XCompositeExtensionInfo>, ext_name=<optimized out>, dpy=0x0) at ../../src/Xcomposite.c:111
#3 0x00007fffea65cfe0 in XCompositeFindDisplay (dpy=0x0) at ../../src/Xcomposite.c:208
#4 0x00007fffea65d141 in XCompositeQueryExtension (dpy=<optimized out>, event_base_return=event_base_return at entry=0x7fffffffcc78, error_base_return=error_base_return at entry=0x7fffffffcc7c)
at ../../src/Xcomposite.c:219
#5 0x00007ffff63e7033 in WebCore::PlatformDisplayX11::supportsXComposite() const (this=this at entry=
0x7fffe07fb040) at ./Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp:80
#6 0x00007ffff55b373d in WebKit::WebPreferences::platformInitializeStore() (this=0x7fffe07fc000)
at ./Source/WebKit2/UIProcess/gtk/WebPreferencesGtk.cpp:63
#7 0x00007ffff53b7532 in WebKit::WebPreferences::create(WTF::String const&, WTF::String const&, WTF::String const&) (identifier=..., keyPrefix=..., globalDebugKeyPrefix=...)
at ./Source/WebKit2/UIProcess/WebPreferences.cpp:43
#8 0x00007ffff5570913 in webkit_settings_init(WebKitSettings*) (this=0x6c4ba0)
at ./Source/WebKit2/UIProcess/API/gtk/WebKitSettings.cpp:51
#9 0x00007ffff5570913 in webkit_settings_init(WebKitSettings*) (self=<optimized out>)
at ./Source/WebKit2/UIProcess/API/gtk/WebKitSettings.cpp:94
#10 0x00007ffff2c8b34b in g_type_create_instance (type=<optimized out>) at ././gobject/gtype.c:1866
#11 0x00007ffff2c6d1fb in g_object_new_internal (class=class at entry=0x6c6710, params=params at entry=0x0, n_params=n_params at entry=0) at ././gobject/gobject.c:1783
#12 0x00007ffff2c6ec0d in g_object_newv (object_type=object_type at entry=7111056, n_parameters=n_parameters at entry=0, parameters=parameters at entry=0x0) at ././gobject/gobject.c:1930
#13 0x00007ffff2c6f3c4 in g_object_new (object_type=7111056, first_property_name=first_property_name at entry=0x0) at ././gobject/gobject.c:1623
#14 0x00007ffff5570fa9 in webkit_settings_new() ()
at ./Source/WebKit2/UIProcess/API/gtk/WebKitSettings.cpp:1294
#15 0x0000000000453798 in liferea_webkit_impl_init (self=0x6c8f90 [LifereaWebKitImpl]) at webkit.c:345
#16 0x00007ffff2c8b34b in g_type_create_instance (type=<optimized out>) at ././gobject/gtype.c:1866
#17 0x00007ffff2c6d1fb in g_object_new_internal (class=class at entry=0x6c3e70, params=params at entry=0x0, n_params=n_params at entry=0) at ././gobject/gobject.c:1783
#18 0x00007ffff2c6ec0d in g_object_newv (object_type=object_type at entry=7099264, n_parameters=n_parameters at entry=0, parameters=parameters at entry=0x0) at ././gobject/gobject.c:1930
#19 0x00007ffff2c6f3c4 in g_object_new (object_type=7099264, first_property_name=first_property_name at entry=0x0) at ././gobject/gobject.c:1623
#20 0x0000000000454131 in liferea_webkit_init () at webkit.c:107
#21 0x0000000000454131 in liferea_webkit_init () at webkit.c:421
#22 0x00000000004449d4 in liferea_htmlview_class_intern_init (klass=0x6c62c0) at liferea_htmlview.c:203
---Type <return> to continue, or q <return> to quit---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-webkit-maintainers/attachments/20161002/a587c472/attachment.sig>
More information about the Pkg-webkit-maintainers
mailing list