Bug 173591 - Creating a new image after previously closing the last one open crashes krita
Summary: Creating a new image after previously closing the last one open crashes krita
Status: RESOLVED DUPLICATE of bug 170732
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: git master (please specify the git hash!)
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-26 14:14 UTC by Michael Leupold
Modified: 2008-10-27 09:00 UTC (History)
2 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 Michael Leupold 2008-10-26 14:14:20 UTC
Version:           2.0 beta-2 (using 4.1.71 (KDE 4.1.71 (KDE 4.2 >= 20081023)), compiled sources)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.25.7quechua-0.1intelquechua-0.1intel

Steps to reproduce:
(whenever I created a "new image" I created an RGB 640x480 template one, but I guess it happens independent of that)
1. Open Krita and create a new image
2. Close the image
3. Create a new image
-> Krita crashes

Application: Krita (krita), signal SIGSEGV
Using host libthread_db library "/lib/libthread_db.so.1".
0x00007f8f9cb144ef in waitpid () from /lib/libpthread.so.0

Thread 1 (Thread 0x7f8f9ffc47e0 (LWP 12882)):
[KCrash Handler]
#4  0xfffff96bfffff96b in ?? ()
#5  0x00007f8f7ae556b1 in KisBrushOpSettings::clone (this=0x9b0310) at /home/lemma/kde/trunk/source/koffice/krita/plugins/paintops/defaultpaintops/brush/kis_brushop_settings.cpp:74
#6  0x00007f8f9f6385d5 in KisPaintOpPreset::setSettings (this=0x1d7c700, settings=<value optimized out>) at /home/lemma/kde/trunk/source/koffice/krita/image/brushengine/kis_paintop_preset.cpp:85
#7  0x00007f8f9f63a38f in KisPaintOpRegistry::defaultPreset (this=0x189cf80, id=@0x14d37d0, parent=0x0, inputDevice=@0x7fffa813f770, image=@0x7fffa813f690)
    at /home/lemma/kde/trunk/source/koffice/krita/image/brushengine/kis_paintop_registry.cc:107
#8  0x00007f8f9fa44b67 in KisPaintopBox::activePreset (this=0x1b00b30, paintop=@0x14d3698, inputDevice=@0x7fffa813f770) at /home/lemma/kde/trunk/source/koffice/krita/ui/kis_paintop_box.cc:285
#9  0x00007f8f9fa4506b in KisPaintopBox::updateOptionWidget (this=0x1b00b30) at /home/lemma/kde/trunk/source/koffice/krita/ui/kis_paintop_box.cc:236
#10 0x00007f8f9fa452ca in KisPaintopBox::setCurrentPaintop (this=0x1b00b30, paintop=@0x7fffa813f920) at /home/lemma/kde/trunk/source/koffice/krita/ui/kis_paintop_box.cc:257
#11 0x00007f8f9fa46a47 in KisPaintopBox (this=0x1b00b30, view=0x16c5e80, parent=<value optimized out>, name=<value optimized out>)
    at /home/lemma/kde/trunk/source/koffice/krita/ui/kis_paintop_box.cc:103
#12 0x00007f8f9fa033ba in KisControlFrame (this=0x1756bd0, view=0x16c5e80, name=<value optimized out>) at /home/lemma/kde/trunk/source/koffice/krita/ui/kis_control_frame.cpp:113
#13 0x00007f8f9fa7a559 in KisView2::createGUI (this=0x16c5e80) at /home/lemma/kde/trunk/source/koffice/krita/ui/kis_view2.cpp:531
#14 0x00007f8f9fa7c1b7 in KisView2 (this=0x16c5e80, doc=0x9cfa40, parent=<value optimized out>) at /home/lemma/kde/trunk/source/koffice/krita/ui/kis_view2.cpp:215
#15 0x00007f8f9fa0cdb4 in KisDoc2::createViewInstance (this=0x9cfa40, parent=0x82d840) at /home/lemma/kde/trunk/source/koffice/krita/ui/kis_doc2.cc:518
#16 0x00007f8f9d900bca in KoDocument::createView (this=0x17e7ba0, parent=0x9b0310) at /home/lemma/kde/trunk/source/koffice/libs/main/KoDocument.cpp:338
#17 0x00007f8f9d92389f in KoMainWindow::setRootDocument (this=0x8073e0, doc=0x9cfa40) at /home/lemma/kde/trunk/source/koffice/libs/main/KoMainWindow.cpp:466
#18 0x00007f8f9d90148a in KoDocument::deleteOpenPane (this=0x9cfa40) at /home/lemma/kde/trunk/source/koffice/libs/main/KoDocument.cpp:2634
#19 0x00007f8f9d90234d in KoDocument::openTemplate (this=0x9cfa40, url=<value optimized out>) at /home/lemma/kde/trunk/source/koffice/libs/main/KoDocument.cpp:2578
#20 0x00007f8f9fa0c4ba in KisDoc2::openTemplate (this=0x9cfa40, url=@0x7fffa8140460) at /home/lemma/kde/trunk/source/koffice/krita/ui/kis_doc2.cc:179
#21 0x00007f8f9fa0c98a in KisDoc2::qt_metacall (this=0x9cfa40, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa81402b0)
    at /home/lemma/kde/trunk/build/debug/build/koffice/krita/ui/kis_doc2.moc:95
#22 0x00007f8f9cebb8d1 in QMetaObject::activate (sender=0x844440, from_signal_index=28, to_signal_index=28, argv=0x7fffa81402b0)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3031
#23 0x00007f8f9cebbe57 in QMetaObject::activate (sender=0x844440, m=0x7f8f9dba6400, local_signal_index=1, argv=0x7fffa81402b0)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3101
#24 0x00007f8f9d962e95 in KoOpenPane::openTemplate (this=0x17e7ba0, _t1=<value optimized out>) at /home/lemma/kde/trunk/build/debug/build/koffice/libs/main/KoOpenPane.moc:103
#25 0x00007f8f9d96311d in KoOpenPane::qt_metacall (this=0x844440, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa8140440)
    at /home/lemma/kde/trunk/build/debug/build/koffice/libs/main/KoOpenPane.moc:80
#26 0x00007f8f9cebb8d1 in QMetaObject::activate (sender=0x1571eb0, from_signal_index=27, to_signal_index=27, argv=0x7fffa8140440)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3031
#27 0x00007f8f9cebbe57 in QMetaObject::activate (sender=0x1571eb0, m=0x7f8f9dba68c0, local_signal_index=0, argv=0x7fffa8140440)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3101
#28 0x00007f8f9d967e22 in KoDetailsPane::openUrl (this=0x17e7ba0, _t1=<value optimized out>) at /home/lemma/kde/trunk/build/debug/build/koffice/libs/main/KoDetailsPane.moc:97
#29 0x00007f8f9d96acb1 in KoTemplatesPane::openFile (this=0x1571eb0, index=<value optimized out>) at /home/lemma/kde/trunk/source/koffice/libs/main/KoTemplatesPane.cpp:130
#30 0x00007f8f9d967fb5 in KoDetailsPane::openFile (this=0x1571eb0) at /home/lemma/kde/trunk/source/koffice/libs/main/KoDetailsPane.cpp:118
#31 0x00007f8f9d96809b in KoDetailsPane::qt_metacall (this=0x1571eb0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa8140730)
    at /home/lemma/kde/trunk/build/debug/build/koffice/libs/main/KoDetailsPane.moc:84
#32 0x00007f8f9d96aa75 in KoTemplatesPane::qt_metacall (this=0x17e7ba0, _c=10158864, _id=32, _a=0x614980) at /home/lemma/kde/trunk/build/debug/build/koffice/libs/main/KoTemplatesPane.moc:72
#33 0x00007f8f9cebb8d1 in QMetaObject::activate (sender=0x15aba70, from_signal_index=29, to_signal_index=30, argv=0x7fffa8140730)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3031
#34 0x00007f8f9cebbbe5 in QMetaObject::activate (sender=0x15aba70, m=0x7f8f9b215240, from_local_signal_index=2, to_local_signal_index=3, argv=0x7fffa8140730)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qobject.cpp:3121
#35 0x00007f8f9ad9974f in QAbstractButton::clicked (this=0x15aba70, _t1=false) at .moc/debug-shared/moc_qabstractbutton.cpp:185
#36 0x00007f8f9aaa52a0 in QAbstractButtonPrivate::emitClicked (this=0x17aef00) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qabstractbutton.cpp:538
#37 0x00007f8f9aaa6587 in QAbstractButtonPrivate::click (this=0x17aef00) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qabstractbutton.cpp:531
#38 0x00007f8f9aaa682e in QAbstractButton::mouseReleaseEvent (this=0x15aba70, e=0x7fffa81412d0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qabstractbutton.cpp:1110
#39 0x00007f8f9a745d76 in QWidget::event (this=0x15aba70, event=0x7fffa81412d0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qwidget.cpp:7163
#40 0x00007f8f9aaa5249 in QAbstractButton::event (this=0x15aba70, e=0x7fffa81412d0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qabstractbutton.cpp:1072
#41 0x00007f8f9ab66a63 in QPushButton::event (this=0x15aba70, e=0x7fffa81412d0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/widgets/qpushbutton.cpp:652
#42 0x00007f8f9a6df643 in QApplicationPrivate::notify_helper (this=0x656420, receiver=0x15aba70, e=0x7fffa81412d0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:3803
#43 0x00007f8f9a6e0262 in QApplication::notify (this=0x7fffa81421f0, receiver=0x15aba70, e=0x7fffa81412d0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:3528
#44 0x00007f8f9ecc6e32 in KApplication::notify (this=0x7fffa81421f0, receiver=0x15aba70, event=0x7fffa81412d0) at /home/lemma/kde/trunk/source/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#45 0x00007f8f9cea3658 in QCoreApplication::notifyInternal (this=0x7fffa81421f0, receiver=0x15aba70, event=0x7fffa81412d0)
    at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qcoreapplication.cpp:587
#46 0x00007f8f9a6ed7a3 in QCoreApplication::sendSpontaneousEvent (receiver=0x15aba70, event=0x7fffa81412d0)
    at ../../include/QtCore/../../../../../../source/qt-copy/src/corelib/kernel/qcoreapplication.h:212
#47 0x00007f8f9a6e47bb in QApplicationPrivate::sendMouseEvent (receiver=0x15aba70, event=0x7fffa81412d0, alienWidget=0x15aba70, nativeWidget=0x8073e0, buttonDown=0x7f8f9b22f4e8, 
    lastMouseReceiver=@0x7f8f9b22f4f0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:2793
#48 0x00007f8f9a76b46f in QETWidget::translateMouseEvent (this=0x8073e0, event=0x7fffa8141de0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication_x11.cpp:4042
#49 0x00007f8f9a768cc3 in QApplication::x11ProcessEvent (this=0x7fffa81421f0, event=0x7fffa8141de0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication_x11.cpp:3038
#50 0x00007f8f9a798441 in x11EventSourceDispatch (s=0x659130, callback=0, user_data=0x0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:142
#51 0x00007f8f942b40f2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#52 0x00007f8f942b7396 in ?? () from /usr/lib/libglib-2.0.so.0
#53 0x00007f8f942b782f in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#54 0x00007f8f9ced86b8 in QEventDispatcherGlib::processEvents (this=0x6561f0, flags=@0x7fffa8142080) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:319
#55 0x00007f8f9a797b27 in QGuiEventDispatcherGlib::processEvents (this=0x6561f0, flags=@0x7fffa81420e0) at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:198
#56 0x00007f8f9cea0070 in QEventLoop::processEvents (this=0x7fffa8142190, flags=@0x7fffa8142140) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qeventloop.cpp:143
#57 0x00007f8f9cea026c in QEventLoop::exec (this=0x7fffa8142190, flags=@0x7fffa81421a0) at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qeventloop.cpp:194
#58 0x00007f8f9cea405b in QCoreApplication::exec () at /home/lemma/kde/trunk/source/qt-copy/src/corelib/kernel/qcoreapplication.cpp:845
#59 0x00007f8f9a6df3a4 in QApplication::exec () at /home/lemma/kde/trunk/source/qt-copy/src/gui/kernel/qapplication.cpp:3331
#60 0x00007f8f9fd280cb in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /home/lemma/kde/trunk/source/koffice/krita/main.cc:56
#61 0x00007f8f98d84466 in __libc_start_main () from /lib/libc.so.6
#62 0x0000000000400879 in _start ()
Comment 1 Halla Rempt 2008-10-26 15:13:05 UTC
Ack!
Comment 2 Sven Langkamp 2008-10-27 09:00:12 UTC

*** This bug has been marked as a duplicate of bug 170732 ***