QWebEngineView crashes

Bug #1761708 reported by Dmitry
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtbase-opensource-src (Ubuntu)
Fix Released
High
Simon Quigley

Bug Description

I have KUbuntu 18.04 with the latest updates. I installed all pyqt3 stuff plus python3-pyqt5.qtwebengine and tried to execute a tiny webengine demo (attached):

$ python3 browser.py
Segmentation fault (core dumped)
[1:1:0100/000000.971262:ERROR:broker_posix.cc(41)] Invalid node channel message

Please see the attached core file & gdb bt

Tags: bionic
Revision history for this message
Dmitry (dmitrymq) wrote :
tags: added: bionic
Revision history for this message
Dmitry (dmitrymq) wrote :
Revision history for this message
Dmitry (dmitrymq) wrote :
Dmitry (dmitrymq)
description: updated
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

I can reproduce this. Attaching a more complete stacktrace.

I also tried a C++ version of the same program, it does not crash.

Changed in pyqt5 (Ubuntu):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

This may be related to bug 941826, even though I can reproduce it on a headless server without NVidia graphics, using Xvfb.

I found two possible workarounds:

- Install libglvnd-dev package which will mask the real libGL.so.
- Add these three lines on top of your script: https://bugs.launchpad.net/ubuntu/+source/python-qt4/+bug/941826/comments/21.

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

I think it is a bug in Qt, reported as https://bugreports.qt.io/browse/QTBUG-67537.

Another possible workaround: export QT_XCB_GL_INTEGRATION=xcb_egl (the bug is in the xcb_glx integration plugin, this environment variable will switch to a different integration plugin).

affects: pyqt5 (Ubuntu) → qtbase-opensource-src (Ubuntu)
Revision history for this message
Dmitry (dmitrymq) wrote :

Thanks for the quick response. In my situation the hack with QT_XCB_GL_INTEGRATION fixed the issue, thanks!

Simon Quigley (tsimonq2)
Changed in qtbase-opensource-src (Ubuntu):
assignee: nobody → Simon Quigley (tsimonq2)
Simon Quigley (tsimonq2)
Changed in qtbase-opensource-src (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtbase-opensource-src - 5.9.5+dfsg-0ubuntu1

---------------
qtbase-opensource-src (5.9.5+dfsg-0ubuntu1) bionic; urgency=medium

  [ Simon Quigley ]
  * New upstream release.
    - Refresh patches.
    - Update symbols from build logs.
  * Bump independent build dependencies.
  * Bump the virtual ABI package from qtbase-abi-5-9-4 to qtbase-abi-5-9-5.
  * Fix loading OpenGL library when libGL.so is missing (LP: #1761708).
    - fix-loading-OpenGL-when-symlink-missing.patch
    - QTBUG-67537

  [ Dmitry Shachnev ]
  * Update list of Qt WebKit build-dependencies in debian/README.source.

 -- Simon Quigley <email address hidden> Thu, 12 Apr 2018 18:24:40 -0500

Changed in qtbase-opensource-src (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.