Bug 423303

Summary: assert failure on startup
Product: [Applications] krita Reporter: eleanorhawk
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: halla, robert.y.speed, seb
Priority: NOR    
Version: 4.3.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description eleanorhawk 2020-06-21 00:50:24 UTC
SUMMARY


STEPS TO REPRODUCE
1. Start krita

OBSERVED RESULT
The application terminates suddenly before the main window is loaded.
The following is printed to the terminal:
> ASSERT (krita): "screen < QGuiApplication::screens().size() && screen >= 0" in file /build/krita/src/krita-4.3.0/libs/widgets/KoToolBox.cpp, line 51

EXPECTED RESULT
The application launches

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Arch Linux (rolling)
(available in About System)
KDE Plasma Version: 5.19.1
KDE Frameworks Version: 5.71.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION
Same results with Arch package and Appimage downloaded from krita.org
Comment 1 Halla Rempt 2020-06-21 08:22:13 UTC
What is your display configuration like?
Comment 2 Halla Rempt 2020-06-21 08:55:00 UTC
Git commit 3738d47f327cd5c067fc33f93fcb29ab49f3ef0e by Boudewijn Rempt.
Committed on 21/06/2020 at 08:22.
Pushed by rempt into branch 'master'.

No need to abort when this assert fails

M  +2    -2    plugins/tools/tool_crop/KisToolCrop.action

https://invent.kde.org/graphics/krita/commit/3738d47f327cd5c067fc33f93fcb29ab49f3ef0e
Comment 3 Halla Rempt 2020-06-21 08:56:18 UTC
Git commit d8db710cbdcb120a76ef8dcc8d760c5a22b73744 by Boudewijn Rempt.
Committed on 21/06/2020 at 08:56.
Pushed by rempt into branch 'krita/4.3'.

No need to abort when this assert fails
(cherry picked from commit 3738d47f327cd5c067fc33f93fcb29ab49f3ef0e)

M  +2    -2    plugins/tools/tool_crop/KisToolCrop.action

https://invent.kde.org/graphics/krita/commit/d8db710cbdcb120a76ef8dcc8d760c5a22b73744
Comment 4 Halla Rempt 2020-06-21 13:30:06 UTC
Git commit c5ffd26c953adc9e5de7853a6d9f15fc23df2b84 by Boudewijn Rempt.
Committed on 21/06/2020 at 13:29.
Pushed by rempt into branch 'krita/4.3'.

No need to abort when this assert fails

For real now...

M  +1    -1    libs/widgets/KoToolBox.cpp

https://invent.kde.org/graphics/krita/commit/c5ffd26c953adc9e5de7853a6d9f15fc23df2b84
Comment 5 Halla Rempt 2020-06-21 13:30:17 UTC
Git commit b499703865a64fc43a915f84741d142a62156570 by Boudewijn Rempt.
Committed on 21/06/2020 at 13:30.
Pushed by rempt into branch 'master'.

No need to abort when this assert fails

For real now...
(cherry picked from commit c5ffd26c953adc9e5de7853a6d9f15fc23df2b84)

M  +1    -1    libs/widgets/KoToolBox.cpp

https://invent.kde.org/graphics/krita/commit/b499703865a64fc43a915f84741d142a62156570
Comment 6 Lynx3d 2020-07-04 01:52:17 UTC
*** Bug 423771 has been marked as a duplicate of this bug. ***
Comment 7 eleanorhawk 2020-07-04 01:55:51 UTC
(In reply to Boudewijn Rempt from comment #1)
> What is your display configuration like?

(In reply to Lynx3d from comment #6)
> *** Bug 423771 has been marked as a duplicate of this bug. ***

(sorry for no reply) My monitors are also a non-rectangular arrangement
Comment 8 Robbie Speed 2020-08-18 20:40:42 UTC
I experience this crash whenever I have more than 1 of my monitors active.
The configuration I usually use is:

        xrandr\
          --output $LaptopDisplayId --mode 1920x1080 --pos 5440x1080\
          --output $BigDisplayID --mode 3840x2160 --pos 1600x0 --primary\
          --output $ArtDisplayID --mode 1600x1200 --pos 0x960
Comment 9 Halla Rempt 2020-08-22 14:56:27 UTC
Please use the nightly stable builds that have this bug fix already.