Skip to content
Snippets Groups Projects
Unverified Commit c1d2033d authored by Kali Kaneko's avatar Kali Kaneko
Browse files

[bug] workaround for segfault caused by qtwebview bug

parent 513a1c15
Branches
Tags
1 merge request!262[bug] workaround for segfault caused by qtwebview bug
Pipeline #
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment