Bug 401036

Summary: Plasma crashes when Comic widget's APOD comic switches to a non-image (eg. video)
Product: [Plasma] plasmashell Reporter: Marc Branchaud <marcnarc>
Component: Comic widgetAssignee: Marco Martin <notmart>
Status: RESOLVED FIXED    
Severity: crash CC: home1, kdedev
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Stack trace from Apport crash report
restart of plasmashell after crash due to APOD in Comics plasmoid
... and then stdout during crash as APOD is switched to video content

Description Marc Branchaud 2018-11-14 16:00:45 UTC
Created attachment 116309 [details]
Stack trace from Apport crash report

SUMMARY

I keep the Comic Strip plasmoid open on my desktop.  I only follow a handful of comics, but the first one on the list is the Astronomy Picture of the Day (APOD). So this is the comic displayed by default in the plasmoid.

Occasionally APOD's "image" isn't a picture but some kind of embedded video.  *Every time* the APOD feed switches to a video, plasma crashes.  When I re-launch plasmashell from the command line, the Comic widget opens but displays nothing.  Plasma then works fine until APOD again decides to show a video.

STEPS TO REPRODUCE
1. Add Comic plasmoid to the desktop.
2. Configure Comic to display APOD.
3. Wait for APOD to show a video instead of an image

OBSERVED RESULT

Plasma crashes.

I see this on the CLI output:

----------
"apod:2018-11-13" pluging reported an error.
Segmentation fault (core dumped)
----------

(Yes, "pluging" is exactly what's printed.)

EXPECTED RESULT

Plasma shouldn't crash!

SOFTWARE/OS VERSIONS

Operating System: Kubuntu 18.10
KDE Plasma Version: 5.14.3
Qt Version: 5.11.1
KDE Frameworks Version: 5.51.0
Kernel Version: 4.18.0-10-generic
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-3770K CPU @ 3.50GHz
Memory: 31.4 GiB of RAM

ADDITIONAL INFORMATION

Attached the Stacktrace from the Apport crash report.  The full report is too big to attach, but I'm happy to provide other details from it.
Comment 1 jack_sprat 2019-03-25 10:15:09 UTC
Created attachment 119019 [details]
restart of plasmashell after crash due to APOD in Comics plasmoid
Comment 2 jack_sprat 2019-03-25 10:21:05 UTC
Created attachment 119020 [details]
... and then stdout during crash as APOD is switched to video content

video content at: https://apod.nasa.gov/apod/ap190324.html
Comment 3 Justin Zobel 2022-09-21 03:42:15 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 4 Marc Branchaud 2022-09-21 12:46:33 UTC
I haven't used the Comic widget in a while, so I've set it up again. Like seeing an old friend! Let's see if the problem still happens.
Comment 5 Bug Janitor Service 2022-10-06 04:50:40 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 6 jack_sprat 2022-10-06 19:42:22 UTC
Dunno if it's still due to video, but after I added APOD it crashed plasma - fortunately 5.18.6 seems a bit more robust and came back up by itself.
So, I'd say it's still 'fragile'.
Comment 7 Marc Branchaud 2022-10-06 19:46:32 UTC
No problems for me so far using APOD (but still waiting for them to publish a video). My system is now:

Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.6
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.3
Kernel Version: 5.17.0-1017-oem (64-bit)
Graphics Platform: X11
Processors: 20 × 12th Gen Intel® Core™ i7-12700H
Memory: 62.5 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2
Comment 8 Bug Janitor Service 2022-10-21 05:00:48 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 9 Marc Branchaud 2022-10-28 04:30:18 UTC
APOD published a video this week and Plasma didn't crash on me.

The Comic widget itself still doesn't know what to do with the video: It doesn't change from the previous APOD image, until the next non-video is published. So, like jack_sprat said, it's "fragile".
Comment 10 TraceyC 2025-04-10 19:36:00 UTC
Since no one has reported any other crashes after KDE Plasma Version: 5.24.6, I'm marking this fixed. If anyone is still seeing crashes in Comic Strip. please submit a new report with a new backtrace. Thanks!