Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 719802 - www-client/qutebrowser-1.10.1 crashes in qtwebkit-5.212.0_pre20200309-r1
Summary: www-client/qutebrowser-1.10.1 crashes in qtwebkit-5.212.0_pre20200309-r1
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Guillaume Seren
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-27 13:48 UTC by Helmut Jarausch
Modified: 2021-06-30 00:48 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2020-04-27 13:48:20 UTC
qutebrowser is working just fine until I quit.
Then I get a segment fault
ASSERTION FAILED: m_cacheDirectory.isNull()
/var/tmp/portage/dev-qt/qtwebkit-5.212.0_pre20200309-r1/work/qtwebkit-5.212.0-alpha4/Source/WebCore/loader/appcache/ApplicationCacheStorage.cpp(369) : void WebCore::ApplicationCacheStorage::setCacheDirectory(const WTF::String&)
1   0x7fbd4df29177 /usr/lib64/libQt5WebKit.so.5(WTFCrash+0x17) [0x7fbd4df29177]
2   0x7fbd4e235a9b /usr/lib64/libQt5WebKit.so.5(_ZN7WebCore23ApplicationCacheStorage17setCacheDirectoryERKN3WTF6StringE+0x6b) [0x7fbd4e235a9b]
3   0x7fbd4d37b392 /usr/lib64/libQt5WebKit.so.5(_ZN12QWebSettings33setOfflineWebApplicationCachePathERK7QString+0x42) [0x7fbd4d37b392]
4   0x7fbd51a346ba /usr/lib/python3.8/site-packages/PyQt5/QtWebKit.so(+0x1b6ba) [0x7fbd51a346ba]
5   0x7fbd590413bc /usr/lib64/libpython3.8.so.1.0(+0x993bc) [0x7fbd590413bc]
6   0x7fbd59041ac0 /usr/lib64/libpython3.8.so.1.0(_PyObject_MakeTpCall+0xa0) [0x7fbd59041ac0]
7   0x7fbd59013e13 /usr/lib64/libpython3.8.so.1.0(+0x6be13) [0x7fbd59013e13]
8   0x7fbd5901b560 /usr/lib64/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x73e0) [0x7fbd5901b560]
9   0x7fbd590129e1 /usr/lib64/libpython3.8.so.1.0(+0x6a9e1) [0x7fbd590129e1]
10  0x7fbd59013d8d /usr/lib64/libpython3.8.so.1.0(+0x6bd8d) [0x7fbd59013d8d]
11  0x7fbd5901b560 /usr/lib64/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x73e0) [0x7fbd5901b560]
12  0x7fbd590129e1 /usr/lib64/libpython3.8.so.1.0(+0x6a9e1) [0x7fbd590129e1]
13  0x7fbd5904393f /usr/lib64/libpython3.8.so.1.0(PyVectorcall_Call+0x6f) [0x7fbd5904393f]
14  0x7fbd5723f120 /usr/lib/python3.8/site-packages/PyQt5/QtCore.so(+0x229120) [0x7fbd5723f120]
15  0x7fbd5723f5b0 /usr/lib/python3.8/site-packages/PyQt5/QtCore.so(+0x2295b0) [0x7fbd5723f5b0]
16  0x7fbd5723f81e /usr/lib/python3.8/site-packages/PyQt5/QtCore.so(+0x22981e) [0x7fbd5723f81e]
17  0x7fbd57240a6f /usr/lib/python3.8/site-packages/PyQt5/QtCore.so(+0x22aa6f) [0x7fbd57240a6f]
18  0x7fbd56d658e1 /usr/lib64/libQt5Core.so.5(+0x2e58e1) [0x7fbd56d658e1]
19  0x7fbd5723b8fe /usr/lib/python3.8/site-packages/PyQt5/QtCore.so(+0x2258fe) [0x7fbd5723b8fe]
20  0x7fbd5904bef1 /usr/lib64/libpython3.8.so.1.0(+0xa3ef1) [0x7fbd5904bef1]
21  0x7fbd59013d8d /usr/lib64/libpython3.8.so.1.0(+0x6bd8d) [0x7fbd59013d8d]
22  0x7fbd59015c84 /usr/lib64/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x1b04) [0x7fbd59015c84]
23  0x7fbd5912a9e4 /usr/lib64/libpython3.8.so.1.0(_PyEval_EvalCodeWithName+0xa84) [0x7fbd5912a9e4]
24  0x7fbd59041850 /usr/lib64/libpython3.8.so.1.0(_PyFunction_Vectorcall+0x90) [0x7fbd59041850]
25  0x7fbd590452c2 /usr/lib64/libpython3.8.so.1.0(+0x9d2c2) [0x7fbd590452c2]
26  0x7fbd59013d8d /usr/lib64/libpython3.8.so.1.0(+0x6bd8d) [0x7fbd59013d8d]
27  0x7fbd59017a9e /usr/lib64/libpython3.8.so.1.0(_PyEval_EvalFrameDefault+0x391e) [0x7fbd59017a9e]
28  0x7fbd5912a9e4 /usr/lib64/libpython3.8.so.1.0(_PyEval_EvalCodeWithName+0xa84) [0x7fbd5912a9e4]
29  0x7fbd59041850 /usr/lib64/libpython3.8.so.1.0(_PyFunction_Vectorcall+0x90) [0x7fbd59041850]
30  0x7fbd590452c2 /usr/lib64/libpython3.8.so.1.0(+0x9d2c2) [0x7fbd590452c2]
31  0x7fbd59013d8d /usr/lib64/libpython3.8.so.1.0(+0x6bd8d) [0x7fbd59013d8d]
Fatal Python error: Segmentation fault

Current thread 0x00007fbd58c7f740 (most recent call first):
  File "/usr/lib/python3.8/site-packages/qutebrowser/browser/webkit/webkitsettings.py", line 205 in shutdown
  File "/usr/lib/python3.8/site-packages/qutebrowser/config/websettings.py", line 284 in shutdown
  File "/usr/lib/python3.8/site-packages/qutebrowser/misc/quitter.py", line 254 in _shutdown_2
  File "/usr/lib/python3.8/site-packages/qutebrowser/misc/quitter.py", line 247 in shutdown
  File "/usr/lib/python3.8/site-packages/qutebrowser/misc/quitter.py", line 79 in on_last_window_closed
  File "/usr/lib/python3.8/site-packages/qutebrowser/app.py", line 134 in qt_mainloop
  File "/usr/lib/python3.8/site-packages/qutebrowser/app.py", line 124 in run
  File "/usr/lib/python3.8/site-packages/qutebrowser/qutebrowser.py", line 201 in main
  File "/usr/lib/python-exec/python3.8/qutebrowser", line 11 in <module>
zsh: segmentation fault (core dumped)  qutebrowser http://www.photivo.org

It's my local version with Python3.8 enabled but I doubt this is the cause of the problem.

Is it a problem with qtwebkit-5.212.0_pre20200309-r1 ?
Thanks for a hint,
Helmut
Comment 1 Florian Bruhin 2020-05-11 19:10:10 UTC
That's probably an issue with the qtwebkit package not configuring a release build, see: https://github.com/qutebrowser/qutebrowser/issues/4877
Comment 2 Guillaume Seren 2020-05-11 21:09:33 UTC
Hello,
Yes maybe check this issue with upstream.

I have tested with python3.8 so maybe test with python3.7 if the issue is still here.
Comment 3 Guillaume Seren 2020-05-11 21:10:05 UTC
Sorry posted too fast,

I have *not* tested with python3.8
Comment 4 Stefan Strogin gentoo-dev 2020-09-04 01:16:00 UTC
qtwebkit backend is not supported in the ebuild at all, and I am not sure we want to do it, considering qtwebkit's upstream condition.
But if you know how to fix it, PRs are welcome.
Comment 5 Guillaume Seren 2020-10-01 10:59:09 UTC
Hey,
last available release in portage (1.13.1), support python3_8,
it this still an issue ?