Bug 486397

Summary: plasmoidviewer crashes (core dump) for widgets that use QtWebEngine
Product: [Plasma] Plasma SDK Reporter: Karl Ove Hufthammer <karl>
Component: plasmoidviewerAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: giorgos.tsiapaliokas, kdedev
Priority: NOR    
Version First Reported In: 6.0.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Karl Ove Hufthammer 2024-05-01 11:01:04 UTC
SUMMARY
When using plasmoidviewer to open a Plasma widget which uses QtWebEngine, the application immediately crashes.


STEPS TO REPRODUCE
1. From the command-line, run either
    plasmoidviewer --applet org.kde.plasma_applet_dict
    or
    plasmoidviewer --applet org.kde.plasma.webbrowser‘

OBSERVED RESULT
A window is briefly shown, but then plasmoidviewer crashes with an error message ending with:

  QtWebEngineQuick::initialize() must be called from the Qt gui thread.
  Aborted (core dumped)


EXPECTED RESULT
No crash and a working standalone Plasma widget shown.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240425
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.7-1-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-2500 CPU @ 3.30GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 3GB/PCIe/SSE2


ADDITIONAL INFORMATION
The crash also happens when using plasmawindowed:

    plasmawindowed org.kde.plasma_applet_dict

However, it does not happen when adding the widgets to the desktop, and it does not seem to happen for widgets that don’t use QtWebEngine.
Comment 1 Karl Ove Hufthammer 2024-07-26 20:16:19 UTC
Still crashing in version 6.1.3.
Comment 2 TraceyC 2025-06-25 20:12:16 UTC
Thanks for the bug report. I'm sorry we weren't able to get to this yet. There have been many fixes and improvements since this was reported, and this issue may have been fixed. I don't see a segfault running either of the two examples in today's git-master.

Can you please re-test on your system with Plasma 6.4.1 or later and let us know if you can still reproduce the problem? If you can, please set this report back to REPORTED. Thanks!
Comment 3 Bug Janitor Service 2025-07-10 03:48:00 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2025-07-25 03:47:01 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.