[krita] [Bug 385793] New: Crash when closing 2nd document with infinite canvas active
https://bugs.kde.org/show_bug.cgi?id=385793 Bug ID: 385793 Summary: Crash when closing 2nd document with infinite canvas active Product: krita Version: git master Platform: MS Windows OS: MS Windows Status: UNCONFIRMED Severity: crash Priority: NOR Component: general Assignee: krita-bugs-n...@kde.org Reporter: scottpetro...@gmail.com Target Milestone: --- I am on git master on my Surface Pro 4 (Win 10). I think I have a consistent crash now with this. Steps to reproduce: 1. Create a document (doesn't matter the size) 2. Create another document (doesn't matter the size) 3. Move the canvas for the 2nd document outside so the infinite canvas arrows appear. I had the bottom and right ones appear 4. Close the current file with the "X" for the tab crash... here is the Dr. MinGW log Error occurred on Sunday, October 15, 2017 at 16:15:10. krita.exe caused an Access Violation at location 7FFCD0F03520 in module libkritaui.dll Reading from location . AddrPC Params 7FFCD0F03520 21655AE0 21655B40 21655AE0 libkritaui.dll!eventFilter [C:/dev/krita/libs/ui/canvas/kis_infinity_manager.cpp @ 267] 265: 266: const KisCoordinatesConverter *converter = m_canvas->coordinatesConverter(); > 267: QRect widgetRect = > converter->widgetToImage(m_canvas->canvasWidget()->rect()).toAlignedRect(); 268: KisImageWSP image = view()->image(); 269: 7FFCD1101FC3 1CA50470 6889DE9B 0050 libkritaui.dll! ?? [C:/dev/krita/libs/ui/input/kis_input_manager.cpp @ 178] 176: } 177: > 178: if (filter->eventFilter(object, event)) return true; 179: 180: /** 68A0E0DD 005FFB90 005FFB90 Qt5Core.dll!QCoreApplicationPrivate::sendThroughObjectEventFilters 00DCA315 1CA50470 0001D8E4D320 005FB100 Qt5Widgets.dll!QApplicationPrivate::notify_helper 00DCF6A0 0001 20DC7FE0 Qt5Widgets.dll!QApplication::notify 7FFCD11570E6 0004 7FFCDD0B70F0 005FB200 libkritaui.dll!notify [C:/dev/krita/libs/ui/KisApplication.cpp @ 599] 597: { 598: try { > 599: return QApplication::notify(receiver, event); 600: } catch (std::exception &e) { 601: qWarning("Error %s sending event %i to object %s", 68A0E312 7FFCDD0B70F0 7FFCDCF8213C 215E2FB0 Qt5Core.dll!QCoreApplication::notifyInternal2 6196704F 1E84D190 68A2E331 215E2FB0 Qt5Gui.dll!QGuiApplicationPrivate::_q_updateFocusObject 61967930 005FB220 005FB240 Qt5Gui.dll!QGuiApplication::qt_static_metacall 68A2E3FA 1C7FB840 00E21276 005FB350 Qt5Core.dll!QMetaObject::activate 61968494 1E144D30 20DC7FE0 68B422F0 Qt5Gui.dll!QWindow::focusObjectChanged 00E07AC5 2191C300 20CB96E8 02DBBE20 Qt5Widgets.dll!QWidget::clearFocus 00E08E3C 2191C3E0 2191C3B0 0001 Qt5Widgets.dll!QWidget::~QWidget 7FFCD11A80ED 20CB96D0 219EC150 libkritaui.dll! ?? [C:/dev/krita/libs/ui/KisView.cpp @ 103] 101: bool KisView::s_firstView = true; 102: > 103: class Q_DECL_HIDDEN KisView::Private 104: { 105: public: 7FFCD11A818D 1CA589F0 0008 libkritaui.dll! ?? [C:/dev/krita/libs/ui/KisView.cpp @ 274] 272: KisPart::instance()->removeView(this); 273: delete d; > 274: } 275: 276: void KisView::notifyCurrentStateChanged(bool isCurrent) 68A34A65 005FFB90 1E8B8E70 1E8B8E70 Qt5Core.dll!QObjectPrivate::deleteChildren 00E08C8F 001921A57D10 00010014 21A561D0 Qt5Widgets.dll!QWidget::~QWidget 00F29A2D 088F2410 68D3CDE0 02DBBE20 Qt5Widgets.dll!QMdiSubWindow::~QMdiSubWindow 68A2F4A5 0050 02C20A48 02DBBE20 Qt5Core.dll!QObject::event 00E0D9AC 1E0D8310 005FB8E0 005FB85F Qt5Widgets.dll!QWidget::event 00F2A2B2 005FFB90 02C110B0 Qt5Widgets.dll!QMdiSubWindow::event 00DCA33C 1CA50470 68A0DD5B 21A56810 Qt5Widgets.dll!QApplicationPrivate::notify_helper 00DCF6A0 20EEDA00 1E8B8E70 Qt5Widgets.dll!QApplication::notify 7FFCD11570E6 02C1E6CC libkritaui.dll!notify [C:/dev/krita/libs/ui/KisApplication.cpp @ 599] 597: { 598: try { > 599: return QApplication::notify(receiver, event); 600:
[krita] [Bug 385793] New: Crash when closing 2nd document with infinite canvas active
https://bugs.kde.org/show_bug.cgi?id=385793 Bug ID: 385793 Summary: Crash when closing 2nd document with infinite canvas active Product: krita Version: git master Platform: MS Windows OS: MS Windows Status: UNCONFIRMED Severity: crash Priority: NOR Component: general Assignee: krita-bugs-n...@kde.org Reporter: scottpetro...@gmail.com Target Milestone: --- I am on git master on my Surface Pro 4 (Win 10). I think I have a consistent crash now with this. Steps to reproduce: 1. Create a document (doesn't matter the size) 2. Create another document (doesn't matter the size) 3. Move the canvas for the 2nd document outside so the infinite canvas arrows appear. I had the bottom and right ones appear 4. Close the current file with the "X" for the tab crash... here is the Dr. MinGW log Error occurred on Sunday, October 15, 2017 at 16:15:10. krita.exe caused an Access Violation at location 7FFCD0F03520 in module libkritaui.dll Reading from location . AddrPC Params 7FFCD0F03520 21655AE0 21655B40 21655AE0 libkritaui.dll!eventFilter [C:/dev/krita/libs/ui/canvas/kis_infinity_manager.cpp @ 267] 265: 266: const KisCoordinatesConverter *converter = m_canvas->coordinatesConverter(); > 267: QRect widgetRect = > converter->widgetToImage(m_canvas->canvasWidget()->rect()).toAlignedRect(); 268: KisImageWSP image = view()->image(); 269: 7FFCD1101FC3 1CA50470 6889DE9B 0050 libkritaui.dll! ?? [C:/dev/krita/libs/ui/input/kis_input_manager.cpp @ 178] 176: } 177: > 178: if (filter->eventFilter(object, event)) return true; 179: 180: /** 68A0E0DD 005FFB90 005FFB90 Qt5Core.dll!QCoreApplicationPrivate::sendThroughObjectEventFilters 00DCA315 1CA50470 0001D8E4D320 005FB100 Qt5Widgets.dll!QApplicationPrivate::notify_helper 00DCF6A0 0001 20DC7FE0 Qt5Widgets.dll!QApplication::notify 7FFCD11570E6 0004 7FFCDD0B70F0 005FB200 libkritaui.dll!notify [C:/dev/krita/libs/ui/KisApplication.cpp @ 599] 597: { 598: try { > 599: return QApplication::notify(receiver, event); 600: } catch (std::exception &e) { 601: qWarning("Error %s sending event %i to object %s", 68A0E312 7FFCDD0B70F0 7FFCDCF8213C 215E2FB0 Qt5Core.dll!QCoreApplication::notifyInternal2 6196704F 1E84D190 68A2E331 215E2FB0 Qt5Gui.dll!QGuiApplicationPrivate::_q_updateFocusObject 61967930 005FB220 005FB240 Qt5Gui.dll!QGuiApplication::qt_static_metacall 68A2E3FA 1C7FB840 00E21276 005FB350 Qt5Core.dll!QMetaObject::activate 61968494 1E144D30 20DC7FE0 68B422F0 Qt5Gui.dll!QWindow::focusObjectChanged 00E07AC5 2191C300 20CB96E8 02DBBE20 Qt5Widgets.dll!QWidget::clearFocus 00E08E3C 2191C3E0 2191C3B0 0001 Qt5Widgets.dll!QWidget::~QWidget 7FFCD11A80ED 20CB96D0 219EC150 libkritaui.dll! ?? [C:/dev/krita/libs/ui/KisView.cpp @ 103] 101: bool KisView::s_firstView = true; 102: > 103: class Q_DECL_HIDDEN KisView::Private 104: { 105: public: 7FFCD11A818D 1CA589F0 0008 libkritaui.dll! ?? [C:/dev/krita/libs/ui/KisView.cpp @ 274] 272: KisPart::instance()->removeView(this); 273: delete d; > 274: } 275: 276: void KisView::notifyCurrentStateChanged(bool isCurrent) 68A34A65 005FFB90 1E8B8E70 1E8B8E70 Qt5Core.dll!QObjectPrivate::deleteChildren 00E08C8F 001921A57D10 00010014 21A561D0 Qt5Widgets.dll!QWidget::~QWidget 00F29A2D 088F2410 68D3CDE0 02DBBE20 Qt5Widgets.dll!QMdiSubWindow::~QMdiSubWindow 68A2F4A5 0050 02C20A48 02DBBE20 Qt5Core.dll!QObject::event 00E0D9AC 1E0D8310 005FB8E0 005FB85F Qt5Widgets.dll!QWidget::event 00F2A2B2 005FFB90 02C110B0 Qt5Widgets.dll!QMdiSubWindow::event 00DCA33C 1CA50470 68A0DD5B 21A56810 Qt5Widgets.dll!QApplicationPrivate::notify_helper 00DCF6A0 20EEDA00 1E8B8E70 Qt5Widgets.dll!QApplication::notify 7FFCD11570E6 02C1E6CC libkritaui.dll!notify [C:/dev/krita/libs/ui/KisApplication.cpp @ 599] 597: { 598: try { > 599: return QApplication::notify(receiver, event); 600: