Bug 442128 - Help > Report Bug feature crashes Krita
Summary: Help > Report Bug feature crashes Krita
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 5.0.0-beta1
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-07 14:15 UTC by SirPigeonz
Modified: 2021-09-10 18:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
crashing log files (1.53 MB, application/x-zip-compressed)
2021-09-09 22:02 UTC, SirPigeonz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SirPigeonz 2021-09-07 14:15:09 UTC
SUMMARY

Tried to use Help > Report Bug feature, but when its dialog window appears, Krita starts to stall/lag and its process has to get killed.

I think it can be tied to the additional info copy section. Not sure because of lag, but I think it also generates info from older versions of Krita for some reason.

STEPS TO REPRODUCE
1. Open Menu > Help > Report Bug

OBSERVED RESULT

Report Bug window appears.
Krita is unresponsive.


SOFTWARE/OS VERSIONS
Windows: 10
Comment 1 Halla Rempt 2021-09-07 14:39:37 UTC
Can you check the size of the kritacrash.log and krita.log files in your %LOCALAPPDATA% folder? Maybe they have grown too big?
Comment 2 SirPigeonz 2021-09-08 14:48:03 UTC
(In reply to Halla Rempt from comment #1)
> Can you check the size of the kritacrash.log and krita.log files in your
> %LOCALAPPDATA% folder? Maybe they have grown too big?

Yup, they are quite big.
krita.log is 24 MB
kritacrash.log is 1.5 MB

What should I do with them?
Comment 3 Bug Janitor Service 2021-09-09 04:36:19 UTC
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.
Comment 4 Halla Rempt 2021-09-09 11:11:05 UTC
Please make a zip and share them with me (hallarempt@gmail.com) and I'll try to reproduce on my system and come up with a mitigation... I think it's simply QTextBrowser that crashes on the size of the file.
Comment 5 SirPigeonz 2021-09-09 22:02:31 UTC
Created attachment 141432 [details]
crashing log files
Comment 6 SirPigeonz 2021-09-09 22:03:03 UTC
(In reply to Halla Rempt from comment #4)
> Please make a zip and share them with me (hallarempt@gmail.com) and I'll try
> to reproduce on my system and come up with a mitigation... I think it's
> simply QTextBrowser that crashes on the size of the file.

Sure! Done.
Comment 7 Halla Rempt 2021-09-10 08:37:31 UTC
Thanks... Curiously, it doesn't hang on linux system, but it only shows a very small part of the log.
Comment 9 Halla Rempt 2021-09-10 09:29:13 UTC
Git commit 978d25d2774195e20a93c9b7effdc7dc7b3d18a3 by Halla Rempt.
Committed on 10/09/2021 at 09:28.
Pushed by rempt into branch 'krita/5.0'.

Fix log rotation

This prevents enormous logfiles that make QTextView hang.
(cherry picked from commit 508495a7428ae1499b6c34e688a65a2d824f2de7)

M  +16   -12   libs/global/KisUsageLogger.cpp

https://invent.kde.org/graphics/krita/commit/978d25d2774195e20a93c9b7effdc7dc7b3d18a3
Comment 10 SirPigeonz 2021-09-10 18:05:56 UTC
Awesome, thank you for your work :)