Bug 358137 - Krita crashes after splash window is displayed
Summary: Krita crashes after splash window is displayed
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 2.9.10
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-01-17 18:15 UTC by Ron
Modified: 2016-01-20 10:15 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ron 2016-01-17 18:15:31 UTC
Application: krita (2.9.10)
KDE Platform Version: 4.14.13 (Compiled from sources)
Qt Version: 4.8.6
Operating System: Linux 3.13.0-74-generic i686
Distribution: Ubuntu 14.04.3 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Trying to start Krita, it crashes immediately after splash window is displayed.
- My setup:
Two monitors plus Wacom Intuos 4 tablet

The crash can be reproduced every time.

-- Backtrace:
Application: Krita (krita), signal: Aborted
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0xb779f428 in __kernel_vsyscall ()
#7  0xb5b28607 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#8  0xb5b2ba33 in __GI_abort () at abort.c:89
#9  0xb5e08d73 in qt_message_output(QtMsgType, char const*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#10 0xb5e09127 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#11 0xb5e09658 in qFatal(char const*, ...) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#12 0xb5e0971d in qt_assert_x(char const*, char const*, char const*, int) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#13 0xb70c77af in operator[] (i=-1, this=0xbfa36da4) at /usr/include/qt4/QtCore/qlist.h:477
#14 KisConfig::getScreenProfile (screen=screen@entry=-1) at /build/krita-2.9-PhCyNx/krita-2.9-2+git20151209+r43/krita/ui/kis_config.cc:409
#15 0xb70c7aab in KisConfig::displayProfile (this=this@entry=0xbfa36ef8, screen=-1) at /build/krita-2.9-PhCyNx/krita-2.9-2+git20151209+r43/krita/ui/kis_config.cc:441
#16 0xb7342ba3 in KisScratchPad::setupScratchPad (this=0x9bd24b8, resourceProvider=resourceProvider@entry=0x9a39110, defaultColor=...) at /build/krita-2.9-PhCyNx/krita-2.9-2+git20151209+r43/krita/ui/widgets/kis_scratch_pad.cpp:340
#17 0xb732c4cb in KisPaintOpPresetsPopup::KisPaintOpPresetsPopup (this=0x9bceeb0, resourceProvider=0x9a39110, parent=0x0) at /build/krita-2.9-PhCyNx/krita-2.9-2+git20151209+r43/krita/ui/widgets/kis_paintop_presets_popup.cpp:88
#18 0xb7187f5d in KisPaintopBox::KisPaintopBox (this=0x9b51f18, view=0x99936c0, parent=0x95b3f50, name=0xb75c4c6e "paintopbox") at /build/krita-2.9-PhCyNx/krita-2.9-2+git20151209+r43/krita/ui/kis_paintop_box.cc:359
#19 0xb70ca3dc in KisControlFrame::KisControlFrame (this=0x9ae2d48, view=0x99936c0, parent=0x95b3f50, name=0x0) at /build/krita-2.9-PhCyNx/krita-2.9-2+git20151209+r43/krita/ui/kis_control_frame.cpp:119
#20 0xb7476139 in KisViewManager::KisViewManager (this=0x99936c0, parent=0x95b3f50, _actionCollection=0x9a61c88) at /build/krita-2.9-PhCyNx/krita-2.9-2+git20151209+r43/krita/ui/KisViewManager.cpp:328
#21 0xb74316eb in KisMainWindow::KisMainWindow (this=0x95b3f50, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /build/krita-2.9-PhCyNx/krita-2.9-2+git20151209+r43/krita/ui/KisMainWindow.cpp:286
#22 0xb743d277 in KisPart::createMainWindow (this=0x9a07800) at /build/krita-2.9-PhCyNx/krita-2.9-2+git20151209+r43/krita/ui/KisPart.cpp:259
#23 0xb73d6383 in KisApplication::start (this=this@entry=0xbfa378f4) at /build/krita-2.9-PhCyNx/krita-2.9-2+git20151209+r43/krita/ui/KisApplication.cpp:418
#24 0x08049f83 in main (argc=1, argv=0xbfa379e4) at /build/krita-2.9-PhCyNx/krita-2.9-2+git20151209+r43/krita/main.cc:192

Possible duplicates by query: bug 321758.

Reported using DrKonqi
Comment 1 Ron 2016-01-17 18:26:04 UTC
When I switch off my Intuos tablet and try to start Krita, it still crashes immediately after splash.
When I go to Settings > System Settings > Display Config > disable the 2nd monitor, with Intuos tablet switched on, Krita opens normally.
So, the problem appears to be related to using two monitors.
Comment 2 Halla Rempt 2016-01-20 10:12:39 UTC
Looks like one monitor is identified as "-1" ?

#14 KisConfig::getScreenProfile (screen=screen@entry=-1) at /build/krita-2.9-PhCyNx/krita-2.9-2+git20151209+r43/krita/ui/kis_config.cc:409

That's never going to work... I can code around it, though.
Comment 3 Halla Rempt 2016-01-20 10:14:49 UTC
Git commit 77b39d8425ab25e1743ab1a6ca6c84493c8081d8 by Boudewijn Rempt.
Committed on 20/01/2016 at 10:14.
Pushed by rempt into branch 'master'.
Related: bug 0

M  +5    -1    krita/ui/kis_config.cc
M  +4    -2    krita/ui/widgets/kis_scratch_pad.cpp

http://commits.kde.org/krita/77b39d8425ab25e1743ab1a6ca6c84493c8081d8
Comment 4 Halla Rempt 2016-01-20 10:15:45 UTC
Git commit ce879edf72ebb3be59fcda06db8d1a09de20a9e3 by Boudewijn Rempt.
Committed on 20/01/2016 at 10:13.
Pushed by rempt into branch 'calligra/2.9'.
Related: bug 0

M  +5    -1    krita/ui/kis_config.cc
M  +4    -2    krita/ui/widgets/kis_scratch_pad.cpp

http://commits.kde.org/calligra/ce879edf72ebb3be59fcda06db8d1a09de20a9e3