[krita] [Bug 392817] Krita crashes when deleting a session from the session manager
https://bugs.kde.org/show_bug.cgi?id=392817 joup...@gmail.com changed: What|Removed |Added Status|CONFIRMED |RESOLVED Resolution|--- |FIXED Latest Commit||https://commits.kde.org/kri ||ta/520b863684cc93051847b274 ||b2c7fb106c521edf --- Comment #3 from joup...@gmail.com --- Git commit 520b863684cc93051847b274b2c7fb106c521edf by Jouni Pentikäinen. Committed on 24/04/2018 at 11:23. Pushed by jounip into branch 'master'. Fix crash when deleting a session M +5-1libs/ui/dialogs/KisSessionManagerDialog.cpp https://commits.kde.org/krita/520b863684cc93051847b274b2c7fb106c521edf -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 392817] Krita crashes when deleting a session from the session manager
https://bugs.kde.org/show_bug.cgi?id=392817 Antti Savolainen changed: What|Removed |Added OS|MS Windows |All Platform|MS Windows |unspecified -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 392817] Krita crashes when deleting a session from the session manager
https://bugs.kde.org/show_bug.cgi?id=392817 --- Comment #2 from Antti Savolainen --- Sorry, I'm still learning. (gdb) bt #0 0x744ee0bb in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 #1 0x744eff5d in __GI_abort () at abort.c:90 #2 0x7453828d in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7465f528 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:181 #3 0x7453f64a in malloc_printerr (action=, str=0x7465f860 "double free or corruption (!prev)", ptr=, ar_ptr=) at malloc.c:5426 #4 0x7454173e in _int_free (av=0x74891c20 , p=, have_lock=0) at malloc.c:4175 #5 0x7454644e in __GI___libc_free (mem=) at malloc.c:3145 #6 0x77246962 in QTypedArrayData::deallocate(QArrayData*) (data=0x5fdb86d0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:237 #7 0x77246709 in QString::~QString() (this=0x7fffcdc8, __in_chrg=) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:1084 #8 0x77336675 in KisSessionManagerDialog::slotDeleteSession() (this=0x60bbfe30) at ./libs/ui/dialogs/KisSessionManagerDialog.cpp:134 #9 0x777a4774 in KisSessionManagerDialog::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x60bbfe30, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fffcf70) at ./obj-x86_64-linux-gnu/libs/ui/kritaui_autogen/2NRMJ5X7RK/moc_KisSessionManagerDialog.cpp:94 #10 0x750ec8e5 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #11 0x75ff4572 in QAbstractButton::clicked(bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #12 0x75ff478a in () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #13 0x75ff5b6a in () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #14 0x75ff5d54 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #15 0x75e78dc8 in QWidget::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #16 0x75e3846c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #17 0x75e4028f in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #18 0x776a8a43 in KisApplication::notify(QObject*, QEvent*) (this=0x7fffddf0, receiver=0x59a543b0, event=0x7fffd4b0) at ./libs/ui/KisApplication.cpp:652 #19 0x750bdde8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #20 0x75e3f262 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer&, bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #21 0x75e9394b in () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #22 0x75e95fba in () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #23 0x75e3846c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #24 0x75e3fd34 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #25 0x776a8a43 in KisApplication::notify(QObject*, QEvent*) (this=0x7fffddf0, receiver=0x60c50ae0, event=0x7fffd940) at ./libs/ui/KisApplication.cpp:652 #26 0x750bdde8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #27 0x7567cf43 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #28 0x7567ea25 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #29 0x75656cab in QWindowSystemInterface::sendWindowSystemEvents(QFlags) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #30 0x7fffe24635a0 in () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5 #31 0x7fffec78efb7 in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #32 0x7fffec78f1f0 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #33 0x7fffec78f27c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #34 0x7511647f in QEventDispatcherGlib::processEvents(QFlags) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #35 0x750bbe3a in QEventLoop::exec(QFlags) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #36 0x750c4da4 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #37 0x55849323 in main(int, char**) (argc=1, argv=0x7fffdf78) at ./krita/main.cc:361 -- You are receiving this mail because: You are watching all bug changes.
[krita] [Bug 392817] Krita crashes when deleting a session from the session manager
https://bugs.kde.org/show_bug.cgi?id=392817 Antti Savolainen changed: What|Removed |Added Ever confirmed|0 |1 CC||antti.s...@gmail.com Status|UNCONFIRMED |CONFIRMED --- Comment #1 from Antti Savolainen --- Confirming this. Happens on Linux as well. I'll write a proper bug report. Overview: Krita crashes after creating and deleting a session. Steps to Reproduce: 1) Go to File -> Sessions 2) Create a session 3) Delete said session Actual Results: The application crashed. Expected Results: Krita should delete the session normally Build Date & Platform: krita 4.1.0-pre-alpha Xubuntu 17.10 Krita Lime https://launchpad.net/~kritalime/+archive/ubuntu/ppa Additional Information: Any other useful information. https://webmshare.com/z4w5w Recorded video of said crash Terminal output at the moment of the crash: *** Error in `krita': corrupted double-linked list: 0x556fc4479a30 *** I have krita compiled with debug symbols now. I hope it's useful this time. Stacktrace: Stack trace of thread 3775: #0 0x7fdc039e50bb __GI_raise (libc.so.6) #1 0x7fdc039e6f5d __GI_abort (libc.so.6) #2 0x7fdc03a2f28d __libc_message (libc.so.6) #3 0x7fdc03a3664a malloc_printerr (libc.so.6) #4 0x7fdc03a3873e _int_free (libc.so.6) #5 0x7fdc03a3d44e __GI___libc_free (libc.so.6) #6 0x7fdc0673d962 _ZN15QTypedArrayDataItE10deallocateEP10QArrayData (libkritaui.so.17) #7 0x7fdc0673d709 _ZN7QStringD2Ev (libkritaui.so.17) #8 0x7fdc0682d675 _ZN23KisSessionManagerDialog17slotDeleteSessionEv (libkritaui.so.17) #9 0x7fdc06c9b774 _ZN23KisSessionManagerDialog18qt_static_metacallEP7QObjectN11QMetaObject4CallEiPPv (libkritaui.so.17) #10 0x7fdc045e38e5 _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5) #11 0x7fdc054eb572 _ZN15QAbstractButton7clickedEb (libQt5Widgets.so.5) #12 0x7fdc054eb78a n/a (libQt5Widgets.so.5) #13 0x7fdc054ecb6a n/a (libQt5Widgets.so.5) #14 0x7fdc054ecd54 _ZN15QAbstractButton17mouseReleaseEventEP11QMouseEvent (libQt5Widgets.so.5) #15 0x7fdc0536fdc8 _ZN7QWidget5eventEP6QEvent (libQt5Widgets.so.5) #16 0x7fdc0532f46c _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5) #17 0x7fdc0533728f _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5) #18 0x7fdc06b9fa43 _ZN14KisApplication6notifyEP7QObjectP6QEvent (libkritaui.so.17) #19 0x7fdc045b4de8 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5) #20 0x7fdc05336262 _ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Eb (libQt5Widgets.so.5) #21 0x7fdc0538a94b n/a (libQt5Widgets.so.5) #22 0x7fdc0538cfba n/a (libQt5Widgets.so.5) #23 0x7fdc0532f46c _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5) #24 0x7fdc05336d34 _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5) #25 0x7fdc06b9fa43 _ZN14KisApplication6notifyEP7QObjectP6QEvent (libkritaui.so.17) #26 0x7fdc045b4de8 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5) #27 0x7fdc04b73f43 _ZN22QGuiApplicationPrivate17processMouseEventEPN29QWindowSystemInterfacePrivate10MouseEventE (libQt5Gui.so.5) #28 0x7fdc04b75a25 _ZN22QGuiApplicationPrivate24processWindowSystemEventEPN29QWindowSystemInterfacePrivate17WindowSystemEventE (libQt5Gui.so.5) #29 0x7fdc04b4dcab _ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Gui.so.5) #30 0x7fdbf195a5a0 n/a (libQt5XcbQpa.so.5) #31 0x7fdbfbc85fb7 g_main_context_dispatch (libglib-2.0.so.0) #32 0x7fdbfbc861f0 n/a (libglib-2.0.so.0) #33 0x7fdbfbc8627c g_main_context_iteration (libglib-2.0.so.0) #34 0x7fdc0460d47f _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5) #35 0x7fdc045b2e3a _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5) #36 0x7fdc045bbda4 _ZN16QCoreApplication4execEv (libQt5Core.so.5) #37 0x555d9c058323 main (krita) #38 0x7fdc039cf1c1 __libc_start_main (libc.so.6) #39 0x555d9c056b5a _start (krita) Stack trace of thread 3776: #0 0x7fdc03ab6951 __GI___poll (libc.so.6) #1 0x7fdc01e59747 n/a (libxcb.so.1) #2 0x7fdc01e5b53a xcb_wait_for_event (libxcb.so.1) #3 0x7fdbf18f7f09 n/a (libQt5XcbQpa.so.5) #4 0x7fdc043d729d n/a (libQt5Core.so.5) #5 0x7fdbfd3777fc start_thread (libpthread.so.0) #6 0x7fdc03ac2b5f __clone (libc.so.6) Stack trace of thread 3777: #0 0x7fdc03ab6951 __GI___poll (libc.so.6) #1 0x7fdbfbc86169 n/a (libglib-2.0.so.0) #2 0x7fdbfbc8627c g_main_context_iteration (libglib-2.0.so.0) #3 0x7fdbfbc862c1 n/a