--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: libqt5webengine5: Doesn't show error messages/pages on (at least) non-existing hosts and unsupported protocols
- From: Axel Beckert <abe@debian.org>
- Date: Sun, 26 Nov 2017 23:41:50 +0100
- Message-id: <874lpg4q8h.fsf@c6.deuxchevaux.org>
Package: libqt5webengine5
Version: 5.9.2+dfsg-2
Severity: normal
Control: affects -1 qutebrowser
Hi,
while testing the qutebrowser 1.0.3 upstream release for sponsoring an
upload to Debian I noticed that neither "host not found errors" nor
(suspectedly) unsupported protocol errors show up properly in
qutebrowser.
Thanks to the main qutebrowser upstream developer (Florian Bruhin,
X-Debbugs-CC'ed) I am able to provide the following minimal and
qutebrowser-independent test cases to reproduce these issues.
For that minimal test case Florian suggested to use this minimal
command-line wrapper script around Qt's browser engines (part of the
qutebrowser source code, but it's not qutebrowser):
https://github.com/qutebrowser/qutebrowser/blob/master/scripts/testbrowser.py
Using this small test script, I can reproduce the issue as follows:
$ python3 testbrowser.py --webengine http://domain.doesnotexist/
Loading progress: 10%
Loading started
Loading progress: 10%
Loading progress: 70%
Loading progress: 0%
js: Uncaught ReferenceError: jstProcess is not defined
Loading finished
Loading progress: 100%
Loading progress: 100%
It shows some half-baked not-sure-what dialog (looks more like half of a
download dialog) as shown in the attached
2017-11-26-231109_638x430_scrot.png screen shot.
![PNG image](pngtFN0fTQBeC.png)
The console output for trying to access a gopher page looks very
similar, but the shown page is completely blank:
$ python3 testbrowser.py --webengine gopher://gopher.semmel.ch/
Loading progress: 10%
Loading started
Loading progress: 0%
js: Uncaught ReferenceError: jstProcess is not defined
Loading finished
Loading progress: 100%
Loading progress: 100%
Screenshot of the blank page is in 2017-11-26-231406_638x430_scrot.png.
![PNG image](pngufp0lMt5PQ.png)
And just as a proof that this gopher server indeed works,
2017-11-26-231803_638x430_scrot.png is a screenshot of accessing
that gopher server with the gopher browser forg.
![PNG image](pngSRuRoJnW34.png)
Since the messages, and even the warning testbrowser.py prints, are in
both cases nearly identical, I assume this is one bug and not two
different bugs. Feel free to clone this bug report if you think otherwise.
And since the string "jstProcess" is neither present in qutebrowser's
source code nor in testbrowser.py, but according to
https://codesearch.debian.net/search?q=jstProcess in
qtwebengine-opensource-src and chromium-browser, this seems to be a bug
directly in libqt5webengine5 (and not qutebrowser).
And since it only seems to happen on Debian (but not on other
distributions according to qutebrowser upstream), it might be an issue
specific to how qtwebengine is compiled for Debian. (This is not meant
as an accusation but as a hint to where start looking. :-)
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.13.0-rc7-amd64 (SMP w/8 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages libqt5webengine5 depends on:
ii libc6 2.25-2
ii libqt5core5a [qtbase-abi-5-9-2] 5.9.2+dfsg-4
ii libqt5gui5 5.9.2+dfsg-4
ii libqt5qml5 [qtdeclarative-abi-5-9-2] 5.9.2-3
ii libqt5quick5 5.9.2-3
ii libqt5webchannel5 5.9.2-2
ii libqt5webengine-data 5.9.2+dfsg-2
ii libqt5webenginecore5 5.9.2+dfsg-2
ii libstdc++6 7.2.0-16
libqt5webengine5 recommends no packages.
libqt5webengine5 suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
- To: 882805-close@bugs.debian.org
- Subject: Bug#882805: fixed in qtwebengine-opensource-src 5.12.5+dfsg-4
- From: Dmitry Shachnev <mitya57@debian.org>
- Date: Thu, 19 Dec 2019 10:09:37 +0000
- Message-id: <E1ihskT-0000lm-VI@fasolo.debian.org>
Source: qtwebengine-opensource-src
Source-Version: 5.12.5+dfsg-4
We believe that the bug you reported is fixed in the latest version of
qtwebengine-opensource-src, 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 882805@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Dmitry Shachnev <mitya57@debian.org> (supplier of updated qtwebengine-opensource-src 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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 19 Dec 2019 12:42:13 +0300
Source: qtwebengine-opensource-src
Binary: qtwebengine5-dev qtwebengine5-private-dev libqt5webengine5 libqt5webenginecore5 libqt5webenginewidgets5 libqt5webengine-data qml-module-qtwebengine qtwebengine5-dev-tools qtwebengine5-examples qtwebengine5-doc qtwebengine5-doc-html
Architecture: source
Version: 5.12.5+dfsg-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Dmitry Shachnev <mitya57@debian.org>
Description:
libqt5webengine-data - Web content engine library for Qt - Data
libqt5webengine5 - Web content engine library for Qt
libqt5webenginecore5 - Web content engine library for Qt - Core
libqt5webenginewidgets5 - Web content engine library for Qt - Widget
qml-module-qtwebengine - Qt WebEngine QML module
qtwebengine5-dev - Web content engine library for Qt - development files
qtwebengine5-dev-tools - Qt WebEngine tools
qtwebengine5-doc - Qt 5 webengine documentation
qtwebengine5-doc-html - Qt 5 webengine HTML documentation
qtwebengine5-examples - Qt WebEngine - Examples
qtwebengine5-private-dev - Web content engine library for Qt - private development files
Closes: 882805
Changes:
qtwebengine-opensource-src (5.12.5+dfsg-4) unstable; urgency=medium
.
[ Alexander Volkov ]
* Do not build the documentation packages when nodoc profile is enabled.
.
[ Dmitry Shachnev ]
* Backport upstream patches to fix CVE-2019-13720 and CVE-2019-5870.
* Update debian/libqt5webenginecore5.symbols from buildds’ logs.
* Use ui/webui/resources/js/jstemplate_compiled.js provided by upstream
instead of the empty file (closes: #882805).
* Backport upstream patch to fix build with ICU 65.1.
Checksums-Sha1:
7ededbc4ca1b94cfd03a6e005265e8f6d52277e0 4750 qtwebengine-opensource-src_5.12.5+dfsg-4.dsc
bc1d61d058bcf2d23385eb431a1033dbee42740d 466424 qtwebengine-opensource-src_5.12.5+dfsg-4.debian.tar.xz
6cce51392308c12ace050008277bfc7f66db34a6 12867 qtwebengine-opensource-src_5.12.5+dfsg-4_source.buildinfo
Checksums-Sha256:
d9a3e565ccd3c4ed9e28e28ccab6e2195d5a792b4012588cb9ae4db3df6ca2df 4750 qtwebengine-opensource-src_5.12.5+dfsg-4.dsc
820845beb543dbe643231af8c7a63d6418c7f134c7bca69896ecbe9408c50c9f 466424 qtwebengine-opensource-src_5.12.5+dfsg-4.debian.tar.xz
c8c0b731ed29e4564a02928753f40f672422cd192b61465d634276e142307585 12867 qtwebengine-opensource-src_5.12.5+dfsg-4_source.buildinfo
Files:
af0111560edcfd864fcc6d376cf3eb86 4750 libs optional qtwebengine-opensource-src_5.12.5+dfsg-4.dsc
51b5f49f1194552ed3f7c7e1af9903a7 466424 libs optional qtwebengine-opensource-src_5.12.5+dfsg-4.debian.tar.xz
5e8a9bd25ed079c497fcc4c04448a9c4 12867 libs optional qtwebengine-opensource-src_5.12.5+dfsg-4_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJHBAEBCgAxFiEE5688gqe4PSusUZcLZkYmW1hrg8sFAl37SDgTHG1pdHlhNTdA
ZGViaWFuLm9yZwAKCRBmRiZbWGuDy/I/D/9IzN9T92LWuCxvfqYcXdVvvm122mNV
1ylCSi+IhyWoRZe0g1F9prm19f3xQdJuoiEMe7jINDm5HP4w7n5rAV5g12xg0VPi
Tg4FxNfYtX12tMUTc9d1QXL0j7Fh8OCfYBVIgtzoasvT3CgwFSWDI5orQVp2lP2I
tyHKxvQ7Zl7MD6XsrwlJ8m+oNnhNOuJkVVmVu7JzaBfgfrbH5RZFrkKsidEo+TBE
a6Zf9ZRH99FhIqUgNkNpOHkt6Gu5fra/tWp6fIGCswiFqMszj8VTJTl75qXVNw8k
gIzK152FFRShpzy9Dzq8kROPYkODYe4GB8PGueFjpb9XHKl2Z8MJAlPsDnexxTY1
X+LkoMF17OypI1zfSP1tSFgWyMZAKrYFNlbwpbSEckCTkI8owzDgueinjI2iwlDG
8+OhBUt2t9u0g2zlykB4A67eb4IYcDGQk2Dd10UNCJlCzcSWFCyOseMVu581YgdK
VHqld8aXwM8fcFItCMW9MghhEfDgW/K3abrk1zZ/ZVNEhlcvApUKlcpS9RFwF0tF
L+Rbutz6nj+b6frM9zNsHLPY8PVctk95qodoEiRhv/0woOSeXHgesrqjPYAc0aDG
DMKSsIg9trzjZzOWEZbFzUyMG8I+58dpTtRjoS1FePwl6lJLCXDyf62hkE3lTquz
vSm4cOSX/tUzhA==
=0bUH
-----END PGP SIGNATURE-----
--- End Message ---