Bug 363846 - Krita crashes if a second window with a view into the first window is closed
Summary: Krita crashes if a second window with a view into the first window is closed
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 3.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-02 15:10 UTC by Nicolas F.
Modified: 2016-09-27 10:27 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas F. 2016-06-02 15:10:46 UTC
If a second window is opened, and assigned the view of the document in the first window, and then said second window is closed, Krita will crash.

Reproducible: Always

Steps to Reproduce:
1. Create a new document
2. Go to Window->New Window
3. In said new window, go to Window->New View->Unnamed
4. Close the new window.

Actual Results:  
Krita will close both windows as it crashes

Expected Results:  
Only the second window closes

This crash only happens if the window is opened after creating the document, apparently. If I create a new window first, then create a new document, then switch to the second window and assign the view there and close it, it won't crash.

Here's the backtrace

Application: Krita (krita), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f57567aa800 (LWP 2659))]

Thread 5 (Thread 0x7f5734bd9700 (LWP 2661)):
#0  0x00007f57535b268d in poll () from /usr/lib/libc.so.6
#1  0x00007f574d39cfd6 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f574d39d0ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f57540e974b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f57540914ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f5753eb82f3 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f574dae6a65 in ?? () from /usr/lib/libQt5DBus.so.5
#7  0x00007f5753ebd1d8 in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007f574d8bb474 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f57535bb69d in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7f571e78e700 (LWP 2662)):
#0  0x00007f574d8c109f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f5753ebe08b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f5753eb6d53 in QSemaphore::acquire(int) () from /usr/lib/libQt5Core.so.5
#3  0x00007f57519540dd in ?? () from /usr/lib/libkritaimage.so.15
#4  0x00007f5753ebd1d8 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007f574d8bb474 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f57535bb69d in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f571df8d700 (LWP 2663)):
#0  0x00007f574d8c109f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f5753ebe08b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f5753eb7046 in QSemaphore::tryAcquire(int, int) () from /usr/lib/libQt5Core.so.5
#3  0x00007f575197039a in KisTileDataSwapper::run() () from /usr/lib/libkritaimage.so.15
#4  0x00007f5753ebd1d8 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007f574d8bb474 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007f57535bb69d in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f571d78c700 (LWP 2665)):
#0  0x00007f574d8c109f in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007f5753ebe08b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#2  0x00007f5754fed139 in ?? () from /usr/lib/libQt5Widgets.so.5
#3  0x00007f5753ebd1d8 in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007f574d8bb474 in start_thread () from /usr/lib/libpthread.so.0
#5  0x00007f57535bb69d in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f57567aa800 (LWP 2659)):
[KCrash Handler]
#5  0x00007f5753091ee0 in KisBrush::scale() const () from /usr/lib/libkritalibbrush.so.15
#6  0x00007f5729e6d4a2 in KisBrushBasedPaintOpSettings::brushOutlineImpl(KisPaintInformation const&, KisPaintOpSettings::OutlineMode, double, bool) const () from /usr/lib/libkritalibpaintop.so.15
#7  0x00007f5729e6da38 in KisBrushBasedPaintOpSettings::brushOutline(KisPaintInformation const&, KisPaintOpSettings::OutlineMode) const () from /usr/lib/libkritalibpaintop.so.15
#8  0x00007f57560a511a in KisToolFreehandHelper::paintOpOutline(QPointF const&, KoPointerEvent const*, KisPaintOpSettings const*, KisPaintOpSettings::OutlineMode) const () from /usr/lib/libkritaui.so.15
#9  0x00007f575609fba1 in KisToolFreehand::getOutlinePath(QPointF const&, KoPointerEvent const*, KisPaintOpSettings::OutlineMode) () from /usr/lib/libkritaui.so.15
#10 0x00007f57560acb1a in KisToolPaint::requestUpdateOutline(QPointF const&, KoPointerEvent const*) () from /usr/lib/libkritaui.so.15
#11 0x00007f5750fb93e0 in KoToolProxy::mouseMoveEvent(QMouseEvent*, QPointF const&) () from /usr/lib/libkritaflake.so.15
#12 0x00007f5755eb5972 in ?? () from /usr/lib/libkritaui.so.15
#13 0x00007f5756120305 in KisInputManager::Private::handleCompressedTabletEvent(QEvent*) () from /usr/lib/libkritaui.so.15
#14 0x00007f575611b8c1 in KisInputManager::slotCompressedMoveEvent() () from /usr/lib/libkritaui.so.15
#15 0x00007f57540c06d9 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#16 0x00007f5751a3e561 in KisSignalCompressor::start() () from /usr/lib/libkritaimage.so.15
#17 0x00007f575611edaa in bool KisInputManager::compressMoveEventCommon<QMouseEvent>(QMouseEvent*) () from /usr/lib/libkritaui.so.15
#18 0x00007f575611d6ed in KisInputManager::eventFilterImpl(QEvent*) () from /usr/lib/libkritaui.so.15
#19 0x00007f5754093041 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#20 0x00007f5754dbb795 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#21 0x00007f5754dc1727 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#22 0x00007f575618ac57 in KisApplication::notify(QObject*, QEvent*) () from /usr/lib/libkritaui.so.15
#23 0x00007f57540932e0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#24 0x00007f5754dbfee5 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQt5Widgets.so.5
#25 0x00007f5754e1a2c3 in ?? () from /usr/lib/libQt5Widgets.so.5
#26 0x00007f5754e1c793 in ?? () from /usr/lib/libQt5Widgets.so.5
#27 0x00007f5754dbb7bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#28 0x00007f5754dc095f in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#29 0x00007f575618ac57 in KisApplication::notify(QObject*, QEvent*) () from /usr/lib/libkritaui.so.15
#30 0x00007f57540932e0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#31 0x00007f57545df693 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5
#32 0x00007f57545e0ea5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#33 0x00007f57545be18b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#34 0x00007f5742d45290 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#35 0x00007f574d39cdd7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#36 0x00007f574d39d040 in ?? () from /usr/lib/libglib-2.0.so.0
#37 0x00007f574d39d0ec in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#38 0x00007f57540e972f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#39 0x00007f57540914ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#40 0x00007f5754099a6c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#41 0x0000000000404bdd in main ()
Comment 1 Odysseas 2016-06-02 15:15:36 UTC
In krita 3.0 I had this every time as well.
Comment 2 Alvin Wong 2016-06-02 15:27:12 UTC
Just tried to reproduce on Windows, The first time it didn't crash immediately but only when I choose "New Window" again after doing the steps once. The second time it crashed immediately though.
Comment 3 T Zachmann 2016-06-12 05:50:09 UTC
I can reproduce the crash. The problem is that the KisPaintopBox::setCurrentPaintop is changed when the new window is created. Once the new window goes out of scope the data in it are no longer valid. I'm looking on how to reactivate the current settings when changing the view.
Comment 4 Halla Rempt 2016-07-06 11:58:37 UTC
Thorsten, didn't you fix this issue?
Comment 5 speedyblueskyfish 2016-08-01 12:53:11 UTC
Im not sure if t his is the same bug, in krita version 3.0 I have a 100% reproducible crash:
crash when closing any "new window", but only if i have selected a template before opening and then closing the "new window".
in other words, if i open krita with nothing in it, and then select "new window" and close it, it will not crash. but if i have selected a template and then do it, it will always crash.
Comment 6 speedyblueskyfish 2016-08-01 12:55:47 UTC
(In reply to speedyblueskyfish from comment #5)
> Im not sure if t his is the same bug, in krita version 3.0 I have a 100%
> reproducible crash:
> crash when closing any "new window", but only if i have selected a template
> before opening and then closing the "new window".
> in other words, if i open krita with nothing in it, and then select "new
> window" and close it, it will not crash. but if i have selected a template
> and then do it, it will always crash.

correction: not every time. this time it crashed when i selected "use template" when making a new window. maybe. or maybe it was just a delay before it crashed.
Comment 7 Halla Rempt 2016-09-08 12:39:50 UTC
Backtrace on OSX:

* thread #1: tid = 0x21ef9, 0x000000010120f41c libkritalibbrush.15.dylib`KisBrush::scale() const + 12, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x20)
    frame #0: 0x000000010120f41c libkritalibbrush.15.dylib`KisBrush::scale() const + 12
libkritalibbrush.15.dylib`KisBrush::scale() const + 12:
-> 0x10120f41c:  movq   0x20(%rdi), %rdi
   0x10120f420:  movsd  0x10(%rdi), %xmm0
   0x10120f425:  popq   %rbp
   0x10120f426:  retq   
(lldb) bt
* thread #1: tid = 0x21ef9, 0x000000010120f41c libkritalibbrush.15.dylib`KisBrush::scale() const + 12, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x20)
  * frame #0: 0x000000010120f41c libkritalibbrush.15.dylib`KisBrush::scale() const + 12
    frame #1: 0x000000010bb1c77f libkritalibpaintop.15.dylib`KisBrushBasedPaintOpSettings::brushOutlineImpl(KisPaintInformation const&, KisPaintOpSettings::OutlineMode, double, bool) const + 175
    frame #2: 0x000000010bb1cc6f libkritalibpaintop.15.dylib`KisBrushBasedPaintOpSettings::brushOutline(KisPaintInformation const&, KisPaintOpSettings::OutlineMode) const + 63
    frame #3: 0x0000000100762309 libkritaui.15.dylib`KisToolFreehandHelper::paintOpOutline(QPointF const&, KoPointerEvent const*, KisPaintOpSettings const*, KisPaintOpSettings::OutlineMode) const + 1097
    frame #4: 0x00000001007561fb libkritaui.15.dylib`KisToolFreehand::getOutlinePath(QPointF const&, KoPointerEvent const*, KisPaintOpSettings::OutlineMode) + 395
    frame #5: 0x0000000100772ea0 libkritaui.15.dylib`KisToolPaint::requestUpdateOutline(QPointF const&, KoPointerEvent const*) + 752
    frame #6: 0x0000000100771da6 libkritaui.15.dylib`KisToolPaint::setOutlineEnabled(bool) + 70
    frame #7: 0x0000000100771d47 libkritaui.15.dylib`KisToolPaint::activatePrimaryAction() + 39
    frame #8: 0x0000000100449366 libkritaui.15.dylib`KisToolProxy::activateToolAction(KisTool::ToolAction) + 182
    frame #9: 0x000000010085aaf8 libkritaui.15.dylib`KisToolInvocationAction::activate(int) + 184
    frame #10: 0x0000000100864480 libkritaui.15.dylib`KisShortcutMatcher::tryActivateReadyShortcut() + 576
    frame #11: 0x0000000100864f6e libkritaui.15.dylib`KisShortcutMatcher::enterEvent() + 62
    frame #12: 0x000000010084d1e0 libkritaui.15.dylib`KisInputManager::eventFilterImpl(QEvent*) + 1696
    frame #13: 0x000000010084cb21 libkritaui.15.dylib`KisInputManager::eventFilter(QObject*, QEvent*) + 513
    frame #14: 0x0000000103f710ce QtCore`QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 222
    frame #15: 0x000000010302ca98 QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 248
    frame #16: 0x000000010302fe22 QtWidgets`QApplication::notify(QObject*, QEvent*) + 8306
    frame #17: 0x0000000100907f84 libkritaui.15.dylib`KisApplication::notify(QObject*, QEvent*) + 36
    frame #18: 0x0000000103f70dc7 QtCore`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 167
    frame #19: 0x000000010302c569 QtWidgets`QApplicationPrivate::dispatchEnterLeave(QWidget*, QWidget*, QPointF const&) + 1753
    frame #20: 0x000000010308dd4b QtWidgets`QWidgetWindow::handleEnterLeaveEvent(QEvent*) + 475
    frame #21: 0x000000010308d79a QtWidgets`QWidgetWindow::event(QEvent*) + 746
    frame #22: 0x000000010302caad QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 269
    frame #23: 0x000000010302fe22 QtWidgets`QApplication::notify(QObject*, QEvent*) + 8306
    frame #24: 0x0000000100907f84 libkritaui.15.dylib`KisApplication::notify(QObject*, QEvent*) + 36
    frame #25: 0x0000000103f70dc7 QtCore`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 167
    frame #26: 0x000000010372a0ae QtGui`QGuiApplicationPrivate::processEnterEvent(QWindowSystemInterfacePrivate::EnterEvent*) + 158
    frame #27: 0x00000001037264b0 QtGui`QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) + 464
    frame #28: 0x0000000103710c2b QtGui`QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 411
    frame #29: 0x0000000109142041 libqcocoa.dylib`QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 33
    frame #30: 0x00007fff9bf8a881 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    frame #31: 0x00007fff9bf69fbc CoreFoundation`__CFRunLoopDoSources0 + 556
    frame #32: 0x00007fff9bf694df CoreFoundation`__CFRunLoopRun + 927
    frame #33: 0x00007fff9bf68ed8 CoreFoundation`CFRunLoopRunSpecific + 296
    frame #34: 0x00007fff928a2935 HIToolbox`RunCurrentEventLoopInMode + 235
    frame #35: 0x00007fff928a2677 HIToolbox`ReceiveNextEventCommon + 184
    frame #36: 0x00007fff928a25af HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 71
    frame #37: 0x00007fff8e6a4df6 AppKit`_DPSNextEvent + 1067
    frame #38: 0x00007fff8e6a4226 AppKit`-[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
    frame #39: 0x00007fff8e698d80 AppKit`-[NSApplication run] + 682
    frame #40: 0x0000000109140ead libqcocoa.dylib`QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2189
    frame #41: 0x0000000103f6d0f1 QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 401
    frame #42: 0x0000000103f714aa QtCore`QCoreApplication::exec() + 346
    frame #43: 0x000000010000c639 krita`main + 6137
    frame #44: 0x00007fff8f6815ad libdyld.dylib`start + 1
    frame #45: 0x00007fff8f6815ad libdyld.dylib`start + 1
Comment 8 Nimthora 2016-09-08 12:47:07 UTC
Steps:
1. Open Krita
2. Window -> New Window
3. Close newly created window
4. Open image from file
5. Crash

Backtrace on Ubuntu 16.04: https://paste.kde.org/psqbn4xam
Comment 9 Halla Rempt 2016-09-08 12:53:32 UTC
Let's keep the backtrace in a stable place:

    Thread 1 "krita" received signal SIGSEGV, Segmentation fault.
    KisBrush::scale (this=0x0) at /home/nim/Programs/QtKrita/krita/libs/brush/kis_brush.cpp:616
    616     return d->scale;
    (gdb) bt
    #0  KisBrush::scale (this=0x0) at /home/nim/Programs/QtKrita/krita/libs/brush/kis_brush.cpp:616
    #1  0x00007fffd844754c in KisBrushBasedPaintOpSettings::brushOutlineImpl (this=0x2043e20, info=..., mode=KisPaintOpSettings::CursorIsOutline,
        additionalScale=additionalScale@entry=1, forceOutline=forceOutline@entry=false)
        at /home/nim/Programs/QtKrita/krita/plugins/paintops/libpaintop/kis_brush_based_paintop_settings.cpp:80
    #2  0x00007fffd8447848 in KisBrushBasedPaintOpSettings::brushOutline (this=<optimized out>, info=..., mode=<optimized out>)
        at /home/nim/Programs/QtKrita/krita/plugins/paintops/libpaintop/kis_brush_based_paintop_settings.cpp:108
    #3  0x00007ffff780345a in KisToolFreehandHelper::paintOpOutline (this=0x6353b10, savedCursorPos=..., event=event@entry=0x0,
        globalSettings=<optimized out>, mode=mode@entry=KisPaintOpSettings::CursorIsOutline)
        at /home/nim/Programs/QtKrita/krita/libs/ui/tool/kis_tool_freehand_helper.cpp:171
    #4  0x00007ffff77fd5b1 in KisToolFreehand::getOutlinePath (this=0x71c9f10, documentPos=..., event=0x0,
        outlineMode=KisPaintOpSettings::CursorIsOutline) at /home/nim/Programs/QtKrita/krita/libs/ui/tool/kis_tool_freehand.cc:442
    #5  0x00007ffff780a82a in KisToolPaint::requestUpdateOutline (this=0x71c9f10, outlineDocPoint=..., event=0x0)
        at /home/nim/Programs/QtKrita/krita/libs/ui/tool/kis_tool_paint.cc:715
    #6  0x00007ffff780cf66 in KisToolPaint::activatePrimaryAction (this=0x71c9f10)
        at /home/nim/Programs/QtKrita/krita/libs/ui/tool/kis_tool_paint.cc:622
    #7  0x00007ffff76198c9 in KisToolProxy::activateToolAction (this=0x6cbe610, action=action@entry=KisTool::Primary)
        at /home/nim/Programs/QtKrita/krita/libs/ui/canvas/kis_tool_proxy.cpp:220
    #8  0x00007ffff78830d4 in KisToolInvocationAction::activate (this=this@entry=0x60719e0, shortcut=<optimized out>)
        at /home/nim/Programs/QtKrita/krita/libs/ui/input/kis_tool_invocation_action.cpp:72
    #9  0x00007ffff788e3bf in KisShortcutMatcher::tryActivateReadyShortcut (this=0x604f320)
        at /home/nim/Programs/QtKrita/krita/libs/ui/input/kis_shortcut_matcher.cpp:458
    #10 0x00007ffff788ead2 in KisShortcutMatcher::enterEvent (this=<optimized out>)
        at /home/nim/Programs/QtKrita/krita/libs/ui/input/kis_shortcut_matcher.cpp:256
    #11 0x00007ffff787c853 in KisInputManager::eventFilterImpl (this=0x60c23c0, event=0x7fffffff91d0)
        at /home/nim/Programs/QtKrita/krita/libs/ui/input/kis_input_manager.cpp:388
    #12 0x00007ffff58f4f7d in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=0x6cd04d0, event=0x7fffffff91d0)
        at kernel/qcoreapplication.cpp:1099
    #13 0x00007ffff655a441 in QApplicationPrivate::notify_helper (this=0xb86080, receiver=0x6cd04d0, e=0x7fffffff91d0) at kernel/qapplication.cpp:3795
    #14 0x00007ffff655a26e in QApplication::notify (this=0x7fffffffdcd0, receiver=0x6cd04d0, e=0x7fffffff91d0) at kernel/qapplication.cpp:3762
    #15 0x00007ffff78e26f7 in KisApplication::notify (this=<optimized out>, receiver=0x6cd04d0, event=0x7fffffff91d0)
        at /home/nim/Programs/QtKrita/krita/libs/ui/KisApplication.cpp:510
    #16 0x00007ffff58f4b85 in QCoreApplication::notifyInternal2 (receiver=0x6cd04d0, event=0x7fffffff91d0) at kernel/qcoreapplication.cpp:988
    #17 0x00007ffff65488c0 in QCoreApplication::sendEvent (receiver=0x6cd04d0, event=0x7fffffff91d0)
        at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
    #18 0x00007ffff65554fb in QApplicationPrivate::dispatchEnterLeave (enter=0x6cd04d0, leave=0x6091310, globalPosF=...)
        at kernel/qapplication.cpp:2409
    #19 0x00007ffff65567be in QApplicationPrivate::sendMouseEvent (receiver=0x6cd04d0, event=0x7fffffff9410, alienWidget=0x6cd04d0,
        nativeWidget=0x5fbef40, buttonDown=0x7ffff6c5ece0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2751
    #20 0x00007ffff6556ecb in QApplicationPrivate::sendSyntheticEnterLeave (this=0xb86080, widget=0x718d110) at kernel/qapplication.cpp:2848
    #21 0x00007ffff65af33a in QWidget::setVisible (this=0x718d110, visible=true) at kernel/qwidget.cpp:8210
    #22 0x00007ffff67489d7 in QMdiSubWindowPrivate::setMaximizeMode (this=0x73504f0) at widgets/qmdisubwindow.cpp:1398
    #23 0x00007ffff674f018 in QMdiSubWindow::changeEvent (this=0x718d110, changeEvent=0x7fffffff9dc0) at widgets/qmdisubwindow.cpp:3018
    #24 0x00007ffff65b1410 in QWidget::event (this=0x718d110, event=0x7fffffff9dc0) at kernel/qwidget.cpp:9043
    #25 0x00007ffff674eb8e in QMdiSubWindow::event (this=0x718d110, event=0x7fffffff9dc0) at widgets/qmdisubwindow.cpp:2921
    #26 0x00007ffff655a46a in QApplicationPrivate::notify_helper (this=0xb86080, receiver=0x718d110, e=0x7fffffff9dc0) at kernel/qapplication.cpp:3799
    #27 0x00007ffff655a26e in QApplication::notify (this=0x7fffffffdcd0, receiver=0x718d110, e=0x7fffffff9dc0) at kernel/qapplication.cpp:3762
    #28 0x00007ffff78e26f7 in KisApplication::notify (this=<optimized out>, receiver=0x718d110, event=0x7fffffff9dc0)
        at /home/nim/Programs/QtKrita/krita/libs/ui/KisApplication.cpp:510
    #29 0x00007ffff58f4b85 in QCoreApplication::notifyInternal2 (receiver=0x718d110, event=0x7fffffff9dc0) at kernel/qcoreapplication.cpp:988
    #30 0x00007ffff65488c0 in QCoreApplication::sendEvent (receiver=0x718d110, event=0x7fffffff9dc0)
        at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
    #31 0x00007ffff65a0dab in QWidget::setWindowState (this=0x718d110, newstate=...) at kernel/qwidget.cpp:3104
    #32 0x00007ffff65a0f6e in QWidget::showMaximized (this=0x718d110) at kernel/qwidget.cpp:3187
    #33 0x00007ffff67358b7 in QMdiAreaPrivate::emitWindowActivated (this=0x6051f30, activeWindow=0x718d110) at widgets/qmdiarea.cpp:1063
    #34 0x00007ffff6733fbd in QMdiAreaPrivate::_q_processWindowStateChanged (this=0x6051f30, oldState=..., newState=...) at widgets/qmdiarea.cpp:761
    #35 0x00007ffff673b643 in QMdiArea::qt_static_metacall (_o=0x60786b0, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fffffffa1a0)
        at .moc/moc_qmdiarea.cpp:182
    ---Type <return> to continue, or q <return> to quit---
    #36 0x00007ffff593a47e in QMetaObject::activate (sender=0x718d110, signalOffset=7, local_signal_index=0, argv=0x7fffffffa1a0)
        at kernel/qobject.cpp:3740
    #37 0x00007ffff5939c4e in QMetaObject::activate (sender=0x718d110, m=0x7ffff6c3b3c0 <QMdiSubWindow::staticMetaObject>, local_signal_index=0,
        argv=0x7fffffffa1a0) at kernel/qobject.cpp:3602
    #38 0x00007ffff6751a38 in QMdiSubWindow::windowStateChanged (this=0x718d110, _t1=..., _t2=...) at .moc/moc_qmdisubwindow.cpp:230
    #39 0x00007ffff6748cbb in QMdiSubWindowPrivate::setActive (this=0x73504f0, activate=true, changeFocus=true) at widgets/qmdisubwindow.cpp:1438
    #40 0x00007ffff674dcb9 in QMdiSubWindow::eventFilter (this=0x718d110, object=0x732f190, event=0x7fffffffa8c0) at widgets/qmdisubwindow.cpp:2730
    #41 0x00007ffff58f4f7d in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=0x732f190, event=0x7fffffffa8c0)
        at kernel/qcoreapplication.cpp:1099
    #42 0x00007ffff655a441 in QApplicationPrivate::notify_helper (this=0xb86080, receiver=0x732f190, e=0x7fffffffa8c0) at kernel/qapplication.cpp:3795
    #43 0x00007ffff655a26e in QApplication::notify (this=0x7fffffffdcd0, receiver=0x732f190, e=0x7fffffffa8c0) at kernel/qapplication.cpp:3762
    #44 0x00007ffff78e26f7 in KisApplication::notify (this=<optimized out>, receiver=0x732f190, event=0x7fffffffa8c0)
        at /home/nim/Programs/QtKrita/krita/libs/ui/KisApplication.cpp:510
    #45 0x00007ffff58f4b85 in QCoreApplication::notifyInternal2 (receiver=0x732f190, event=0x7fffffffa8c0) at kernel/qcoreapplication.cpp:988
    #46 0x00007ffff65488c0 in QCoreApplication::sendEvent (receiver=0x732f190, event=0x7fffffffa8c0)
        at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
    #47 0x00007ffff65ae419 in QWidgetPrivate::show_helper (this=0x74e0fa0) at kernel/qwidget.cpp:7912
    #48 0x00007ffff65af31b in QWidget::setVisible (this=0x732f190, visible=true) at kernel/qwidget.cpp:8208
    #49 0x00007ffff65add1d in QWidget::show (this=0x732f190) at kernel/qwidget.cpp:7760
    #50 0x00007ffff65af79f in QWidgetPrivate::showChildren (this=0x73504f0, spontaneous=false) at kernel/qwidget.cpp:8291
    #51 0x00007ffff65ae264 in QWidgetPrivate::show_helper (this=0x73504f0) at kernel/qwidget.cpp:7859
    #52 0x00007ffff65af31b in QWidget::setVisible (this=0x718d110, visible=true) at kernel/qwidget.cpp:8208
    #53 0x00007ffff674ee41 in QMdiSubWindow::changeEvent (this=0x718d110, changeEvent=0x7fffffffb340) at widgets/qmdisubwindow.cpp:3006
    #54 0x00007ffff65b1410 in QWidget::event (this=0x718d110, event=0x7fffffffb340) at kernel/qwidget.cpp:9043
    #55 0x00007ffff674eb8e in QMdiSubWindow::event (this=0x718d110, event=0x7fffffffb340) at widgets/qmdisubwindow.cpp:2921
    #56 0x00007ffff655a46a in QApplicationPrivate::notify_helper (this=0xb86080, receiver=0x718d110, e=0x7fffffffb340) at kernel/qapplication.cpp:3799
    #57 0x00007ffff655a26e in QApplication::notify (this=0x7fffffffdcd0, receiver=0x718d110, e=0x7fffffffb340) at kernel/qapplication.cpp:3762
    #58 0x00007ffff78e26f7 in KisApplication::notify (this=<optimized out>, receiver=0x718d110, event=0x7fffffffb340)
        at /home/nim/Programs/QtKrita/krita/libs/ui/KisApplication.cpp:510
    #59 0x00007ffff58f4b85 in QCoreApplication::notifyInternal2 (receiver=0x718d110, event=0x7fffffffb340) at kernel/qcoreapplication.cpp:988
    #60 0x00007ffff65488c0 in QCoreApplication::sendEvent (receiver=0x718d110, event=0x7fffffffb340)
        at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
    #61 0x00007ffff65a0dab in QWidget::setWindowState (this=0x718d110, newstate=...) at kernel/qwidget.cpp:3104
    #62 0x00007ffff65a0f6e in QWidget::showMaximized (this=0x718d110) at kernel/qwidget.cpp:3187
    #63 0x00007ffff674de5a in QMdiSubWindow::eventFilter (this=0x718d110, object=0x732f190, event=0x7fffffffba70) at widgets/qmdisubwindow.cpp:2745
    #64 0x00007ffff58f4f7d in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=0x732f190, event=0x7fffffffba70)
        at kernel/qcoreapplication.cpp:1099
    #65 0x00007ffff655a441 in QApplicationPrivate::notify_helper (this=0xb86080, receiver=0x732f190, e=0x7fffffffba70) at kernel/qapplication.cpp:3795
    #66 0x00007ffff655a26e in QApplication::notify (this=0x7fffffffdcd0, receiver=0x732f190, e=0x7fffffffba70) at kernel/qapplication.cpp:3762
    #67 0x00007ffff78e26f7 in KisApplication::notify (this=<optimized out>, receiver=0x732f190, event=0x7fffffffba70)
        at /home/nim/Programs/QtKrita/krita/libs/ui/KisApplication.cpp:510
    #68 0x00007ffff58f4b85 in QCoreApplication::notifyInternal2 (receiver=0x732f190, event=0x7fffffffba70) at kernel/qcoreapplication.cpp:988
    #69 0x00007ffff65488c0 in QCoreApplication::sendEvent (receiver=0x732f190, event=0x7fffffffba70)
        at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
    #70 0x00007ffff65a0dab in QWidget::setWindowState (this=0x732f190, newstate=...) at kernel/qwidget.cpp:3104
    #71 0x00007ffff65a0f6e in QWidget::showMaximized (this=0x732f190) at kernel/qwidget.cpp:3187
    #72 0x00007ffff7911b75 in KisMainWindow::showView (this=0x5fbef40, imageView=0x732f190)
        at /home/nim/Programs/QtKrita/krita/libs/ui/KisMainWindow.cpp:618
    #73 0x00007ffff790f8e2 in KisMainWindow::addView (this=this@entry=0x5fbef40, view=0x732f190)
        at /home/nim/Programs/QtKrita/krita/libs/ui/KisMainWindow.cpp:569
    #74 0x00007ffff790f9cf in KisMainWindow::addViewAndNotifyLoadingCompleted (this=this@entry=0x5fbef40, document=document@entry=0x611e4b0)
        at /home/nim/Programs/QtKrita/krita/libs/ui/KisMainWindow.cpp:832
    #75 0x00007ffff790fa1b in KisMainWindow::slotLoadCompleted (this=0x5fbef40) at /home/nim/Programs/QtKrita/krita/libs/ui/KisMainWindow.cpp:852
    #76 0x00007ffff791ed49 in KisMainWindow::qt_static_metacall (_o=0x5fbef40, _c=<optimized out>, _id=<optimized out>, _a=0x7fffffffbe10)
        at /home/nim/Programs/QtKrita/build/libs/ui/moc_KisMainWindow.cpp:335
    #77 0x00007ffff593a47e in QMetaObject::activate (sender=0x611e4b0, signalOffset=3, local_signal_index=10, argv=0x0) at kernel/qobject.cpp:3740
    #78 0x00007ffff5939c4e in QMetaObject::activate (sender=0x611e4b0, m=0x7ffff7d9c200 <KisDocument::staticMetaObject>, local_signal_index=10,
    ---Type <return> to continue, or q <return> to quit---
        argv=0x0) at kernel/qobject.cpp:3602
    #79 0x00007ffff79991a3 in KisDocument::completed (this=<optimized out>) at /home/nim/Programs/QtKrita/build/libs/ui/moc_KisDocument.cpp:422
    #80 0x00007ffff78f3dc9 in KisDocument::Private::openLocalFile (this=0x75eb790) at /home/nim/Programs/QtKrita/krita/libs/ui/KisDocument.cpp:389
    #81 KisDocument::openUrlInternal (this=this@entry=0x611e4b0, url=...) at /home/nim/Programs/QtKrita/krita/libs/ui/KisDocument.cpp:2259
    #82 0x00007ffff78f415b in KisDocument::openUrl (this=this@entry=0x611e4b0, _url=..., flags=flags@entry=KisDocument::OPEN_URL_FLAG_NONE)
        at /home/nim/Programs/QtKrita/krita/libs/ui/KisDocument.cpp:1189
    #83 0x00007ffff790f6f0 in KisMainWindow::openDocumentInternal (this=this@entry=0x5fbef40, url=..., newdoc=0x611e4b0, newdoc@entry=0x0)
        at /home/nim/Programs/QtKrita/krita/libs/ui/KisMainWindow.cpp:814
    #84 0x00007ffff7916bf5 in KisMainWindow::openDocument (this=this@entry=0x5fbef40, url=...)
        at /home/nim/Programs/QtKrita/krita/libs/ui/KisMainWindow.cpp:796
    #85 0x00007ffff79170e8 in KisMainWindow::slotFileOpen (this=0x5fbef40) at /home/nim/Programs/QtKrita/krita/libs/ui/KisMainWindow.cpp:1440
    #86 0x00007ffff791ec6b in KisMainWindow::qt_static_metacall (_o=0x5fbef40, _c=<optimized out>, _id=<optimized out>, _a=0x7fffffffc3d0)
        at /home/nim/Programs/QtKrita/build/libs/ui/moc_KisMainWindow.cpp:316
    #87 0x00007ffff593a47e in QMetaObject::activate (sender=0x699a0c0, signalOffset=3, local_signal_index=1, argv=0x7fffffffc3d0)
        at kernel/qobject.cpp:3740
    #88 0x00007ffff5939c4e in QMetaObject::activate (sender=0x699a0c0, m=0x7ffff6c2f940 <QAction::staticMetaObject>, local_signal_index=1,
        argv=0x7fffffffc3d0) at kernel/qobject.cpp:3602
    #89 0x00007ffff6547f49 in QAction::triggered (this=0x699a0c0, _t1=false) at .moc/moc_qaction.cpp:372
    #90 0x00007ffff6547001 in QAction::activate (this=0x699a0c0, event=QAction::Trigger) at kernel/qaction.cpp:1170
    #91 0x00007ffff67595b3 in QMenuPrivate::activateCausedStack (this=0x6acd870, causedStack=..., action=0x699a0c0, action_e=QAction::Trigger,
        self=true) at widgets/qmenu.cpp:1136
    #92 0x00007ffff67599d6 in QMenuPrivate::activateAction (this=0x6acd870, action=0x699a0c0, action_e=QAction::Trigger, self=true)
        at widgets/qmenu.cpp:1213
    #93 0x00007ffff675e50d in QMenu::mouseReleaseEvent (this=0x6acd6c0, e=0x7fffffffcf20) at widgets/qmenu.cpp:2682
    #94 0x00007ffff65b06a7 in QWidget::event (this=0x6acd6c0, event=0x7fffffffcf20) at kernel/qwidget.cpp:8778
    #95 0x00007ffff675ede4 in QMenu::event (this=0x6acd6c0, e=0x7fffffffcf20) at widgets/qmenu.cpp:2796
    #96 0x00007ffff655a46a in QApplicationPrivate::notify_helper (this=0xb86080, receiver=0x6acd6c0, e=0x7fffffffcf20) at kernel/qapplication.cpp:3799
    #97 0x00007ffff6557f0d in QApplication::notify (this=0x7fffffffdcd0, receiver=0x6acd6c0, e=0x7fffffffcf20) at kernel/qapplication.cpp:3273
    #98 0x00007ffff78e26f7 in KisApplication::notify (this=<optimized out>, receiver=0x6acd6c0, event=0x7fffffffcf20)
        at /home/nim/Programs/QtKrita/krita/libs/ui/KisApplication.cpp:510
    #99 0x00007ffff58f4b85 in QCoreApplication::notifyInternal2 (receiver=0x6acd6c0, event=0x7fffffffcf20) at kernel/qcoreapplication.cpp:988
    #100 0x00007ffff655d344 in QCoreApplication::sendSpontaneousEvent (receiver=0x6acd6c0, event=0x7fffffffcf20)
        at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
    #101 0x00007ffff65567fb in QApplicationPrivate::sendMouseEvent (receiver=0x6acd6c0, event=0x7fffffffcf20, alienWidget=0x0, nativeWidget=0x6acd6c0,
        buttonDown=0x7ffff6c5ece0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2769
    #102 0x00007ffff65df8cf in QWidgetWindow::handleMouseEvent (this=0x66b57c0, event=0x7fffffffd5f0) at kernel/qwidgetwindow.cpp:507
    #103 0x00007ffff65dec7a in QWidgetWindow::event (this=0x66b57c0, event=0x7fffffffd5f0) at kernel/qwidgetwindow.cpp:239
    #104 0x00007ffff655a46a in QApplicationPrivate::notify_helper (this=0xb86080, receiver=0x66b57c0, e=0x7fffffffd5f0) at kernel/qapplication.cpp:3799
    #105 0x00007ffff65576b8 in QApplication::notify (this=0x7fffffffdcd0, receiver=0x66b57c0, e=0x7fffffffd5f0) at kernel/qapplication.cpp:3159
    #106 0x00007ffff78e26f7 in KisApplication::notify (this=<optimized out>, receiver=0x66b57c0, event=0x7fffffffd5f0)
        at /home/nim/Programs/QtKrita/krita/libs/ui/KisApplication.cpp:510
    #107 0x00007ffff58f4b85 in QCoreApplication::notifyInternal2 (receiver=0x66b57c0, event=0x7fffffffd5f0) at kernel/qcoreapplication.cpp:988
    #108 0x00007ffff5db1e48 in QCoreApplication::sendSpontaneousEvent (receiver=0x66b57c0, event=0x7fffffffd5f0)
        at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
    #109 0x00007ffff5daa32b in QGuiApplicationPrivate::processMouseEvent (e=0x6c57000) at kernel/qguiapplication.cpp:1909
    #110 0x00007ffff5da9741 in QGuiApplicationPrivate::processWindowSystemEvent (e=0x6c57000) at kernel/qguiapplication.cpp:1693
    #111 0x00007ffff5d8a8e3 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:654
    #112 0x00007fffe9453c27 in QUnixEventDispatcherQPA::processEvents (this=0xbc5bb0, flags=...) at eventdispatchers/qunixeventdispatcher.cpp:69
    #113 0x00007ffff58f122e in QEventLoop::processEvents (this=0x7fffffffd8d0, flags=...) at kernel/qeventloop.cpp:134
    #114 0x00007ffff58f1565 in QEventLoop::exec (this=0x7fffffffd8d0, flags=...) at kernel/qeventloop.cpp:210
    #115 0x00007ffff58f537b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261
    #116 0x00007ffff5da9562 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1639
    #117 0x00007ffff655705f in QApplication::exec () at kernel/qapplication.cpp:2975
    #118 0x0000000000404d26 in main (argc=1, argv=<optimized out>) at /home/nim/Programs/QtKrita/krita/krita/main.cc:234
Comment 10 Halla Rempt 2016-09-08 13:10:34 UTC
Git commit e51acee59bab592ae4c5236d09e2d199ea3a4d19 by Boudewijn Rempt.
Committed on 08/09/2016 at 13:09.
Pushed by rempt into branch 'master'.

M  +1    -0    plugins/paintops/libpaintop/kis_brush_based_paintop_settings.cpp

http://commits.kde.org/krita/e51acee59bab592ae4c5236d09e2d199ea3a4d19
Comment 11 Halla Rempt 2016-09-27 10:27:44 UTC
Git commit 13eb0df497c52ee4bc5da517f0f115066f268a50 by Boudewijn Rempt.
Committed on 27/09/2016 at 10:04.
Pushed by rempt into branch 'krita/3.0.1'.

M  +1    -0    plugins/paintops/libpaintop/kis_brush_based_paintop_settings.cpp

http://commits.kde.org/krita/13eb0df497c52ee4bc5da517f0f115066f268a50