[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#1091642: k3b: crashes immediately and does not start



Control: retitle -1 Qt WebEngine crashes when reading libwidevinecdm.so
Control: reassign -1 src:qt6-webengine
Control: affects -1 k3b

Koutheir,

On Wednesday, January 8, 2025 6:02:36 PM MST Koutheir Attouchi wrote:
> Hi,
> 
> *> Could you try launching other apps that build against the Qt6 WebEngine
> widgets library and report back if you get crashes or not ? Running "apt
> rdepends libqt6webenginewidgets6" will give you some ideas (parley,
> ktorrent…).*
> 
> I tested a few packages reported by "*apt rdepends 
libqt6webenginewidgets6*".
> During the tests, I unset the environment variable
> *QTWEBENGINE_CHROMIUM_FLAGS*.
> 
>    - The following applications *work fine*: akregator, khelpcenter,
>    konqueror, kontact, notedeln, parley.
>    - The following applications *crash at startup* with the same output:
>    falkon, k3b, ktorrent, pageedit, privacybrowser, recoll, sigil, tellico,
>    zeal.
> 
> I also verified each time that setting "
> *QTWEBENGINE_CHROMIUM_FLAGS=--widevine-path=/does-not-exist*" fixes the
> crash issue and allows the applications above to work fine.

The part of the Qt WebEngine code that looks for the libwidevinecdm.so is:

https://sources.debian.org/src/qt6-webengine/6.7.2%2Bdfsg2-1/src/core/
content_client_qt.cpp/#L261

By default, the Debian package of Firefox does not include libwidevinedcm.so, 
so this bug does not manifest for many Debian users.  If you attempt to view a 
website that uses Widevine DRM, like Netflix, Firefox will present a prompt in 
a bar across the top of the screen asking if you want to enable DRM.  If you 
click to do so, Firefox downloads libwidevinedcm.so to your system.

It is unclear why this is leading to a crash.  My guess is that there is some 
incompatibility between the version of libwidevinedcm.so you have downloaded 
and Qt WebEngine in trixie.  It looks like the version you have installed 
(4.10.2830.0) is the current one:

https://repology.org/project/widevine/packages

A brief search of Qt bug reports doesn’t appear to pull anything up that is 
related.

https://bugreports.qt.io/browse/QTBUG-78709?jql=text%20~%20%22widevine%22

On one of my amd64 systems running trixie, downloading libwidevinecdm.so 
(4.10.2830.0) in Firefox doesn’t cause any problems.  I can run K3b and 
Privacy Browser without crashing.

1.  Can you verify that Widevine is working correctly for you in Firefox?
2.  Do you happen to have a second system you can test?

-- 
Soren Stoutner
soren@debian.org

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: