Your message dated Wed, 28 Aug 2019 12:07:38 +0000
with message-id <[email protected]>
and subject line Bug#931807: fixed in webkit2gtk 2.24.4-1
has caused the Debian Bug report #931807,
regarding libjavascriptcoregtk-4.0-18: segfaults on powerpc64 and s390x
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
931807: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931807
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
#include <gtk/gtk.h>
#include <webkit2/webkit2.h>
void on_javascript_finished(GObject *object, GAsyncResult *result, G_GNUC_UNUSED gpointer data) {
WebKitJavascriptResult *js_result;
GError *error = NULL;
js_result = webkit_web_view_run_javascript_finish(WEBKIT_WEB_VIEW(object), result, &error);
if (!js_result) {
g_warning("Error running javascript: %s", error->message);
g_error_free(error);
}
gtk_main_quit();
}
int print_test(gpointer data) {
WebKitWebView *view = WEBKIT_WEB_VIEW(data);
const gchar *script = "console.log('Test');";
webkit_web_view_run_javascript(view, script, NULL, on_javascript_finished, NULL);
return G_SOURCE_REMOVE;
}
int main(int argc, char **argv) {
gtk_init(&argc, &argv);
WebKitSettings *settings = webkit_settings_new();
webkit_settings_set_enable_write_console_messages_to_stdout(settings, TRUE);
WebKitWebView *view = WEBKIT_WEB_VIEW(webkit_web_view_new_with_settings(settings));
g_object_ref(view);
webkit_web_view_load_uri(view, "https://www.sphinx-doc.org/en/master/");
g_timeout_add_seconds(2, print_test, view);
gtk_main();
return 0;
}
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: webkit2gtk
Source-Version: 2.24.4-1
We believe that the bug you reported is fixed in the latest version of
webkit2gtk, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Alberto Garcia <[email protected]> (supplier of updated webkit2gtk package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 28 Aug 2019 14:33:00 +0300
Source: webkit2gtk
Architecture: source
Version: 2.24.4-1
Distribution: unstable
Urgency: medium
Maintainer: Debian WebKit Maintainers
<[email protected]>
Changed-By: Alberto Garcia <[email protected]>
Closes: 931807
Changes:
webkit2gtk (2.24.4-1) unstable; urgency=medium
.
* New upstream release (Closes: #931807).
* debian/libwebkit2gtk-4.0-37.symbols:
+ Update symbols.
Checksums-Sha1:
58cab77c7dc4759571b9900dbdf91fc424d241ab 4158 webkit2gtk_2.24.4-1.dsc
f978b967422c6b423b11062375bab6506243388c 17575784 webkit2gtk_2.24.4.orig.tar.xz
c28ce4b9a991f62b0cb0126ae0484196ff14b33b 195 webkit2gtk_2.24.4.orig.tar.xz.asc
cc3e8d6be99aa6be6af0d41b520fa2f03897190b 61184
webkit2gtk_2.24.4-1.debian.tar.xz
e17645b81dd46bafb29563b41ceceb45ee9ebd1d 15059
webkit2gtk_2.24.4-1_source.buildinfo
Checksums-Sha256:
13b573aca8a7a97af058b42f58e0b90a8e1211fb6aec733d46bf1eb113c87aac 4158
webkit2gtk_2.24.4-1.dsc
8668b129c026624ec226a4cccf4995f9d26f3e88fc28ab75b0e965f3c32b7dd8 17575784
webkit2gtk_2.24.4.orig.tar.xz
96aa3c6266c8968b48d33c55a64364f2d9c68249abda464c1c716659434ff64a 195
webkit2gtk_2.24.4.orig.tar.xz.asc
26969f70eb9b867f9bddf15ad8143905eeeb92625467b40e6fef62defa8fe54e 61184
webkit2gtk_2.24.4-1.debian.tar.xz
fa852a1b568199896682101792da65344708ed21974c64dc70638566b79520e4 15059
webkit2gtk_2.24.4-1_source.buildinfo
Files:
3c75ccc75b8b519d5fd42c0b3ad596de 4158 web optional webkit2gtk_2.24.4-1.dsc
c214963d8c0e7d83460da04a0d8dda87 17575784 web optional
webkit2gtk_2.24.4.orig.tar.xz
fe2e05e8ef36c33a6eeda8266e874de4 195 web optional
webkit2gtk_2.24.4.orig.tar.xz.asc
ddcdc81593583a7ba988af384f185f80 61184 web optional
webkit2gtk_2.24.4-1.debian.tar.xz
dabe060c9a9f3ac892aff227c72cf183 15059 web optional
webkit2gtk_2.24.4-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEYrwugQBKzlHMYFizAAyEYu0C2AIFAl1mZzoACgkQAAyEYu0C
2AKnyxAAntI+7tsG2wAObTCthDlTnNsnIhYLQW6nsNWGwvVay8DidZQYmpVAi89+
CeT+SasJLs3mqMy370FZR2FfxSbG7gG00TLsGtqWNHIsDWrewQ4bzoFO9NhrNfhj
dytoomZj8JfIKtHZASRNXP27S249bqfuGItXg1SAHG/JzGYnrYkDVbagzcnWNQXU
apKYGPDNqzBxQ95SeEpWdM4tGPg++r6jrx5tPLgjuMnuurCpJS950xSdrf/ZMRTN
uS45PUdl+5ymBTPkc4xk/OUHV6VcRn3uMNHCFx6wr7WT69aeYROgOf/erOozhR2N
itORIt1NrzEELkPPxOMiGKUwY7xvKGVL+3M4FX2mRvLVK4Up5jJpFbzhxJSMnBdn
GFRdE9Aop2btx8wmFWNNsH4mhQkcKnLxi3z5Hv8KBTRRLFm7c+jqG18mP5WUIykw
mZfOMy2OHLVmVMqBM8L+tyumV690WP+ZKuaAeEm9VZqpvp+wFpXhSszirh/jY+R8
b6LOtIRMQyp9O7s3W0Ta+JOVh4evI89lms8IKpyYmy30kjqCsZtXPK7dOm+BARJR
RMjzGf1wvzu/FsVfw9ncziCtQRgJBgghbRhwF4kIPNRRAk5gIoSjo4S9ivFj2EV4
DIpkPInFzoCuFc07YSXYd8ftEnmbmZzo6lgtXBCsckE5OJ2JCm4=
=lctJ
-----END PGP SIGNATURE-----
--- End Message ---