Bug#839379: yelp: FTBFS: segmentation fault
On Fri, Oct 28, 2016 at 02:38:18PM +0200, Michael Biebl wrote: > > This is already fixed upstream, the next 2.14.x release of WebKit > > won't need this hack. > > When do you expect that next upstream release to be uploaded to > unstable? The release is expected to happen this week. Berto
Bug#839379: yelp: FTBFS: segmentation fault
Am 28.10.2016 um 08:45 schrieb Alberto Garcia: > It looks like #839397. Can you try adding this to debian/rules and see > if that fixes the problem? > > export WEBKIT_DISABLE_COMPOSITING_MODE=1 That does the trick, thanks! > This is already fixed upstream, the next 2.14.x release of WebKit > won't need this hack. When do you expect that next upstream release to be uploaded to unstable? Just curious whether we should apply the WEBKIT_DISABLE_COMPOSITING_MODE=1 workaround in the mean time or not. Regards, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? signature.asc Description: OpenPGP digital signature
Bug#839379: yelp: FTBFS: segmentation fault
On Fri, Oct 28, 2016 at 03:38:46AM +0200, Michael Biebl wrote: > I built yelp inside a chroot (without X) and ran > docs/libyelp/libyelp-scan directly. The resulting backtrace from the > crash is attached. This looks to me like it's webkit2 related, so > I'm reassigning the bug. It looks like #839397. Can you try adding this to debian/rules and see if that fixes the problem? export WEBKIT_DISABLE_COMPOSITING_MODE=1 This is already fixed upstream, the next 2.14.x release of WebKit won't need this hack. Berto
Bug#839379: yelp: FTBFS: segmentation fault
Control: reassign -1 src:webkit2gtk 2.14.1-1 Control: affects -1 src:yelp Am 28.10.2016 um 01:52 schrieb Michael Biebl: > Am 01.10.2016 um 10:42 schrieb Lucas Nussbaum: >>> (process:32124): Gtk-CRITICAL **: gtk_icon_theme_get_for_screen: assertion >>> 'GDK_IS_SCREEN (screen)' failed >>> >>> ** (process:32124): WARNING **: Unable to connect to dbus: Cannot spawn a >>> message bus without a machine-id: Unable to load /var/lib/dbus/machine-id >>> or /etc/machine-id: Failed to open file '/var/lib/dbus/machine-id': No such >>> file or directory >>> Segmentation fault > > Looks like a duplicate of > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803104 > > Maybe webkit2gtk has regressed in that regard. I built yelp inside a chroot (without X) and ran docs/libyelp/libyelp-scan directly. The resulting backtrace from the crash is attached. This looks to me like it's webkit2 related, so I'm reassigning the bug. The dbus warning is a red herring fwiw. The binary crashes even when installing dbus and running with dbus-run-session. Berto, would be great if you can have a look. Cheers, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? Starting program: /yelp-3.22.0/docs/libyelp/.libs/lt-libyelp-scan [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffe0e20700 (LWP 23308)] Thread 1 "lt-libyelp-scan" received signal SIGSEGV, Segmentation fault. XQueryExtension (dpy=dpy@entry=0x0, name=name@entry=0x7fffe946b721 "Composite", major_opcode=major_opcode@entry=0x7fffda94, first_event=first_event@entry=0x7fffda98, first_error=first_error@entry=0x7fffda9c) at ../../src/QuExt.c:43 43 ../../src/QuExt.c: No such file or directory. #0 0x7fffe96a60ad in XQueryExtension (dpy=dpy@entry=0x0, name=name@entry=0x7fffe946b721 "Composite", major_opcode=major_opcode@entry=0x7fffda94, first_event=first_event@entry=0x7fffda98, first_error=first_error@entry=0x7fffda9c) at ../../src/QuExt.c:43 rep = {type = 0 '\000', pad1 = 0 '\000', sequenceNumber = 0, length = 0, present = 152 '\230', major_opcode = 218 '\332', first_event = 255 '\377', first_error = 255 '\377', pad3 = 32767, pad4 = 4294957716, pad5 = 32767, pad6 = 3913725729, pad7 = 32767} req = #1 0x7fffe9699e92 in XInitExtension (dpy=dpy@entry=0x0, name=name@entry=0x7fffe946b721 "Composite") at ../../src/InitExt.c:47 codes = {extension = 48, major_opcode = 0, first_event = -375723504, first_error = 32767} ext = #2 0x7fffe946afe0 in XCompositeFindDisplay (extinfo=0x7fffe966c090 , ext_name=, dpy=0x0) at ../../src/Xcomposite.c:111 info = 0x557c0a60 dpy = 0x0 info = 0x557c0a60 #3 0x7fffe946afe0 in XCompositeFindDisplay (dpy=0x0) at ../../src/Xcomposite.c:208 dpy = 0x0 info = 0x557c0a60 #4 0x7fffe946b141 in XCompositeQueryExtension (dpy=, event_base_return=event_base_return@entry=0x7fffdb48, error_base_return=error_base_return@entry=0x7fffdb4c) at ../../src/Xcomposite.c:219 info = #5 0x73e5dca3 in WebCore::PlatformDisplayX11::supportsXComposite() const (this=this@entry=0x7fffe05fd040) at ./Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp:80 eventBase = -202133058 errorBase = 32767 #6 0x730210bd in WebKit::WebPreferences::platformInitializeStore() (this=0x7fffe05f5000) at ./Source/WebKit2/UIProcess/gtk/WebPreferencesGtk.cpp:63 damageBase = {m_isEngaged = false, m_value = {__data = "\377\177\000", __align = {}}} #7 0x72e23b02 in WebKit::WebPreferences::create(WTF::String const&, WTF::String const&, WTF::String const&) (identifier=..., keyPrefix=..., globalDebugKeyPrefix=...) at ./Source/WebKit2/UIProcess/WebPreferences.cpp:43 #8 0x72fddc33 in webkit_settings_init(WebKitSettings*) (this=0x557aa590) at ./Source/WebKit2/UIProcess/API/gtk/WebKitSettings.cpp:51 priv = 0x557aa590 #9 0x72fddc33 in webkit_settings_init(WebKitSettings*) (self=) at ./Source/WebKit2/UIProcess/API/gtk/WebKitSettings.cpp:94 priv = 0x557aa590 #10 0x777b134b in g_type_create_instance (type=) at ././gobject/gtype.c:1866 instance = 0x557aa5f0 [WebKitSettings] class = 0x557bfbe0 allocated = private_size = ivar_size = i = #11 0x777931fb in g_object_new_internal (class=class@entry=0x557bfbe0, params=params@entry=0x7fffdee0, n_params=n_params@entry=1) at ././gobject/gobject.c:1783 nqueue = 0x0 object = __func__ = "g_object_new_internal" #12 0x7779510e in g_object_new_valist (object_type=, first_property_name=first_property_name@entry=0x7725dab1 "default-charset", var_args=var_args@entry=0x7fffe030) at
Bug#839379: yelp: FTBFS: segmentation fault
Am 01.10.2016 um 10:42 schrieb Lucas Nussbaum: >> (process:32124): Gtk-CRITICAL **: gtk_icon_theme_get_for_screen: assertion >> 'GDK_IS_SCREEN (screen)' failed >> >> ** (process:32124): WARNING **: Unable to connect to dbus: Cannot spawn a >> message bus without a machine-id: Unable to load /var/lib/dbus/machine-id or >> /etc/machine-id: Failed to open file '/var/lib/dbus/machine-id': No such >> file or directory >> Segmentation fault Looks like a duplicate of https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803104 Maybe webkit2gtk has regressed in that regard. Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? signature.asc Description: OpenPGP digital signature
Bug#839379: yelp: FTBFS: segmentation fault
Source: yelp Version: 3.22.0-1 Severity: serious Tags: stretch sid User: debian...@lists.debian.org Usertags: qa-ftbfs-20160930 qa-ftbfs Justification: FTBFS on amd64 Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[5]: Entering directory '/<>/docs/libyelp' > if test "/<>/docs/libyelp" != "/<>/docs/libyelp" ; > then \ > files=`echo version.xml libyelp-docs.xml libyelp-sections.txt > libyelp-overrides.txt libyelp.types`; \ > if test "x$files" != "x" ; then \ > for file in $files ; do \ > destdir=`dirname /<>/docs/libyelp/$file`; \ > test -d "$destdir" || mkdir -p "$destdir"; \ > test -f /<>/docs/libyelp/$file && \ > cp -pf /<>/docs/libyelp/$file > /<>/docs/libyelp/$file || true; \ > done; \ > fi; \ > fi > touch setup-build.stamp > _source_dir='' ; \ > for i in ../../libyelp ; do \ > _source_dir="${_source_dir} --source-dir=$i" ; \ > done ; \ > gtkdoc-scan --module=libyelp --ignore-headers="yelp-common-types.h > yelp-debug.h yelp-types.h ../../libyelp/yelp-bz2-decompressor.h > ../../libyelp/yelp-lzma-decompressor.h > ../../libyelp/yelp-magic-decompressor.h" ${_source_dir} > --deprecated-guards="G_DISABLE_DEPRECATED" --rebuild-types > if grep -l '^..*$' libyelp.types > /dev/null 2>&1 ; then \ > scanobj_options=""; \ > gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \ > if test "$?" = "0"; then \ > if test "x" = "x1"; then \ > scanobj_options="--verbose"; \ > fi; \ > fi; \ > CC="/bin/bash ../../libtool --tag=CC --mode=compile gcc > -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include > -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<>=. > -fPIE -fstack-protector-strong -Wformat -Werror=format-security -g" > LD="/bin/bash ../../libtool --tag=CC --mode=link gcc -lgobject-2.0 -lglib-2.0 > -g -O2 -fdebug-prefix-map=/<>=. -fPIE -fstack-protector-strong > -Wformat -Werror=format-security -g -fPIE -pie -Wl,-z,relro -Wl,-z,now > -Wl,-z,defs -Wl,-O1 -Wl,--as-needed" RUN="/bin/bash ../../libtool > --mode=execute" CFLAGS="-pthread -I/usr/include/gtk-3.0/unix-print > -I/usr/include/webkitgtk-4.0 -I/usr/include/gtk-3.0 > -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 > -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include > -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo > -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 > -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 > -I/usr/include/freetype2 -I/usr/include/libpng16 > -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 > -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 > -I/usr/include/webkitgtk-4.0 -I/usr/include/glib-2.0 > -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I../../libyelp -g -O2 > -fdebug-prefix-map=/<>=. -fPIE -fstack-protector-strong -Wformat > -Werror=format-security -g" LDFLAGS="-lbz2 -llzma -lgio-2.0 -lxslt -lxml2 > -lexslt -lxslt -lxml2 -lsqlite3 -lwebkit2gtk-4.0 -lgtk-3 -lgdk-3 > -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo > -lgdk_pixbuf-2.0 -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -ljavascriptcoregtk-4.0 > -lglib-2.0 ../../libyelp/libyelp.la -fPIE -pie -Wl,-z,relro -Wl,-z,now > -Wl,-z,defs -Wl,-O1 -Wl,--as-needed" \ > gtkdoc-scangobj $scanobj_options --module=libyelp; \ > else \ > for i in libyelp.args libyelp.hierarchy libyelp.interfaces > libyelp.prerequisites libyelp.signals ; do \ > test -f $i || touch $i ; \ > done \ > fi > > (process:32124): Gtk-CRITICAL **: gtk_icon_theme_get_for_screen: assertion > 'GDK_IS_SCREEN (screen)' failed > > ** (process:32124): WARNING **: Unable to connect to dbus: Cannot spawn a > message bus without a machine-id: Unable to load /var/lib/dbus/machine-id or > /etc/machine-id: Failed to open file '/var/lib/dbus/machine-id': No such file > or directory > Segmentation fault > Scan failed: > Makefile:647: recipe for target 'scan-build.stamp' failed > make[5]: *** [scan-build.stamp] Error 139 If the failure looks somehow time/timezone related: Note that this rebuild was performed without the 'tzdata' package installed in the chroot. tzdata used be (transitively) part of build-essential, but it no longer is. If this package requires it to build, it should be added to build-depends. For the release team's opinion on this, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836940#185 The full build log is available from: http://aws-logs.debian.net/2016/09/30/yelp_3.22.0-1_unstable.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was