Bug 1739354 - qutebrowser fails to start
Summary: qutebrowser fails to start
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: qutebrowser
Version: 30
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Timothée Floure
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-09 07:07 UTC by Pierguido Lambri
Modified: 2020-03-13 11:13 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-03-13 11:13:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
debug output (4.44 KB, text/plain)
2019-08-12 14:37 UTC, Pierguido Lambri
no flags Details

Description Pierguido Lambri 2019-08-09 07:07:17 UTC
Description of problem:
When I try to run qutebrowser I get the error "failed to start with the qtwebengine backend!".
The error is:

/lib64/libQt5WebEngineCore.so.5: undefined symbols: _ZN3re23RE23Arg9parse_intEPKciPv

I'm not sure if this is an issue with qte5-webengine or qutebrowser.

Version-Release number of selected component (if applicable):
qutebrowser-1.6.3-1.fc30

How reproducible:
It seems always on my computer

Steps to Reproduce:
1. Update qutebrowsers and qt5 to the latest packages
2. Start qutebrowser

Actual results:
It fails to start

Expected results:
It should be starting

Additional info:
Downgrading qt5 or qutebrowser doesn't seem to help.

Comment 1 Timothée Floure 2019-08-10 05:15:52 UTC
Hi! Thanks for the report.

It seems to be specific to qtwebengine, can you tell me if you are able to run qutebrowser using the webkit backend (`qutebrowser --backend webkit`) as a workaround?

Can you also give me the output of `qutebrowser --version`?

Comment 2 Pierguido Lambri 2019-08-12 07:51:08 UTC
Sorry, I forgot to mention that in the report.
Yes it works by switching the backend.
This is the version output:

$ qutebrowser --version
qutebrowser v1.6.3
Backend: QtWebEngine (Chromium unavailable)

CPython: 3.7.4
Qt: 5.12.4
PyQt: 5.12.2

sip: 4.19.17
colorama: 0.4.1
pypeg2: 2.15
jinja2: 2.10.1
pygments: 2.2.0
yaml: 5.1
cssutils: 1.0.2 $Id$
attr: 18.2.0
PyQt5.QtWebEngineWidgets: no
PyQt5.QtWebKitWidgets: yes
pdf.js: no
sqlite: 3.26.0
QtNetwork SSL: OpenSSL 1.1.1c FIPS  28 May 2019

Style: QFusionStyle
Platform: Linux-5.2.8-200.fc30.x86_64-x86_64-with-fedora-30-Thirty, 64bit
Linux distribution: Fedora 30 (Thirty) (fedora)
Frozen: False
Imported from /usr/lib/python3.7/site-packages/qutebrowser
Using Python from /usr/bin/python3
Qt library executable path: /usr/lib64/qt5/libexec, data path: /usr/share/qt5

Paths:
cache: /home/plambri/.cache/qutebrowser
config: /home/plambri/.config/qutebrowser
data: /home/plambri/.local/share/qutebrowser
runtime: /run/user/1000/qutebrowser

Uptime: 0:00:00

Comment 3 Timothée Floure 2019-08-12 13:47:44 UTC
Humm... my system is up to date but I am unable to reproduce your issue. Could you:

  * Tell me what is the version and revision of the qt5-qtwebengine package on your system (mine is qt5-qtwebengine-5.12.4-5.fc30).
  * Does ABRT catch the crash (you get a crash notification if you use gnome desktop)? If so, could you report the issue? I could not find a similar issue on https://retrace.fedoraproject.org/faf/summary/ ...
  * Can you paste the logs of `qutebrowser --debug`?

Comment 4 Pierguido Lambri 2019-08-12 14:37:04 UTC
Sure:

- qtwebengine rpm:

$ rpm -qa | grep qt5-qtwebengine
qt5-qtwebengine-5.12.4-5.fc30.x86_64


- ABRT doesn't catch any issue:

$ abrt-cli 
0db5a9e 1x kernel 2019-08-06 09:01:04
f5bdd87 1x kernel 2019-07-15 16:17:47

These are problems I had while playing with a kernel module. 

- I'll attach the debug output.

Comment 5 Pierguido Lambri 2019-08-12 14:37:42 UTC
Created attachment 1602965 [details]
debug output

Comment 6 jonhxp_ 2019-08-15 13:14:45 UTC
Good day,

After my last update i also can't start qutebrowser with the same error.

System: Fedora 29

> dnf list --installed | rg qt5-qtwebengine
  qt5-qtwebengine.x86_64                            5.12.2-1.fc29                          @updates

>qutebrowser --version
  qutebrowser v1.6.3
  Backend: QtWebEngine (Chromium unavailable)

  CPython: 3.7.4
  Qt: 5.11.3
  PyQt: 5.11.3

  sip: 4.19.13
  colorama: no
  pypeg2: 2.15
  jinja2: 2.10.1
  pygments: 2.2.0
  yaml: 5.1
  cssutils: 1.0.2 $Id$
  attr: 18.2.0
  PyQt5.QtWebEngineWidgets: no
  PyQt5.QtWebKitWidgets: yes
  pdf.js: no
  sqlite: 3.26.0
  QtNetwork SSL: OpenSSL 1.1.1c FIPS  28 May 2019

  Style: QFusionStyle
  Platform: Linux-5.2.7-100.fc29.x86_64-x86_64-with-fedora-29-Twenty_Nine, 64bit
  Linux distribution: Fedora 29 (Workstation Edition) (fedora)
  Frozen: False
  Imported from /usr/lib/python3.7/site-packages/qutebrowser
  Using Python from /usr/bin/python3
  Qt library executable path: /usr/lib64/qt5/libexec, data path: /usr/share/qt5

  Paths:
  cache: /home/john/.cache/qutebrowser
  config: /home/john/.config/qutebrowser
  data: /home/john/.local/share/qutebrowser
  runtime: /run/user/1000/qutebrowser
  Uptime: 0:00:00



The problem exists outside of qutebrowser.
When trying to import PyQt5.QtWebEngine in a python3 REPL the same error appears.
>python3
  Python 3.7.4 (default, Jul  9 2019, 16:48:28)
  [GCC 8.3.1 20190223 (Red Hat 8.3.1-2)] on linux
  Type "help", "copyright", "credits" or "license" for more information.
  
  >>> import PyQt5.QtWebEngine
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    ImportError: /lib64/libQt5WebEngineCore.so.5: undefined symbol: 


If needed, i can post the altered packages from the update, which lead to this problem.

Comment 7 Timothée Floure 2019-08-15 15:30:27 UTC
I will try to reproduce on my desktop ("Workstation edition") computer tomorrow, as everything works fine on my laptop (f30 system based on a minimal installation).

Comment 8 Pierguido Lambri 2019-08-15 16:58:07 UTC
Thanks jonhxp_...that actually made me wonder if this is not a QT or qutebrowser issue.
Then I found https://bugs.archlinux.org/task/51025

$ sudo yum downgrade re2
...
Downgraded:
  re2-20160401-8.fc30.x86_64                         


$ python3                                                                                             
Python 3.7.4 (default, Jul  9 2019, 16:32:37) 
[GCC 9.1.1 20190503 (Red Hat 9.1.1-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyQt5.QtWebEngine
>>> 

And qutebrowser works now.
It seems a chromium/QtWebEngine issue.

Comment 9 jonhxp_ 2019-08-15 17:39:46 UTC
Downgrading re2 fixed it for me aswell.

Thanks for the solution.

Comment 10 Timothée Floure 2019-08-20 12:31:46 UTC
Issues in F29 were most likely caused by this update: https://bodhi.fedoraproject.org/updates/FEDORA-2019-0f5dd9fe0d
I expect https://bodhi.fedoraproject.org/updates/FEDORA-2019-605dfb7384 to solve the problem. Can someone on F29 confirm?

Similarly, if someone has a faulty re2 package on F30: https://bodhi.fedoraproject.org/updates/FEDORA-2019-d2ea4920a4

Comment 11 jonhxp_ 2019-08-20 16:45:08 UTC
@Timothée Floure can confirm re2-20160401-11 solves the problem for me on F29.

Thanks for the fix.


Note You need to log in before you can comment on or make changes to this bug.