Bug 233000 - Crash on undo after canceling addtion of filter layer
Summary: Crash on undo after canceling addtion of filter layer
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-01 21:44 UTC by Sven Langkamp
Modified: 2010-04-02 23:20 UTC (History)
0 users

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 Sven Langkamp 2010-04-01 21:44:52 UTC
Application: krita (2.2 Beta 1)
KDE Platform Version: 4.4.1 (KDE 4.4.1)
Qt Version: 4.6.2
Operating System: Linux 2.6.32.9-70.fc12.i686 i686
Distribution (Platform): Fedora RPMs

-- Information about the crash:
Try to add a filter layer, but cancel the dialog. Then undo. Crash

The crash can be reproduced every time.

 -- Backtrace:
Application: Krita (krita), signal: Aborted
[Current thread is 1 (Thread 0xb77adb50 (LWP 5480))]

Thread 3 (Thread 0xb744db70 (LWP 5481)):
#0  0x00d97416 in __kernel_vsyscall ()
#1  0x00119c45 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x060f2b7f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x060ef32d in QSemaphore::acquire(int) () from /usr/lib/libQtCore.so.4
#4  0x0042cf6a in KisTileDataPooler::waitForWork (this=0x5c5ba0) at /home/sven/kde/src/koffice/krita/image/tiles3/kis_tile_data_pooler.cc:133
#5  0x0042cfd9 in KisTileDataPooler::run (this=0x5c5ba0) at /home/sven/kde/src/koffice/krita/image/tiles3/kis_tile_data_pooler.cc:162
#6  0x060f1cdf in ?? () from /usr/lib/libQtCore.so.4
#7  0x00115ab5 in start_thread () from /lib/libpthread.so.0
#8  0x01032dce in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb52f7b70 (LWP 5486)):
#0  0x00c3edc6 in clock_gettime () from /lib/librt.so.1
#1  0x0620d0cb in ?? () from /usr/lib/libQtCore.so.4
#2  0x062117b6 in ?? () from /usr/lib/libQtCore.so.4
#3  0x062117fb in ?? () from /usr/lib/libQtCore.so.4
#4  0x06212d23 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x061e62da in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x061e661a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x060ef909 in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0x004deb59 in KisProjection::run (this=0x8e2aed0) at /home/sven/kde/src/koffice/krita/image/kis_projection.cc:86
#9  0x060f1cdf in ?? () from /usr/lib/libQtCore.so.4
#10 0x00115ab5 in start_thread () from /lib/libpthread.so.0
#11 0x01032dce in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb77adb50 (LWP 5480)):
[KCrash Handler]
#6  0x00d97416 in __kernel_vsyscall ()
#7  0x00f82a91 in raise () from /lib/libc.so.6
#8  0x00f8435a in abort () from /lib/libc.so.6
#9  0x060ea7ec in qt_message_output(QtMsgType, char const*) () from /usr/lib/libQtCore.so.4
#10 0x060ea9cc in ?? () from /usr/lib/libQtCore.so.4
#11 0x060eaaea in qFatal(char const*, ...) () from /usr/lib/libQtCore.so.4
#12 0x060eab76 in qt_assert(char const*, char const*, int) () from /usr/lib/libQtCore.so.4
#13 0x00460288 in KisSharedPtr<KisNode>::operator-> (this=0xbfddfdec) at /home/sven/kde/src/koffice/krita/image/kis_shared_ptr.h:187
#14 0x0046013d in KisImageCommand::UpdateTarget::update (this=0xbfddfdd0) at /home/sven/kde/src/koffice/krita/image/commands/kis_image_command.cpp:84
#15 0x00460cc5 in KisImageLayerAddCommand::undo (this=0xa37da68) at /home/sven/kde/src/koffice/krita/image/commands/kis_image_layer_add_command.cpp:73
#16 0x06e71367 in QUndoStack::undo() () from /usr/lib/libQtGui.so.4
#17 0x06e97333 in QUndoStack::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4
#18 0x074c68e3 in KUndoStack::qt_metacall (this=0x8854480, _c=InvokeMetaMethod, _id=12, _a=0xbfddff98) at /usr/src/debug/kdelibs-4.4.1/i686-redhat-linux-gnu/kdeui/kundostack.moc:64
#19 0x061ec5db in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#20 0x061fb4af in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#21 0x067c251a in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4
#22 0x067c3eac in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4
#23 0x06c2917d in ?? () from /usr/lib/libQtGui.so.4
#24 0x06c2eecb in ?? () from /usr/lib/libQtGui.so.4
#25 0x06c2fccf in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#26 0x0750e766 in KMenu::mouseReleaseEvent (this=0x9bd66f8, e=0xbfde0840) at /usr/src/debug/kdelibs-4.4.1/kdeui/widgets/kmenu.cpp:471
#27 0x0681ab2d in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#28 0x06c312bc in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4
#29 0x067c7d2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#30 0x067cf0fe in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#31 0x0742b7db in KApplication::notify (this=0xbfde0ef4, receiver=0x9bd66f8, event=0xbfde0840) at /usr/src/debug/kdelibs-4.4.1/kdeui/kernel/kapplication.cpp:302
#32 0x061e7c03 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#33 0x067cde68 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#34 0x0684b5ba in ?? () from /usr/lib/libQtGui.so.4
#35 0x0684a5e3 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#36 0x06876e59 in ?? () from /usr/lib/libQtGui.so.4
#37 0x061e62da in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#38 0x061e661a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#39 0x061e8ce7 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#40 0x067c7dd8 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#41 0x00c10ad7 in kdemain (argc=1, argv=0xbfde1004) at /home/sven/kde/src/koffice/krita/main.cc:49
#42 0x080487b9 in main (argc=1, argv=0xbfde1004) at /home/sven/kde/build/koffice/krita/krita_dummy.cpp:3

Reported using DrKonqi
Comment 1 Dmitry Kazakov 2010-04-02 23:20:49 UTC
SVN commit 1110370 by dkazakov:

Layers shouldn't be removed directly. Please use commands instead.

BUG:233000


 M  +1 -1      kis_layer_manager.cc  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1110370