Bug#931807: libwebkit2gtk-4.0-37: JavaScript code fails without error message on ppc64el and s390x

Dmitry Shachnev mitya57 at debian.org
Wed Jul 10 17:10:27 BST 2019


Package: libwebkit2gtk-4.0-37
Version: 2.24.3-1

Dear Maintainer,

In Ubuntu, the autopkgtests for sphinx package started failing on ppc64el
and s390x when webkit2gtk was updated from 2.23.91 to 2.23.92, see [1]
(later they pass again, because Dimitri John Ledkov disabled the tests on
these architectures). This is not an Ubuntu-specific issue, I am just
giving a link to Ubuntu infrastucture because Debian runs autopkgtests only
on amd64.

I managed to reproduce this with C code (not Python). Attached is a test
case that is small from C point of view (trimming down the HTML part would
be more difficult).

I am compiling it and running (on a porterbox) using:

  $ gcc -O0 `pkg-config --libs --cflags webkit2gtk-4.0` test.c
  $ xvfb-run -a ./a.out

The expected output is (as happens on amd64):

  [native code]: CONSOLE LOG Test

On ppc64 and s390x, this happens instead:

  ** (a.out:56789): WARNING **: 15:38:47.789: Error running javascript: 

This happens with Sphinx' own website, and other documentation projects
generated by Sphinx (such as https://docs.python.org/3/).

I expected that in case of failure, this line would print the error case:

  g_warning ("Error running javascript: %s", error->message);

That line is copied from the documentation [2]. However the reason is empty.

[1]: https://autopkgtest.ubuntu.com/packages/sphinx/disco/s390x
[2]: https://webkitgtk.org/reference/webkit2gtk/stable/WebKitWebView.html#webkit-web-view-run-javascript-finish

--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.c
Type: text/x-csrc
Size: 1178 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-webkit-maintainers/attachments/20190710/c7c0d713/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-webkit-maintainers/attachments/20190710/c7c0d713/attachment.sig>


More information about the Pkg-webkit-maintainers mailing list