Package: python3-pyqt5.qtwebengine Version: 5.9.2+dfsg-1 Severity: important
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 I encountered this when trying to run webmacs (a browser written in python) on Debian. The attached script segfaults, seemingly on any URL. Feel free to adjust the severity up or down; I'm guessing the package works for some people / applications, but this seems like pretty core functionality to be broken. - -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (900, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.14.0-2-amd64 (SMP w/8 CPU cores) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages python3-pyqt5.qtwebengine depends on: ii libc6 2.25-5 ii libqt5core5a 5.9.2+dfsg-6 ii libqt5gui5 5.9.2+dfsg-6 ii libqt5webengine5 5.9.2+dfsg-2 ii libqt5webenginecore5 5.9.2+dfsg-2 ii libqt5webenginewidgets5 5.9.2+dfsg-2 ii libqt5widgets5 5.9.2+dfsg-6 ii libstdc++6 7.2.0-18 ii python3 3.6.4-1 ii python3-pyqt5.qtwebchannel 5.9.2+dfsg-1 python3-pyqt5.qtwebengine recommends no packages. python3-pyqt5.qtwebengine suggests no packages. - -- no debconf information -----BEGIN PGP SIGNATURE----- iQGzBAEBCAAdFiEE3VS2dnyDRXKVCQCp8gKXHaSnniwFAlpPZAQACgkQ8gKXHaSn niwVqAv/eS5KaAeWk9ngJUi6AXWAG0dnntZhKwyi7mYfvD6faTtjQg1ig4F93aSN BV+45qjwJqWsOdvyrV3rOODkBYEJe2eThjGjtwFPY17+8KLaN0oW369Y4MSxmN9u cbhQMMmFYV6Ks0X0aGfZEuUlnolor2gkbdGpsycwInC6Tyg6oauUu1v8hbd5oVnu N0gEZx/5hEj8YbLZoUxYrV7lyw4bxpcbdk5oYTLwJbgn7GYoCwtCYrte2GzetlYr GuoQgTL5hZMowmz5mfWmp2PirWBnwIgbMP7MG8+hjKD+dl749fWh7bnFnkfkpU+f rlSFEtmMnRpcVMFpwDESf61W8qcMX+c7SZ/jhN+0O2g3SUdywGiD1Nfu68yxp7SR OMqlngtiK05fpS9DkXyr/h4uLYn56RRcU/78evtqxcGr9JQoM8coNeQBpskmcUJK f8z1YAuCDVy5ag2DpEyvBV7pinEYtKcP8dR0zZ44RL320YW1i+iifGV3kgfQm5ZI xccf0Ilv =ZOUB -----END PGP SIGNATURE-----
#!/usr/bin/env python3 # vim: ft=python fileencoding=utf-8 sts=4 sw=4 et: # Copyright 2014-2017 Florian Bruhin (The Compiler) <m...@qutebrowser.org> # # This file is part of qutebrowser. # # qutebrowser is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # qutebrowser is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with qutebrowser. If not, see <http://www.gnu.org/licenses/>. """Very simple browser for testing purposes.""" import sys import argparse from PyQt5.QtCore import QUrl from PyQt5.QtWidgets import QApplication from PyQt5.QtWebEngineWidgets import QWebEngineView def parse_args(): """Parse commandline arguments.""" parser = argparse.ArgumentParser() parser.add_argument('url', help='The URL to open') return parser.parse_known_args()[0] if __name__ == '__main__': args = parse_args() app = QApplication(sys.argv) wv = QWebEngineView() wv.loadStarted.connect(lambda: print("Loading started")) wv.loadProgress.connect(lambda p: print("Loading progress: {}%".format(p))) wv.loadFinished.connect(lambda: print("Loading finished")) wv.load(QUrl.fromUserInput(args.url)) wv.show() app.exec_()