Bug 454299 - Krita crashed when I attempted to open a file
Summary: Krita crashed when I attempted to open a file
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: 5.0.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-05-23 22:50 UTC by wodencafe
Modified: 2022-06-23 04:35 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wodencafe 2022-05-23 22:50:38 UTC
Application: krita (5.0.2)

Qt Version: 5.15.3
Frameworks Version: 5.92.0
Operating System: Linux 5.15.0-27-generic x86_64
Windowing System: X11
Distribution: Ubuntu 22.04 LTS
DrKonqi: 5.24.4 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
I attempted to open up an existing picture file. The file had kind of a weird file name "flat,750x,075,f-pad,750x1000,f8f8f8.jpg" but I tried it again and it opened fine the second time. Therefore, it is unclear to me what caused the crash. Hopefully this backtrace will help, let me know if you have any questions.

The crash does not seem to be reproducible.

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

[KCrash Handler]
#4  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140488147174016) at ./nptl/pthread_kill.c:44
#5  __pthread_kill_internal (signo=6, threadid=140488147174016) at ./nptl/pthread_kill.c:78
#6  __GI___pthread_kill (threadid=140488147174016, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#7  0x00007fc5f70db476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007fc5f70c17f3 in __GI_abort () at ./stdlib/abort.c:79
#9  0x00007fc5f70c171b in __assert_fail_base (fmt=0x7fc5f7276150 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x7fc5f95caf80 "this->is_initialized()", file=0x7fc5f95cb0e0 "/usr/include/boost/optional/optional.hpp", line=1222, function=<optimized out>) at ./assert/assert.c:92
#10 0x00007fc5f70d2e96 in __GI___assert_fail (assertion=0x7fc5f95caf80 "this->is_initialized()", file=0x7fc5f95cb0e0 "/usr/include/boost/optional/optional.hpp", line=1222, function=0x7fc5f95d1fd8 "boost::optional<T>::pointer_type boost::optional<T>::operator->() [with T = KisOpenGLModeProber::Result; boost::optional<T>::pointer_type = KisOpenGLModeProber::Result*]") at ./assert/assert.c:101
#11 0x00007fc5f9314399 in boost::optional<KisOpenGLModeProber::Result>::operator->() [clone .part.0] [clone .lto_priv.0] (this=<optimized out>) at /usr/include/boost/optional/optional.hpp:1222
#12 0x00007fc5f93143f4 in boost::optional<KisOpenGLModeProber::Result>::operator-> (this=<optimized out>) at ./libs/ui/opengl/kis_opengl.cpp:990
#13 KisOpenGL::hasOpenGL () at ./libs/ui/opengl/kis_opengl.cpp:991
#14 0x00007fc5f91aa19c in KisCanvas2::createCanvas (this=0x55748ebf6e58, useOpenGL=<optimized out>) at ./libs/ui/canvas/kis_canvas2.cpp:565
#15 0x00007fc5f91a1a69 in KisCanvas2::setup (this=0x55748ebf6e58) at ./libs/ui/canvas/kis_canvas2.cpp:255
#16 0x00007fc5f94f83a8 in KisView::KisView (this=<optimized out>, document=<optimized out>, viewManager=<optimized out>, parent=<optimized out>, this=<optimized out>, document=<optimized out>, viewManager=<optimized out>, parent=<optimized out>) at ./libs/ui/KisView.cpp:216
#17 0x00007fc5f94edb52 in KisPart::createView (this=0x7fc5f9755c00 <(anonymous namespace)::Q_QGS_s_instance::innerFunction()::holder>, document=0x55748ea52820, viewManager=0x5574880a72b0, parent=0x557483db7690) at ./libs/ui/KisPart.cpp:300
#18 0x00007fc5f94cb4f4 in KisMainWindow::addViewAndNotifyLoadingCompleted (this=this@entry=0x557483db7690, document=document@entry=0x55748ea52820, subWindow=subWindow@entry=0x0) at ./libs/ui/KisMainWindow.cpp:1166
#19 0x00007fc5f94cb891 in KisMainWindow::slotLoadCompleted (this=0x557483db7690) at ./libs/ui/KisMainWindow.cpp:1189
#20 0x00007fc5f77fe7b8 in doActivate<false> (sender=0x55748ea52820, signal_index=22, argv=0x7ffe8e0c4560) at kernel/qobject.cpp:3898
#21 0x00007fc5f94b5688 in KisDocument::openPathInternal (this=0x55748ea52820, path=...) at ./libs/ui/KisDocument.cpp:2369
#22 0x00007fc5f94aecc9 in KisDocument::openPath (this=0x55748ea52820, _path=..., flags=...) at ./libs/ui/KisDocument.cpp:1750
#23 0x00007fc5f94cb015 in KisMainWindow::openDocumentInternal (this=<optimized out>, path=..., flags=...) at ./libs/ui/KisMainWindow.cpp:1116
#24 0x00007fc5f94cf04d in KisMainWindow::openDocument (this=0x557483db7690, path=..., flags=...) at ./libs/ui/KisMainWindow.cpp:1090
#25 0x00007fc5f94d182a in KisMainWindow::slotFileOpen (this=0x557483db7690, isImporting=false) at ./libs/ui/KisMainWindow.cpp:1733
#26 0x00007fc5f77fe7b8 in doActivate<false> (sender=0x5574851597c0, signal_index=9, argv=0x7ffe8e0c4a00) at kernel/qobject.cpp:3898
#27 0x00007fc5f77f7a97 in QMetaObject::activate (sender=sender@entry=0x5574851597c0, m=m@entry=0x7fc5f87e1180 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffe8e0c4a00) at kernel/qobject.cpp:3946
#28 0x00007fc5f83ac116 in QAbstractButton::clicked (this=this@entry=0x5574851597c0, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:308
#29 0x00007fc5f83ac39e in QAbstractButtonPrivate::emitClicked (this=0x557485258630) at widgets/qabstractbutton.cpp:415
#30 0x00007fc5f83adfc4 in QAbstractButtonPrivate::click (this=0x557485258630) at widgets/qabstractbutton.cpp:408
#31 0x00007fc5f83ae1e7 in QAbstractButton::mouseReleaseEvent (this=0x5574851597c0, e=0x7ffe8e0c5040) at widgets/qabstractbutton.cpp:1044
#32 0x00007fc5f82f94ee in QWidget::event (this=0x5574851597c0, event=0x7ffe8e0c5040) at kernel/qwidget.cpp:9033
#33 0x00007fc5f82b6713 in QApplicationPrivate::notify_helper (this=this@entry=0x557483b142f0, receiver=receiver@entry=0x5574851597c0, e=e@entry=0x7ffe8e0c5040) at kernel/qapplication.cpp:3637
#34 0x00007fc5f82be364 in QApplication::notify (this=this@entry=0x7ffe8e0c5900, receiver=receiver@entry=0x5574851597c0, e=e@entry=0x7ffe8e0c5040) at kernel/qapplication.cpp:3081
#35 0x00007fc5f94969e6 in KisApplication::notify (this=0x7ffe8e0c5900, receiver=0x5574851597c0, event=0x7ffe8e0c5040) at ./libs/ui/KisApplication.cpp:768
#36 0x00007fc5f77c6e2a in QCoreApplication::notifyInternal2 (receiver=0x5574851597c0, event=0x7ffe8e0c5040) at kernel/qcoreapplication.cpp:1064
#37 0x00007fc5f82bce47 in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x5574851597c0, event=event@entry=0x7ffe8e0c5040, alienWidget=alienWidget@entry=0x5574851597c0, nativeWidget=0x557483db7690, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2619
#38 0x00007fc5f8312d40 in QWidgetWindow::handleMouseEvent (this=0x55748b142000, event=0x7ffe8e0c53b0) at kernel/qwidgetwindow.cpp:683
#39 0x00007fc5f8315fd5 in QWidgetWindow::event (this=0x55748b142000, event=0x7ffe8e0c53b0) at kernel/qwidgetwindow.cpp:300
#40 0x00007fc5f82b6713 in QApplicationPrivate::notify_helper (this=this@entry=0x557483b142f0, receiver=receiver@entry=0x55748b142000, e=e@entry=0x7ffe8e0c53b0) at kernel/qapplication.cpp:3637
#41 0x00007fc5f82bdb98 in QApplication::notify (this=this@entry=0x7ffe8e0c5900, receiver=receiver@entry=0x55748b142000, e=e@entry=0x7ffe8e0c53b0) at kernel/qapplication.cpp:3383
#42 0x00007fc5f94969e6 in KisApplication::notify (this=0x7ffe8e0c5900, receiver=0x55748b142000, event=0x7ffe8e0c53b0) at ./libs/ui/KisApplication.cpp:768
#43 0x00007fc5f77c6e2a in QCoreApplication::notifyInternal2 (receiver=0x55748b142000, event=0x7ffe8e0c53b0) at kernel/qcoreapplication.cpp:1064
#44 0x00007fc5f7bad307 in QGuiApplicationPrivate::processMouseEvent (e=0x557485c8e860) at kernel/qguiapplication.cpp:2282
#45 0x00007fc5f7b82a2c in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#46 0x00007fc5f1ad3d6e in xcbSourceDispatch (source=<optimized out>) at ./src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105
#47 0x00007fc5f4c25d1b in g_main_dispatch (context=0x7fc5ec005010) at ../../../glib/gmain.c:3417
#48 g_main_context_dispatch (context=0x7fc5ec005010) at ../../../glib/gmain.c:4135
#49 0x00007fc5f4c7a6f8 in g_main_context_iterate.constprop.0 (context=context@entry=0x7fc5ec005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4211
#50 0x00007fc5f4c233c3 in g_main_context_iteration (context=0x7fc5ec005010, may_block=1) at ../../../glib/gmain.c:4276
#51 0x00007fc5f78200a8 in QEventDispatcherGlib::processEvents (this=0x557483bc8c10, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#52 0x00007fc5f77c574b in QEventLoop::exec (this=this@entry=0x7ffe8e0c56e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#53 0x00007fc5f77cdce4 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#54 0x00007fc5f7ba0e10 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#55 0x00007fc5f82b6689 in QApplication::exec () at kernel/qapplication.cpp:2829
#56 0x000055748143f30c in main (argc=<optimized out>, argv=<optimized out>) at ./krita/main.cc:698
[Inferior 1 (process 2129894) detached]

Possible duplicates by query: bug 451912.

Reported using DrKonqi
Comment 1 Lynx3d 2022-05-24 04:55:40 UTC
My guess is that you had just updated your video drivers (nVidia?) and didn't restart your system.
In that case, that would be the expected result (other applications trying to use OpenGL will fail too).

And if Krita is slower now, that's because it disabled canvas acceleration to recover from it, you need to enable it again in Krita's display settings.

If it happens again, please add the "system information for bug reports" you can find in Krita's help menu.
Comment 2 Bug Janitor Service 2022-06-08 04:35:44 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-06-23 04:35:39 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!