lang/python39 Python 3.9 crashes after relatively long runs of www/qutebrowser, libQt5WebEngineCore.so.5 from www/qt5-webengine in the backtrace

Graham Perrin grahamperrin at gmail.com
Tue Aug 15 13:52:28 BST 2023


More than a handful of crashes, at qutebrowser quit time. I typically 
key Control-Q or Alt-F4.

To not have discussion across two lists, should I make a bug report in 
Bugzilla?

*Example*

% qutebrowser 
/usr/local/poudriere/data/logs/bulk/main-default/latest/index.html
10:03:07WARNING: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to 
'/tmp/runtime-grahamperrin'
10:03:09WARNING: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to 
'/tmp/runtime-grahamperrin'
10:03:13WARNING: Could not create scene graph context for backend 
'opengl' - check that plugins are installed correctly in 
/usr/local/lib/qt5/plugins
Fatal Python error: Bus error

Thread 0x000008ac4b012000 (most recent call first):
<no Python frame>
Bus error (core dumped)
% pwd
/usr/home/grahamperrin
% ls -hlrt *.core
-rw-------  1 grahamperrin grahamperrin  200M 29 Jul 18:37 
sqlitebrowser.core
-rw-------  1 grahamperrin grahamperrin   46M  5 Aug 03:56 plasmashell.core
-rw-------  1 grahamperrin grahamperrin  138M  9 Aug 15:08 remmina.core
-rw-------  1 grahamperrin grahamperrin   44M 14 Aug 13:24 kded5.core
-rw-------  1 grahamperrin grahamperrin   45M 14 Aug 13:24 drkonqi.core
-rw-------  1 grahamperrin grahamperrin  230M 14 Aug 16:21 
WebKitWebProcess.core
-rw-------  1 grahamperrin grahamperrin  334M 15 Aug 11:09 python3.9.core
%

*Backtrace (probably nothing useful)*

% gdb /usr/local/bin/python3.9 -- /home/grahamperrin/python3.9.core
GNU gdb (GDB) 13.1 [GDB v13.1 for FreeBSD]
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-portbld-freebsd14.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/bin/python3.9...
(No debugging symbols found in /usr/local/bin/python3.9)
[New LWP 209302]
[New LWP 208896]
[New LWP 209282]
[New LWP 209283]
[New LWP 209285]
[New LWP 209286]
[New LWP 209294]
[New LWP 209303]
[New LWP 209315]
[New LWP 209318]
[New LWP 209319]
[New LWP 220530]
[New LWP 220532]
Core was generated by `/usr/local/bin/python3.9 
/usr/local/bin/qutebrowser /usr/local/poudriere/data/lo'.
Program terminated with signal SIGBUS, Bus error.
Sent by thr_kill() from pid 45669 and user 1002.
#0 thr_kill() at thr_kill.S:4
4       RSYSCALL(thr_kill)
[Current thread is 1 (LWP 209302)]
warning: File "/usr/local/lib/libpython3.9.so.1.0-gdb.py" auto-loading 
has been declined by your `auto-load safe-path' set to 
"$debugdir:$datadir/auto-load".
To enable execution of this file add
        add-auto-load-safe-path /usr/local/lib/libpython3.9.so.1.0-gdb.py
line to your configuration file "/home/grahamperrin/.config/gdb/gdbinit".
To completely disable this security protection add
        set auto-load safe-path /
line to your configuration file "/home/grahamperrin/.config/gdb/gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual.  E.g., run from the 
shell:
        info "(gdb)Auto-loading safe path"
(gdb) bt
#0 thr_kill() at thr_kill.S:4
#1 0x000000082510a1b4in __raise(s=10) at /usr/src/lib/libc/gen/raise.c:52
#2 0x00000008257798dfin handle_signal(actp=actp at entry=0x926add500, 
sig=sig at entry=10, info=info at entry=0x926add8f0, 
ucp=ucp at entry=0x926add580) at /usr/src/lib/libthr/thread/thr_sig.c:303
#3 0x0000000825778e7bin thr_sighandler(sig=10, info=0x926add8f0, 
_ucp=0x926add580) at /usr/src/lib/libthr/thread/thr_sig.c:246
#4 0x00000008207fd2d3in <signal handler called>()
#5 check_and_init_mutex(mutex=0x5a5a5a5a5a5a5a5a, m=<optimized out>) at 
/usr/src/lib/libthr/thread/thr_mutex.c:597
#6 __Tthr_mutex_trylock(mutex=0x5a5a5a5a5a5a5a5a) at 
/usr/src/lib/libthr/thread/thr_mutex.c:625
#7 0x0000000861d20876in  () at /usr/local/lib/qt5/libQt5WebEngineCore.so.5
#8 0x000008ac4de7f000in  ()
#9 0x000008ac4de7f040in  ()
#10 0x000008ac4de7f010in  ()
#11 0x000008ac4de7f038in  ()
#12 0x0000000926addbe0in  ()
#13 0x0000000861d06c6fin  () at /usr/local/lib/qt5/libQt5WebEngineCore.so.5
#14 0x000008ac4de7f000in  ()
#15 0x000008ac4de5a000in  ()
#16 0x000008ac4de05380in  ()
#17 0x000008ac4de1c710in  ()
#18 0x0000000926addc00in  ()
#19 0x0000000861d06e7ein  () at /usr/local/lib/qt5/libQt5WebEngineCore.so.5
#20 0x0000000867b86eb8in  () at /usr/local/lib/qt5/libQt5WebEngineCore.so.5
#21 0x000008ac4de62600in  ()
#22 0x0000000926addc40in  ()
#23 0x000000086445726ain  () at /usr/local/lib/qt5/libQt5WebEngineCore.so.5
#24 0x000008ac52569288in  ()
#25 0x0000000000000000in  ()
(gdb) bt all
No symbol "all" in current context.
(gdb) q
% date ; uname -aKU
Tue 15 Aug 2023 11:13:20 BST
FreeBSD mowa219-gjp4-8570p-freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT 
amd64 1400094 #2 main-n264621-09c20a293280-dirty: Wed Aug  9 02:15:02 
BST 2023     grahamperrin at mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64
.amd64/sys/GENERIC-NODEBUG amd64 1400094 1400094
% pkg iinfo qutebrowser
qutebrowser-2.5.4_1
%
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20230815/918f42e2/attachment-0001.htm>


More information about the kde-freebsd mailing list