Bug 426484 - Crash during startup: ASSERT (krita): "screen < QGuiApplication::screens().size() && screen >= 0"
Summary: Crash during startup: ASSERT (krita): "screen < QGuiApplication::screens().si...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: git master (please specify the git hash!)
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-13 14:33 UTC by Noah Davis
Modified: 2020-09-14 16:14 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Noah Davis 2020-09-13 14:33:16 UTC
SUMMARY
As of 2020-09-13 (git master), Krita crashes during startup.

I ran Krita with `gdb /usr/bin/krita` and it appears that an assert is being triggered. This is the full message where it crashed:

ASSERT (krita): "screen < QGuiApplication::screens().size() && screen >= 0" in file /home/abuild/rpmbuild/BUILD/krita-4.3.0/libs/widgets/KoToolBox.cpp, line 51

STEPS TO REPRODUCE
1. Run Krita (splash screen will be visible)

OBSERVED RESULT
Krita crashes before the main GUI is visible

EXPECTED RESULT
Krita should not crash during startup

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20200910
KDE Plasma Version: 5.19.80
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Kernel Version: 5.8.4-1-default
OS Type: 64-bit
Processors: 4 × Intel® Core™ i7-6500U CPU @ 2.50GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 520

ADDITIONAL INFORMATION

I use builds from the openSUSE Tumbleweed/Krypton KDE:Unstable repo.

I have 2 monitors and I am using X.org:

1. 1920x1080 15 inch Laptop screen, 1x scaling/96 DPI, bottom left of the 4K monitor in display settings
2. 3840x2160 27 inch LG 27UK650-W monitor, 1x scaling/96 DPI, right of the laptop screen in display settings
Comment 1 Halla Rempt 2020-09-13 14:37:35 UTC
That's already been fixed in the nightly stable builds: https://binary-factory.kde.org/job/Krita_Stable_Windows_Build/
Comment 2 Noah Davis 2020-09-13 14:56:23 UTC
Ah thanks. I guess the openSUSE builds aren't as recent as I thought.
Comment 3 Tiar 2020-09-14 16:14:27 UTC
Nah - the link leads to a nightly builds, which means it hasn't been released yet.