[bug] workaround for segfault caused by qtwebview bug

parent 513a1c15
Pipeline #14526 failed with stages
in 90 minutes and 6 seconds
......@@ -5,6 +5,10 @@ Changelog
-------------------------------
.. note:: This version is not yet released and is under active development.
Bugfixes
~~~~~~~~
- `#9278 <https://0xacab.org/leap/bitmask-dev/issues/9278>`_: Workaround for QtWebview bug causing a crash.
Misc
~~~~
- Fix snap bug in install hook when python2 was not installed.
......
......@@ -21,12 +21,14 @@ It just launches a wekbit browser that runs the local web-ui served by bitmaskd
when the web service is running.
"""
import ctypes
import os
import platform
import signal
import sys
import webbrowser
from ctypes import import util
from functools import partial
from multiprocessing import Process
......@@ -41,6 +43,12 @@ from leap.bitmask.gui.housekeeping import check_stale_pidfile
HAS_WEBENGINE = False
# This is a workaround for #9278.
# See https://bugs.launchpad.net/ubuntu/+source/
# qtbase-opensource-src/+bug/1761708
ctypes.CDLL(util.find_library('GL'), ctypes.RTLD_GLOBAL)
if platform.system() == 'Windows':
from multiprocessing import freeze_support
from PySide import QtCore, QtGui
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment