Bug 409495

Summary: [Run Actions]: crashes Falkon with a weird reference to Python2
Product: [Applications] Falkon Reporter: vialav <dvsv>
Component: extensionsAssignee: David Rosca <nowrep>
Status: RESOLVED WORKSFORME    
Severity: crash    
Priority: NOR    
Version First Reported In: 3.1.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description vialav 2019-07-04 15:28:10 UTC
SUMMARY
the 'Run Actions' extension crashes/freezes Falkon

STEPS TO REPRODUCE
1. Compile the latest Falkon sources under Python 3.6 and Ubuntu Bionic 18.04.2 distribution (trivially, by reverting commits 1ca4a6791bb1e0097b1d47f6ecd7725235593ce4 and d7dd0ac98e58237ab3f4ff5e6ea52681df69113c restoring Qt 5.9.5 compatibility)
2. Start Falkon and try to activate the 'Run Action' extension (in recent commits addressed the b'b'b problem under Python 3)

OBSERVED RESULT
Falkon crashes/freezes as follows:
Falkon: Python plugin support initialized
Cannot initialize model with data QJsonObject() . missing: QJsonValue(string, "urls")
Falkon: 7 extensions loaded
[3858:3882:0704/164937.190836:ERROR:nss_util.cc(808)] After loading Root Certs, loaded==false: NSS error code: -8018
libpng warning: iCCP: known incorrect sRGB profile
Segmentation fault
[Thu Jul  4 16:50:07 2019] falkon[3858]: segfault at fffffffffffff020 ip 00007f5e9b95722f sp 00007ffc48146848 error 5 in libpython2.7.so.1.0[7f5e9b828000+2e2000]

ocassionally (may be unrelated) in dmesg:
[Thu Jul  4 13:41:07 2019] falkon[8769]: segfault at 5623c0000009 ip 00007f32fed83e7d sp 00007ffc8590e770 error 4 in libQt5WebChannel.so.5.9.5[7f32fed76000+1d000]


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.58
Qt Version: v5.9.5


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 18.04.2
(available in About System)
KDE Plasma Version: N/A (irrelevant, but) (Unity)
KDE Frameworks Version:  (irrelevant, but) any from v5.44.0 backported to, to v5.58.0 (backported)
Qt Version:  (less relevant, but) v5.9.5 backported to, or any released up to date

ADDITIONAL INFORMATION
Pyside2 last Qt v5.9.5 compatible commit b9ff93a70c74ade2615d79bf9d465137c06cb826 with trivial fixes:
-${QtCore_GEN_DIR}/qrandomgenerator_wrapper.cpp
-${QtCore_GEN_DIR}/qrandomgenerator64_wrapper.cpp
-${QtCore_GEN_DIR}/qsemaphorereleaser_wrapper.cpp
-#include <QtTest/qttestglobal.h>
+#include <QtTest/qtest_global.h>
b2a09c05e9cc2503f1609f720060558c0db2fe03
dc14eba3040b24f538b7fce93a463d1f0a511bc4

Falkon is otherwise a working browser on this system, that is, backported to Qt 5.9.5, and almost all the extensions work as expected.
Comment 1 Justin Zobel 2022-09-23 02:22:36 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 2 Bug Janitor Service 2022-10-08 04:53:18 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-10-23 05:01:09 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!