Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qutebrowser crash after black screen turns back on #7782

Closed
tobip opened this issue Jul 19, 2023 · 7 comments
Closed

qutebrowser crash after black screen turns back on #7782

tobip opened this issue Jul 19, 2023 · 7 comments
Labels
status: can't reproduce Issues which can't be reproduced. status: needs triage Issues/PRs which need some deeper investigation.

Comments

@tobip
Copy link

tobip commented Jul 19, 2023

Version info:

qutebrowser v2.5.4
Git commit: 
Backend: QtWebEngine 5.15.13, based on Chromium 87.0.4280.144
Qt: 5.15.9 (compiled 5.15.8)

CPython: 3.11.3
PyQt: 5.15.9

sip: 6.7.9
colorama: 0.4.6
jinja2: 3.1.2
pygments: 2.15.1
yaml: 6.0
adblock: 0.6.0
PyQt5.QtWebEngineWidgets: yes
PyQt5.QtWebEngine: 5.15.6
PyQt5.QtWebKitWidgets: no
pdf.js: 3.6.172 (/usr/share/pdf.js/build/pdf.js)
sqlite: 3.42.0
QtNetwork SSL: OpenSSL 3.0.8 7 Feb 2023

Style: Qt5CTProxyStyle
Platform plugin: wayland
OpenGL: AMD, 4.6 (Compatibility Profile) Mesa 23.0.4
Platform: Linux-5.15.114-2-MANJARO-x86_64-with-glibc2.37, 64bit
Linux distribution: Manjaro Linux (manjaro)
Frozen: False
Imported from /usr/lib/python3.11/site-packages/qutebrowser
Using Python from /usr/bin/python3
Qt library executable path: /usr/lib/qt/libexec, data path: /usr/share/qt

Paths:
cache: /home/tobias/.cache/qutebrowser
config: /home/tobias/.config/qutebrowser
data: /home/tobias/.local/share/qutebrowser
runtime: /run/user/1000/qutebrowser
system data: /usr/share/qutebrowser

Autoconfig loaded: yes
Config.py: /home/tobias/.config/qutebrowser/config.py has been loaded
Uptime: 0:02:12

Does the bug happen if you start with --temp-basedir?:
yes

Description

10:38:05 DEBUG    ipc        ipc:update_atime:429 Touching /run/user/1000/qutebrowser/ipc-2b2731af96cc3d862395993a7ba1188d
10:38:30 DEBUG    misc       mainwindow:_update_overlay_geometry:350 new geometry for <qutebrowser.mainwindow.messageview.MessageView object at 0x7f2c102c1e10>: PyQt5.QtCore.QRect(0, 1036, 1921, 1)
10:38:30 DEBUG    misc       mainwindow:_update_overlay_geometry:350 new geometry for <qutebrowser.mainwindow.messageview.MessageView object at 0x7f2c0b3ed510>: PyQt5.QtCore.QRect(0, 1036, 1921, 1)
[1]    42981 segmentation fault (core dumped)  qutebrowser -l vdebug

How to reproduce

  1. run qutebrowser
  2. wait for screen to automatically turn off after 15 minutes
  3. move mouse to turn screen back on (in my case this is done with swaymsg "output * dpms on")
  4. qutebrowser crashes in the moment when the screen turns back on
@The-Compiler
Copy link
Member

This is most likely an issue with the underlying Qt library and not qutebrowser. Could you please try qutebrowser-git from the AUR, run it with QUTE_QT_WRAPPER=PyQt6 qutebrowser --temp-basedir and see if it happens there too?

@The-Compiler The-Compiler added status: can't reproduce Issues which can't be reproduced. status: needs triage Issues/PRs which need some deeper investigation. labels Jul 19, 2023
@tobip
Copy link
Author

tobip commented Jul 20, 2023

I would love to try this, but will it keep my config when I reinstall qutebrowser from AUR?

@The-Compiler
Copy link
Member

Yep! (Un)installing packages should never touch anything in your home directory - and with --temp-basedir, qutebrowser won't either, so your cookies and such won't be upgraded to the new version.

@tobip
Copy link
Author

tobip commented Jul 20, 2023

I guess I'm missing something. Need more help.

image

@The-Compiler
Copy link
Member

Ah, yep - you'll need python-pyqt6-webengine too, that's not a dependency yet because it's not the default yet.

@tobip
Copy link
Author

tobip commented Jul 20, 2023

Got it.
Can't reproduce error in qutebrowser-git.

@The-Compiler
Copy link
Member

Assuming this is an upstream Qt issue that's been fixed then - nothing qutebrowser can do here I'm afraid, other than finishing the move to Qt 6 (see #7202, hopefully the default will switch this week).

@The-Compiler The-Compiler closed this as not planned Won't fix, can't repro, duplicate, stale Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: can't reproduce Issues which can't be reproduced. status: needs triage Issues/PRs which need some deeper investigation.
Projects
None yet
Development

No branches or pull requests

2 participants