Bug 446315

Summary: crash on double-click in open file dialog
Product: [Applications] krita Reporter: ephuephu <ephu.ru>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: halla
Priority: NOR Keywords: drkonqi
Version: 4.4.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description ephuephu 2021-12-01 09:32:05 UTC
Application: krita (4.4.3)

Qt Version: 5.15.2
Frameworks Version: 5.80.0
Operating System: Linux 5.11.0-40-generic x86_64
Windowing System: X11
Drkonqi Version: 5.21.4
Distribution: Ubuntu 21.04

-- Information about the crash:
- What I was doing when the application crashed:
I double-clicked a jpg-file in open file dialog. This problem isn't repeat at the next time i opened same file.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Krita (krita), signal: Aborted

[KCrash Handler]
#4  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#5  0x00007f9fac755864 in __GI_abort () at abort.c:79
#6  0x00007f9fac755749 in __assert_fail_base (fmt=0x7f9fac8def78 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x7f9fafd95cac "this->is_initialized()", file=0x7f9fafd96168 "/usr/include/boost/optional/optional.hpp", line=1222, function=<optimized out>) at assert.c:92
#7  0x00007f9fac7673d6 in __GI___assert_fail (assertion=0x7f9fafd95cac "this->is_initialized()", file=0x7f9fafd96168 "/usr/include/boost/optional/optional.hpp", line=1222, function=0x7f9fafd960b8 "boost::optional<T>::pointer_type boost::optional<T>::operator->() [with T = KisOpenGLModeProber::Result; boost::optional<T>::pointer_type = KisOpenGLModeProber::Result*]") at assert.c:101
#8  0x00007f9faf1dd165 in ?? () from /lib/x86_64-linux-gnu/libkritaui.so.20
#9  0x00007f9faf1de1f4 in KisOpenGL::hasOpenGL() () from /lib/x86_64-linux-gnu/libkritaui.so.20
#10 0x00007f9faf06399c in KisCanvas2::createCanvas(bool) () from /lib/x86_64-linux-gnu/libkritaui.so.20
#11 0x00007f9faf063d49 in KisCanvas2::setup() () from /lib/x86_64-linux-gnu/libkritaui.so.20
#12 0x00007f9faf371012 in KisView::KisView(KisDocument*, KisViewManager*, QWidget*) () from /lib/x86_64-linux-gnu/libkritaui.so.20
#13 0x00007f9faf362711 in KisPart::createView(KisDocument*, KisViewManager*, QWidget*) () from /lib/x86_64-linux-gnu/libkritaui.so.20
#14 0x00007f9faf344fc4 in KisMainWindow::addViewAndNotifyLoadingCompleted(KisDocument*, QMdiSubWindow*) () from /lib/x86_64-linux-gnu/libkritaui.so.20
#15 0x00007f9faf3454f1 in KisMainWindow::slotLoadCompleted() () from /lib/x86_64-linux-gnu/libkritaui.so.20
#16 0x00007f9face3f600 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f9faf330e1f in KisDocument::openUrlInternal(QUrl const&) () from /lib/x86_64-linux-gnu/libkritaui.so.20
#18 0x00007f9faf32a27c in KisDocument::openUrl(QUrl const&, QFlags<KisDocument::OpenFlag>) () from /lib/x86_64-linux-gnu/libkritaui.so.20
#19 0x00007f9faf344955 in KisMainWindow::openDocumentInternal(QUrl const&, QFlags<KisMainWindow::OpenFlag>) () from /lib/x86_64-linux-gnu/libkritaui.so.20
#20 0x00007f9faf346702 in KisMainWindow::slotFileOpen(bool) () from /lib/x86_64-linux-gnu/libkritaui.so.20
#21 0x00007f9face3f600 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f9fad9ed876 in QAbstractButton::clicked(bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007f9fad9edafe in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f9fad9efbd4 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007f9fad9efdf5 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007f9fad93a5de in QWidget::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007f9fad8f7783 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007f9fad8fee5b in QApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007f9faf311d1d in KisApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libkritaui.so.20
#30 0x00007f9face077ba in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007f9fad8fde77 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007f9fad954370 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007f9fad957615 in ?? () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007f9fad8f7783 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#35 0x00007f9faf311d1d in KisApplication::notify(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libkritaui.so.20
#36 0x00007f9face077ba in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007f9fad1ecb13 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#38 0x00007f9fad1c1e2c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#39 0x00007f9fa71a7a6e in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#40 0x00007f9faa3a78eb in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f9faa3fad28 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f9faa3a5023 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f9face61204 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#44 0x00007f9face0611b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#45 0x00007f9face0e604 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#46 0x000055fad44b2a3d in main ()
[Inferior 1 (process 203322) detached]

Possible duplicates by query: bug 445795, bug 445746, bug 445496, bug 445355, bug 443308.

Reported using DrKonqi
Comment 1 Halla Rempt 2021-12-01 09:56:59 UTC
Please update to the latest version of Krita, 4.4.8, preferably the appimage we build, or else from the krita lime repo. This version of Krita is no longer supported.