Bug 433686 - [git master] Right clicking on empty area below layer name in animation curve docker crashes Krita
Summary: [git master] Right clicking on empty area below layer name in animation curve...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Animation (show other bugs)
Version: git master (please specify the git hash!)
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-02-27 06:04 UTC by Raghavendra kamath
Modified: 2021-04-26 21:28 UTC (History)
3 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 Raghavendra kamath 2021-02-27 06:04:40 UTC
Application: krita (5.0.0-prealpha (git b35acc5))

Qt Version: 5.15.2
Frameworks Version: 5.79.0
Operating System: Linux 5.11.1-arch1-1 x86_64
Windowing System: X11
Drkonqi Version: 5.21.1
Distribution: Arch Linux

-- Information about the crash:
- What I was doing when the application crashed:
I was right-clicking on the empty area below the animation curves docker.
1. Open a new document,
2. Then open the animation workspace.
3. Then go to the animation curves docker
4. Right click just below the name (background layer) in the empty area to reproduce the crash

The crash can be reproduced every time.

-- Backtrace:
Application: Krita (krita), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f32a3a78d19 in QWidget::~QWidget() () at /usr/lib/libQt5Widgets.so.5
#5  0x00007f32a5a01cfd in Viewport::~Viewport() (this=0x7ffca088e210, __in_chrg=<optimized out>) at /mnt/attic/krita-build/build/libs/flake/kritaflake_autogen/EWIEGA46WW/../../../../../src/krita/libs/flake/KoCanvasControllerWidgetViewport_p.h:25
#6  Viewport::~Viewport() (this=0x7ffca088e210, __in_chrg=<optimized out>) at /mnt/attic/krita-build/build/libs/flake/kritaflake_autogen/EWIEGA46WW/../../../../../src/krita/libs/flake/KoCanvasControllerWidgetViewport_p.h:25
#7  0x00007f3284ab7703 in QModelIndex::data(int) const (arole=256, this=0x7ffca088e220) at /usr/include/qt/QtCore/qabstractitemmodel.h:460
#8  KisAnimCurvesDocker::requestChannelMenuAt(QPoint const&) (this=0x562d0ca79d60, point=...) at /mnt/attic/krita-build/src/krita/plugins/dockers/animation/KisAnimCurvesDocker.cpp:782
#9  0x00007f32a2fa2dc0 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f32a3a62f76 in QWidget::customContextMenuRequested(QPoint const&) () at /usr/lib/libQt5Widgets.so.5
#11 0x00007f32a3a7e8e7 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#12 0x00007f32a3b2916f in QFrame::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#13 0x00007f32a2f6b793 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#14 0x00007f32a3a3c741 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#15 0x00007f32a3a44525 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007f32a7219289 in KisApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x562d0ca88860, event=0x7ffca088e810) at /mnt/attic/krita-build/src/krita/libs/ui/KisApplication.cpp:710
#17 0x00007f32a2f6ba2a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#18 0x00007f32a3a96db1 in  () at /usr/lib/libQt5Widgets.so.5
#19 0x00007f32a3a9963f in  () at /usr/lib/libQt5Widgets.so.5
#20 0x00007f32a3a3c752 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#21 0x00007f32a7219289 in KisApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x562d0813b360, event=0x7ffca088eb90) at /mnt/attic/krita-build/src/krita/libs/ui/KisApplication.cpp:710
#22 0x00007f32a2f6ba2a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#23 0x00007f32a3345594 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#24 0x00007f32a331abb5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#25 0x00007f329e97716c in  () at /usr/lib/libQt5XcbQpa.so.5
#26 0x00007f32a1468b84 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#27 0x00007f32a14bcc21 in  () at /usr/lib/libglib-2.0.so.0
#28 0x00007f32a14673b1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#29 0x00007f32a2fc4691 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#30 0x00007f32a2f6a3ac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#31 0x00007f32a2f72844 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#32 0x0000562d0349fa7b in main(int, char**) (argc=<optimized out>, argv=0x7ffca088f248) at /mnt/attic/krita-build/src/krita/krita/main.cc:663
[Inferior 1 (process 39694) detached]

Possible duplicates by query: bug 427627, bug 426384, bug 424105, bug 422974, bug 420612.

Reported using DrKonqi
Comment 1 Ahab Greybeard 2021-02-28 22:24:10 UTC
I can confirm a crash under the conditions described with the Feb 28 5.0.0-prealpha (git f4b0162) appimage using Debian 10.

The Feb 28 4.4.4-alpha (git 8dba976) appimage does not have that crash.
Comment 2 Eoin O'Neill 2021-04-26 21:28:07 UTC
I believe this was fixed via MR by Tanmay Chavan that has now been merged to master:

https://invent.kde.org/graphics/krita/-/merge_requests/815

Thanks for reporting!