Bug 353586 - kf5 comic crashes KDE when larger Sunday comic image accessed
Summary: kf5 comic crashes KDE when larger Sunday comic image accessed
Status: RESOLVED WORKSFORME
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: General (show other bugs)
Version: 5.4.1
Platform: Fedora RPMs Linux
: NOR critical
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2015-10-06 04:36 UTC by gene smith
Modified: 2018-10-27 02:07 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
gdb.txt truncated at 1000 call levels for thread 1. (668.73 KB, text/plain)
2015-11-15 01:14 UTC, gene smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gene smith 2015-10-06 04:36:27 UTC
For any comic that has a larger image on a particular day, typically Sunday, when accessed in the comic plasmoid the rotating arrow appears for a few seconds and then the screen goes blank. I am only able to recover by doing ctrl-alt-delete and selecting logoff. Examples of this are "Calvin and Hobbs", "Doonesbury" and Dilbert. This occurs when accessing the Sunday comic by scrolling back using the left-arrow button from a weekday, e.g., Tuesday.
Note also, if comic plasmoid is started (i.e., kde started) on a Sunday, the the current (larger) strip simply does not appear when it is of a larger size. No crash occurs.

Reproducible: Always

Steps to Reproduce:
1. Setup comic with at least one strip like Dilbert
2. Access a smaller weekday strip which appears OK
3. Scroll back to Sunday strip.

Actual Results:  
While attempting to access and display the larger Sunday strip, KDE crashes, i.e., screen goes black. It does responds to crtl-alt-delete so can log out and restart KDE.

Expected Results:  
Larger Sunday strip should appear and KDE should continue running

This may have worked OK when Fedora 22 originally installed, not sure. It may require a build-up of cached strips, but I doubt it.
Note also, I have KDE4 running on another installation of Fedora 21 and it DOES NOT have this problem and is running the exact same comic code files (main.es) for each strip.

Since this completely crashes KDE, I would classify this as "Critical" since data could potentially be lost.
Comment 1 Marco Martin 2015-11-05 11:53:05 UTC
needs a backtrace of plasmashell with debug packages installed
Comment 2 gene smith 2015-11-15 01:12:20 UTC
Ok, installed fedora debuginfo packages.  After normally started plasmashell killed in konsole, from konsole window ran:

$ gdb plasmashell
(gdb) run
# Desktop and comic plasmoid appears. In comic plasmoid for Calvin and Hobbs, moved from Saturday back to Sunday using the left arrow.  Desktop crashes as usual. Konsole window with gdb running still present.
(gdb) set pagination off 
(gdb) set logging on
(gdb) thread apply all bt full
:
:
# backtrace dumped to file gdb.txt. There are 11 threads. Thread 1 appears to have been in an infinite recursive loop since it dumped over 11000 levels before I got tired of waiting and killed gdb. The file I attached is gdb.txt cut off at 1000 call levels which shows the repeating pattern.

Hopefully, this provides the info you need. Let me know if anything else is required.
Comment 3 gene smith 2015-11-15 01:14:01 UTC
Created attachment 95508 [details]
gdb.txt truncated at 1000 call levels for thread 1.
Comment 4 gene smith 2015-11-20 03:46:42 UTC
After fedora 22 updates (many are kf5-* updates) that I installed today this comic plasmoid problem seems to be fixed! Sunday, larger sized comics display and no KDE shell crash occurs.
Comment 5 Anthony Fieroni 2016-03-15 17:53:00 UTC
Git commit a79c2be9b4db0755ad6ff6b26a513d71a94ef790 by Anthony Fieroni.
Committed on 15/03/2016 at 17:52.
Pushed by anthonyfieroni into branch 'Plasma/5.6'.

Highlighted tabs visablity, update and scale image, toggle fullview widget, icon, prevent busy indicator from infinite loop, fix empty widget on logon

   REVIEW: 127356
Related: bug 357222, bug 357333, bug 360381, bug 360382, bug 356640

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>

M  +26   -30   applets/comic/comic.cpp
M  +1    -2    applets/comic/comic.h
M  +2    -2    applets/comic/package/contents/ui/ComicCentralView.qml
M  +9    -7    applets/comic/package/contents/ui/FullViewWidget.qml
M  +19   -6    applets/comic/package/contents/ui/main.qml

http://commits.kde.org/kdeplasma-addons/a79c2be9b4db0755ad6ff6b26a513d71a94ef790
Comment 6 Andrew Crouthamel 2018-09-26 22:10:23 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 set the bug status 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 7 Andrew Crouthamel 2018-10-27 02:07:43 UTC
Dear Bug Submitter,

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!