Strange Krita crashes

Michael Thaler michael.thaler at physik.tu-muenchen.de
Tue Oct 11 21:31:41 CEST 2005


Hi,

I noticed some strange Krita crashed today. I sometimes get something like

$ krita
koffice (lib kofficecore): kritapart.desktop found.
*** glibc detected *** double free or corruption (fasttop): 0xb3105e28 ***
KCrash: Application 'krita' crashing...
Alarm clock

when I start Krita. Sometimes I also get something like that:

$ krita
koffice (lib kofficecore): kritapart.desktop found.
krita (plugins): found plugin Convolutions filters
KCrash: Application 'krita' crashing...
Alarm clock

But most of the time Krita just starts fine. I hope this is not caused by my 
dropshadow plugin, because it only happened to me today.

Also, if I start Krita and just do nothing for a couple of minutes, it 
crashes. The backtrace is:

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1234585920 (LWP 16943)]
[KCrash handler]
#4  0xb7f146c0 in QGArray::size (this=0x10) at qgarray.h:79
#5  0xb7f147b7 in QMemArray<char>::size (this=0x10) at qmemarray.h:66
#6  0xb7e9b6e8 in KoStore::write (this=0x8556cb0, data=@0x10) at 
koStore.cc:311
#7  0xb6173c92 in KisDoc::completeSaving (this=0xb2f5bea0, store=0x8556cb0)
    at kis_doc.cc:631
#8  0xb7f0eee6 in KoDocument::saveNativeFormat (this=0xb2f5bea0, 
    file=@0xbffb9ea4) at koDocument.cc:1097
#9  0xb7f10c89 in KoDocument::slotAutoSave (this=0xb2f5bea0)
    at koDocument.cc:518
#10 0xb7f116ec in KoDocument::qt_invoke (this=0xb2f5bea0, _id=11, 
    _o=0xbffb9fcc) at koDocument.moc:172
#11 0xb6172ac8 in KisDoc::qt_invoke (this=0xb2f5bea0, _id=11, _o=0xbffb9fcc)
    at kis_doc.moc:159
#12 0xb6ea3c5f in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#13 0xb6ea4743 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#14 0xb72362b5 in QTimer::timeout () from /usr/lib/libqt-mt.so.3
#15 0xb6ec91a4 in QTimer::event () from /usr/lib/libqt-mt.so.3
#16 0xb6e39778 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#17 0xb6e39996 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#18 0xb75cd9fc in KApplication::notify () from /usr/lib/libkdecore.so.4
#19 0xb7f2ec3f in QApplication::sendEvent (receiver=0xb4442e28, 
    event=0xbffba308) at qapplication.h:496
#20 0xb6e2aa44 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#21 0xb6ddd3f8 in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#22 0xb6e51ea2 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#23 0xb6e38335 in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3
#24 0xb7058fb6 in QDialog::exec () from /usr/lib/libqt-mt.so.3
#25 0xb5ba29eb in KisDropshadowPlugin::slotDropshadow (this=0x840c0f0)
    at kis_dropshadow_plugin.cc:80
#26 0xb5ba542c in KisDropshadowPlugin::qt_invoke (this=0x840c0f0, _id=2, 
    _o=0xbffba6ec) at kis_dropshadow_plugin.moc.cc:82
#27 0xb6ea3c5f in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#28 0xb6ea4743 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#29 0xb77dc9e6 in KAction::activated () from /usr/lib/libkdeui.so.4
#30 0xb7811e9b in KAction::slotActivated () from /usr/lib/libkdeui.so.4
#31 0xb782d0bb in KAction::slotPopupActivated () from /usr/lib/libkdeui.so.4
#32 0xb782d3dd in KAction::qt_invoke () from /usr/lib/libkdeui.so.4
#33 0xb6ea3c5f in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#34 0xb72345a5 in QSignal::signal () from /usr/lib/libqt-mt.so.3
#35 0xb6ec1b30 in QSignal::activate () from /usr/lib/libqt-mt.so.3
#36 0xb6fcb8f7 in QPopupMenu::mouseReleaseEvent () from /usr/lib/libqt-mt.so.3
#37 0xb77e9930 in KPopupMenu::mouseReleaseEvent () from /usr/lib/libkdeui.so.4
#38 0xb6edefb6 in QWidget::event () from /usr/lib/libqt-mt.so.3
#39 0xb6e39778 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#40 0xb6e39d4b in QApplication::notify () from /usr/lib/libqt-mt.so.3
#41 0xb75cd9fc in KApplication::notify () from /usr/lib/libkdecore.so.4
#42 0xb6dc96d3 in QApplication::sendSpontaneousEvent ()
   from /usr/lib/libqt-mt.so.3
#43 0xb6dc48f8 in QETWidget::translateMouseEvent () 
from /usr/lib/libqt-mt.so.3
#44 0xb6dc2e3e in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3
#45 0xb6ddc95c in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#46 0xb6e51ea2 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#47 0xb6e51dcb in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#48 0xb6e38305 in QApplication::exec () from /usr/lib/libqt-mt.so.3
#49 0xb7fa4343 in kdemain (argc=1, argv=0xbffbb4c4) at main.cc:40
#50 0x08048712 in main (argc=1, argv=0xbffbb4c4) at krita.la.cc:2

Greetings,
Michael

P.S. if you want to test the dropshadow plugin, do something like: start with 
an empty transparent layer. Create a filled star. Then go to filter->Add 
dropshadow. If you chose opactiy 255 and check the blur checkbox, you can see 
that the shadow is blurred. Unfortunately the blurring is not very visible 
because the convolution painter can only use 3x3 kernels. Also adding a 
dropshadow to an image does work, but the image size is not updated, so you 
have to do that by hand and the shadow is not blurred, because the 
convolution painter cannot deal with pixels at the border at the moment.


More information about the kimageshop mailing list