Bug 174356

Summary: Paintop's settings disappears with several instances of Krita
Product: [Applications] krita Reporter: LukasT <lukast.dev>
Component: GeneralAssignee: Halla Rempt <halla>
Status: RESOLVED FIXED    
Severity: normal CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description LukasT 2008-11-05 18:29:23 UTC
Version:            (using KDE 4.1.2)
OS:                Linux

Run Krita, open image, and open one more image. Try to paint with paint op.
Close one instance. Click on settings for paintop. Crash Krita with any paintop now.

Application: Krita (krita), signal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb8068790 (LWP 14248)]
[KCrash handler]
#6  0x006c0061 in QHash<KoDataCenter*, QHashDummyValue>::createNode (
    this=0xaf25970, ah=183654768, akey=@0xbffa2d58, avalue=@0x597d775, 
    anextNode=0xada83c0) at /usr/include/QtCore/qhash.h:513
#7  0x002e7924 in ~KisPaintOpPresetsPopup (this=0xabee770)
    at /home/lukas/src/koffice/krita/ui/widgets/kis_paintop_presets_popup.cpp:77
#8  0x00f6e5ef in QObjectPrivate::deleteChildren ()
   from /usr/lib/libQtCore.so.4
#9  0x0598e198 in QWidget::~QWidget () from /usr/lib/libQtGui.so.4
#10 0x05cc3fa5 in QFrame::~QFrame () from /usr/lib/libQtGui.so.4
#11 0x00f6e5ef in QObjectPrivate::deleteChildren ()
   from /usr/lib/libQtCore.so.4
#12 0x0598e198 in QWidget::~QWidget () from /usr/lib/libQtGui.so.4
#13 0x05c76581 in QAbstractButton::~QAbstractButton ()
   from /usr/lib/libQtGui.so.4
#14 0x05d1af51 in QPushButton::~QPushButton () from /usr/lib/libQtGui.so.4
#15 0x002eb355 in ~KisPopupButton (this=0xac62728)
    at /home/lukas/src/koffice/krita/ui/widgets/kis_popup_button.cc:46
#16 0x002ebf18 in ~KisPresetWidget (this=0xac62728)
    at /home/lukas/src/koffice/krita/ui/widgets/kis_preset_widget.h:39
#17 0x00f6e5ef in QObjectPrivate::deleteChildren ()
   from /usr/lib/libQtCore.so.4
#18 0x0598e198 in QWidget::~QWidget () from /usr/lib/libQtGui.so.4
#19 0x0026816c in ~KisPaintopBox (this=0xac61b88)
    at /home/lukas/src/koffice/krita/ui/kis_paintop_box.cc:122
#20 0x059927b2 in QWidgetAction::~QWidgetAction () from /usr/lib/libQtGui.so.4
#21 0x04ad94d8 in KAction::~KAction () from /usr/lib/libkdeui.so.5
#22 0x00f6e5ef in QObjectPrivate::deleteChildren ()
   from /usr/lib/libQtCore.so.4
#23 0x00f77173 in QObject::~QObject () from /usr/lib/libQtCore.so.4
#24 0x00202332 in ~KisControlFrame (this=0xaae0aa8)
    at /home/lukas/src/koffice/krita/ui/kis_control_frame.h:59
#25 0x00f6e5ef in QObjectPrivate::deleteChildren ()
   from /usr/lib/libQtCore.so.4
#26 0x0598e198 in QWidget::~QWidget () from /usr/lib/libQtGui.so.4
#27 0x0082ce7e in ~KoView (this=0xa448238, __vtt_parm=0x35f964)
    at /home/lukas/src/koffice/libs/main/KoView.cpp:214
#28 0x002b6a0a in ~KisView2 (this=0xa448238)
    at /home/lukas/src/koffice/krita/ui/kis_view2.cpp:232
#29 0x0080c0aa in Q3PtrList<KoView>::deleteItem (this=0xbffa3294, d=0xa448238)
    at /usr/include/Qt3Support/q3ptrlist.h:156
#30 0x0661c0d2 in Q3GList::clear () from /usr/lib/libQt3Support.so.4
#31 0x0080c0c9 in Q3PtrList<KoView>::clear (this=0xbffa3294)
    at /usr/include/Qt3Support/q3ptrlist.h:99
#32 0x008060c1 in KoMainWindow::setRootDocument (this=0x9e0bd08, doc=0x0)
    at /home/lukas/src/koffice/libs/main/KoMainWindow.cpp:496
#33 0x008027e4 in KoMainWindow::closeEvent (this=0x9e0bd08, e=0xbffa3874)
    at /home/lukas/src/koffice/libs/main/KoMainWindow.cpp:1074
#34 0x0598cbf3 in QWidget::event () from /usr/lib/libQtGui.so.4
#35 0x05ce01a7 in QMainWindow::event () from /usr/lib/libQtGui.so.4
#36 0x04c7a128 in KMainWindow::event () from /usr/lib/libkdeui.so.5
#37 0x04cbba1c in KXmlGuiWindow::event () from /usr/lib/libkdeui.so.5
#38 0x05934f8c in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#39 0x0593cefa in QApplication::notify () from /usr/lib/libQtGui.so.4
#40 0x04bb547d in KApplication::notify () from /usr/lib/libkdeui.so.5
#41 0x00f602e1 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#42 0x0598fd23 in QWidgetPrivate::close_helper () from /usr/lib/libQtGui.so.4
#43 0x05994eab in QApplication::x11ClientMessage ()
   from /usr/lib/libQtGui.so.4
#44 0x059a5fb4 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#45 0x059cea3c in ?? () from /usr/lib/libQtGui.so.4
#46 0x01af7008 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#47 0x01afa6b3 in ?? () from /lib/libglib-2.0.so.0
#48 0x01afa871 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#49 0x00f8aa28 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#50 0x059ce105 in ?? () from /usr/lib/libQtGui.so.4
#51 0x00f5e9ca in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#52 0x00f5eb8a in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#53 0x00f61235 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#54 0x05934e07 in QApplication::exec () from /usr/lib/libQtGui.so.4
#55 0x001134e6 in kdemain (argc=1, argv=0xbffa40c4)
    at /home/lukas/src/koffice/krita/main.cc:56
#56 0x080489c6 in main (argc=)
    at /home/lukas/src/build/koffice/krita/krita_dummy.cpp:3
Comment 1 Sven Langkamp 2009-02-11 02:23:33 UTC
I can confirm this bug. I don't get it to crash, but the paintop settings widget disappears after the other view is closed.
Comment 2 Sven Langkamp 2009-09-23 21:15:45 UTC
Fixed in svn.